+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mpeg_encode-1.5bnb7/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mpeg_encode-1.5bnb7/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for mpeg_encode-1.5bnb7 gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o mfwddct.o mfwddct.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o postdct.o postdct.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o huff.o huff.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o bitio.o bitio.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o mheaders.o mheaders.c bitio.c: In function 'Bitio_WriteToSocket': gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o mpeg.o mpeg.c bitio.c:422:22: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 422 | nitems = write(socket, buffer, numWords * sizeof(uint32)); | ^~~~~ | fwrite gmake: *** [: bitio.o] Error 1 gmake: *** Waiting for unfinished jobs.... mpeg.c: In function 'SetReferenceFrameType': mpeg.c:251:10: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 251 | if ( strcmp(type, "ORIGINAL") == 0 ) { | ^~~~~~ mpeg.c:152:1: note: include '' or provide a declaration of 'strcmp' 151 | #include +++ |+#include 152 | mpeg.c: In function 'SetBitRateFileName': mpeg.c:266:5: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 266 | strcpy(bitRateFileName, fileName); | ^~~~~~ mpeg.c:266:5: note: include '' or provide a declaration of 'strcpy' mpeg.c:266:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] mpeg.c:266:5: note: include '' or provide a declaration of 'strcpy' mpeg.c: In function 'GenMPEGStream': mpeg.c:604:17: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 604 | if (strlen(userDataFileName) != 0) { | ^~~~~~ mpeg.c:604:17: note: include '' or provide a declaration of 'strlen' mpeg.c:604:17: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] mpeg.c:604:17: note: include '' or provide a declaration of 'strlen' 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 * mpeg.c:604:24: note: expected 'const char *' but argument is of type 'unsigned char *' 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 /usr/include/sys/stat.h:517, from mpeg.c:151: /usr/include/sys/stat_impl.h:46:17: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 46 | extern int stat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD); | ^ 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 /usr/include/stdio.h:82, from headers/all.h:65, from mpeg.c:133: /usr/include/iso/stdio_iso.h:197:24: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 197 | extern FILE *fopen(const char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ 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: 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; | ^~~ mpeg.c: In function 'SetStatFileName': mpeg.c:781:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 781 | strcpy(statFileName, fileName); | ^~~~~~ mpeg.c:781:5: note: include '' or provide a declaration of 'strcpy' gmake: *** [: mpeg.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/mpeg_encode *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/mpeg_encode