Build Information
Failed to build libjpeg, reference main (45fbd5
), with Swift 5.8 for macOS (SPM) on 8 Jul 2024 17:34:33 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.45.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SusanDoggie/libjpeg.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SusanDoggie/libjpeg
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 45fbd53 Update .gitmodules
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 '/Users/admin/builder/spi-builder-workspace/dependencies/libjpeg-turbo'...
From https://github.com/libjpeg-turbo/libjpeg-turbo
* branch be96fa0a403e5d084719757f7b8241d20393246d -> FETCH_HEAD
Cloned https://github.com/SusanDoggie/libjpeg.git
Revision (git rev-parse @):
45fbd53914ab6aee3ed0e97f6f9cb7e42cf32a34
SUCCESS checkout https://github.com/SusanDoggie/libjpeg.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/SusanDoggie/libjpeg.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
/Users/admin/builder/spi-builder-workspace/Sources/src/jdatasrc.c:107:12: error: call to undeclared function 'JFREAD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
nbytes = JFREAD(src->infile, src->buffer, INPUT_BUF_SIZE);
^
1 error generated.
[0/53] Compiling jdatasrc.c
[0/53] Compiling jdatadst.c
[0/53] Compiling jcdctmgr.c
[0/53] Compiling jctrans.c
[0/53] Compiling jdapistd.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/src/jdcolor.c:95:
/Users/admin/builder/spi-builder-workspace/dependencies/libjpeg-turbo/jdcolext.c:31:50: error: unknown type name '_JSAMPIMAGE'; did you mean 'JSAMPIMAGE'?
ycc_rgb_convert_internal(j_decompress_ptr cinfo, _JSAMPIMAGE input_buf,
^~~~~~~~~~~
JSAMPIMAGE
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/Sources/src/jdcolor.c:95:
/Users/admin/builder/spi-builder-workspace/dependencies/libjpeg-turbo/jdcolext.c:32:48: error: unknown type name '_JSAMPARRAY'; did you mean 'JSAMPARRAY'?
JDIMENSION input_row, _JSAMPARRAY output_buf,
^~~~~~~~~~~
JSAMPARRAY
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/Sources/src/jdcolor.c:95:
/Users/admin/builder/spi-builder-workspace/dependencies/libjpeg-turbo/jdcolext.c:38:12: error: unknown type name '_JSAMPROW'; did you mean 'JSAMPROW'?
register _JSAMPROW outptr;
^~~~~~~~~
JSAMPROW
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/Sources/src/jdcolor.c:95:
/Users/admin/builder/spi-builder-workspace/dependencies/libjpeg-turbo/jdcolext.c:39:12: error: unknown type name '_JSAMPROW'; did you mean 'JSAMPROW'?
register _JSAMPROW inptr0, inptr1, inptr2;
^~~~~~~~~
JSAMPROW
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/Sources/src/jdcolor.c:95:
/Users/admin/builder/spi-builder-workspace/dependencies/libjpeg-turbo/jdcolext.c:43:12: error: unknown type name '_JSAMPLE'; did you mean 'JSAMPLE'?
register _JSAMPLE *range_limit = (_JSAMPLE *)cinfo->sample_range_limit;
^~~~~~~~
JSAMPLE
/Users/admin/builder/spi-builder-workspace/dependencies/libjpeg-turbo/jmorecfg.h:48:23: note: 'JSAMPLE' declared here
typedef unsigned char JSAMPLE;
^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/src/jdcolor.c:95:
/Users/admin/builder/spi-builder-workspace/dependencies/libjpeg-turbo/jdcolext.c:43:47: error: expected expression
register _JSAMPLE *range_limit = (_JSAMPLE *)cinfo->sample_range_limit;
^
/Users/admin/builder/spi-builder-workspace/dependencies/libjpeg-turbo/jdcolext.c:43:37: error: use of undeclared identifier '_JSAMPLE'
register _JSAMPLE *range_limit = (_JSAMPLE *)cinfo->sample_range_limit;
^
/Users/admin/builder/spi-builder-workspace/dependencies/libjpeg-turbo/jdcolext.c:88:51: error: unknown type name '_JSAMPIMAGE'; did you mean 'JSAMPIMAGE'?
gray_rgb_convert_internal(j_decompress_ptr cinfo, _JSAMPIMAGE input_buf,
^~~~~~~~~~~
JSAMPIMAGE
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/Sources/src/jdcolor.c:95:
/Users/admin/builder/spi-builder-workspace/dependencies/libjpeg-turbo/jdcolext.c:89:49: error: unknown type name '_JSAMPARRAY'; did you mean 'JSAMPARRAY'?
JDIMENSION input_row, _JSAMPARRAY output_buf,
^~~~~~~~~~~
JSAMPARRAY
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/Sources/src/jdcolor.c:95:
/Users/admin/builder/spi-builder-workspace/dependencies/libjpeg-turbo/jdcolext.c:92:12: error: unknown type name '_JSAMPROW'; did you mean 'JSAMPROW'?
register _JSAMPROW inptr, outptr;
^~~~~~~~~
JSAMPROW
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/Sources/src/jccolor.c:90:
/Users/admin/builder/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
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/Sources/src/jccolor.c:90:
/Users/admin/builder/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
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/Sources/src/jccolor.c:90:
/Users/admin/builder/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:40:12: error: unknown type name '_JSAMPROW'; did you mean 'JSAMPROW'?
register _JSAMPROW inptr;
^~~~~~~~~
JSAMPROW
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/Sources/src/jccolor.c:90:
/Users/admin/builder/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
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/Sources/src/jccolor.c:90:
/Users/admin/builder/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:52:11: error: call to undeclared function 'RANGE_LIMIT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
r = RANGE_LIMIT(inptr[RGB_RED]);
^
/Users/admin/builder/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] +
^
/Users/admin/builder/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] +
^
/Users/admin/builder/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] +
^
/Users/admin/builder/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
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/Sources/src/jccolor.c:90:
/Users/admin/builder/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
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/Sources/src/jccolor.c:90:
/Users/admin/builder/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:98:12: error: unknown type name '_JSAMPROW'; did you mean 'JSAMPROW'?
register _JSAMPROW inptr;
^~~~~~~~~
JSAMPROW
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/Sources/src/jccolor.c:90:
/Users/admin/builder/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:99:12: error: unknown type name '_JSAMPROW'; did you mean 'JSAMPROW'?
register _JSAMPROW outptr;
^~~~~~~~~
JSAMPROW
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/Sources/src/jccolor.c:90:
/Users/admin/builder/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:108:11: error: call to undeclared function 'RANGE_LIMIT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
r = RANGE_LIMIT(inptr[RGB_RED]);
^
/Users/admin/builder/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] +
^
/Users/admin/builder/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
/Users/admin/builder/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) */
^
[0/53] Compiling jdcolor.c
[0/53] Compiling jccolor.c
[0/53] Compiling jdcoefct.c
[0/53] Compiling jdarith.c
[0/53] Compiling jdapimin.c
BUILD FAILURE 5.8 macosSpm