=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libnjb", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for libnjb-2.2.7 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in src --- base.lo --- --- ioutil.lo --- --- protocol.lo --- --- procedure.lo --- --- byteorder.lo --- --- ioutil.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -Wmissing-prototypes -MT ioutil.lo -MD -MP -MF .deps/ioutil.Tpo -c -o ioutil.lo ioutil.c --- base.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -Wmissing-prototypes -MT base.lo -MD -MP -MF .deps/base.Tpo -c -o base.lo base.c --- protocol.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -Wmissing-prototypes -MT protocol.lo -MD -MP -MF .deps/protocol.Tpo -c -o protocol.lo protocol.c --- procedure.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -Wmissing-prototypes -MT procedure.lo -MD -MP -MF .deps/procedure.Tpo -c -o procedure.lo procedure.c --- byteorder.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -Wmissing-prototypes -MT byteorder.lo -MD -MP -MF .deps/byteorder.Tpo -c -o byteorder.lo byteorder.c --- protocol.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT protocol.lo -MD -MP -MF .deps/protocol.Tpo -c protocol.c -fPIC -DPIC -o .libs/protocol.o --- ioutil.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT ioutil.lo -MD -MP -MF .deps/ioutil.Tpo -c ioutil.c -fPIC -DPIC -o .libs/ioutil.o --- byteorder.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT byteorder.lo -MD -MP -MF .deps/byteorder.Tpo -c byteorder.c -fPIC -DPIC -o .libs/byteorder.o --- base.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT base.lo -MD -MP -MF .deps/base.Tpo -c base.c -fPIC -DPIC -o .libs/base.o --- procedure.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT procedure.lo -MD -MP -MF .deps/procedure.Tpo -c procedure.c -fPIC -DPIC -o .libs/procedure.o --- ioutil.lo --- ioutil.c: In function 'data_dump_ascii': ioutil.c:70:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 70 | fprintf(f, "\t%04x:", dump_boundry); | ~~~^ ~~~~~~~~~~~~ | | | | | size_t {aka long unsigned int} | unsigned int | %04lx --- procedure.lo --- procedure.c: In function 'NJB_Get_Track_fd': procedure.c:1012:9: warning: variable 'wasshort' set but not used [-Wunused-but-set-variable] 1012 | int wasshort = 0; | ^~~~~~~~ --- ioutil.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT ioutil.lo -MD -MP -MF .deps/ioutil.Tpo -c ioutil.c -o ioutil.o >/dev/null 2>&1 --- byteorder.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT byteorder.lo -MD -MP -MF .deps/byteorder.Tpo -c byteorder.c -o byteorder.o >/dev/null 2>&1 --- base.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT base.lo -MD -MP -MF .deps/base.Tpo -c base.c -o base.o >/dev/null 2>&1 --- ioutil.lo --- mv -f .deps/ioutil.Tpo .deps/ioutil.Plo --- playlist.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -Wmissing-prototypes -MT playlist.lo -MD -MP -MF .deps/playlist.Tpo -c -o playlist.lo playlist.c --- byteorder.lo --- mv -f .deps/byteorder.Tpo .deps/byteorder.Plo --- usb_io.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -Wmissing-prototypes -MT usb_io.lo -MD -MP -MF .deps/usb_io.Tpo -c -o usb_io.lo usb_io.c --- playlist.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT playlist.lo -MD -MP -MF .deps/playlist.Tpo -c playlist.c -fPIC -DPIC -o .libs/playlist.o --- usb_io.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT usb_io.lo -MD -MP -MF .deps/usb_io.Tpo -c usb_io.c -fPIC -DPIC -o .libs/usb_io.o --- base.lo --- mv -f .deps/base.Tpo .deps/base.Plo --- njb_error.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -Wmissing-prototypes -MT njb_error.lo -MD -MP -MF .deps/njb_error.Tpo -c -o njb_error.lo njb_error.c --- usb_io.lo --- usb_io.c: In function 'usb_pipe_read': usb_io.c:149:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'ssize_t' {aka 'long int'} [-Wformat=] 149 | printf("LIBNJB: ERROR %d in usb_bulk_read\n", bread); | ~^ ~~~~~ | | | | int ssize_t {aka long int} | %ld libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT usb_io.lo -MD -MP -MF .deps/usb_io.Tpo -c usb_io.c -o usb_io.o >/dev/null 2>&1 --- njb_error.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT njb_error.lo -MD -MP -MF .deps/njb_error.Tpo -c njb_error.c -fPIC -DPIC -o .libs/njb_error.o --- playlist.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT playlist.lo -MD -MP -MF .deps/playlist.Tpo -c playlist.c -o playlist.o >/dev/null 2>&1 --- usb_io.lo --- mv -f .deps/usb_io.Tpo .deps/usb_io.Plo --- datafile.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -Wmissing-prototypes -MT datafile.lo -MD -MP -MF .deps/datafile.Tpo -c -o datafile.lo datafile.c --- njb_error.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT njb_error.lo -MD -MP -MF .deps/njb_error.Tpo -c njb_error.c -o njb_error.o >/dev/null 2>&1 --- datafile.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT datafile.lo -MD -MP -MF .deps/datafile.Tpo -c datafile.c -fPIC -DPIC -o .libs/datafile.o --- playlist.lo --- mv -f .deps/playlist.Tpo .deps/playlist.Plo --- protocol.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT protocol.lo -MD -MP -MF .deps/protocol.Tpo -c protocol.c -o protocol.o >/dev/null 2>&1 --- songid.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -Wmissing-prototypes -MT songid.lo -MD -MP -MF .deps/songid.Tpo -c -o songid.lo songid.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT songid.lo -MD -MP -MF .deps/songid.Tpo -c songid.c -fPIC -DPIC -o .libs/songid.o --- njb_error.lo --- mv -f .deps/njb_error.Tpo .deps/njb_error.Plo --- eax.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -Wmissing-prototypes -MT eax.lo -MD -MP -MF .deps/eax.Tpo -c -o eax.lo eax.c --- datafile.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT datafile.lo -MD -MP -MF .deps/datafile.Tpo -c datafile.c -o datafile.o >/dev/null 2>&1 --- procedure.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT procedure.lo -MD -MP -MF .deps/procedure.Tpo -c procedure.c -o procedure.o >/dev/null 2>&1 --- eax.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT eax.lo -MD -MP -MF .deps/eax.Tpo -c eax.c -fPIC -DPIC -o .libs/eax.o --- datafile.lo --- mv -f .deps/datafile.Tpo .deps/datafile.Plo --- njbtime.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -Wmissing-prototypes -MT njbtime.lo -MD -MP -MF .deps/njbtime.Tpo -c -o njbtime.lo njbtime.c --- eax.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT eax.lo -MD -MP -MF .deps/eax.Tpo -c eax.c -o eax.o >/dev/null 2>&1 --- songid.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT songid.lo -MD -MP -MF .deps/songid.Tpo -c songid.c -o songid.o >/dev/null 2>&1 --- njbtime.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT njbtime.lo -MD -MP -MF .deps/njbtime.Tpo -c njbtime.c -fPIC -DPIC -o .libs/njbtime.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT njbtime.lo -MD -MP -MF .deps/njbtime.Tpo -c njbtime.c -o njbtime.o >/dev/null 2>&1 --- eax.lo --- mv -f .deps/eax.Tpo .deps/eax.Plo --- protocol3.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -Wmissing-prototypes -MT protocol3.lo -MD -MP -MF .deps/protocol3.Tpo -c -o protocol3.lo protocol3.c --- protocol.lo --- mv -f .deps/protocol.Tpo .deps/protocol.Plo --- unicode.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -Wmissing-prototypes -MT unicode.lo -MD -MP -MF .deps/unicode.Tpo -c -o unicode.lo unicode.c --- protocol3.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT protocol3.lo -MD -MP -MF .deps/protocol3.Tpo -c protocol3.c -fPIC -DPIC -o .libs/protocol3.o --- njbtime.lo --- mv -f .deps/njbtime.Tpo .deps/njbtime.Plo --- unicode.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT unicode.lo -MD -MP -MF .deps/unicode.Tpo -c unicode.c -fPIC -DPIC -o .libs/unicode.o --- protocol3.lo --- protocol3.c: In function 'njb3_get_codecs': protocol3.c:233:13: warning: variable 'supports_wma' set but not used [-Wunused-but-set-variable] 233 | u_int16_t supports_wma; | ^~~~~~~~~~~~ protocol3.c:232:13: warning: variable 'supports_mp3' set but not used [-Wunused-but-set-variable] 232 | u_int16_t supports_mp3; | ^~~~~~~~~~~~ protocol3.c:231:13: warning: variable 'supports_wav' set but not used [-Wunused-but-set-variable] 231 | u_int16_t supports_wav; | ^~~~~~~~~~~~ protocol3.c: In function 'njb3_dump_device_register': protocol3.c:696:13: warning: variable 'status' set but not used [-Wunused-but-set-variable] 696 | u_int16_t status; | ^~~~~~ protocol3.c: In function 'read_metadata_chunk': protocol3.c:1696:12: warning: old-style function definition [-Wold-style-definition] 1696 | static int read_metadata_chunk(njb, | ^~~~~~~~~~~~~~~~~~~ protocol3.c:1750:29: warning: variable 'word3' set but not used [-Wunused-but-set-variable] 1750 | u_int16_t word1, word2, word3, word5; | ^~~~~ protocol3.c:1750:22: warning: variable 'word2' set but not used [-Wunused-but-set-variable] 1750 | u_int16_t word1, word2, word3, word5; | ^~~~~ protocol3.c: In function 'get_metadata_chunks': protocol3.c:1806:12: warning: old-style function definition [-Wold-style-definition] 1806 | static int get_metadata_chunks(njb, | ^~~~~~~~~~~~~~~~~~~ protocol3.c:1902:21: error: too many arguments to function 'terminate_metadata_post'; expected 0, have 2 1902 | result = (*terminate_metadata_post) (njb, &target); | ~^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ protocol3.c:1919:21: error: too many arguments to function 'terminate_metadata_post'; expected 0, have 2 1919 | result = (*terminate_metadata_post) (njb, &target); | ~^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ protocol3.c:1936:19: error: too many arguments to function 'create_metadata_post'; expected 0, have 2 1936 | result = (*create_metadata_post) (postid, &target); | ~^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ protocol3.c:1953:21: error: too many arguments to function 'add_to_metadata_post'; expected 0, have 4 1953 | result = (*add_to_metadata_post) (frameid, framelen, data1, &target); | ~^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ protocol3.c: In function 'parse_metadata_block': protocol3.c:2030:12: warning: old-style function definition [-Wold-style-definition] 2030 | static int parse_metadata_block(njb, | ^~~~~~~~~~~~~~~~~~~~ protocol3.c:2070:19: error: too many arguments to function 'terminate_metadata_post'; expected 0, have 2 2070 | result = (*terminate_metadata_post) (njb, &target); | ~^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ protocol3.c:2088:17: error: too many arguments to function 'create_metadata_post'; expected 0, have 2 2088 | result = (*create_metadata_post) (postid, &target); | ~^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ protocol3.c:2104:19: error: too many arguments to function 'add_to_metadata_post'; expected 0, have 4 2104 | result = (*add_to_metadata_post) (frameid, framelen, data1, &target); | ~^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ protocol3.c: In function 'create_songid': protocol3.c:2121:12: warning: old-style function definition [-Wold-style-definition] 2121 | static int create_songid(postid, target) | ^~~~~~~~~~~~~ protocol3.c: In function 'add_to_songid': protocol3.c:2136:12: warning: old-style function definition [-Wold-style-definition] 2136 | static int add_to_songid(frameid, framelen, data, target) | ^~~~~~~~~~~~~ protocol3.c: In function 'terminate_songid': protocol3.c:2256:12: warning: old-style function definition [-Wold-style-definition] 2256 | static int terminate_songid(njb, target) | ^~~~~~~~~~~~~~~~ protocol3.c: In function 'populate_playlist': protocol3.c:2518:37: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ssize_t' {aka 'long int'} [-Wformat=] 2518 | printf("Parsing this buffer, 0x%x bytes:\n", bread); | ~^ ~~~~~ | | | | unsigned int ssize_t {aka long int} | %lx protocol3.c:2551:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ssize_t' {aka 'long int'} [-Wformat=] 2551 | printf("bread=%08x, i=%08x, framelen=%04x, 0x%x bytes left, " | ~~~^ | | | unsigned int | %08lx 2552 | "read new chunk, save those bytes\n", 2553 | bread, i, framelen, remain); | ~~~~~ | | | ssize_t {aka long int} protocol3.c:2551:57: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] 2551 | printf("bread=%08x, i=%08x, framelen=%04x, 0x%x bytes left, " | ~^ | | | unsigned int | %lx 2552 | "read new chunk, save those bytes\n", 2553 | bread, i, framelen, remain); | ~~~~~~ | | | ssize_t {aka long int} protocol3.c:2584:43: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ssize_t' {aka 'long int'} [-Wformat=] 2584 | printf("Parsing this buffer, 0x%x bytes:\n", remain); | ~^ ~~~~~~ | | | | unsigned int ssize_t {aka long int} | %lx protocol3.c:2595:61: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=] 2595 | printf("get statusword at offset %04x, remain: %04x\n", i, remain); | ~~~^ ~~~~~~ | | | | | ssize_t {aka long int} | unsigned int | %04lx protocol3.c:2597:56: warning: format '%d' expects argument of type 'int', but argument 2 has type 'ssize_t' {aka 'long int'} [-Wformat=] 2597 | printf("LIBNJB PANIC: remaining bytes != 2 (%d)\n", remain); | ~^ ~~~~~~ | | | | int ssize_t {aka long int} | %ld protocol3.c:2627:49: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ssize_t' {aka 'long int'} [-Wformat=] 2627 | printf("Found endmarker, remain: %04x\n", remain); | ~~~^ ~~~~~~ | | | | | ssize_t {aka long int} | unsigned int | %04lx protocol3.c:2634:18: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] 2634 | printf("Frame length: 0x%04x, ID: 0x%04x at buffer index " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2635 | "%04x (remain %04x)\n", 2636 | framelen, frameid, i, remain); | ~~~~~~ | | | ssize_t {aka long int} protocol3.c:2635:35: note: format string is defined here 2635 | "%04x (remain %04x)\n", | ~~~^ | | | unsigned int | %04lx protocol3.c:2688:43: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ssize_t' {aka 'long int'} [-Wformat=] 2688 | printf("Parsing this buffer, 0x%x bytes:\n", bread); | ~^ ~~~~~ | | | | unsigned int ssize_t {aka long int} | %lx protocol3.c:2526:9: warning: unused variable 'success' [-Wunused-variable] 2526 | int success; | ^~~~~~~ protocol3.c: In function 'create_playlistid': protocol3.c:2757:12: warning: old-style function definition [-Wold-style-definition] 2757 | static int create_playlistid(postid, target) | ^~~~~~~~~~~~~~~~~ protocol3.c: In function 'add_to_playlistid': protocol3.c:2773:12: warning: old-style function definition [-Wold-style-definition] 2773 | static int add_to_playlistid(frameid, framelen, data, target) | ^~~~~~~~~~~~~~~~~ protocol3.c: In function 'terminate_playlistid': protocol3.c:2797:12: warning: old-style function definition [-Wold-style-definition] 2797 | static int terminate_playlistid(njb, target) | ^~~~~~~~~~~~~~~~~~~~ protocol3.c: In function 'create_datafile': protocol3.c:2943:12: warning: old-style function definition [-Wold-style-definition] 2943 | static int create_datafile(postid, target) | ^~~~~~~~~~~~~~~ protocol3.c: In function 'add_to_datafile': protocol3.c:2958:12: warning: old-style function definition [-Wold-style-definition] 2958 | static int add_to_datafile(frameid, framelen, data, target) | ^~~~~~~~~~~~~~~ protocol3.c: In function 'terminate_datafile': protocol3.c:3003:12: warning: old-style function definition [-Wold-style-definition] 3003 | static int terminate_datafile(njb, target) | ^~~~~~~~~~~~~~~~~~ protocol3.c: In function 'create_key': protocol3.c:3106:12: warning: old-style function definition [-Wold-style-definition] 3106 | static int create_key(postid, target) | ^~~~~~~~~~ protocol3.c: In function 'add_to_key': protocol3.c:3120:12: warning: old-style function definition [-Wold-style-definition] 3120 | static int add_to_key(frameid, framelen, data, target) | ^~~~~~~~~~ protocol3.c: In function 'terminate_key': protocol3.c:3140:12: warning: old-style function definition [-Wold-style-definition] 3140 | static int terminate_key(njb, target) | ^~~~~~~~~~~~~ protocol3.c: In function 'njb3_read_keys': protocol3.c:3185:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] 3185 | int result; | ^~~~~~ *** [protocol3.lo] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/work/devel/libnjb/work/libnjb-2.2.7/src --- songid.lo --- mv -f .deps/songid.Tpo .deps/songid.Plo --- unicode.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/work/devel/libnjb/work/.buildlink/include/ncurses -I/home/pbulk/work/devel/libnjb/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT unicode.lo -MD -MP -MF .deps/unicode.Tpo -c unicode.c -o unicode.o >/dev/null 2>&1 mv -f .deps/unicode.Tpo .deps/unicode.Plo --- procedure.lo --- mv -f .deps/procedure.Tpo .deps/procedure.Plo bmake[2]: 1 error bmake[2]: stopped making "all" in /home/pbulk/work/devel/libnjb/work/libnjb-2.2.7/src bmake[1]: stopped making "all-recursive" in /home/pbulk/work/devel/libnjb/work/libnjb-2.2.7 bmake: stopped making "all" in /home/pbulk/work/devel/libnjb/work/libnjb-2.2.7 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libnjb *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libnjb