The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build CXXTagLib, reference 2.1.0 (4d2f78), with Swift 5.10 for Linux on 5 Jun 2025 19:37:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbooth/CXXTagLib.git
Reference: 2.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/sbooth/CXXTagLib
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at 4d2f789 Update TagLib to version 2.1 (#6)
Cloned https://github.com/sbooth/CXXTagLib.git
Revision (git rev-parse @):
4d2f78912ee2127e0ffee2f3e1a8a0ccbc4518e9
SUCCESS checkout https://github.com/sbooth/CXXTagLib.git at 2.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/sbooth/CXXTagLib.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:aa1999fda62728f989ec9f885e6a69f8a206ad63b6efcfc03397a00c96f5855b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/114] Compiling xmproperties.cpp
[1/114] Compiling apefooter.cpp
[2/114] Compiling apeitem.cpp
[3/114] Compiling wavpackproperties.cpp
[4/114] Compiling apeproperties.cpp
[5/114] Compiling asfpicture.cpp
[6/114] Compiling apefile.cpp
[7/114] Compiling trueaudioproperties.cpp
[8/114] Compiling xmfile.cpp
[9/114] Compiling tzlib.cpp
[10/114] Compiling tversionnumber.cpp
[11/114] Compiling wavpackfile.cpp
[12/114] Compiling tpicturetype.cpp
[13/114] Compiling tiostream.cpp
[14/114] Compiling tstringlist.cpp
[15/114] Compiling tfilestream.cpp
[16/114] Compiling trueaudiofile.cpp
[17/114] Compiling tstring.cpp
[18/114] Compiling tdebuglistener.cpp
[19/114] Compiling tfile.cpp
[20/114] Compiling tpropertymap.cpp
[21/114] Compiling tbytevectorstream.cpp
[22/114] Compiling tdebug.cpp
[23/114] Compiling tvariant.cpp
[24/114] Compiling tbytevectorlist.cpp
[25/114] Compiling taglib tagutils.cpp
[26/114] Compiling taglib tag.cpp
[27/114] Compiling shortentag.cpp
[28/114] Compiling s3mproperties.cpp
[29/114] Compiling taglib tagunion.cpp
[30/114] Compiling shortenproperties.cpp
[31/114] Compiling tbytevector.cpp
[32/114] Compiling shortenfile.cpp
[33/114] Compiling s3mfile.cpp
[34/114] Compiling wavproperties.cpp
[35/114] Compiling rifffile.cpp
[36/114] Compiling wavfile.cpp
[37/114] Compiling aiffproperties.cpp
/host/spi-builder-workspace/Sources/taglib/include/module.modulemap:124:8: error: module 'taglib_c' requires feature 'c99'
module taglib_c {
       ^
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:22:10: note: submodule of top-level module 'taglib_c' implicitly imported here
#include "tag_c.h"
         ^
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:113:33: error: unknown type name 'BOOL'
void taglib_set_strings_unicode(BOOL unicode)
                                ^
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:118:43: error: unknown type name 'BOOL'
void taglib_set_string_management_enabled(BOOL management)
                                          ^
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:132:1: error: unknown type name 'TagLib_IOStream'
TagLib_IOStream *taglib_memory_iostream_new(const char *data, unsigned int size)
^
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:134:27: error: unknown type name 'TagLib_IOStream'
  return reinterpret_cast<TagLib_IOStream *>(
                          ^
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:135:5: error: cannot initialize return object of type 'int *' with an rvalue of type 'ByteVectorStream *'
    new ByteVectorStream(ByteVector(data, size)));
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:138:27: error: unknown type name 'TagLib_IOStream'
void taglib_iostream_free(TagLib_IOStream *stream)
                          ^
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:147:1: error: unknown type name 'TagLib_File'
TagLib_File *taglib_file_new(const char *filename)
^
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:149:27: error: unknown type name 'TagLib_File'
  return reinterpret_cast<TagLib_File *>(new FileRef(filename));
                          ^
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:149:42: error: cannot initialize return object of type 'int *' with an rvalue of type 'FileRef *'
  return reinterpret_cast<TagLib_File *>(new FileRef(filename));
                                         ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:160:1: error: unknown type name 'TagLib_File'
TagLib_File *taglib_file_new_type_any_char(const T *filename, TagLib_File_Type type)
^
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:160:63: error: unknown type name 'TagLib_File_Type'
TagLib_File *taglib_file_new_type_any_char(const T *filename, TagLib_File_Type type)
                                                              ^
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:164:8: error: use of undeclared identifier 'TagLib_File_MPEG'
  case TagLib_File_MPEG:
       ^
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:168:8: error: use of undeclared identifier 'TagLib_File_OggVorbis'
  case TagLib_File_OggVorbis:
       ^
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:171:8: error: use of undeclared identifier 'TagLib_File_FLAC'
  case TagLib_File_FLAC:
       ^
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:174:8: error: use of undeclared identifier 'TagLib_File_OggFlac'
  case TagLib_File_OggFlac:
       ^
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:177:8: error: use of undeclared identifier 'TagLib_File_Speex'
  case TagLib_File_Speex:
       ^
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:180:8: error: use of undeclared identifier 'TagLib_File_Opus'
  case TagLib_File_Opus:
       ^
/host/spi-builder-workspace/Sources/taglib/tag_c.cpp:185:8: error: use of undeclared identifier 'TagLib_File_MPC'
  case TagLib_File_MPC:
       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[38/114] Compiling taglib tag_c.cpp
[38/114] Compiling infotag.cpp
[38/114] Compiling speexproperties.cpp
[38/114] Compiling xiphcomment.cpp
[38/114] Compiling vorbisfile.cpp
[38/114] Compiling speexfile.cpp
[38/114] Compiling vorbisproperties.cpp
[38/114] Compiling aifffile.cpp
BUILD FAILURE 5.10 linux