=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/audio/amp", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for amp-0.7.6nb1 --- dump.o --- --- formats.o --- --- dump.o --- clang -c dump.c --- formats.o --- clang -c formats.c formats.c:63:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | exit(0); | ^ formats.c:63:2: note: include the header or explicitly provide a declaration for 'exit' 1 warning generated. --- getbits.o --- clang -c getbits.c --- huffman.o --- clang -c huffman.c --- getbits.o --- getbits.c:58:3: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | memcpy (buffer,&buffer[BUFFER_SIZE], overflow); | ^ getbits.c:58:3: note: include the header or explicitly provide a declaration for 'memcpy' getbits.c:241:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] 241 | else return GETHDR_ERR; | ^ getbits.c:263:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] 263 | else return GETHDR_ERR; | ^ 3 warnings generated. --- huffman.o --- huffman.c:68:4: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | exit (-1); | ^ huffman.c:68:4: note: include the header or explicitly provide a declaration for 'exit' --- layer3.o --- --- huffman.o --- 1 warning generated. --- layer3.o --- clang -c layer3.c --- getdata.o --- clang -c getdata.c --- layer3.o --- layer3.c:80:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 80 | } else { | ^ layer3.c:118:28: warning: call to undeclared function 'requantize_downmix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | if (A_DOWNMIX && nch==2) requantize_downmix(gr,&info,header); | ^ --- getdata.o --- getdata.c:202:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 202 | } else { | ^ --- layer3.o --- 2 warnings generated. --- getdata.o --- 1 warning generated. --- misc2.o --- --- transform.o --- --- misc2.o --- clang -c misc2.c --- transform.o --- clang -c transform.c --- misc2.o --- misc2.c:208:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 208 | } else for (window=0;window<3;window++) | ^ misc2.c:364:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 364 | else /* MPEG2 */ | ^ misc2.c:401:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 401 | else /* MPEG2 */ | ^ misc2.c:445:49: warning: add explicit braces to avoid dangling else [-Wdangling-else] 445 | else /* MPEG2 */ | ^ misc2.c:560:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 560 | else /* MPEG2 */ | ^ 5 warnings generated. --- audio.o --- clang -c audio.c --- args.o --- clang -c args.c --- audio.o --- audio.c:108:2: warning: call to undeclared function 'show_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | show_header(&header); | ^ audio.c:217:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 217 | exit(0); | ^ audio.c:217:2: note: include the header or explicitly provide a declaration for 'exit' audio.c:228:2: warning: call to undeclared function 'calculate_t43'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 228 | calculate_t43(); | ^ audio.c:273:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 273 | else | ^ audio.c:284:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 284 | else | ^ --- buffer.o --- --- audio.o --- 5 warnings generated. --- buffer.o --- clang -c buffer.c --- audioIO.o --- clang -c audioIO.c --- position.o --- clang -c position.c --- buffer.o --- buffer.c:101:2: warning: call to undeclared function 'mlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | mlock(buffer->bufferPtr,AUDIO_BUFFER_SIZE); | ^ buffer.c:112:3: warning: call to undeclared function 'munlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | munlock(buffer->bufferPtr,AUDIO_BUFFER_SIZE); | ^ buffer.c:193:32: error: use of undeclared identifier 'AUSIZ' 193 | if (bufferSize(&audioBuffer)=AUSIZ) && !inputFinished) | ^ buffer.c:231:9: error: use of undeclared identifier 'AUSIZ' 231 | if (AUSIZ>bytesToEnd) { | ^ buffer.c:233:47: error: use of undeclared identifier 'AUSIZ' 233 | cnt += audioWrite(audioBuffer.bufferPtr, AUSIZ - bytesToEnd); | ^ buffer.c:234:27: error: use of undeclared identifier 'AUSIZ' 234 | audioBuffer.outPos = AUSIZ - bytesToEnd; | ^ buffer.c:236:67: error: use of undeclared identifier 'AUSIZ' 236 | cnt = audioWrite(audioBuffer.bufferPtr + audioBuffer.outPos, AUSIZ); | ^ buffer.c:237:28: error: use of undeclared identifier 'AUSIZ' 237 | audioBuffer.outPos += AUSIZ; | ^ buffer.c:243:76: error: use of undeclared identifier 'AUSIZ' 243 | cnt = read(inFd, audioBuffer.bufferPtr + audioBuffer.inPos, MIN(AUSIZ, AUDIO_BUFFER_SIZE - audioBuffer.inPos)); | ^ buffer.c:243:76: error: use of undeclared identifier 'AUSIZ' 2 warnings and 9 errors generated. *** [buffer.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/audio/amp/work/amp-0.7.6 --- position.o --- position.c:25:2: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | memcpy(&tmp,header,sizeof(tmp)); | ^ position.c:25:2: note: include the header or explicitly provide a declaration for 'memcpy' 1 warning generated. bmake: 1 error bmake: stopped making "all" in /var/tmp/work/audio/amp/work/amp-0.7.6 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/audio/amp *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/audio/amp