+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mpeg_encode-1.5bnb6/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mpeg_encode-1.5bnb6/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> 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 'fwrite'? [-Wimplicit-function-declaration] nitems = write(socket, buffer, numWords * sizeof(uint32)); ^~~~~ fwrite 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 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:29, from headers/all.h:68, from mpeg.c:133: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ 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 /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from headers/all.h:65, from mpeg.c:133: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (stat (const char *__path, struct stat *__statbuf)) ^~~~~ 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, from mpeg.c:133: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ 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, 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; ^~~ mpeg.c: In function 'ReadDecodedRefFrame': mpeg.c:1601:26: warning: '.decoded.' directive writing 9 bytes into a region of size between 1 and 256 [-Wformat-overflow=] sprintf(fileName, "%s.decoded.%d", outputFileName, frameNumber); ^~~~~~~~~ In file included from /usr/include/stdio.h:873, from headers/all.h:65, from mpeg.c:133: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 276 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o param.o param.c param.c: In function 'ReadParamFile': param.c:711:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(userDataFileName, charPtr); ^~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from headers/all.h:65, from param.c:168: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ param.c:530:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(input, 256, fpointer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ param.c:568:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(input, 256, fpointer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o rgbtoycc.o rgbtoycc.c param.c: In function 'ReadInputFileNames': param.c:1007:27: warning: '%s' directive writing up to 1023 bytes into a region of size 107 [-Wformat-overflow=] sprintf(cdcmd,"cd %s;",currentPath); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from headers/all.h:65, from param.c:168: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 110 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ param.c:1012:24: warning: '%s' directive writing up to 299 bytes into a region of size between 189 and 298 [-Wformat-overflow=] sprintf(cmd,"(%s %s)", cdcmd, tmp); ^~ ~~~ In file included from /usr/include/stdio.h:873, from headers/all.h:65, from param.c:168: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 412 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o readframe.o readframe.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o combine.o combine.c readframe.c: In function 'ReadAYUV': readframe.c:828:8: warning: pointer targets in assignment from 'uint8 *' {aka 'unsigned char *'} to 'int8 *' {aka 'char *'} differ in signedness [-Wpointer-sign] cbptr = &(mf->orig_cb[y>>1][0]); ^ readframe.c:829:8: warning: pointer targets in assignment from 'uint8 *' {aka 'unsigned char *'} to 'int8 *' {aka 'char *'} differ in signedness [-Wpointer-sign] crptr = &(mf->orig_cr[y>>1][0]); ^ combine.c: In function 'GOPStoMPEG': combine.c:163:28: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(fileName, "%s/%s", currentGOPPath, inputFileName); ^~ ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from headers/all.h:65, from combine.c:71: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 2048 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ combine.c: In function 'FramesToMPEG': combine.c:313:25: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(fileName, "%s/%s", currentFramePath, inputFileName); ^~ ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from headers/all.h:65, from combine.c:71: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 2048 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ combine.c:345:26: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(fileName, "%s/%s", currentFramePath, inputFileName); ^~ ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from headers/all.h:65, from combine.c:71: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 2048 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o jrevdct.o jrevdct.c readframe.c: In function '_ReadFrame': readframe.c:271:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(fullFileName, "%s/%s", currentPath, fileName); ^ In file included from /usr/include/stdio.h:873, from headers/all.h:65, from readframe.c:122: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o frame.o frame.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; ^~~~~ readframe.c: In function 'ReadIOConvert': readframe.c:549:33: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(fullFileName, "%s/%s", currentPath, fileName); ^ In file included from /usr/include/stdio.h:873, from headers/all.h:65, from readframe.c:122: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ readframe.c:560:29: warning: '%s' directive writing up to 1023 bytes into a region of size 1017 [-Wformat-overflow=] sprintf(buff,"fopen \"%s\"",fullFileName); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from headers/all.h:65, from readframe.c:122: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 1032 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o fsize.o fsize.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o frametype.o frametype.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; ^~~~~ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o libpnmrw.o libpnmrw.c libpnmrw.c: In function 'pm_perror': libpnmrw.c:131:16: error: conflicting types for 'sys_errlist' extern char* sys_errlist[]; ^~~~~~~~~~~ In file included from /usr/include/stdio.h:787, from libpnmrw.c:30: /usr/include/bits/sys_errlist.h:27:26: note: previous declaration of 'sys_errlist' was here extern const char *const sys_errlist[]; ^~~~~~~~~~~ gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o specifics.o specifics.c gmake: *** [: libpnmrw.o] Error 1 gmake: *** Waiting for unfinished jobs.... 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; ^~~~~~~~~~~ specifics.c: In function 'Specifics_Init': specifics.c:162:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(command); ^~~~~~~~~~~~~~~ specifics.c:165:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(command); ^~~~~~~~~~~~~~~ specifics.c:174:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(command); ^~~~~~~~~~~~~~~ *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/multimedia/mpeg_encode *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/multimedia/mpeg_encode