+ 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/mpegaudio-3.9/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mpegaudio-3.9/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for mpegaudio-3.9 --- musicin.o --- --- common.o --- --- encode.o --- --- subs.o --- --- musicin.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPREFIX=\"/opt/pkg\" -c musicin.c --- common.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPREFIX=\"/opt/pkg\" -c common.c --- encode.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPREFIX=\"/opt/pkg\" -c encode.c --- subs.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPREFIX=\"/opt/pkg\" -c subs.c --- common.o --- common.c: In function 'read_bit_alloc': common.c:212:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 212 | exit(1); | ^~~~ common.c:91:1: note: include '' or provide a declaration of 'exit' 90 | #include +++ |+#include 91 | common.c:212:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 212 | exit(1); | ^~~~ common.c:212:17: note: include '' or provide a declaration of 'exit' common.c: In function 'js_bound': common.c:273:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 273 | exit(1); | ^~~~ common.c:273:9: note: include '' or provide a declaration of 'exit' common.c: In function 'mem_alloc': common.c:464:24: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 464 | ptr = (void FAR *) malloc(block); | ^~~~~~ common.c:464:24: note: include '' or provide a declaration of 'malloc' common.c:464:24: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] common.c:464:24: note: include '' or provide a declaration of 'malloc' common.c:476:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 476 | exit(0); | ^~~~ common.c:476:9: note: include '' or provide a declaration of 'exit' common.c: In function 'mem_free': common.c:496:9: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 496 | free(*ptr_addr); | ^~~~ common.c:496:9: note: include '' or provide a declaration of 'free' common.c:496:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] common.c:496:9: note: include '' or provide a declaration of 'free' --- musicin.o --- musicin.c: In function 'obtain_parameters': musicin.c:151:8: error: implicit declaration of function 'gets'; did you mean 'getw'? [-Wimplicit-function-declaration] 151 | gets(original_file_name); | ^~~~ | getw --- common.o --- common.c: In function 'open_bit_stream_w': common.c:1025:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1025 | exit(1); | ^~~~ common.c:1025:7: note: include '' or provide a declaration of 'exit' common.c: In function 'open_bit_stream_r': common.c:1048:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1048 | exit(1); | ^~~~ common.c:1048:7: note: include '' or provide a declaration of 'exit' common.c:1095:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1095 | exit(1); | ^~~~ common.c:1095:7: note: include '' or provide a declaration of 'exit' common.c: In function 'desalloc_buffer': common.c:1138:4: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1138 | free(bs->buf); | ^~~~ common.c:1138:4: note: include '' or provide a declaration of 'free' --- musicin.o --- musicin.c: At top level: musicin.c:670:1: error: return type defaults to 'int' [-Wimplicit-int] 670 | main(argc, argv) | ^~~~ musicin.c: In function 'aiff_check': --- encode.o --- encode.c: In function 'read_ana_window': encode.c:245:8: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 245 | exit(1); | ^~~~ encode.c:84:1: note: include '' or provide a declaration of 'exit' 83 | #include "encoder.h" +++ |+#include 84 | encode.c:245:8: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 245 | exit(1); | ^~~~ encode.c:245:8: note: include '' or provide a declaration of 'exit' encode.c:259:11: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 259 | exit(1); | ^~~~ encode.c:259:11: note: include '' or provide a declaration of 'exit' encode.c: In function 'window_subband': encode.c:288:12: error: type defaults to 'int' in declaration of 'off' [-Wimplicit-int] 288 | static off[2] = {0,0}; | ^~~ --- musicin.o --- musicin.c:969:17: error: passing argument 1 of 'strncmp' from incompatible pointer type [-Wincompatible-pointer-types] 969 | if (strncmp(&pcm_aiff_data->sampleType,IFF_ID_SSND,4)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * In file included from /usr/include/string.h:35, from common.h:114, from musicin.c:101: /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'long unsigned int *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ --- subs.o --- subs.c: In function 'fft': subs.c:91:25: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 91 | exit(-1); | ^~~~ subs.c:24:1: note: include '' or provide a declaration of 'exit' 23 | #include "encoder.h" +++ |+#include 24 | subs.c:91:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 91 | exit(-1); | ^~~~ subs.c:91:25: note: include '' or provide a declaration of 'exit' *** [subs.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/audio/mpegaudio/work/mpegaudio --- common.o --- *** [common.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/audio/mpegaudio/work/mpegaudio --- musicin.o --- *** [musicin.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/audio/mpegaudio/work/mpegaudio --- encode.o --- *** [encode.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/audio/mpegaudio/work/mpegaudio bmake: 4 errors bmake: stopped making "all" in /home/pbulk/build/audio/mpegaudio/work/mpegaudio *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/mpegaudio *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/mpegaudio