=> Bootstrap dependency digest>=20010302: found digest-20210928 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for mpeg_encode-1.5bnb6 gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o mfwddct.o mfwddct.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o postdct.o postdct.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o huff.o huff.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o bitio.o bitio.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o mheaders.o mheaders.c bitio.c: In function 'Bitio_Flush': bitio.c:311:5: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] time(&tempTimeStart); ^~~~ bitio.c: In function 'Bitio_WriteToSocket': bitio.c:422:15: warning: implicit declaration of function 'write'; did you mean 'writev'? [-Wimplicit-function-declaration] nitems = write(socket, buffer, numWords * sizeof(uint32)); ^~~~~ writev gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o mpeg.o mpeg.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o subsample.o subsample.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o param.o param.c mpeg.c: In function 'GenMPEGStream': mpeg.c:604:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(userDataFileName) != 0) { ^~~~~~~~~~~~~~~~ In file included from /usr/include/memory.h:34:0, from headers/all.h:68, from mpeg.c:133: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *); ^~~~~~ mpeg.c:608:13: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] stat(userDataFileName,&statbuf); ^~~~~~~~~~~~~~~~ In file included from mpeg.c:151:0: /usr/include/sys/stat.h:247:5: note: expected 'const char *' but argument is of type 'unsigned char *' int stat(const char *, struct stat *) __RENAME(__stat50); ^~~~ mpeg.c:611:24: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if ((fp = fopen(userDataFileName,"rb")) == NULL) { ^~~~~~~~~~~~~~~~ In file included from headers/all.h:65:0, from mpeg.c:133: /usr/include/stdio.h:230:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' FILE *fopen(const char * __restrict , const char * __restrict); ^~~~~ mpeg.c:641:53: warning: pointer targets in passing argument 13 of 'Mhead_GenSequenceHeader' differ in signedness [-Wpointer-sign] /* user_data */ userData, /* user_data_size */ userDataSize); ^~~~~~~~ In file included from headers/frames.h:87:0, from mpeg.c:138: headers/mheaders.h:66:6: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' void Mhead_GenSequenceHeader _ANSI_ARGS_((BitBucket *bbPtr, ^~~~~~~~~~~~~~~~~~~~~~~ mpeg.c:310:26: warning: variable 'res' set but not used [-Wunused-but-set-variable] int32 bitstreamMode, res; ^~~ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o rgbtoycc.o rgbtoycc.c In file included from /usr/include/string.h:127:0, from /usr/include/memory.h:34, from headers/all.h:68, from param.c:168: param.c: In function 'ReadParamFile': param.c:711:16: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(userDataFileName, charPtr); ^ param.c:711:16: note: expected 'char *' but argument is of type 'unsigned char *' param.c:711:16: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(userDataFileName, charPtr); ^ /usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'unsigned char *' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o readframe.o readframe.c readframe.c: In function 'ReadAYUV': readframe.c:828:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cbptr = &(mf->orig_cb[y>>1][0]); ^ readframe.c:829:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] crptr = &(mf->orig_cr[y>>1][0]); ^ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o combine.o combine.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o jrevdct.o jrevdct.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o frame.o frame.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o fsize.o fsize.c frame.c: In function 'Resize_Array_Width': frame.c:283:14: warning: variable 'pointB' set but not used [-Wunused-but-set-variable] uint8 pointA,pointB; ^~~~~~ frame.c:283:7: warning: variable 'pointA' set but not used [-Wunused-but-set-variable] uint8 pointA,pointB; ^~~~~~ frame.c: In function 'Resize_Array_Height': frame.c:354:14: warning: variable 'diff' set but not used [-Wunused-but-set-variable] double slope,diff; ^~~~ frame.c:354:8: warning: variable 'slope' set but not used [-Wunused-but-set-variable] double slope,diff; ^~~~~ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o frametype.o frametype.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o libpnmrw.o libpnmrw.c frametype.c: In function 'ComputeFrameTable': frametype.c:269:17: warning: variable 'lastI' set but not used [-Wunused-but-set-variable] FrameTable *lastI, *lastIP, *firstB, *secondIP; ^~~~~ libpnmrw.c: In function 'pm_perror': libpnmrw.c:138:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] e = sys_errlist[errno]; ^ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o specifics.o specifics.c specifics.c: In function 'Parse_Specifics_File_v1': specifics.c:249:7: warning: variable 'num_scanned' set but not used [-Wunused-but-set-variable] int num_scanned; ^~~~~~~~~~~ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o rate.o rate.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o opts.o opts.c rate.c: In function 'targetRateControl': rate.c:353:9: warning: variable 'strPtr' set but not used [-Wunused-but-set-variable] char *strPtr; ^~~~~~ rate.c: In function 'updateRateControl': rate.c:462:9: warning: variable 'strPtr' set but not used [-Wunused-but-set-variable] char *strPtr; ^~~~~~ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o iframe.o iframe.c iframe.c: In function 'GenIFrame': iframe.c:556:8: warning: implicit declaration of function 'Mpost_UnQuantZigBlockLaplace'; did you mean 'Mpost_UnQuantZigBlock'? [-Wimplicit-function-declaration] Mpost_UnQuantZigBlockLaplace(fb[index], dec[index], QScale, TRUE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mpost_UnQuantZigBlock gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o pframe.o pframe.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o bframe.o bframe.c bframe.c: In function 'GenBFrame': bframe.c:546:2: warning: label 'skip_block' defined but not used [-Wunused-label] skip_block: ^~~~~~~~~~ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o psearch.o psearch.c psearch.c: In function 'SetSearchRange': psearch.c:296:20: warning: self-comparison always evaluates to false [-Wtautological-compare] : ((searchRangeB>searchRangeB)?searchRangeB:searchRangeB); ^ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o bsearch.o bsearch.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o block.o block.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o parallel.o parallel.c parallel.c: In function 'StartIOServer': parallel.c:296:52: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] otherSock = accept(serverSocket, &otherSocket, &otherSize); ^ In file included from parallel.c:79:0: /usr/include/sys/socket.h:620:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ parallel.c: In function 'WaitForOutputFile': parallel.c:761:58: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] otherSock = accept(outputServerSocket, &otherSocket, &otherSize); ^ In file included from parallel.c:79:0: /usr/include/sys/socket.h:620:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ parallel.c: In function 'StartMasterServer': parallel.c:893:50: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] otherSock = accept(serverSocket, &otherSocket, &otherSize); ^ In file included from parallel.c:79:0: /usr/include/sys/socket.h:620:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ parallel.c:917:52: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] otherSock = accept(serverSocket, &otherSocket, &otherSize); ^ In file included from parallel.c:79:0: /usr/include/sys/socket.h:620:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ parallel.c:958:54: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] otherSock = accept(serverSocket, &otherSocket, &otherSize); ^ In file included from parallel.c:79:0: /usr/include/sys/socket.h:620:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ parallel.c:1051:52: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] otherSock = accept(serverSocket, &otherSocket, &otherSize); ^ In file included from parallel.c:79:0: /usr/include/sys/socket.h:620:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ parallel.c:1171:50: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] otherSock = accept(serverSocket, &otherSocket, &otherSize); ^ In file included from parallel.c:79:0: /usr/include/sys/socket.h:620:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ parallel.c:824:11: warning: variable 'finished' set but not used [-Wunused-but-set-variable] boolean finished[MAX_MACHINES]; ^~~~~~~~ parallel.c:819:11: warning: variable 'framesPerMachine' set but not used [-Wunused-but-set-variable] int framesPerMachine; ^~~~~~~~~~~~~~~~ parallel.c: In function 'StartDecodeServer': parallel.c:1340:58: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] otherSock = accept(decodeServerSocket, &otherSocket, &otherSize); ^ In file included from parallel.c:79:0: /usr/include/sys/socket.h:620:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ parallel.c:1307:12: warning: variable 'ready' set but not used [-Wunused-but-set-variable] boolean *ready; ^~~~~ parallel.c: In function 'WaitForDecodedFrame': parallel.c:1655:50: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] otherSock = accept(waitSocket, &otherSocket, &otherSize); ^ In file included from parallel.c:79:0: /usr/include/sys/socket.h:620:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o jpeg.o jpeg.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o main.o main.c jpeg.c: In function 'ReadJPEG': jpeg.c:588:7: warning: implicit declaration of function 'jcopy_sample_rows' [-Wimplicit-function-declaration] jcopy_sample_rows(scanarray[ci],0,(JSAMPARRAY)(orig[ci]), ^~~~~~~~~~~~~~~~~ jpeg.c:509:19: warning: 'h_samp[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] temp_h = (h_samp[0] for correct reference strip mpeg_encode gcc -o ppmtoeyuv ppmtoeyuv.c ppmtoeyuv.c: In function 'main': ppmtoeyuv.c:73:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ ppmtoeyuv.c:73:2: warning: incompatible implicit declaration of built-in function 'exit' ppmtoeyuv.c:73:2: note: include '' or provide a declaration of 'exit' ppmtoeyuv.c: In function 'ReadPPM': ppmtoeyuv.c:92:10: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if ( strncmp(input, "P6", 2) != 0 ) /* magic number */ ^~~~~~~ ppmtoeyuv.c:111:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ ppmtoeyuv.c:111:2: note: include '' or provide a declaration of 'exit' ppmtoeyuv.c:114:27: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] ppm_data = (uint8 **) malloc(sizeof(uint8 *) * height); ^~~~~~ ppmtoeyuv.c:114:27: warning: incompatible implicit declaration of built-in function 'malloc' ppmtoeyuv.c:114:27: note: include '' or provide a declaration of 'malloc' ppmtoeyuv.c: In function 'ReadNextInteger': ppmtoeyuv.c:145:7: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] if ( isspace(input[0]) ) ^~~~~~~ ppmtoeyuv.c:170:9: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] return atoi(input); ^~~~ ppmtoeyuv.c: In function 'PPMtoYUV': ppmtoeyuv.c:224:25: warning: incompatible implicit declaration of built-in function 'malloc' orig_y = (uint8 **) malloc(sizeof(uint8 *) * height); ^~~~~~ ppmtoeyuv.c:224:25: note: include '' or provide a declaration of 'malloc' gcc -O -g -Wall -W -Wreturn-type -Wunused -Wmissing-prototypes -I/usr/pkg/include -Wl,-z,relro -Wl,-z,now -L/usr/pkg/lib -Wl,-R/usr/pkg/lib eyuvtoppm.c -o eyuvtoppm eyuvtoppm.c:45:6: warning: return type of 'main' is not 'int' [-Wmain] void main(int argc, char **argv) ^~~~ eyuvtoppm.c: In function 'main': eyuvtoppm.c:50:10: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if ((strcmp(argv[1],"-?") == 0) || ^~~~~~ eyuvtoppm.c:61:7: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(src, argv[1]); ^~~~~~ eyuvtoppm.c:61:7: warning: incompatible implicit declaration of built-in function 'strcpy' eyuvtoppm.c:61:7: note: include '' or provide a declaration of 'strcpy' gcc -O -g -Wall -W -Wreturn-type -Wunused -Wmissing-prototypes -I/usr/pkg/include -Wl,-z,relro -Wl,-z,now -L/usr/pkg/lib -Wl,-R/usr/pkg/lib eyuvtojpeg.c -o eyuvtojpeg eyuvtojpeg.c: In function 'main': eyuvtojpeg.c:53:10: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if ((strcmp(argv[1],"-?") == 0) || ^~~~~~ eyuvtojpeg.c:64:7: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(src, argv[1]); ^~~~~~ eyuvtojpeg.c:64:7: warning: incompatible implicit declaration of built-in function 'strcpy' eyuvtojpeg.c:64:7: note: include '' or provide a declaration of 'strcpy' gcc -o jmovie2jpeg jmovie2jpeg.c jmovie2jpeg.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] usage (p) ^~~~~ jmovie2jpeg.c: In function 'usage': jmovie2jpeg.c:44:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit (1); ^~~~ jmovie2jpeg.c:44:5: warning: incompatible implicit declaration of built-in function 'exit' jmovie2jpeg.c:44:5: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c: At top level: jmovie2jpeg.c:47:1: warning: return type defaults to 'int' [-Wimplicit-int] main (argc, argv) ^~~~ jmovie2jpeg.c: In function 'main': jmovie2jpeg.c:56:18: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] extern char *malloc(); ^~~~~~ jmovie2jpeg.c:174:13: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] start = atoi(argv[3]); ^~~~ jmovie2jpeg.c:181:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ jmovie2jpeg.c:181:2: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c:187:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ jmovie2jpeg.c:187:2: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c:195:2: warning: incompatible implicit declaration of built-in function 'exit' exit (1); ^~~~ jmovie2jpeg.c:195:2: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c:209:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ jmovie2jpeg.c:209:2: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c:214:8: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ jmovie2jpeg.c:214:8: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c:219:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ jmovie2jpeg.c:219:2: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c:225:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ jmovie2jpeg.c:225:2: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c:234:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ jmovie2jpeg.c:234:2: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c:243:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ jmovie2jpeg.c:243:2: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c:252:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ jmovie2jpeg.c:252:2: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c:259:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ jmovie2jpeg.c:259:2: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c:280:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ jmovie2jpeg.c:280:2: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c:286:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ jmovie2jpeg.c:286:2: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c:291:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ jmovie2jpeg.c:291:2: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c:296:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ jmovie2jpeg.c:296:9: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c:303:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ jmovie2jpeg.c:303:2: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c:310:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ jmovie2jpeg.c:310:2: note: include '' or provide a declaration of 'exit' jmovie2jpeg.c:350:2: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] lseek(fd, inoffsets[i-1],0); ^~~~~ fseek jmovie2jpeg.c:352:2: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] read(fd, &(op_code), 1); ^~~~ fread jmovie2jpeg.c:370:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(inoffsets); ^~~~ jmovie2jpeg.c:370:5: warning: incompatible implicit declaration of built-in function 'free' jmovie2jpeg.c:370:5: note: include '' or provide a declaration of 'free' gcc -O -o mpeg_demux mpeg_demux.c mpeg_demux.c:112:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^~~~