+ 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
bitio.c: In function 'Bitio_Flush':
bitio.c:311:5: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration]
  311 |     time(&tempTimeStart);
      |     ^~~~
bitio.c: In function 'Bitio_WriteToSocket':
bitio.c:422:22: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
  422 |             nitems = write(socket, buffer, numWords * sizeof(uint32));
      |                      ^~~~~
      |                      fwrite
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/usr/pkg/include  -c -o mheaders.o mheaders.c
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/usr/pkg/include  -c -o mpeg.o mpeg.c
mpeg.c: In function 'GenMPEGStream':
mpeg.c:604:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  604 |             if (strlen(userDataFileName) != 0) {
      |                        ^~~~~~~~~~~~~~~~
      |                        |
      |                        unsigned char *
In file included from /usr/include/memory.h:29,
                 from headers/all.h:68,
                 from mpeg.c:133:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  391 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
mpeg.c:608:20: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign]
  608 |               stat(userDataFileName,&statbuf);
      |                    ^~~~~~~~~~~~~~~~
      |                    |
      |                    unsigned char *
In file included from mpeg.c:151:
/usr/include/sys/stat.h:205:41: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  205 | extern int stat (const char *__restrict __file,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
mpeg.c:611:31: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
  611 |               if ((fp = fopen(userDataFileName,"rb")) == NULL) {
      |                               ^~~~~~~~~~~~~~~~
      |                               |
      |                               unsigned char *
In file included from headers/all.h:65,
                 from mpeg.c:133:
/usr/include/stdio.h:252:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  252 | 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]
  641 |                                     /* user_data */ userData, /* user_data_size */ userDataSize);
      |                                                     ^~~~~~~~
      |                                                     |
      |                                                     char *
In file included from headers/all.h:84,
                 from mpeg.c:133:
headers/mheaders.h:72:41: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *'
   72 |             int32 ext_data_size, uint8 *user_data, int32 user_data_size));
      |                                  ~~~~~~~^~~~~~~~~
headers/ansi.h:66:26: note: in definition of macro '_ANSI_ARGS_'
   66 | #define _ANSI_ARGS_(x)   x
      |                          ^
mpeg.c:310:26: warning: variable 'res' set but not used [-Wunused-but-set-variable]
  310 |     int32 bitstreamMode, res;
      |                          ^~~
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/usr/pkg/include  -c -o subsample.o subsample.c
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=]
 1601 |     sprintf(fileName, "%s.decoded.%d", outputFileName, frameNumber);
      |                          ^~~~~~~~~
In file included from /usr/include/stdio.h:900,
                 from headers/all.h:65,
                 from mpeg.c:133:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 11 and 276 bytes into a destination of size 256
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __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:556:9: warning: statement with no effect [-Wunused-value]
  556 |         log(10.0);
      |         ^~~
param.c:711:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  711 |         strcpy(userDataFileName, charPtr);
      |                ^~~~~~~~~~~~~~~~
      |                |
      |                unsigned char *
In file included from /usr/include/features.h:490,
                 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   77 | __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]
  530 |           fgets(input, 256, fpointer);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
param.c:568:11: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  568 |           fgets(input, 256, fpointer);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
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=]
 1007 |         sprintf(cdcmd,"cd %s;",currentPath);
      |                           ^~   ~~~~~~~~~~~
In file included from /usr/include/stdio.h:900,
                 from headers/all.h:65,
                 from param.c:168:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 110
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __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=]
 1012 |       sprintf(cmd,"(%s %s)", cdcmd, tmp);
      |                        ^~           ~~~
In file included from /usr/include/stdio.h:900,
                 from headers/all.h:65,
                 from param.c:168:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 412 bytes into a destination of size 300
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/usr/pkg/include  -c -o rgbtoycc.o rgbtoycc.c
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:15: warning: pointer targets in assignment from 'uint8 *' {aka 'unsigned char *'} to 'int8 *' {aka 'char *'} differ in signedness [-Wpointer-sign]
  828 |         cbptr = &(mf->orig_cb[y>>1][0]);
      |               ^
readframe.c:829:15: warning: pointer targets in assignment from 'uint8 *' {aka 'unsigned char *'} to 'int8 *' {aka 'char *'} differ in signedness [-Wpointer-sign]
  829 |         crptr = &(mf->orig_cr[y>>1][0]);
      |               ^
combine.c: In function 'GOPStoMPEG':
combine.c:163:35: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
  163 |             sprintf(fileName, "%s/%s", currentGOPPath, inputFileName);
      |                                   ^~                   ~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:900,
                 from headers/all.h:65,
                 from combine.c:71:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 2048 bytes into a destination of size 1024
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
combine.c: In function 'FramesToMPEG':
combine.c:313:39: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
  313 |                 sprintf(fileName, "%s/%s", currentFramePath, inputFileName);
      |                                       ^~                     ~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:900,
                 from headers/all.h:65,
                 from combine.c:71:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 2048 bytes into a destination of size 1024
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
combine.c:345:47: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
  345 |                         sprintf(fileName, "%s/%s", currentFramePath, inputFileName);
      |                                               ^~                     ~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:900,
                 from headers/all.h:65,
                 from combine.c:71:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 2048 bytes into a destination of size 1024
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
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=]
  271 |       sprintf(fullFileName, "%s/%s", currentPath, fileName);
      |                                   ^
In file included from /usr/include/stdio.h:900,
                 from headers/all.h:65,
                 from readframe.c:122:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/usr/pkg/include  -c -o jrevdct.o jrevdct.c
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=]
  549 |     sprintf(fullFileName, "%s/%s", currentPath, fileName);
      |                                 ^
In file included from /usr/include/stdio.h:900,
                 from headers/all.h:65,
                 from readframe.c:122:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
readframe.c:560:29: warning: '%s' directive writing up to 1023 bytes into a region of size 1017 [-Wformat-overflow=]
  560 |       sprintf(buff,"fopen \"%s\"",fullFileName);
      |                             ^~    ~~~~~~~~~~~~
In file included from /usr/include/stdio.h:900,
                 from headers/all.h:65,
                 from readframe.c:122:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 9 and 1032 bytes into a destination of size 1024
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __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]
  283 | uint8 pointA,pointB;
      |              ^~~~~~
frame.c:283:7: warning: variable 'pointA' set but not used [-Wunused-but-set-variable]
  283 | 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]
  354 | double slope,diff;
      |              ^~~~
frame.c:354:8: warning: variable 'slope' set but not used [-Wunused-but-set-variable]
  354 | double slope,diff;
      |        ^~~~~
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
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/usr/pkg/include  -c -o libpnmrw.o libpnmrw.c
frametype.c: In function 'ComputeFrameTable':
frametype.c:269:18: warning: variable 'lastI' set but not used [-Wunused-but-set-variable]
  269 |     FrameTable  *lastI, *lastIP, *firstB, *secondIP;
      |                  ^~~~~
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]
  249 |   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]
  162 |   system(command);
      |   ^~~~~~~~~~~~~~~
specifics.c:165:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  165 |   system(command);
      |   ^~~~~~~~~~~~~~~
specifics.c:174:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  174 |   system(command);
      |   ^~~~~~~~~~~~~~~
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]
  353 |   char *strPtr;
      |         ^~~~~~
rate.c: In function 'updateRateControl':
rate.c:462:9: warning: variable 'strPtr' set but not used [-Wunused-but-set-variable]
  462 |   char *strPtr;
      |         ^~~~~~
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/usr/pkg/include  -c -o iframe.o iframe.c
opts.c: In function 'SetupWriteDistortions':
opts.c:495:29: warning: 'rate' directive writing 4 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  495 |         sprintf(scratch, "%srate%d", fname, i);
      |                             ^~~~
opts.c:495:26: note: directive argument in the range [1, 31]
  495 |         sprintf(scratch, "%srate%d", fname, i);
      |                          ^~~~~~~~~~
In file included from /usr/include/stdio.h:900,
                 from opts.c:38:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 6 and 262 bytes into a destination of size 256
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
opts.c:497:29: warning: 'dist' directive writing 4 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  497 |         sprintf(scratch, "%sdist%d", fname, i);
      |                             ^~~~
opts.c:497:26: note: directive argument in the range [1, 31]
  497 |         sprintf(scratch, "%sdist%d", fname, i);
      |                          ^~~~~~~~~~
In file included from /usr/include/stdio.h:900,
                 from opts.c:38:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 6 and 262 bytes into a destination of size 256
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/usr/pkg/include  -c -o pframe.o pframe.c
iframe.c: In function 'GenIFrame':
iframe.c:556:15: warning: implicit declaration of function 'Mpost_UnQuantZigBlockLaplace'; did you mean 'Mpost_UnQuantZigBlock'? [-Wimplicit-function-declaration]
  556 |               Mpost_UnQuantZigBlockLaplace(fb[index], dec[index], QScale, TRUE);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |               Mpost_UnQuantZigBlock
iframe.c: In function 'WriteDecodedFrame':
iframe.c:965:26: warning: '.decoded.' directive writing 9 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  965 |     sprintf(fileName, "%s.decoded.%d", outputFileName, frame->id);
      |                          ^~~~~~~~~
In file included from /usr/include/stdio.h:900,
                 from headers/all.h:65,
                 from iframe.c:147:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 11 and 276 bytes into a destination of size 256
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/usr/pkg/include  -c -o bframe.o bframe.c
bframe.c: In function 'GenBFrame':
bframe.c:546:9: warning: label 'skip_block' defined but not used [-Wunused-label]
  546 |         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:27: warning: self-comparison always evaluates to false [-Wtautological-compare]
  296 |           : ((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]
  296 |     otherSock = accept(serverSocket, &otherSocket, &otherSize);
      |                                                    ^~~~~~~~~~
      |                                                    |
      |                                                    int *
In file included from parallel.c:79:
/usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  307 |                    socklen_t *__restrict __addr_len);
      |                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
parallel.c: In function 'WaitForOutputFile':
parallel.c:761:58: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
  761 |     otherSock = accept(outputServerSocket, &otherSocket, &otherSize);
      |                                                          ^~~~~~~~~~
      |                                                          |
      |                                                          int *
In file included from parallel.c:79:
/usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  307 |                    socklen_t *__restrict __addr_len);
      |                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
parallel.c: In function 'StartMasterServer':
parallel.c:893:50: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
  893 |   otherSock = accept(serverSocket, &otherSocket, &otherSize);
      |                                                  ^~~~~~~~~~
      |                                                  |
      |                                                  int *
In file included from parallel.c:79:
/usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  307 |                    socklen_t *__restrict __addr_len);
      |                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
parallel.c:917:52: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
  917 |     otherSock = accept(serverSocket, &otherSocket, &otherSize);
      |                                                    ^~~~~~~~~~
      |                                                    |
      |                                                    int *
In file included from parallel.c:79:
/usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  307 |                    socklen_t *__restrict __addr_len);
      |                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
parallel.c:958:54: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
  958 |       otherSock = accept(serverSocket, &otherSocket, &otherSize);
      |                                                      ^~~~~~~~~~
      |                                                      |
      |                                                      int *
In file included from parallel.c:79:
/usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  307 |                    socklen_t *__restrict __addr_len);
      |                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
parallel.c:1051:52: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
 1051 |     otherSock = accept(serverSocket, &otherSocket, &otherSize);
      |                                                    ^~~~~~~~~~
      |                                                    |
      |                                                    int *
In file included from parallel.c:79:
/usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  307 |                    socklen_t *__restrict __addr_len);
      |                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
parallel.c:1171:50: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
 1171 |   otherSock = accept(serverSocket, &otherSocket, &otherSize);
      |                                                  ^~~~~~~~~~
      |                                                  |
      |                                                  int *
In file included from parallel.c:79:
/usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  307 |                    socklen_t *__restrict __addr_len);
      |                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
parallel.c:824:11: warning: variable 'finished' set but not used [-Wunused-but-set-variable]
  824 |   boolean finished[MAX_MACHINES];
      |           ^~~~~~~~
parallel.c:819:13: warning: variable 'framesPerMachine' set but not used [-Wunused-but-set-variable]
  819 |   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]
 1340 |     otherSock = accept(decodeServerSocket, &otherSocket, &otherSize);
      |                                                          ^~~~~~~~~~
      |                                                          |
      |                                                          int *
In file included from parallel.c:79:
/usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  307 |                    socklen_t *__restrict __addr_len);
      |                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
parallel.c:1307:12: warning: variable 'ready' set but not used [-Wunused-but-set-variable]
 1307 |   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]
 1655 |     otherSock = accept(waitSocket, &otherSocket, &otherSize);
      |                                                  ^~~~~~~~~~
      |                                                  |
      |                                                  int *
In file included from parallel.c:79:
/usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  307 |                    socklen_t *__restrict __addr_len);
      |                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/usr/pkg/include  -c -o jpeg.o jpeg.c
jpeg.c: In function 'ReadJPEG':
jpeg.c:588:7: warning: implicit declaration of function 'jcopy_sample_rows' [-Wimplicit-function-declaration]
  588 |       jcopy_sample_rows(scanarray[ci],0,(JSAMPARRAY)(orig[ci]),
      |       ^~~~~~~~~~~~~~~~~
jpeg.c: In function 'JMovie2JPEG':
jpeg.c:327:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  327 |   fread(junk,sizeof(int),1,inFile);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg.c:346:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  346 |       fread(&(inoffsets[i]),sizeof(int),1,inFile);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg.c:356:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  356 |       read(fd, &(op_code), 1);
      |       ^~~~~~~~~~~~~~~~~~~~~~~
jpeg.c:359:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  359 |           read(fd,junk,audiosize);
      |           ^~~~~~~~~~~~~~~~~~~~~~~
jpeg.c:360:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  360 |           read(fd, &(op_code), 1);
      |           ^~~~~~~~~~~~~~~~~~~~~~~
jpeg.c:363:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  363 |       read(fd,jpeg_size,4);
      |       ^~~~~~~~~~~~~~~~~~~~
jpeg.c:364:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  364 |       read(fd,&(inbuffer[607]),(size));
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parallel.c: In function 'StartMasterServer':
parallel.c:1018:28: warning: '%s' directive writing up to 65535 bytes into a region of size between 768 and 1023 [-Wformat-overflow=]
 1018 |       sprintf(command, "%s %s -l %s %s %s -child %s %d %d %d %d %d %d -frames %d %d %s",
      |                            ^~
parallel.c:1018:24: note: directive argument in the range [0, 256]
 1018 |       sprintf(command, "%s %s -l %s %s %s -child %s %d %d %d %d %d %d -frames %d %d %s",
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:900,
                 from headers/all.h:65,
                 from parallel.c:88:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 41 or more bytes (assuming 393766) into a destination of size 1024
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
parallel.c:1006:28: warning: '%s' directive writing up to 65535 bytes into a region of size between 768 and 1023 [-Wformat-overflow=]
 1006 |       sprintf(command, "%s %s -l %s %s %s -child %s %d %d %d %d %d %d -frames %d %d %s",
      |                            ^~
parallel.c:1006:24: note: directive argument in the range [0, 256]
 1006 |       sprintf(command, "%s %s -l %s %s %s -child %s %d %d %d %d %d %d -frames %d %d %s",
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parallel.c:1006:24: note: using the range [-2147483648, 2147483647] for directive argument
In file included from /usr/include/stdio.h:900,
                 from headers/all.h:65,
                 from parallel.c:88:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 41 or more bytes (assuming 393766) into a destination of size 1024
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
jpeg.c: In function 'ReadJPEG':
jpeg.c:509:19: warning: 'h_samp' may be used uninitialized [-Wmaybe-uninitialized]
  509 |   temp_h = (h_samp[0]<h_samp[1]) ? h_samp[1] : h_samp[0];
      |             ~~~~~~^~~
jpeg.c:426:7: note: 'h_samp' declared here
  426 |   int h_samp[3],v_samp[3];
      |       ^~~~~~
jpeg.c:509:29: warning: 'h_samp' may be used uninitialized [-Wmaybe-uninitialized]
  509 |   temp_h = (h_samp[0]<h_samp[1]) ? h_samp[1] : h_samp[0];
      |                       ~~~~~~^~~
jpeg.c:426:7: note: 'h_samp' declared here
  426 |   int h_samp[3],v_samp[3];
      |       ^~~~~~
jpeg.c:510:30: warning: 'h_samp' may be used uninitialized [-Wmaybe-uninitialized]
  510 |   max_h_samp = (temp_h<h_samp[2]) ? h_samp[2]:temp_h;
      |                        ~~~~~~^~~
jpeg.c:426:7: note: 'h_samp' declared here
  426 |   int h_samp[3],v_samp[3];
      |       ^~~~~~
jpeg.c:511:19: warning: 'v_samp' may be used uninitialized [-Wmaybe-uninitialized]
  511 |   temp_v = (v_samp[0]<v_samp[1]) ? v_samp[1] : v_samp[0];
      |             ~~~~~~^~~
jpeg.c:426:17: note: 'v_samp' declared here
  426 |   int h_samp[3],v_samp[3];
      |                 ^~~~~~
jpeg.c:511:29: warning: 'v_samp' may be used uninitialized [-Wmaybe-uninitialized]
  511 |   temp_v = (v_samp[0]<v_samp[1]) ? v_samp[1] : v_samp[0];
      |                       ~~~~~~^~~
jpeg.c:426:17: note: 'v_samp' declared here
  426 |   int h_samp[3],v_samp[3];
      |                 ^~~~~~
jpeg.c:512:30: warning: 'v_samp' may be used uninitialized [-Wmaybe-uninitialized]
  512 |   max_v_samp = (temp_v<v_samp[2]) ? v_samp[2]:temp_v;
      |                        ~~~~~~^~~
jpeg.c:426:17: note: 'v_samp' declared here
  426 |   int h_samp[3],v_samp[3];
      |                 ^~~~~~
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/usr/pkg/include  -c -o main.o main.c
make: *** No rule to make target '-ljpeg', needed by 'mpeg_encode'.  Stop.
make: *** Waiting for unfinished jobs....
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/multimedia/mpeg_encode
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/multimedia/mpeg_encode