+ 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/tcl-snack-2.2.10nb9/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tcl-snack-2.2.10nb9/work.log ===> Building for tcl-snack-2.2.10nb9 --- sound.o --- --- jkSound.o --- --- jkSoundEngine.o --- --- jkSoundEdit.o --- --- sound.o --- gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DSolaris -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -DTCL_81_API -I./../generic -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 ./../generic/sound.c --- jkSound.o --- gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DSolaris -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -DTCL_81_API -I./../generic -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 ./../generic/jkSound.c --- jkSoundEngine.o --- gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DSolaris -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -DTCL_81_API -I./../generic -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 ./../generic/jkSoundEngine.c --- jkSoundEdit.o --- gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DSolaris -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -DTCL_81_API -I./../generic -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 ./../generic/jkSoundEdit.c --- jkSoundFile.o --- gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DSolaris -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -DTCL_81_API -I./../generic -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 ./../generic/jkSoundFile.c --- g711.o --- gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DSolaris -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -DTCL_81_API -I./../generic -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 ./../generic/g711.c --- jkAudIO_sun.o --- gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DSolaris -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -DTCL_81_API -I./../generic -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 ./../unix/jkAudIO_sun.c --- jkFormatMP3.o --- gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DSolaris -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -DTCL_81_API -I./../generic -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 ./../generic/jkFormatMP3.c --- jkSoundProc.o --- gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DSolaris -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -DTCL_81_API -I./../generic -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 ./../generic/jkSoundProc.c --- jkAudIO_sun.o --- In file included from ./../unix/jkAudIO_sun.c:22: ./../unix/jkAudIO_sun.c: In function 'SnackAudioInit': ./../unix/jkAudIO_sun.c:315:22: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 315 | audioCtl = ckalloc(strlen(audioDev) + 4); | ^~~~~~ /home/pbulk/build/audio/tcl-snack/work/.buildlink/include/tcl.h:2468:36: note: in definition of macro 'ckalloc' 2468 | ((void *) Tcl_Alloc((unsigned)(x))) | ^ ./../unix/jkAudIO_sun.c:29:1: note: include '' or provide a declaration of 'strlen' 28 | #include +++ |+#include 29 | ./../unix/jkAudIO_sun.c:315:22: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 315 | audioCtl = ckalloc(strlen(audioDev) + 4); | ^~~~~~ /home/pbulk/build/audio/tcl-snack/work/.buildlink/include/tcl.h:2468:36: note: in definition of macro 'ckalloc' 2468 | ((void *) Tcl_Alloc((unsigned)(x))) | ^ ./../unix/jkAudIO_sun.c:315:22: note: include '' or provide a declaration of 'strlen' 315 | audioCtl = ckalloc(strlen(audioDev) + 4); | ^~~~~~ /home/pbulk/build/audio/tcl-snack/work/.buildlink/include/tcl.h:2468:36: note: in definition of macro 'ckalloc' 2468 | ((void *) Tcl_Alloc((unsigned)(x))) | ^ ./../unix/jkAudIO_sun.c:317:5: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 317 | strcpy(audioCtl, audioDev); | ^~~~~~ ./../unix/jkAudIO_sun.c:317:5: note: include '' or provide a declaration of 'strcpy' ./../unix/jkAudIO_sun.c:317:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] ./../unix/jkAudIO_sun.c:317:5: note: include '' or provide a declaration of 'strcpy' ./../unix/jkAudIO_sun.c:318:5: error: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 318 | strcat(audioCtl, "ctl"); | ^~~~~~ ./../unix/jkAudIO_sun.c:318:5: note: include '' or provide a declaration of 'strcat' ./../unix/jkAudIO_sun.c:318:5: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] ./../unix/jkAudIO_sun.c:318:5: note: include '' or provide a declaration of 'strcat' ./../unix/jkAudIO_sun.c: In function 'SnackAudioGetRates': ./../unix/jkAudIO_sun.c:408:3: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 408 | strncpy(buf, "8000 11025 16000 22050 32000 44100 48000", n); | ^~~~~~~ ./../unix/jkAudIO_sun.c:408:3: note: include '' or provide a declaration of 'strncpy' ./../unix/jkAudIO_sun.c:408:3: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] ./../unix/jkAudIO_sun.c:408:3: note: include '' or provide a declaration of 'strncpy' ./../unix/jkAudIO_sun.c: In function 'SnackMixerGetInputJackLabels': ./../unix/jkAudIO_sun.c:427:3: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 427 | strncpy(buf, "Microphone \"Line In\"", n); | ^~~~~~~ ./../unix/jkAudIO_sun.c:427:3: note: include '' or provide a declaration of 'strncpy' ./../unix/jkAudIO_sun.c: In function 'SnackMixerGetOutputJackLabels': ./../unix/jkAudIO_sun.c:434:3: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 434 | strncpy(buf, "Speaker \"Line Out\" Headphones", n); | ^~~~~~~ ./../unix/jkAudIO_sun.c:434:3: note: include '' or provide a declaration of 'strncpy' ./../unix/jkAudIO_sun.c: In function 'SnackMixerSetInputJack': ./../unix/jkAudIO_sun.c:458:17: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 458 | int jackLen = strlen(jack), start = 0, end = 0, mask; | ^~~~~~ ./../unix/jkAudIO_sun.c:458:17: note: include '' or provide a declaration of 'strlen' ./../unix/jkAudIO_sun.c:463:33: error: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 463 | while ((end < jackLen) && (!isspace(jack[end]))) end++; | ^~~~~~~ ./../unix/jkAudIO_sun.c:29:1: note: include '' or provide a declaration of 'isspace' 28 | #include +++ |+#include 29 | ./../unix/jkAudIO_sun.c:469:9: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 469 | if (strcmp(status, "0") == 0) { | ^~~~~~ ./../unix/jkAudIO_sun.c:469:9: note: include '' or provide a declaration of 'strcmp' ./../unix/jkAudIO_sun.c: In function 'SnackMixerSetOutputJack': ./../unix/jkAudIO_sun.c:506:17: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 506 | int jackLen = strlen(jack), start = 0, end = 0, mask; | ^~~~~~ ./../unix/jkAudIO_sun.c:506:17: note: include '' or provide a declaration of 'strlen' ./../unix/jkAudIO_sun.c: In function 'JackVarProc': ./../unix/jkAudIO_sun.c:546:51: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 546 | if (strncasecmp(mixLink->jack, jackLabels[i], strlen(mixLink->jack)) | ^~~~~~ ./../unix/jkAudIO_sun.c:546:51: note: include '' or provide a declaration of 'strlen' ./../unix/jkAudIO_sun.c:574:46: warning: passing argument 2 of 'SnackMixerSetOutputJack' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 574 | SnackMixerSetOutputJack(mixLink->jack, stringValue); | ^~~~~~~~~~~ ./../unix/jkAudIO_sun.c:503:43: note: expected 'char *' but argument is of type 'const char *' 503 | SnackMixerSetOutputJack(char *jack, char *status) | ~~~~~~^~~~~~ ./../unix/jkAudIO_sun.c: In function 'SnackMixerLinkJacks': ./../unix/jkAudIO_sun.c:610:42: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 610 | if (strncasecmp(jack, jackLabels[i], strlen(jack)) == 0) { | ^~~~~~ ./../unix/jkAudIO_sun.c:610:42: note: include '' or provide a declaration of 'strlen' ./../unix/jkAudIO_sun.c:623:58: warning: passing argument 2 of 'SnackMixerSetOutputJack' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 623 | SnackMixerSetOutputJack(mixerLinks[i][0].jack, value); | ^~~~~ ./../unix/jkAudIO_sun.c:503:43: note: expected 'char *' but argument is of type 'const char *' 503 | SnackMixerSetOutputJack(char *jack, char *status) | ~~~~~~^~~~~~ ./../unix/jkAudIO_sun.c: In function 'SnackMixerGetChannelLabels': ./../unix/jkAudIO_sun.c:643:3: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 643 | strncpy(buf, "Mono", n); | ^~~~~~~ ./../unix/jkAudIO_sun.c:643:3: note: include '' or provide a declaration of 'strncpy' ./../unix/jkAudIO_sun.c: In function 'SnackMixerGetVolume': ./../unix/jkAudIO_sun.c:650:35: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 650 | if (strncasecmp(line, "Record", strlen(line)) == 0) { | ^~~~~~ ./../unix/jkAudIO_sun.c:650:35: note: include '' or provide a declaration of 'strlen' ./../unix/jkAudIO_sun.c:653:33: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 653 | if (strncasecmp(line, "Play", strlen(line)) == 0) { | ^~~~~~ ./../unix/jkAudIO_sun.c:653:33: note: include '' or provide a declaration of 'strlen' ./../unix/jkAudIO_sun.c: In function 'SnackMixerSetVolume': ./../unix/jkAudIO_sun.c:661:35: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 661 | if (strncasecmp(line, "Record", strlen(line)) == 0) { | ^~~~~~ ./../unix/jkAudIO_sun.c:661:35: note: include '' or provide a declaration of 'strlen' ./../unix/jkAudIO_sun.c:664:33: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 664 | if (strncasecmp(line, "Play", strlen(line)) == 0) { | ^~~~~~ ./../unix/jkAudIO_sun.c:664:33: note: include '' or provide a declaration of 'strlen' ./../unix/jkAudIO_sun.c: In function 'SnackMixerLinkVolume': ./../unix/jkAudIO_sun.c:709:41: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 709 | if (strncasecmp(line, mixLabels[i], strlen(line)) == 0) { | ^~~~~~ ./../unix/jkAudIO_sun.c:709:41: note: include '' or provide a declaration of 'strlen' ./../unix/jkAudIO_sun.c: In function 'SnackMixerGetLineLabels': ./../unix/jkAudIO_sun.c:778:3: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 778 | strncpy(buf, "Play Record", n); | ^~~~~~~ ./../unix/jkAudIO_sun.c:778:3: note: include '' or provide a declaration of 'strncpy' --- jkFormatMP3.o --- ./../generic/jkFormatMP3.c: In function 'poly': ./../generic/jkFormatMP3.c:1890:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1890 | fool_opt = (int) u_p; | ^ --- jkAudIO_sun.o --- *** [jkAudIO_sun.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/audio/tcl-snack/work/snack2.2.10/unix --- jkFormatMP3.o --- ./../generic/jkFormatMP3.c: In function 'requantize_mono': ./../generic/jkFormatMP3.c:772:26: warning: iteration 18 invokes undefined behavior [-Waggressive-loop-optimizations] 772 | ext->xr[ch][0][l]=FRAS2(ext->is[ch][l],a); | ^ ./../generic/jkFormatMP3.c:771:15: note: within this loop 771 | while (l<36) { | ~^~~ bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/audio/tcl-snack/work/snack2.2.10/unix *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/tcl-snack *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/tcl-snack