=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for jpeg_ls-2.2nb1
/opt/pkg/bin/bmake - -j 1 -J 15,16 .MAKE.LEVEL.ENV=MAKELEVEL ALLOW_VULNERABLE_PACKAGES= BATCH=1 DEPENDS_TARGET=/nonexistent NATIVE_LOWER_OPSYS=darwin OSX_PATH_TO_M4= OSX_PATH_TO_YACC= OSX_SDK_PATH=/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk WRKLOG=/tmp/bulklog/jpeg_ls-2.2nb1/work.log _MAKE=/opt/pkg/bin/bmake _PATH_ORIG=/sbin:/bin:/usr/sbin:/usr/bin _PKGSRCDIR=/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64 _PKGSRC_BARRIER=yes VFL="" PREFIX="loco" codec
clang -pipe -Os    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c global.c
global.c:108:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf(stderr, msg);
                        ^~~
global.c:108:18: note: treat the string as an argument to avoid this
        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]
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]
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]
    nopause = nopause | !isatty(fileno(fp));
                         ^
global.c:351:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
5 warnings generated.
clang -pipe -Os    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c jpegmark.c
clang -pipe -Os    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c initialize.c
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]
swaplines()
^
int
decoder.c:273:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
decoder.c:275:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
c_swaplines(int i)
^
int
decoder.c:283:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
decoder.c:349:5: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                                usage();
                                ^
decoder.c:372:3: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                usage();
                ^
decoder.c:385:2: warning: call to undeclared function 'bufiinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        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]
                        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]
        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]
        check_compatibility(head_frame,head_scan[0],0);
        ^
decoder.c:562:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else multi=1;
        ^
decoder.c:574:46: warning: invalid conversion specifier ',' [-Wformat-invalid-specifier]
                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]
                usage();
                ^
decoder.c:663:3: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                usage();
                ^
decoder.c:880:2: warning: call to undeclared function 'bufiinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        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]
                                                        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]
                                                                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]
                                                        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]
                                                                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]
                                                                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]
                                                                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]
                                                                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]
                                                                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]
                                                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]
                                                                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]
                                                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]
                                                                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]
                                                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]
                                                                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]
                                                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]
                                                                bitiflush();
                                                                ^
decoder.c:1416:3: warning: call to undeclared function 'bitiflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                bitiflush();
                ^
decoder.c:1479:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
usage()
^
int
decoder.c:1502:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
decoder.c:1505:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
bad_flag(char *s)
^
int
35 warnings generated.
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]
            register nst = Nt;
            ~~~~~~~~ ^
            int
1 warning generated.
clang -pipe -Os    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c lossy_d.c
lossy_d.c:75:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
            register nst = Nt;
            ~~~~~~~~ ^
            int
1 warning generated.
clang -pipe -Os    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c bitio.c
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]
            memset(buff+truebufsize, 0, (BUFSIZE-truebufsize)*sizeof(*buff));
            ^
bitio.c:121:6: note: include the header <string.h> 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]
        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]
        fprintf(stderr,"bitiflush: Warning: discarding nonzero bits; reg=%08x bits=%d discard=%d\n",reg,bits,discard);
                                                                         ~~~~                       ^~~
                                                                         %08lx
3 warnings generated.
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]
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]
                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]
                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]
                register temp;
                ~~~~~~~~ ^
                int
4 warnings generated.
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:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___inline_isfinited' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___sputc' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/bitio.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/melcode.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/jpegmark.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/global.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/decoder.o
duplicate symbol '___sincospi' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___inline_isnand' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___sincospif' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___inline_isnormald' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___inline_isinff' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___inline_isnormall' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___inline_isfinitef' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___inline_isinfl' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___inline_isnormalf' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___inline_signbitl' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___inline_isnanl' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___sincosf' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___inline_isinfd' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___inline_isfinitel' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___sincos' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___inline_isnanf' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.o
duplicate symbol '___inline_signbitd' in:
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossy_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/lossless_d.o
    /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder/initialize.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 in /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder
1 error

bmake[1]: stopped in /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder
*** [loco] Error code 2

bmake: stopped in /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder
1 error

bmake: stopped in /Users/pbulk/build/graphics/jpeg_ls/work/jpeg_ls_v2.2/Decoder
*** Error code 2

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/graphics/jpeg_ls
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/graphics/jpeg_ls