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 main (a243fe), with Swift 5.10 for Linux on 12 Sep 2025 17:28:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbooth/CXXTagLib.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a243fef Update TagLib to version 2.1.1 (#8)
Cloned https://github.com/sbooth/CXXTagLib.git
Revision (git rev-parse @):
a243fefb04d56eeade7669b4ec90dc2997089fbb
SUCCESS checkout https://github.com/sbooth/CXXTagLib.git at main
========================================
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-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:f746aad7c5ec38b8c4300eda0f2f0c9a0b77dcddb8dbf0ff5a0c28d11b933b5b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/114] Compiling taglib audioproperties.cpp
[1/114] Compiling dsfproperties.cpp
[2/114] Compiling xmproperties.cpp
[3/114] Compiling dsdiffproperties.cpp
[4/114] Compiling dsdiffdiintag.cpp
[5/114] Compiling dsffile.cpp
[6/114] Compiling trueaudioproperties.cpp
[7/114] Compiling wavpackproperties.cpp
[8/114] Compiling dsdifffile.cpp
[9/114] Compiling tzlib.cpp
[10/114] Compiling wavpackfile.cpp
[11/114] Compiling xmfile.cpp
[12/114] Compiling tversionnumber.cpp
[13/114] Compiling asftag.cpp
[14/114] Compiling tiostream.cpp
[15/114] Compiling tpicturetype.cpp
[16/114] Compiling tstringlist.cpp
[17/114] Compiling trueaudiofile.cpp
[18/114] Compiling tstring.cpp
[19/114] Compiling tfilestream.cpp
[20/114] Compiling tpropertymap.cpp
[21/114] Compiling tdebug.cpp
[22/114] Compiling tbytevectorstream.cpp
[23/114] Compiling tdebuglistener.cpp
[24/114] Compiling tfile.cpp
[25/114] Compiling tbytevectorlist.cpp
[26/114] Compiling taglib tagutils.cpp
[27/114] Compiling shortenproperties.cpp
[28/114] Compiling tvariant.cpp
[29/114] Compiling taglib tagunion.cpp
[30/114] Compiling taglib tag.cpp
[31/114] Compiling tbytevector.cpp
[32/114] Compiling shortentag.cpp
[33/114] Compiling s3mproperties.cpp
[34/114] Compiling wavproperties.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.
[35/114] Compiling taglib tag_c.cpp
[35/114] Compiling aifffile.cpp
[35/114] Compiling aiffproperties.cpp
[35/114] Compiling infotag.cpp
[35/114] Compiling s3mfile.cpp
[35/114] Compiling wavfile.cpp
[35/114] Compiling rifffile.cpp
[35/114] Compiling shortenfile.cpp
BUILD FAILURE 5.10 linux