=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/jpeg_ls", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for jpeg_ls-2.2nb1 --- loco --- /opt/pkg/bin/bmake - -j 2 -J 15,16 BATCH=1 DEPENDS_TARGET=/nonexistent LOWER_OPSYS=darwin NATIVE_LOWER_OPSYS=darwin OSX_PATH_TO_M4=/usr/bin/m4 OSX_PATH_TO_YACC=/usr/bin/yacc OSX_SDK_PATH=/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk _MAKE=/opt/pkg/bin/bmake _PATH_ORIG=/sbin:/bin:/usr/sbin:/usr/bin _PKGSRCDIR=/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64 _PKGSRC_BARRIER=yes VFL="" PREFIX="loco" codec --- global.o --- --- jpegmark.o --- --- global.o --- clang -pipe -Os -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG -c global.c --- jpegmark.o --- clang -pipe -Os -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG -c jpegmark.c --- global.o --- global.c:108:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 108 | fprintf(stderr, msg); | ^~~ global.c:108:18: note: treat the string as an argument to avoid this 108 | fprintf(stderr, msg); | ^ | "%s", global.c:149:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 149 | set_thresholds(int alfa, int NEAR, int *T1p, int *T2p, int *T3p) | ^ | int global.c:324:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 324 | fprint_disclaimer(FILE *fp, int nopause) | ^ | int global.c:330:26: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 330 | nopause = nopause | !isatty(fileno(fp)); | ^ global.c:351:1: warning: non-void function does not return a value [-Wreturn-type] 351 | } | ^ 5 warnings generated. --- initialize.o --- clang -pipe -Os -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG -c initialize.c --- decoder.o --- clang -pipe -Os -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG -c decoder.c decoder.c:265:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 265 | swaplines() | ^ | int decoder.c:273:1: warning: non-void function does not return a value [-Wreturn-type] 273 | } | ^ decoder.c:275:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 275 | c_swaplines(int i) | ^ | int decoder.c:283:1: warning: non-void function does not return a value [-Wreturn-type] 283 | } | ^ decoder.c:349:5: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 349 | usage(); | ^ decoder.c:372:3: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | usage(); | ^ decoder.c:385:2: warning: call to undeclared function 'bufiinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 385 | bufiinit(in); | ^ decoder.c:464:18: warning: call to undeclared function 'read_jpegls_restartmarker'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 464 | seek_return = read_jpegls_restartmarker(in, head_scan[0]); | ^ decoder.c:506:2: warning: call to undeclared function 'set_thresholds'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 506 | set_thresholds(head_scan[0]->alp, head_scan[0]->NEAR, &(head_scan[0]->T1), &(head_scan[0]->T2), &(head_scan[0]->T3)); | ^ decoder.c:545:2: warning: call to undeclared function 'check_compatibility'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 545 | check_compatibility(head_frame,head_scan[0],0); | ^ decoder.c:562:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 562 | else multi=1; | ^ decoder.c:574:46: warning: invalid conversion specifier ',' [-Wformat-invalid-specifier] 574 | fprintf(stderr,"ERROR: Number of files, %d%, for output must be equal to number of image components, %d\n",out_files,components); | ~^ decoder.c:619:3: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 619 | usage(); | ^ decoder.c:663:3: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 663 | usage(); | ^ decoder.c:880:2: warning: call to undeclared function 'bufiinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 880 | bufiinit(); | ^ decoder.c:1015:13: warning: call to undeclared function 'lossless_undoscanline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1015 | if ( lossless_undoscanline(local_pscanline, local_cscanline, columns, n_c ) != 0 ) | ^ decoder.c:1044:9: warning: call to undeclared function 'bitiflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1044 | bitiflush(); | ^ decoder.c:1077:13: warning: call to undeclared function 'lossy_undoscanline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1077 | if ( lossy_undoscanline(local_pscanline, local_cscanline, columns, n_c ) != 0 ) | ^ decoder.c:1106:9: warning: call to undeclared function 'bitiflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1106 | bitiflush(); | ^ decoder.c:1139:14: warning: call to undeclared function 'lossless_undoscanline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1139 | if ( lossless_undoscanline(c_pscanline[n_c], c_cscanline[n_c], c_columns[n_c], n_c ) != 0 ) | ^ decoder.c:1166:9: warning: call to undeclared function 'bitiflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1166 | bitiflush(); | ^ decoder.c:1189:14: warning: call to undeclared function 'lossy_undoscanline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1189 | if ( lossy_undoscanline(c_pscanline[n_c], c_cscanline[n_c], c_columns[n_c], n_c ) != 0 ) | ^ decoder.c:1216:9: warning: call to undeclared function 'bitiflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1216 | bitiflush(); | ^ decoder.c:1246:12: warning: call to undeclared function 'lossless_undoscanline_pixel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1246 | if ( lossless_undoscanline_pixel(pscanline, cscanline, components*columns) != 0 ) | ^ decoder.c:1270:9: warning: call to undeclared function 'bitiflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1270 | bitiflush(); | ^ decoder.c:1290:12: warning: call to undeclared function 'lossy_undoscanline_pixel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1290 | if ( lossy_undoscanline_pixel(pscanline, cscanline, components*columns) != 0 ) | ^ decoder.c:1314:9: warning: call to undeclared function 'bitiflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1314 | bitiflush(); | ^ decoder.c:1338:11: warning: call to undeclared function 'lossless_undoscanline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1338 | if (lossless_undoscanline(c_pscanline[n_s], c_cscanline[n_s], c_columns[n_s], n_s ) != 0 ) | ^ decoder.c:1361:9: warning: call to undeclared function 'bitiflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1361 | bitiflush(); | ^ decoder.c:1379:11: warning: call to undeclared function 'lossy_undoscanline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1379 | if (lossy_undoscanline(c_pscanline[n_s], c_cscanline[n_s], c_columns[n_s], n_s ) != 0 ) | ^ decoder.c:1402:9: warning: call to undeclared function 'bitiflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1402 | bitiflush(); | ^ decoder.c:1416:3: warning: call to undeclared function 'bitiflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1416 | bitiflush(); | ^ decoder.c:1479:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1479 | usage() | ^ | int decoder.c:1502:1: warning: non-void function does not return a value [-Wreturn-type] 1502 | } | ^ decoder.c:1505:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1505 | bad_flag(char *s) | ^ | int --- lossless_d.o --- clang -pipe -Os -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG -c lossless_d.c lossless_d.c:76:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 76 | register nst = Nt; | ~~~~~~~~ ^ | int --- decoder.o --- 35 warnings generated. --- lossy_d.o --- clang -pipe -Os -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG -c lossy_d.c --- lossless_d.o --- 1 warning generated. --- bitio.o --- clang -pipe -Os -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG -c bitio.c --- lossy_d.o --- lossy_d.c:75:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 75 | register nst = Nt; | ~~~~~~~~ ^ | int --- bitio.o --- bitio.c:121:6: warning: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | memset(buff+truebufsize, 0, (BUFSIZE-truebufsize)*sizeof(*buff)); | ^ bitio.c:121:6: note: include the header or explicitly provide a declaration for 'memset' bitio.c:187:98: warning: format specifies type 'unsigned int' but the argument has type 'dword' (aka 'unsigned long') [-Wformat] 187 | fprintf(stderr,"bitiflush: inconsistent bits=%d discard=%d reg=%08x treg=%08x\n",bits, discard, reg, treg); | ~~~~ ^~~ | %08lx bitio.c:191:94: warning: format specifies type 'unsigned int' but the argument has type 'dword' (aka 'unsigned long') [-Wformat] 191 | fprintf(stderr,"bitiflush: Warning: discarding nonzero bits; reg=%08x bits=%d discard=%d\n",reg,bits,discard); | ~~~~ ^~~ | %08lx --- lossy_d.o --- 1 warning generated. --- bitio.o --- 3 warnings generated. --- melcode.o --- clang -pipe -Os -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG -c melcode.c melcode.c:60:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 60 | static J[MELCSTATES] = { | ~~~~~~ ^ | int melcode.c:100:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 100 | register temp, hits; | ~~~~~~~~ ^ | int melcode.c:100:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 100 | register temp, hits; | ~~~~~~~~ ^ | int melcode.c:134:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 134 | register temp; | ~~~~~~~~ ^ | int 4 warnings generated. --- locod --- clang -pipe -Os -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG -o locod global.o jpegmark.o initialize.o decoder.o lossless_d.o lossy_d.o bitio.o melcode.o -lm duplicate symbol '___inline_signbitf' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o duplicate symbol '___inline_isfinited' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o duplicate symbol '___sputc' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/jpegmark.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/melcode.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/bitio.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/decoder.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/global.o duplicate symbol '___sincospi' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o duplicate symbol '___inline_isnand' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o duplicate symbol '___sincospif' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o duplicate symbol '___inline_isnormald' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o duplicate symbol '___inline_isinff' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o duplicate symbol '___inline_isnormall' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o duplicate symbol '___inline_isfinitef' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o duplicate symbol '___inline_isinfl' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o duplicate symbol '___inline_isnormalf' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o duplicate symbol '___inline_signbitl' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o duplicate symbol '___inline_isnanl' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o duplicate symbol '___sincosf' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o duplicate symbol '___inline_isinfd' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o duplicate symbol '___inline_isfinitel' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o duplicate symbol '___sincos' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o duplicate symbol '___inline_isnanf' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o duplicate symbol '___inline_signbitd' in: /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o ld: 20 duplicate symbols clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [locod] Error code 1 bmake[1]: stopped making "codec" in /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder bmake[1]: 1 error bmake[1]: stopped making "codec" in /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder *** [loco] Error code 2 bmake: stopped making "all" in /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder bmake: 1 error bmake: stopped making "all" in /var/tmp/work/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/jpeg_ls *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/jpeg_ls