=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for amp-0.7.6nb1 --- dump.o --- --- formats.o --- --- getbits.o --- --- dump.o --- clang -c dump.c --- formats.o --- clang -c formats.c --- getbits.o --- clang -c getbits.c 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] memcpy (buffer,&buffer[BUFFER_SIZE], overflow); ^ getbits.c:58:3: note: include the header <string.h> or explicitly provide a declaration for 'memcpy' --- formats.o --- 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] exit(0); ^ formats.c:63:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' --- getbits.o --- getbits.c:241:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else return GETHDR_ERR; ^ getbits.c:263:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else return GETHDR_ERR; ^ --- formats.o --- 1 warning generated. --- huffman.o --- clang -c huffman.c --- layer3.o --- --- getbits.o --- 3 warnings 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] } else { ^ --- 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] exit (-1); ^ huffman.c:68:4: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' --- layer3.o --- layer3.c:118:28: warning: call to undeclared function 'requantize_downmix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] } else { ^ --- layer3.o --- 2 warnings generated. --- getdata.o --- 1 warning generated. --- misc2.o --- --- huffman.o --- 1 warning generated. --- misc2.o --- clang -c misc2.c --- transform.o --- clang -c transform.c --- audio.o --- clang -c audio.c --- misc2.o --- misc2.c:208:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else for (window=0;window<3;window++) ^ misc2.c:364:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else /* MPEG2 */ ^ misc2.c:401:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else /* MPEG2 */ ^ misc2.c:445:49: warning: add explicit braces to avoid dangling else [-Wdangling-else] else /* MPEG2 */ ^ misc2.c:560:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else /* MPEG2 */ ^ --- 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] 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] exit(0); ^ audio.c:217:2: note: include the header <stdlib.h> 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] calculate_t43(); ^ audio.c:273:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ audio.c:284:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 5 warnings generated. --- misc2.o --- 5 warnings generated. --- args.o --- --- buffer.o --- --- args.o --- clang -c args.c --- 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] 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] munlock(buffer->bufferPtr,AUDIO_BUFFER_SIZE); ^ buffer.c:193:32: error: use of undeclared identifier 'AUSIZ' if (bufferSize(&audioBuffer)<AUSIZ) { /* is the buffer too empty */ ^ buffer.c:201:34: error: use of undeclared identifier 'AUSIZ' if ((bufferFree(&audioBuffer)>=AUSIZ) && !inputFinished) ^ buffer.c:231:9: error: use of undeclared identifier 'AUSIZ' if (AUSIZ>bytesToEnd) { ^ buffer.c:233:47: error: use of undeclared identifier 'AUSIZ' cnt += audioWrite(audioBuffer.bufferPtr, AUSIZ - bytesToEnd); ^ buffer.c:234:27: error: use of undeclared identifier 'AUSIZ' audioBuffer.outPos = AUSIZ - bytesToEnd; ^ buffer.c:236:67: error: use of undeclared identifier 'AUSIZ' cnt = audioWrite(audioBuffer.bufferPtr + audioBuffer.outPos, AUSIZ); ^ buffer.c:237:28: error: use of undeclared identifier 'AUSIZ' audioBuffer.outPos += AUSIZ; ^ buffer.c:243:76: error: use of undeclared identifier 'AUSIZ' 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 in /Users/pbulk/build/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] memcpy(&tmp,header,sizeof(tmp)); ^ position.c:25:2: note: include the header <string.h> or explicitly provide a declaration for 'memcpy' 1 warning generated. 1 error bmake: stopped in /Users/pbulk/build/audio/amp/work/amp-0.7.6 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/audio/amp *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/audio/amp