Build Information
Failed to build libjpeg with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
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.10
Building package at path: $workDir
https://github.com/SusanDoggie/libjpeg.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/53] Compiling jcicc.c
[1/53] Compiling jccoefct.c
/host/spi-builder-workspace/Sources/src/jcsample.c:487:11: warning: implicit declaration of function 'jsimd_can_h2v1_downsample' is invalid in C99 [-Wimplicit-function-declaration]
if (jsimd_can_h2v1_downsample())
^
/host/spi-builder-workspace/Sources/src/jcsample.c:488:35: error: use of undeclared identifier 'jsimd_h2v1_downsample'; did you mean 'jsimd_can_h2v1_downsample'?
downsample->methods[ci] = jsimd_h2v1_downsample;
^~~~~~~~~~~~~~~~~~~~~
jsimd_can_h2v1_downsample
/host/spi-builder-workspace/Sources/src/jcsample.c:487:11: note: 'jsimd_can_h2v1_downsample' declared here
if (jsimd_can_h2v1_downsample())
^
/host/spi-builder-workspace/Sources/src/jcsample.c:505:13: warning: implicit declaration of function 'jsimd_can_h2v2_downsample' is invalid in C99 [-Wimplicit-function-declaration]
if (jsimd_can_h2v2_downsample())
^
/host/spi-builder-workspace/Sources/src/jcsample.c:506:37: error: use of undeclared identifier 'jsimd_h2v2_downsample'; did you mean 'jsimd_can_h2v2_downsample'?
downsample->methods[ci] = jsimd_h2v2_downsample;
^~~~~~~~~~~~~~~~~~~~~
jsimd_can_h2v2_downsample
/host/spi-builder-workspace/Sources/src/jcsample.c:505:13: note: 'jsimd_can_h2v2_downsample' declared here
if (jsimd_can_h2v2_downsample())
^
2 warnings and 2 errors generated.
[2/53] Compiling jcsample.c
[2/53] Compiling jsimd_none.c
[2/53] Compiling jcprepct.c
[2/53] Compiling jutils.c
In file included from /host/spi-builder-workspace/Sources/src/jccolor.c:90:
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:32:48: error: unknown type name '_JSAMPARRAY'; did you mean 'JSAMPARRAY'?
rgb_ycc_convert_internal(j_compress_ptr cinfo, _JSAMPARRAY input_buf,
^~~~~~~~~~~
JSAMPARRAY
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jpeglib.h:80:19: note: 'JSAMPARRAY' declared here
typedef JSAMPROW *JSAMPARRAY; /* ptr to some rows (a 2-D sample array) */
^
In file included from /host/spi-builder-workspace/Sources/src/jccolor.c:90:
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:33:26: error: unknown type name '_JSAMPIMAGE'; did you mean 'JSAMPIMAGE'?
_JSAMPIMAGE output_buf, JDIMENSION output_row,
^~~~~~~~~~~
JSAMPIMAGE
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jpeglib.h:81:21: note: 'JSAMPIMAGE' declared here
typedef JSAMPARRAY *JSAMPIMAGE; /* a 3-D sample array: top index is color */
^
In file included from /host/spi-builder-workspace/Sources/src/jccolor.c:90:
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:40:12: error: unknown type name '_JSAMPROW'; did you mean 'JSAMPROW'?
register _JSAMPROW inptr;
^~~~~~~~~
JSAMPROW
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jpeglib.h:79:18: note: 'JSAMPROW' declared here
typedef JSAMPLE *JSAMPROW; /* ptr to one image row of pixel samples. */
^
In file included from /host/spi-builder-workspace/Sources/src/jccolor.c:90:
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:41:12: error: unknown type name '_JSAMPROW'; did you mean 'JSAMPROW'?
register _JSAMPROW outptr0, outptr1, outptr2;
^~~~~~~~~
JSAMPROW
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jpeglib.h:79:18: note: 'JSAMPROW' declared here
typedef JSAMPLE *JSAMPROW; /* ptr to one image row of pixel samples. */
^
In file included from /host/spi-builder-workspace/Sources/src/jccolor.c:90:
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:52:11: warning: implicit declaration of function 'RANGE_LIMIT' is invalid in C99 [-Wimplicit-function-declaration]
r = RANGE_LIMIT(inptr[RGB_RED]);
^
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:62:23: error: use of undeclared identifier '_JSAMPLE'
outptr0[col] = (_JSAMPLE)((ctab[r + R_Y_OFF] + ctab[g + G_Y_OFF] +
^
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:65:23: error: use of undeclared identifier '_JSAMPLE'
outptr1[col] = (_JSAMPLE)((ctab[r + R_CB_OFF] + ctab[g + G_CB_OFF] +
^
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:68:23: error: use of undeclared identifier '_JSAMPLE'
outptr2[col] = (_JSAMPLE)((ctab[r + R_CR_OFF] + ctab[g + G_CR_OFF] +
^
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:90:49: error: unknown type name '_JSAMPARRAY'; did you mean 'JSAMPARRAY'?
rgb_gray_convert_internal(j_compress_ptr cinfo, _JSAMPARRAY input_buf,
^~~~~~~~~~~
JSAMPARRAY
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jpeglib.h:80:19: note: 'JSAMPARRAY' declared here
typedef JSAMPROW *JSAMPARRAY; /* ptr to some rows (a 2-D sample array) */
^
In file included from /host/spi-builder-workspace/Sources/src/jccolor.c:90:
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:91:27: error: unknown type name '_JSAMPIMAGE'; did you mean 'JSAMPIMAGE'?
_JSAMPIMAGE output_buf, JDIMENSION output_row,
^~~~~~~~~~~
JSAMPIMAGE
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jpeglib.h:81:21: note: 'JSAMPIMAGE' declared here
typedef JSAMPARRAY *JSAMPIMAGE; /* a 3-D sample array: top index is color */
^
In file included from /host/spi-builder-workspace/Sources/src/jccolor.c:90:
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:98:12: error: unknown type name '_JSAMPROW'; did you mean 'JSAMPROW'?
register _JSAMPROW inptr;
^~~~~~~~~
JSAMPROW
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jpeglib.h:79:18: note: 'JSAMPROW' declared here
typedef JSAMPLE *JSAMPROW; /* ptr to one image row of pixel samples. */
^
In file included from /host/spi-builder-workspace/Sources/src/jccolor.c:90:
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:99:12: error: unknown type name '_JSAMPROW'; did you mean 'JSAMPROW'?
register _JSAMPROW outptr;
^~~~~~~~~
JSAMPROW
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jpeglib.h:79:18: note: 'JSAMPROW' declared here
typedef JSAMPLE *JSAMPROW; /* ptr to one image row of pixel samples. */
^
In file included from /host/spi-builder-workspace/Sources/src/jccolor.c:90:
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:108:11: warning: implicit declaration of function 'RANGE_LIMIT' is invalid in C99 [-Wimplicit-function-declaration]
r = RANGE_LIMIT(inptr[RGB_RED]);
^
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:113:22: error: use of undeclared identifier '_JSAMPLE'
outptr[col] = (_JSAMPLE)((ctab[r + R_Y_OFF] + ctab[g + G_Y_OFF] +
^
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:130:48: error: unknown type name '_JSAMPARRAY'; did you mean 'JSAMPARRAY'?
rgb_rgb_convert_internal(j_compress_ptr cinfo, _JSAMPARRAY input_buf,
^~~~~~~~~~~
JSAMPARRAY
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jpeglib.h:80:19: note: 'JSAMPARRAY' declared here
typedef JSAMPROW *JSAMPARRAY; /* ptr to some rows (a 2-D sample array) */
^
In file included from /host/spi-builder-workspace/Sources/src/jccolor.c:90:
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:131:26: error: unknown type name '_JSAMPIMAGE'; did you mean 'JSAMPIMAGE'?
_JSAMPIMAGE output_buf, JDIMENSION output_row,
^~~~~~~~~~~
JSAMPIMAGE
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jpeglib.h:81:21: note: 'JSAMPIMAGE' declared here
typedef JSAMPARRAY *JSAMPIMAGE; /* a 3-D sample array: top index is color */
^
In file included from /host/spi-builder-workspace/Sources/src/jccolor.c:90:
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:134:12: error: unknown type name '_JSAMPROW'; did you mean 'JSAMPROW'?
register _JSAMPROW inptr;
^~~~~~~~~
JSAMPROW
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jpeglib.h:79:18: note: 'JSAMPROW' declared here
typedef JSAMPLE *JSAMPROW; /* ptr to one image row of pixel samples. */
^
In file included from /host/spi-builder-workspace/Sources/src/jccolor.c:90:
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:135:12: error: unknown type name '_JSAMPROW'; did you mean 'JSAMPROW'?
register _JSAMPROW outptr0, outptr1, outptr2;
^~~~~~~~~
JSAMPROW
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jpeglib.h:79:18: note: 'JSAMPROW' declared here
typedef JSAMPLE *JSAMPROW; /* ptr to one image row of pixel samples. */
^
In file included from /host/spi-builder-workspace/Sources/src/jccolor.c:103:
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:32:48: error: unknown type name '_JSAMPARRAY'; did you mean 'JSAMPARRAY'?
rgb_ycc_convert_internal(j_compress_ptr cinfo, _JSAMPARRAY input_buf,
^~~~~~~~~~~
JSAMPARRAY
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jpeglib.h:80:19: note: 'JSAMPARRAY' declared here
typedef JSAMPROW *JSAMPARRAY; /* ptr to some rows (a 2-D sample array) */
^
In file included from /host/spi-builder-workspace/Sources/src/jccolor.c:103:
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:33:26: error: unknown type name '_JSAMPIMAGE'; did you mean 'JSAMPIMAGE'?
_JSAMPIMAGE output_buf, JDIMENSION output_row,
^~~~~~~~~~~
JSAMPIMAGE
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jpeglib.h:81:21: note: 'JSAMPIMAGE' declared here
typedef JSAMPARRAY *JSAMPIMAGE; /* a 3-D sample array: top index is color */
^
In file included from /host/spi-builder-workspace/Sources/src/jccolor.c:103:
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:40:12: error: unknown type name '_JSAMPROW'; did you mean 'JSAMPROW'?
register _JSAMPROW inptr;
^~~~~~~~~
JSAMPROW
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jpeglib.h:79:18: note: 'JSAMPROW' declared here
typedef JSAMPLE *JSAMPROW; /* ptr to one image row of pixel samples. */
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[2/53] Compiling jccolor.c
[2/53] Compiling jcdctmgr.c
[2/53] Compiling jchuff.c
[2/53] Compiling jcarith.c
[0/1] Planning build
Building for debugging...
[0/51] Compiling jutils.c
[1/51] Compiling jmemnobs.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.
[2/51] Compiling jsimd_none.c
[2/51] Compiling jidctfst.c
[2/51] Compiling jidctred.c
[2/51] Compiling jidctflt.c
[2/51] Compiling jquant1.c
[2/51] Compiling jidctint.c
[2/51] Compiling jquant2.c
[2/51] Compiling jmemmgr.c
BUILD FAILURE 5.10 linux
Build Machine: Linux 1