=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for jpeg_ls-2.2
/usr/bin/make - ALLOW_VULNERABLE_PACKAGES= BATCH=1 DEPENDS_TARGET=/nonexistent HOST_OSTYPE=NetBSD-5.99.55-amd64 LOWER_OPSYS=netbsd OPSYS=NetBSD OS_VERSION=5.99.55 PKGTOOLS_VERSION=20110215 WRKLOG=/bulk-data/bulklog/jpeg_ls-2.2/work.log _MAKE=/usr/bin/make _PATH_ORIG=/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin _PKGSRCDIR=/bulk-data/pkgsrc _PKGSRC_BARRIER=yes _SRC_TOP_= VFL="" PREFIX="loco" codec
gcc -O2    -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:149:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
set_thresholds(int alfa, int NEAR, int *T1p, int *T2p, int *T3p)
^~~~~~~~~~~~~~
global.c:324:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fprint_disclaimer(FILE *fp, int nopause)
^~~~~~~~~~~~~~~~~
global.c:330:26: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
    nopause = nopause | !isatty(fileno(fp));
                         ^
global.c:351:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
5 warnings generated.
gcc -O2    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c jpegmark.c
gcc -O2    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c initialize.c
gcc -O2    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c decoder.c
decoder.c:265:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
swaplines()
^~~~~~~~~
decoder.c:273:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
decoder.c:275:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
c_swaplines(int i)
^~~~~~~~~~~
decoder.c:283:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
decoder.c:349:5: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration]
                                usage();
                                ^
decoder.c:385:2: warning: implicit declaration of function 'bufiinit' is invalid in C99 [-Wimplicit-function-declaration]
        bufiinit(in);
        ^
decoder.c:464:18: warning: implicit declaration of function 'read_jpegls_restartmarker' is invalid in C99 [-Wimplicit-function-declaration]
                        seek_return = read_jpegls_restartmarker(in, head_scan[0]);
                                      ^
decoder.c:506:2: warning: implicit declaration of function 'set_thresholds' is invalid in C99 [-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: implicit declaration of function 'check_compatibility' is invalid in C99 [-Wimplicit-function-declaration]
        check_compatibility(head_frame,head_scan[0],0);
        ^
decoder.c:574:46: warning: invalid conversion specifier ',' [-Wformat]
                fprintf(stderr,"ERROR: Number of files, %d%, for output must be equal to number of image components, %d\n",out_files,components);
                                                          ~^
decoder.c:574:105: warning: more '%' conversions than data arguments [-Wformat]
                fprintf(stderr,"ERROR: Number of files, %d%, for output must be equal to number of image components, %d\n",out_files,components);
                                                                                                                     ~^
decoder.c:1015:13: warning: implicit declaration of function 'lossless_undoscanline' is invalid in C99 [-Wimplicit-function-declaration]
                                                        if ( lossless_undoscanline(local_pscanline, local_cscanline, columns, n_c ) != 0 )
                                                             ^
decoder.c:1044:9: warning: implicit declaration of function 'bitiflush' is invalid in C99 [-Wimplicit-function-declaration]
                                                                bitiflush();
                                                                ^
decoder.c:1077:13: warning: implicit declaration of function 'lossy_undoscanline' is invalid in C99 [-Wimplicit-function-declaration]
                                                        if ( lossy_undoscanline(local_pscanline, local_cscanline, columns, n_c ) != 0 )
                                                             ^
decoder.c:1246:12: warning: implicit declaration of function 'lossless_undoscanline_pixel' is invalid in C99 [-Wimplicit-function-declaration]
                                                if ( lossless_undoscanline_pixel(pscanline, cscanline, components*columns) != 0 )
                                                     ^
decoder.c:1290:12: warning: implicit declaration of function 'lossy_undoscanline_pixel' is invalid in C99 [-Wimplicit-function-declaration]
                                                if ( lossy_undoscanline_pixel(pscanline, cscanline, components*columns) != 0 )
                                                     ^
decoder.c:1479:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
usage()
^~~~~
decoder.c:1502:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
decoder.c:1505:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
bad_flag(char *s)
^~~~~~~~
19 warnings generated.
gcc -O2    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c lossless_d.c
lossless_d.c:76:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
            register nst = Nt;
            ~~~~~~~~ ^
1 warning generated.
gcc -O2    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c lossy_d.c
lossy_d.c:75:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
            register nst = Nt;
            ~~~~~~~~ ^
1 warning generated.
gcc -O2    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c bitio.c
bitio.c:121:6: warning: implicitly declaring C library function 'memset' with type 'void *(void *, int, unsigned long)'
            memset(buff+truebufsize, 0, (BUFSIZE-truebufsize)*sizeof(*buff));
            ^
bitio.c:121:6: note: please include the header <string.h> or explicitly provide a declaration for 'memset'
bitio.c:187:68: warning: conversion 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:70: warning: conversion 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.
gcc -O2    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c melcode.c
melcode.c:60:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static J[MELCSTATES] = {
~~~~~~ ^
melcode.c:100:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
                register temp, hits;
                ~~~~~~~~ ^
melcode.c:100:18: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
                register temp, hits;
                ~~~~~~~~       ^
melcode.c:134:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
                register temp;
                ~~~~~~~~ ^
4 warnings generated.
gcc -O2    -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
/usr/bin/make - ALLOW_VULNERABLE_PACKAGES= BATCH=1 DEPENDS_TARGET=/nonexistent HOST_OSTYPE=NetBSD-5.99.55-amd64 LOWER_OPSYS=netbsd OPSYS=NetBSD OS_VERSION=5.99.55 PKGTOOLS_VERSION=20110215 WRKLOG=/bulk-data/bulklog/jpeg_ls-2.2/work.log _MAKE=/usr/bin/make _PATH_ORIG=/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin _PKGSRCDIR=/bulk-data/pkgsrc _PKGSRC_BARRIER=yes _SRC_TOP_= VFL="" PREFIX="loco" codec
gcc -O2    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c global.c
global.c:109:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf(stderr, msg);
                        ^~~
global.c:149:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
set_thresholds(int alfa, int NEAR, int *T1p, int *T2p, int *T3p)
^~~~~~~~~~~~~~
global.c:323:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fprint_disclaimer(FILE *fp, int nopause)
^~~~~~~~~~~~~~~~~
global.c:329:26: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
    nopause = nopause | !isatty(fileno(fp));
                         ^
global.c:350:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
5 warnings generated.
gcc -O2    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c jpegmark.c
jpegmark.c:262:4: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration]
                        usage();
                        ^
1 warning generated.
gcc -O2    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c initialize.c
initialize.c:197:26: warning: '/*' within block comment [-Wcomment]
/*      for (i=1; i< 65; i++)   /* value of N[] */
                                ^
initialize.c:198:28: warning: '/*' within block comment [-Wcomment]
/*              for (j=1; j<2500; j++)  /* value of A[] */
                                        ^
2 warnings generated.
gcc -O2    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c encoder.c
encoder.c:282:6: warning: implicit declaration of function 'bad_flag' is invalid in C99 [-Wimplicit-function-declaration]
                                        bad_flag(argv[i]);
                                        ^
encoder.c:389:5: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration]
                                usage();
                                ^
encoder.c:481:8: warning: implicit declaration of function 'read_header_6' is invalid in C99 [-Wimplicit-function-declaration]
                if ( read_header_6(in, &columns, &rows, &alpha0, &components) != 0 )
                     ^
encoder.c:498:8: warning: implicit declaration of function 'read_header_5' is invalid in C99 [-Wimplicit-function-declaration]
                        if (read_header_5(c_in[i], &(c_columns[i]), &(c_rows[i]), &alpha0) != 0 )
                            ^
encoder.c:785:4: warning: implicit declaration of function 'set_thresholds' is invalid in C99 [-Wimplicit-function-declaration]
                        set_thresholds(alpha, NEAR, &T1, &T2, &T3);
                        ^
encoder.c:804:19: warning: implicit declaration of function 'write_jpegls_restartmarker' is invalid in C99 [-Wimplicit-function-declaration]
                                all_header += write_jpegls_restartmarker(out, head_scan[n_s]);
                                              ^
encoder.c:821:4: warning: implicit declaration of function 'check_compatibility' is invalid in C99 [-Wimplicit-function-declaration]
                        check_compatibility(head_frame, head_scan[0],0);
                        ^
encoder.c:1235:47: warning: conversion specifies type 'long' but the argument has type 'int' [-Wformat]
            fprintf(msgfile,"Marker segment bytes: %ld\n",all_header);
                                                   ~~^    ~~~~~~~~~~
                                                   %d
encoder.c:1251:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
usage()
^~~~~
encoder.c:1296:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
encoder.c:1301:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
bad_flag(char *s)
^~~~~~~~
encoder.c:1319:7: warning: implicit declaration of function 'nextline' is invalid in C99 [-Wimplicit-function-declaration]
        if ( nextline(line, fin) != 0 )
             ^
12 warnings generated.
gcc -O2    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c lossless_e.c
lossless_e.c:95:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
            register nst = Nt;
            ~~~~~~~~ ^
lossless_e.c:158:3: warning: shift count >= width of type
                putbits((1 << k) + (MErrval & ((1 << k) - 1)), k + 1);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bitio.h:142:15: note: expanded from:
                                reg &= ~(1<<(8*sizeof(reg)-1)); \
                                          ^ ~~~~~~~~~~~~~~~~~
lossless_e.c:162:6: warning: shift count >= width of type
            putbits((1<<qbpp) + MErrval - 1, qbpp+1);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bitio.h:142:15: note: expanded from:
                                reg &= ~(1<<(8*sizeof(reg)-1)); \
                                          ^ ~~~~~~~~~~~~~~~~~
lossless_e.c:236:3: warning: shift count >= width of type
                putbits((1 << k) + (MErrval & ((1 << k) - 1)), k + 1);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bitio.h:142:15: note: expanded from:
                                reg &= ~(1<<(8*sizeof(reg)-1)); \
                                          ^ ~~~~~~~~~~~~~~~~~
lossless_e.c:240:3: warning: shift count >= width of type
                putbits((1<<qbpp) + MErrval-1, qbpp+1);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bitio.h:142:15: note: expanded from:
                                reg &= ~(1<<(8*sizeof(reg)-1)); \
                                          ^ ~~~~~~~~~~~~~~~~~
5 warnings generated.
gcc -O2    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c lossy_e.c
lossy_e.c:83:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
            register nst = Nt;
            ~~~~~~~~ ^
lossy_e.c:171:6: warning: shift count >= width of type
            putbits((1 << k) + (MErrval & ((1 << k) - 1)), k + 1);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bitio.h:142:15: note: expanded from:
                                reg &= ~(1<<(8*sizeof(reg)-1)); \
                                          ^ ~~~~~~~~~~~~~~~~~
lossy_e.c:175:6: warning: shift count >= width of type
            putbits((1<<qbpp) + MErrval - 1, qbpp+1);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bitio.h:142:15: note: expanded from:
                                reg &= ~(1<<(8*sizeof(reg)-1)); \
                                          ^ ~~~~~~~~~~~~~~~~~
lossy_e.c:266:3: warning: shift count >= width of type
                putbits((1 << k) + (MErrval & ((1 << k) - 1)), k + 1);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bitio.h:142:15: note: expanded from:
                                reg &= ~(1<<(8*sizeof(reg)-1)); \
                                          ^ ~~~~~~~~~~~~~~~~~
lossy_e.c:270:3: warning: shift count >= width of type
                putbits((1<<qbpp) + MErrval-1, qbpp+1);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bitio.h:142:15: note: expanded from:
                                reg &= ~(1<<(8*sizeof(reg)-1)); \
                                          ^ ~~~~~~~~~~~~~~~~~
lossy_e.c:337:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
                                register delta = Ix - Ra;
                                ~~~~~~~~ ^
lossy_e.c:459:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
                                register delta = Ix - Ra;
                                ~~~~~~~~ ^
7 warnings generated.
gcc -O2    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c bitio.c
bitio.c:102:14: warning: shift count >= width of type
                        reg &= ~(1<<(8*sizeof(reg)-1)); /* stuff a 0 at MSB */
                                  ^ ~~~~~~~~~~~~~~~~~
1 warning generated.
gcc -O2    -DPGMPREFIX=\"loco\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG  -c melcode.c
melcode.c:61:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static J[MELCSTATES] = {
~~~~~~ ^
melcode.c:91:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
process_run(int runlen, int eoline, int color)
^~~~~~~~~~~
melcode.c:118:3: error: non-void function 'process_run' should return a value [-Wreturn-type]
                return;
                ^
melcode.c:131:2: error: non-void function 'process_run' should return a value [-Wreturn-type]
        return;
        ^
melcode.c:110:2: warning: shift count >= width of type
        PUT_ONES(hits);
        ^~~~~~~~~~~~~~
./bitio.h:117:21: note: expanded from:
#define PUT_ONES(n) put_ones(n)
                    ^
./bitio.h:105:6: note: expanded from:
            putbits((1<<n)-1,n);                                \
            ^
./bitio.h:142:15: note: expanded from:
                                reg &= ~(1<<(8*sizeof(reg)-1)); \
                                          ^ ~~~~~~~~~~~~~~~~~
melcode.c:110:2: warning: shift count >= width of type
        PUT_ONES(hits);
        ^~~~~~~~~~~~~~
./bitio.h:117:21: note: expanded from:
#define PUT_ONES(n) put_ones(n)
                    ^
./bitio.h:110:3: note: expanded from:
                putbits((1<<24)-1,24);                          \
                ^
./bitio.h:142:15: note: expanded from:
                                reg &= ~(1<<(8*sizeof(reg)-1)); \
                                          ^ ~~~~~~~~~~~~~~~~~
melcode.c:110:2: warning: shift count >= width of type
        PUT_ONES(hits);
        ^~~~~~~~~~~~~~
./bitio.h:117:21: note: expanded from:
#define PUT_ONES(n) put_ones(n)
                    ^
./bitio.h:113:16: note: expanded from:
            if ( nn ) putbits((1<<nn)-1,nn);                    \
                      ^
./bitio.h:142:15: note: expanded from:
                                reg &= ~(1<<(8*sizeof(reg)-1)); \
                                          ^ ~~~~~~~~~~~~~~~~~
melcode.c:117:4: warning: shift count >= width of type
                        PUT_ONES(1);
                        ^~~~~~~~~~~
./bitio.h:117:21: note: expanded from:
#define PUT_ONES(n) put_ones(n)
                    ^
./bitio.h:105:6: note: expanded from:
            putbits((1<<n)-1,n);                                \
            ^
./bitio.h:142:15: note: expanded from:
                                reg &= ~(1<<(8*sizeof(reg)-1)); \
                                          ^ ~~~~~~~~~~~~~~~~~
melcode.c:117:4: warning: shift count >= width of type
                        PUT_ONES(1);
                        ^~~~~~~~~~~
./bitio.h:117:21: note: expanded from:
#define PUT_ONES(n) put_ones(n)
                    ^
./bitio.h:110:3: note: expanded from:
                putbits((1<<24)-1,24);                          \
                ^
./bitio.h:142:15: note: expanded from:
                                reg &= ~(1<<(8*sizeof(reg)-1)); \
                                          ^ ~~~~~~~~~~~~~~~~~
melcode.c:117:4: warning: shift count >= width of type
                        PUT_ONES(1);
                        ^~~~~~~~~~~
./bitio.h:117:21: note: expanded from:
#define PUT_ONES(n) put_ones(n)
                    ^
./bitio.h:113:16: note: expanded from:
            if ( nn ) putbits((1<<nn)-1,nn);                    \
                      ^
./bitio.h:142:15: note: expanded from:
                                reg &= ~(1<<(8*sizeof(reg)-1)); \
                                          ^ ~~~~~~~~~~~~~~~~~
melcode.c:124:2: warning: shift count >= width of type
        PUTBITS(runlen,limit_reduce);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bitio.h:152:22: note: expanded from:
#define PUTBITS(x,n) putbits(x,n)
                     ^
./bitio.h:142:15: note: expanded from:
                                reg &= ~(1<<(8*sizeof(reg)-1)); \
                                          ^ ~~~~~~~~~~~~~~~~~
9 warnings and 2 errors generated.
*** Error code 1

Stop.
make: stopped in /scratch/graphics/jpeg_ls/work/jpeg_ls_v2.2/Encoder
*** Error code 1

Stop.
make: stopped in /scratch/graphics/jpeg_ls/work/jpeg_ls_v2.2/Encoder
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/graphics/jpeg_ls
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/graphics/jpeg_ls
