=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for amp-0.7.6nb1 clang -c dump.c clang -c formats.c formats.c:63:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(0); ^ formats.c:63:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' 1 warning generated. clang -c getbits.c getbits.c:58:3: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-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' 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; ^ 3 warnings generated. clang -c huffman.c huffman.c:68:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (-1); ^ huffman.c:68:4: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' 1 warning generated. clang -c layer3.c layer3.c:80:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ layer3.c:118:28: warning: implicit declaration of function 'requantize_downmix' is invalid in C99 [-Wimplicit-function-declaration] if (A_DOWNMIX && nch==2) requantize_downmix(gr,&info,header); ^ 2 warnings generated. clang -c getdata.c getdata.c:202:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 1 warning generated. clang -c misc2.c 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 */ ^ 5 warnings generated. clang -c transform.c clang -c audio.c audio.c:108:2: warning: implicit declaration of function 'show_header' is invalid in C99 [-Wimplicit-function-declaration] show_header(&header); ^ audio.c:217:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-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: implicit declaration of function 'calculate_t43' is invalid in C99 [-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. clang -c args.c clang -c buffer.c buffer.c:101:2: warning: implicit declaration of function 'mlock' is invalid in C99 [-Wimplicit-function-declaration] mlock(buffer->bufferPtr,AUDIO_BUFFER_SIZE); ^ buffer.c:112:3: warning: implicit declaration of function 'munlock' is invalid in C99 [-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 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-macos-trunk-arm64/audio/amp *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/audio/amp