=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for mpg321-0.3.2nb2 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- --- mpg321.o --- --- mad.o --- --- playlist.o --- --- mpg321.o --- clang -DHAVE_CONFIG_H -I. -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -MT mpg321.o -MD -MP -MF .deps/mpg321.Tpo -c -o mpg321.o mpg321.c --- mad.o --- clang -DHAVE_CONFIG_H -I. -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -MT mad.o -MD -MP -MF .deps/mad.Tpo -c -o mad.o mad.c --- playlist.o --- clang -DHAVE_CONFIG_H -I. -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -MT playlist.o -MD -MP -MF .deps/playlist.Tpo -c -o playlist.o playlist.c --- mad.o --- In file included from mad.c:49: ./mpg321.h:296:7: error: redefinition of 'semun' union semun { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/sem.h:177:7: note: previous definition is here union semun { ^ mad.c:379:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(count < 0) ^ --- mpg321.o --- In file included from mpg321.c:53: ./mpg321.h:296:7: error: redefinition of 'semun' union semun { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/sem.h:177:7: note: previous definition is here union semun { ^ --- mad.o --- mad.c:872:2: warning: implicit declaration of function 'fft_perform' is invalid in C99 [-Wimplicit-function-declaration] fft_perform((sound_sample *)samples, fftout, state); ^ mad.c:945:21: warning: initializing 'char *' with an expression of type 'unsigned char[4608]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] register char * ptr = stream; ^ ~~~~~~ mad.c:957:10: warning: assigning to 'char *' from 'unsigned char[4608]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr = (Output_Queue+mad_decoder_position)->data; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mad.c:1013:14: warning: passing 'unsigned char[4608]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] process_fft(stream, pcm->length * 4); ^~~~~~ mad.c:894:31: note: passing argument to parameter 'data' here static int process_fft( char *data, int size) ^ mad.c:1019:23: warning: passing 'unsigned char[4608]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ao_play(playdevice, stream, pcm->length * 4); ^~~~~~ /Users/pbulk/build/audio/mpg321/work/.buildlink/include/ao/ao.h:120:37: note: passing argument to parameter 'output_samples' here char *output_samples, ^ mad.c:1045:14: warning: passing 'unsigned char[4608]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] process_fft(stream, pcm->length * 4); ^~~~~~ mad.c:894:31: note: passing argument to parameter 'data' here static int process_fft( char *data, int size) ^ mad.c:1051:23: warning: passing 'unsigned char[4608]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ao_play(playdevice, stream, pcm->length * 4); ^~~~~~ /Users/pbulk/build/audio/mpg321/work/.buildlink/include/ao/ao.h:120:37: note: passing argument to parameter 'output_samples' here char *output_samples, ^ mad.c:1073:14: warning: passing 'unsigned char[4608]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] process_fft(stream, pcm->length * 2); ^~~~~~ mad.c:894:31: note: passing argument to parameter 'data' here static int process_fft( char *data, int size) ^ mad.c:1079:23: warning: passing 'unsigned char[4608]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ao_play(playdevice, stream, pcm->length * 2); ^~~~~~ /Users/pbulk/build/audio/mpg321/work/.buildlink/include/ao/ao.h:120:37: note: passing argument to parameter 'output_samples' here char *output_samples, ^ 10 warnings and 1 error generated. --- mpg321.o --- mpg321.c:102:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern http_file_length; ~~~~~~ ^ mpg321.c:186:46: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] fprintf(stderr,"Volume: %ld%% \r",volume); ~~~ ^~~~~~ %d mpg321.c:236:46: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] fprintf(stderr,"Volume: %ld%% \r",volume); ~~~ ^~~~~~ %d --- mad.o --- *** [mad.o] Error code 1 bmake[2]: stopped in /Users/pbulk/build/audio/mpg321/work/mpg321-0.3.2-orig --- mpg321.o --- mpg321.c:450:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(emptystring); ^~~~~~~~~~~ mpg321.c:450:24: note: treat the string as an argument to avoid this printf(emptystring); ^ "%s", mpg321.c:468:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf (stderr, emptystring); ^~~~~~~~~~~ mpg321.c:468:34: note: treat the string as an argument to avoid this fprintf (stderr, emptystring); ^ "%s", mpg321.c:732:5: warning: 'sem_init' is deprecated [-Wdeprecated-declarations] sem_init(&main_lock,0,0); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/semaphore.h:55:42: note: 'sem_init' has been explicitly marked deprecated here int sem_init(sem_t *, int, unsigned int) __deprecated; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ mpg321.c:884:6: warning: implicit declaration of function 'calc_http_length' is invalid in C99 [-Wimplicit-function-declaration] calc_http_length(&playbuf); ^ mpg321.c:1239:31: warning: passing 'id3_latin1_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!latin1 || strlen(latin1) == 0) return (NULL); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ mpg321.c:1240:22: warning: passing 'id3_latin1_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = strlen(latin1); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ mpg321.c:1247:29: warning: passing 'id3_latin1_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncat (printable, latin1, tocopy); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:143:34: note: expanded from macro 'strncat' __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ mpg321.c:1265:26: warning: passing 'id3_latin1_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = strlen(latin1); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ mpg321.c:1272:33: warning: passing 'id3_latin1_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncat (printable, latin1, tocopy); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:143:34: note: expanded from macro 'strncat' __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ 12 warnings and 1 error generated. *** [mpg321.o] Error code 1 bmake[2]: stopped in /Users/pbulk/build/audio/mpg321/work/mpg321-0.3.2-orig --- playlist.o --- mv -f .deps/playlist.Tpo .deps/playlist.Po 2 errors bmake[2]: stopped in /Users/pbulk/build/audio/mpg321/work/mpg321-0.3.2-orig *** [all-recursive] Error code 1 bmake[1]: stopped in /Users/pbulk/build/audio/mpg321/work/mpg321-0.3.2-orig 1 error bmake[1]: stopped in /Users/pbulk/build/audio/mpg321/work/mpg321-0.3.2-orig *** [all] Error code 2 bmake: stopped in /Users/pbulk/build/audio/mpg321/work/mpg321-0.3.2-orig 1 error bmake: stopped in /Users/pbulk/build/audio/mpg321/work/mpg321-0.3.2-orig *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/audio/mpg321 *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/audio/mpg321