=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/net/driftnet", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for driftnet-0.1.6nb14 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `gtk-config --cflags` `/usr/bin/cat endianness 2>/dev/null || true` -DDRIFTNET_VERSION='"0.1.6"' -o endian endian.c endian.c:10:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 10 | static const char rcsid[] = "$Id: endian.c,v 1.5 2002/06/10 21:25:48 chris Exp $"; | ^~~~~ ./endian > endianness makedepend -- -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `gtk-config --cflags` `/usr/bin/cat endianness 2>/dev/null || true` -DDRIFTNET_VERSION='"0.1.6"' `cat endianness` -- audio.c mpeghdr.c gif.c img.c jpeg.c png.c driftnet.c image.c display.c playaudio.c connection.c media.c makedepend: warning: /usr/include/sys/siginfo.h includes /usr/include/sys/types.h more than once! Already have /usr/include/sys/feature_tests.h /usr/include/sys/types.h /usr/include/sys/machsig.h /usr/include/sys/time_impl.h touch depend rm -f Makefile.bak gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `gtk-config --cflags` `/usr/bin/cat endianness 2>/dev/null || true` -DDRIFTNET_VERSION='"0.1.6"' -I/opt/local/include -I/usr/include -c audio.c audio.c:14:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 14 | static const char rcsid[] = "$Id: audio.c,v 1.3 2002/06/10 21:25:48 chris Exp $"; | ^~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `gtk-config --cflags` `/usr/bin/cat endianness 2>/dev/null || true` -DDRIFTNET_VERSION='"0.1.6"' -I/opt/local/include -I/usr/include -c mpeghdr.c mpeghdr.c:10:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 10 | static const char rcsid[] = "$Id: mpeghdr.c,v 1.4 2002/06/10 21:25:48 chris Exp $"; | ^~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `gtk-config --cflags` `/usr/bin/cat endianness 2>/dev/null || true` -DDRIFTNET_VERSION='"0.1.6"' -I/opt/local/include -I/usr/include -c gif.c gif.c:12:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 12 | static const char rcsid[] = "$Id: gif.c,v 1.4 2002/07/08 20:57:17 chris Exp $"; | ^~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `gtk-config --cflags` `/usr/bin/cat endianness 2>/dev/null || true` -DDRIFTNET_VERSION='"0.1.6"' -I/opt/local/include -I/usr/include -c img.c img.c:12:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 12 | static const char rcsid[] = "$Id: img.c,v 1.9 2002/07/08 20:57:17 chris Exp $"; | ^~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `gtk-config --cflags` `/usr/bin/cat endianness 2>/dev/null || true` -DDRIFTNET_VERSION='"0.1.6"' -I/opt/local/include -I/usr/include -c jpeg.c jpeg.c:12:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 12 | static const char rcsid[] = "$Id: jpeg.c,v 1.5 2002/07/08 20:57:17 chris Exp $"; | ^~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `gtk-config --cflags` `/usr/bin/cat endianness 2>/dev/null || true` -DDRIFTNET_VERSION='"0.1.6"' -I/opt/local/include -I/usr/include -c png.c png.c:9:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 9 | static const char rcsid[] = "$Id: png.c,v 1.3 2002/06/10 21:25:48 chris Exp $"; | ^~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `gtk-config --cflags` `/usr/bin/cat endianness 2>/dev/null || true` -DDRIFTNET_VERSION='"0.1.6"' -I/opt/local/include -I/usr/include -c driftnet.c driftnet.c: In function 'main': driftnet.c:598:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 598 | if (!interface && !(interface = pcap_lookupdev(ebuf))) { | ^~ In file included from /tmp/work/net/driftnet/work/.buildlink/include/pcap.h:43, from driftnet.c:17: /tmp/work/net/driftnet/work/.buildlink/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ driftnet.c: At top level: driftnet.c:10:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 10 | static const char rcsid[] = "$Id: driftnet.c,v 1.25 2002/07/08 20:57:17 chris Exp $"; | ^~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `gtk-config --cflags` `/usr/bin/cat endianness 2>/dev/null || true` -DDRIFTNET_VERSION='"0.1.6"' -I/opt/local/include -I/usr/include -c image.c image.c: In function 'memstr': image.c:24:27: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 24 | if (nlen == 0) return (char*)haystack; | ^~~~~~~~~~~~~~~ image.c: In function 'find_gif_image': image.c:54:32: warning: pointer targets in passing argument 3 of 'memstr' differ in signedness [-Wpointer-sign] 54 | gifhdr = memstr(data, len, "GIF89a", 6); | ^~~~~~~~ | | | char * image.c:21:51: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | const unsigned char *needle, const size_t nlen) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ image.c:55:45: warning: pointer targets in passing argument 3 of 'memstr' differ in signedness [-Wpointer-sign] 55 | if (!gifhdr) gifhdr = memstr(data, len, "GIF87a", 6); | ^~~~~~~~ | | | char * image.c:21:51: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | const unsigned char *needle, const size_t nlen) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ image.c:47:9: warning: variable 'gotimgblock' set but not used [-Wunused-but-set-variable] 47 | int gotimgblock = 0; | ^~~~~~~~~~~ image.c: In function 'find_jpeg_image': image.c:187:33: warning: pointer targets in passing argument 3 of 'memstr' differ in signedness [-Wpointer-sign] 187 | jpeghdr = memstr(data, len, "\xff\xd8", 2); /* JPEG SOI marker */ | ^~~~~~~~~~ | | | char * image.c:21:51: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | const unsigned char *needle, const size_t nlen) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ image.c:209:57: warning: pointer targets in passing argument 3 of 'memstr' differ in signedness [-Wpointer-sign] 209 | block = memstr(block, len - (block - data), "\xff\xd9", 2); | ^~~~~~~~~~ | | | char * image.c:21:51: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | const unsigned char *needle, const size_t nlen) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ image.c: At top level: image.c:10:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 10 | static const char rcsid[] = "$Id: image.c,v 1.10 2002/07/02 22:17:25 chris Exp $"; | ^~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `gtk-config --cflags` `/usr/bin/cat endianness 2>/dev/null || true` -DDRIFTNET_VERSION='"0.1.6"' -I/opt/local/include -I/usr/include -c display.c display.c:12:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 12 | static const char rcsid[] = "$Id: display.c,v 1.15 2002/06/13 20:06:42 chris Exp $"; | ^~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `gtk-config --cflags` `/usr/bin/cat endianness 2>/dev/null || true` -DDRIFTNET_VERSION='"0.1.6"' -I/opt/local/include -I/usr/include -c playaudio.c In file included from playaudio.c:31: playaudio.c: In function 'mpeg_submit_chunk': driftnet.h:15:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 15 | #define PROGNAME "driftnet" | ^~~~~~~~~~ playaudio.c:114:29: note: in expansion of macro 'PROGNAME' 114 | fprintf(stderr, PROGNAME": MPEG buffer full with %d bytes\n", buffered); | ^~~~~~~~ playaudio.c:114:63: note: format string is defined here 114 | fprintf(stderr, PROGNAME": MPEG buffer full with %d bytes\n", buffered); | ~^ | | | int | %ld playaudio.c: In function 'mpeg_play': playaudio.c:133:16: warning: variable 'A' set but not used [-Wunused-but-set-variable] 133 | audiochunk A; | ^ playaudio.c: At top level: playaudio.c:16:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 16 | static const char rcsid[] = "$Id: playaudio.c,v 1.4 2002/06/04 19:09:02 chris Exp $"; | ^~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `gtk-config --cflags` `/usr/bin/cat endianness 2>/dev/null || true` -DDRIFTNET_VERSION='"0.1.6"' -I/opt/local/include -I/usr/include -c connection.c connection.c:9:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 9 | static const char rcsid[] = "$Id: connection.c,v 1.3 2002/07/08 23:32:33 chris Exp $"; | ^~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `gtk-config --cflags` `/usr/bin/cat endianness 2>/dev/null || true` -DDRIFTNET_VERSION='"0.1.6"' -I/opt/local/include -I/usr/include -c media.c media.c:10:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 10 | static const char rcsid[] = "$Id: media.c,v 1.6 2002/07/08 23:32:33 chris Exp $"; | ^~~~~ gcc -o driftnet audio.o mpeghdr.o gif.o img.o jpeg.o png.o driftnet.o image.o display.o playaudio.o connection.o media.o -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lnsl -lsocket -lintl -liconv -g -lpcap -pthread -lpthread -lrt -ljpeg -lgif `gtk-config --libs` ( echo '.\" DO NOT EDIT THIS FILE-- edit driftnet.1.in instead' ; sed s/@@@VERSION@@@/0.1.6/ ) < driftnet.1.in > driftnet.1