The Swift Package Index logo.Swift Package Index

Build Information

Failed to build libjpeg with Swift 5.9 for Linux.

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.28.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SusanDoggie/libjpeg.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/SusanDoggie/libjpeg
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0213dae Update libjpeg-turbo
Submodule path 'dependencies/libjpeg-turbo': checked out 'be96fa0a403e5d084719757f7b8241d20393246d'
Submodule 'dependencies/libjpeg-turbo' (https://github.com/libjpeg-turbo/libjpeg-turbo.git) registered for path 'dependencies/libjpeg-turbo'
Cloning into '/host/spi-builder-workspace/dependencies/libjpeg-turbo'...
Cloned https://github.com/SusanDoggie/libjpeg.git
Revision (git rev-parse @):
0213daea443aec8bdceda72a54ced00772c07458
SUCCESS checkout https://github.com/SusanDoggie/libjpeg.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
/host/spi-builder-workspace/Sources/src/jcinit.c:24:10: fatal error: 'jpegcomp.h' file not found
#include "jpegcomp.h"
         ^~~~~~~~~~~~
1 error generated.
[0/53] Compiling jcinit.c
[0/53] Compiling jutils.c
[0/53] Compiling jcicc.c
[0/53] Compiling jcdctmgr.c
[0/53] Compiling jcapistd.c
[0/53] Compiling jcarith.c
[0/53] Compiling jcapimin.c
[0/53] Compiling jchuff.c
[0/1] Planning build
Building for debugging...
[0/53] Compiling jmemnobs.c
[1/53] Compiling jidctred.c
[1/53] Compiling jutils.c
/host/spi-builder-workspace/Sources/src/jsimd_none.c:400:46: error: unknown type name 'c_derived_tbl'
                            int last_dc_val, c_derived_tbl *dctbl,
                                             ^
/host/spi-builder-workspace/Sources/src/jsimd_none.c:401:29: error: unknown type name 'c_derived_tbl'
                            c_derived_tbl *actbl)
                            ^
2 errors generated.
[3/53] Compiling jsimd_none.c
[3/53] Compiling jfdctint.c
[3/53] Compiling jidctflt.c
[3/53] Compiling jidctfst.c
[3/53] Compiling jidctint.c
[3/53] Compiling jmemmgr.c
[3/53] Compiling jquant2.c
[3/53] Compiling jquant1.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 2