=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for amp-0.7.6nb1 --- dump.o --- --- formats.o --- --- getbits.o --- --- huffman.o --- --- layer3.o --- --- getdata.o --- --- misc2.o --- --- transform.o --- --- dump.o --- clang -c dump.c --- formats.o --- clang -c formats.c --- getbits.o --- clang -c getbits.c --- huffman.o --- clang -c huffman.c --- layer3.o --- clang -c layer3.c --- getdata.o --- clang -c getdata.c --- misc2.o --- clang -c misc2.c --- transform.o --- clang -c transform.c --- getdata.o --- getdata.c:202:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ --- layer3.o --- 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. --- getdata.o --- 1 warning generated. --- audio.o --- --- args.o --- --- huffman.o --- 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 or explicitly provide a declaration for 'exit' --- buffer.o --- --- audio.o --- clang -c audio.c --- formats.o --- 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 or explicitly provide a declaration for 'exit' --- buffer.o --- clang -c buffer.c --- formats.o --- 1 warning generated. --- getbits.o --- 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 or explicitly provide a declaration for 'memcpy' --- huffman.o --- 1 warning generated. --- args.o --- clang -c args.c --- 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; ^ --- audioIO.o --- --- misc2.o --- misc2.c:208:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else for (window=0;window<3;window++) ^ --- position.o --- --- misc2.o --- 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 */ ^ --- getbits.o --- 3 warnings generated. --- audioIO.o --- clang -c audioIO.c --- position.o --- clang -c position.c --- layer2.o --- clang -c layer2.c --- misc2.o --- 5 warnings generated. --- rtbuf.o --- --- guicontrol.o --- --- rtbuf.o --- clang -c rtbuf.c --- guicontrol.o --- clang -c guicontrol.c --- util.o --- clang -c util.c --- position.o --- position.c:25:2: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(&tmp,header,sizeof(tmp)); ^ position.c:25:2: note: include the header or explicitly provide a declaration for 'memcpy' --- buffer.o --- 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) && !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' --- getopt.o --- --- position.o --- 1 warning generated. --- buffer.o --- 2 warnings and 9 errors generated. --- getopt1.o --- --- buffer.o --- *** [buffer.o] Error code 1 bmake: stopped in /opt/work/audio/amp/work/amp-0.7.6 --- getopt1.o --- clang -c getopt1.c --- getopt.o --- clang -c getopt.c --- audio.o --- 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 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. --- util.o --- util.c:27:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(-1); ^ util.c:27:2: note: include the header or explicitly provide a declaration for 'exit' util.c:56:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ --- getopt.o --- getopt.c:527:30: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (optind != argc && !strcmp (argv[optind], "--")) ^ getopt.c:527:30: note: include the header or explicitly provide a declaration for 'strcmp' getopt.c:603:7: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (!strncmp (p->name, nextchar, nameend - nextchar)) ^ getopt.c:603:7: note: include the header or explicitly provide a declaration for 'strncmp' getopt.c:606:21: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] == (unsigned int) strlen (p->name)) ^ getopt.c:606:21: note: include the header or explicitly provide a declaration for 'strlen' --- util.o --- 2 warnings generated. --- getopt.o --- getopt.c:654:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ --- guicontrol.o --- guicontrol.c:323:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(0); ^ guicontrol.c:323:4: note: include the header or explicitly provide a declaration for 'exit' guicontrol.c:341:3: warning: implicit declaration of function 'decodeMPEG_2' is invalid in C99 [-Wimplicit-function-declaration] decodeMPEG_2(GUI_FD_TO_PLAY); ^ 2 warnings generated. --- getopt.o --- 4 warnings generated. 1 error bmake: stopped in /opt/work/audio/amp/work/amp-0.7.6 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/audio/amp *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/audio/amp