Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/driftnet.spec'], chrootPath='/var/lib/mock/f33-build-129191-40630/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/driftnet.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Wrote: /builddir/build/SRPMS/driftnet-0.1.6-42.20040426cvs.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/driftnet.spec'], chrootPath='/var/lib/mock/f33-build-129191-40630/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/driftnet.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wLkMDJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf driftnet-0.1.6-20040426cvs + /usr/bin/gzip -dc /builddir/build/SOURCES/driftnet-0.1.6-20040426cvs.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd driftnet-0.1.6-20040426cvs + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (driftnet-dont-use-tmpnam.patch):' Patch #1 (driftnet-dont-use-tmpnam.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .tmpnam --fuzz=0 patching file driftnet.c Hunk #1 succeeded at 635 (offset 50 lines). Patch #2 (driftnet-0.1.6-no-makedepend.patch): + echo 'Patch #2 (driftnet-0.1.6-no-makedepend.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .makedep --fuzz=0 patching file img.h patching file Makefile Patch #3 (driftnet-0.1.6-libpng.patch): + echo 'Patch #3 (driftnet-0.1.6-libpng.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libpng --fuzz=0 patching file png.c Patch #4 (driftnet-giflib5.patch): + echo 'Patch #4 (driftnet-giflib5.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .giflib --fuzz=0 patching file gif.c patching file Makefile + sed -i 's#LDLIBS += -ljpeg -lungif -lpng `pkg-config --libs gtk+-2.0`#LDLIBS += -ljpeg -lungif -lpng -lgif `pkg-config --libs gtk+-2.0`#g' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.O8WOpK + umask 022 + cd /builddir/build/BUILD + cd driftnet-0.1.6-20040426cvs + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + make -j4 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `pkg-config --cflags gtk+-2.0` -DDRIFTNET_VERSION='"0.1.6"' -c -o audio.o audio.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `pkg-config --cflags gtk+-2.0` -DDRIFTNET_VERSION='"0.1.6"' -c -o mpeghdr.o mpeghdr.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `pkg-config --cflags gtk+-2.0` -DDRIFTNET_VERSION='"0.1.6"' -c -o gif.o gif.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `pkg-config --cflags gtk+-2.0` -DDRIFTNET_VERSION='"0.1.6"' -c -o img.o img.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mpeghdr.c:12: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from audio.c:16: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from img.c:14: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-redhat-linux/10/include/stdint.h:9, from img.h:20, from gif.c:16: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 $"; | ^~~~~ 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 $"; | ^~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `pkg-config --cflags gtk+-2.0` -DDRIFTNET_VERSION='"0.1.6"' -c -o jpeg.o jpeg.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 $"; | ^~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `pkg-config --cflags gtk+-2.0` -DDRIFTNET_VERSION='"0.1.6"' -c -o png.o png.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from jpeg.c:14: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ img.c:12:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 12 | static const char rcsid[] = "$Id: img.c,v 1.11 2003/08/25 12:23:43 chris Exp $"; | ^~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/riscv64-redhat-linux/10/include/limits.h:195, from /usr/lib/gcc/riscv64-redhat-linux/10/include/syslimits.h:7, from /usr/lib/gcc/riscv64-redhat-linux/10/include/limits.h:34, from /usr/include/libpng16/pngconf.h:31, from /usr/include/libpng16/png.h:335, from png.c:12: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `pkg-config --cflags gtk+-2.0` -DDRIFTNET_VERSION='"0.1.6"' -c -o driftnet.o driftnet.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `pkg-config --cflags gtk+-2.0` -DDRIFTNET_VERSION='"0.1.6"' -c -o image.o image.c In file included from /usr/include/assert.h:35, from driftnet.c:14: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from image.c:12: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ jpeg.c:12:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 12 | static const char rcsid[] = "$Id: jpeg.c,v 1.6 2003/08/12 14:09:57 chris Exp $"; | ^~~~~ png.c:16:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 16 | static const char rcsid[] = "$Id: png.c,v 1.4 2003/08/25 12:23:43 chris Exp $"; | ^~~~~ driftnet.c: In function 'main': driftnet.c:641:12: warning: implicit declaration of function 'g_get_tmp_dir' [-Wimplicit-function-declaration] 641 | tmp = g_get_tmp_dir(); | ^~~~~~~~~~~~~ driftnet.c:641:10: warning: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 641 | tmp = g_get_tmp_dir(); | ^ driftnet.c:642:17: warning: implicit declaration of function 'g_build_filename' [-Wimplicit-function-declaration] 642 | template = g_build_filename(tmp, "drifnet-XXXXXX", NULL); | ^~~~~~~~~~~~~~~~ driftnet.c:642:15: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 642 | template = g_build_filename(tmp, "drifnet-XXXXXX", NULL); | ^ driftnet.c:653:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 653 | if (!interface && !(interface = pcap_lookupdev(ebuf))) { | ^~ In file included from driftnet.c:17: /usr/include/pcap/pcap.h:328:16: note: declared here 328 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ driftnet.c:699:9: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 699 | pipe(pfd); | ^~~~~~~~~ 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.32 2003/10/16 11:56:37 chris Exp $"; | ^~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `pkg-config --cflags gtk+-2.0` -DDRIFTNET_VERSION='"0.1.6"' -c -o display.o display.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `pkg-config --cflags gtk+-2.0` -DDRIFTNET_VERSION='"0.1.6"' -c -o playaudio.o playaudio.c In file included from /usr/include/sys/types.h:25, from display.c:14: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/sys/types.h:25, from playaudio.c:18: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ image.c: In function 'find_gif_image': image.c:34:32: warning: pointer targets in passing argument 3 of 'memstr' differ in signedness [-Wpointer-sign] 34 | gifhdr = memstr(data, len, "GIF89a", 6); | ^~~~~~~~ | | | char * In file included from image.c:19: driftnet.h:91:94: note: expected 'const unsigned char *' but argument is of type 'char *' 91 | unsigned char *memstr(const unsigned char *haystack, const size_t hlen, const unsigned char *needle, const size_t nlen); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ image.c:35:45: warning: pointer targets in passing argument 3 of 'memstr' differ in signedness [-Wpointer-sign] 35 | if (!gifhdr) gifhdr = memstr(data, len, "GIF87a", 6); | ^~~~~~~~ | | | char * In file included from image.c:19: driftnet.h:91:94: note: expected 'const unsigned char *' but argument is of type 'char *' 91 | unsigned char *memstr(const unsigned char *haystack, const size_t hlen, const unsigned char *needle, const size_t nlen); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ image.c:27:9: warning: variable 'gotimgblock' set but not used [-Wunused-but-set-variable] 27 | int gotimgblock = 0; | ^~~~~~~~~~~ image.c: In function 'find_jpeg_image': image.c:171:33: warning: pointer targets in passing argument 3 of 'memstr' differ in signedness [-Wpointer-sign] 171 | jpeghdr = memstr(data, len, "\xff\xd8", 2); /* JPEG SOI marker */ | ^~~~~~~~~~ | | | char * In file included from image.c:19: driftnet.h:91:94: note: expected 'const unsigned char *' but argument is of type 'char *' 91 | unsigned char *memstr(const unsigned char *haystack, const size_t hlen, const unsigned char *needle, const size_t nlen); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ image.c:193:57: warning: pointer targets in passing argument 3 of 'memstr' differ in signedness [-Wpointer-sign] 193 | block = memstr(block, len - (block - data), "\xff\xd9", 2); | ^~~~~~~~~~ | | | char * In file included from image.c:19: driftnet.h:91:94: note: expected 'const unsigned char *' but argument is of type 'char *' 91 | unsigned char *memstr(const unsigned char *haystack, const size_t hlen, const unsigned char *needle, const size_t nlen); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ image.c: In function 'find_png_eoi': image.c:225:26: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 225 | if (!strncasecmp(chunk_code, "iend", PNG_CODE_LEN)) | ^~~~~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:432, from image.c:14: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ image.c: In function 'find_png_image': image.c:248:32: warning: pointer targets in passing argument 3 of 'memstr' differ in signedness [-Wpointer-sign] 248 | pnghdr = memstr(data, len, "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a", PNG_SIG_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from image.c:19: driftnet.h:91:94: note: expected 'const unsigned char *' but argument is of type 'char *' 91 | unsigned char *memstr(const unsigned char *haystack, const size_t hlen, const unsigned char *needle, const size_t nlen); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ 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.13 2003/08/25 12:23:43 chris Exp $"; | ^~~~~ driftnet.c: In function 'main': driftnet.c:742:13: warning: 'filterexpr' may be used uninitialized in this function [-Wmaybe-uninitialized] 742 | if (pcap_compile(pc, &filter, (char*)filterexpr, 1, 0) == -1) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: In function 'do_mpeg_player': playaudio.c:236:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 236 | pipe(pp); | ^~~~~~~~ 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.5 2003/08/12 14:12:29 chris Exp $"; | ^~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `pkg-config --cflags gtk+-2.0` -DDRIFTNET_VERSION='"0.1.6"' -c -o connection.o connection.c In file included from /usr/include/sys/types.h:25, from connection.c:12: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `pkg-config --cflags gtk+-2.0` -DDRIFTNET_VERSION='"0.1.6"' -c -o media.o media.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `pkg-config --cflags gtk+-2.0` -DDRIFTNET_VERSION='"0.1.6"' -c -o util.o util.c In file included from /usr/include/assert.h:35, from media.c:12: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from util.c:12: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ connection.c:10:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 10 | static const char rcsid[] = "$Id: connection.c,v 1.7 2003/10/16 11:56:37 chris Exp $"; | ^~~~~ util.c: In function 'memstr': util.c:67:27: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 67 | if (nlen == 0) return (char*)haystack; | ^~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -I/usr/include/pcap -D_BSD_SOURCE `pkg-config --cflags gtk+-2.0` -DDRIFTNET_VERSION='"0.1.6"' -c -o http.o http.c At top level: util.c:10:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 10 | static const char rcsid[] = "$Id: util.c,v 1.2 2003/08/25 12:24:35 chris Exp $"; | ^~~~~ media.c: In function 'dispatch_image': media.c:78:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 78 | write(fd, data, len); | ^~~~~~~~~~~~~~~~~~~~ media.c:85:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 85 | write(dpychld_fd, name, sizeof name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: media.c:10:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 10 | static const char rcsid[] = "$Id: media.c,v 1.9 2003/08/25 12:23:43 chris Exp $"; | ^~~~~ In file included from /usr/include/sys/types.h:25, from http.c:15: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ( echo '.\" DO NOT EDIT THIS FILE-- edit driftnet.1.in instead' ; sed s/@@@VERSION@@@/0.1.6/ ) < driftnet.1.in > driftnet.1 http.c: In function 'find_http_req': http.c:45:35: warning: pointer targets in passing argument 3 of 'memstr' differ in signedness [-Wpointer-sign] 45 | if (!(req = memstr(data, len, "GET ", 4))) | ^~~~~~ | | | char * In file included from http.c:20: driftnet.h:91:94: note: expected 'const unsigned char *' but argument is of type 'char *' 91 | unsigned char *memstr(const unsigned char *haystack, const size_t hlen, const unsigned char *needle, const size_t nlen); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ http.c:49:52: warning: pointer targets in passing argument 3 of 'memstr' differ in signedness [-Wpointer-sign] 49 | if (!(le = memstr(req + 4, remaining(req + 4), "\r\n", 2))) { | ^~~~~~ | | | char * In file included from http.c:20: driftnet.h:91:94: note: expected 'const unsigned char *' but argument is of type 'char *' 91 | unsigned char *memstr(const unsigned char *haystack, const size_t hlen, const unsigned char *needle, const size_t nlen); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ http.c:65:57: warning: pointer targets in passing argument 3 of 'memstr' differ in signedness [-Wpointer-sign] 65 | if (!(blankline = memstr(le + 2, remaining(le + 2), "\r\n\r\n", 4))) { | ^~~~~~~~~~ | | | char * In file included from http.c:20: driftnet.h:91:94: note: expected 'const unsigned char *' but argument is of type 'char *' 91 | unsigned char *memstr(const unsigned char *haystack, const size_t hlen, const unsigned char *needle, const size_t nlen); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from display.c:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ http.c:77:52: warning: pointer targets in passing argument 3 of 'memstr' differ in signedness [-Wpointer-sign] 77 | if (!(hosthdr = memstr(le, blankline - le + 2, "\r\nHost: ", 8))) { | ^~~~~~~~~~~~ | | | char * In file included from http.c:20: driftnet.h:91:94: note: expected 'const unsigned char *' but argument is of type 'char *' 91 | unsigned char *memstr(const unsigned char *haystack, const size_t hlen, const unsigned char *needle, const size_t nlen); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from display.c:24: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ http.c: In function 'dispatch_http_req': http.c:95:33: warning: pointer targets in passing argument 3 of 'memstr' differ in signedness [-Wpointer-sign] 95 | if (!(p = memstr(data, len, "\r\n", 2))) | ^~~~~~ | | | char * In file included from http.c:20: driftnet.h:91:94: note: expected 'const unsigned char *' but argument is of type 'char *' 91 | unsigned char *memstr(const unsigned char *haystack, const size_t hlen, const unsigned char *needle, const size_t nlen); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ http.c:106:47: warning: pointer targets in passing argument 3 of 'memstr' differ in signedness [-Wpointer-sign] 106 | if (!(p = memstr(p, len - (p - data), "\r\nHost: ", 8))) | ^~~~~~~~~~~~ | | | char * In file included from http.c:20: driftnet.h:91:94: note: expected 'const unsigned char *' but argument is of type 'char *' 91 | unsigned char *memstr(const unsigned char *haystack, const size_t hlen, const unsigned char *needle, const size_t nlen); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ http.c:111:55: warning: pointer targets in passing argument 3 of 'memstr' differ in signedness [-Wpointer-sign] 111 | if (!(p = memstr(p + 8, len - (p + 8 - data), "\r\n", 2))) | ^~~~~~ | | | char * In file included from http.c:20: driftnet.h:91:94: note: expected 'const unsigned char *' but argument is of type 'char *' 91 | unsigned char *memstr(const unsigned char *haystack, const size_t hlen, const unsigned char *needle, const size_t nlen); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ At top level: http.c:13:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 13 | static const char rcsid[] = "$Id: http.c,v 1.1 2003/08/12 14:14:15 chris Exp $"; | ^~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from display.c:24: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from display.c:24: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ display.c: In function 'pipe_event': display.c:358:29: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 358 | write(1, "\a", 1); | ^~~~~~~~~~~~~~~~~ At top level: display.c:12:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 12 | static const char rcsid[] = "$Id: display.c,v 1.19 2004/04/26 14:42:36 chris Exp $"; | ^~~~~ cc -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 util.o http.o -g -lpcap -lpthread -ljpeg -lgif -lpng `pkg-config --libs gtk+-2.0` + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EGXEjH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64 + cd driftnet-0.1.6-20040426cvs + rm -rf /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64/usr/bin + install -Dpm 0755 driftnet /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64/usr/sbin/driftnet + install -Dpm 0644 driftnet.1 /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64//usr/share/man/man1/driftnet.1 + ln -sf consolehelper /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64/usr/bin/driftnet + install -Dpm 644 /builddir/build/SOURCES/driftnet-0.1.6-pam.config /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64/etc/pam.d/driftnet + install -Dpm 644 /builddir/build/SOURCES/driftnet-0.1.6-security.config /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64/etc/security/console.apps/driftnet + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.1.6-42.20040426cvs.fc33 --unique-debug-suffix -0.1.6-42.20040426cvs.fc33.riscv64 --unique-debug-src-base driftnet-0.1.6-42.20040426cvs.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/driftnet-0.1.6-20040426cvs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64/usr/sbin/driftnet extracting debug info from /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64/usr/sbin/driftnet original debug info size: 256kB, size after compression: 244kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 205 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: driftnet-0.1.6-42.20040426cvs.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uPO4aK + umask 022 + cd /builddir/build/BUILD + cd driftnet-0.1.6-20040426cvs + DOCDIR=/builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64/usr/share/doc/driftnet + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64/usr/share/doc/driftnet + cp -pr CHANGES /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64/usr/share/doc/driftnet + cp -pr COPYING /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64/usr/share/doc/driftnet + cp -pr CREDITS /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64/usr/share/doc/driftnet + cp -pr README /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64/usr/share/doc/driftnet + cp -pr TODO /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64/usr/share/doc/driftnet + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(driftnet) = 0.1.6-42.20040426cvs.fc33 driftnet = 0.1.6-42.20040426cvs.fc33 driftnet(riscv-64) = 0.1.6-42.20040426cvs.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgif.so.7()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libharfbuzz.so.0()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) libpcap.so.1()(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: driftnet-debugsource-0.1.6-42.20040426cvs.fc33.riscv64 Provides: driftnet-debugsource = 0.1.6-42.20040426cvs.fc33 driftnet-debugsource(riscv-64) = 0.1.6-42.20040426cvs.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: driftnet-debuginfo-0.1.6-42.20040426cvs.fc33.riscv64 Provides: debuginfo(build-id) = f3e161641a6e806c3d0e390cf32ca4a507ed28fb driftnet-debuginfo = 0.1.6-42.20040426cvs.fc33 driftnet-debuginfo(riscv-64) = 0.1.6-42.20040426cvs.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: driftnet-debugsource(riscv-64) = 0.1.6-42.20040426cvs.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64 Wrote: /builddir/build/RPMS/driftnet-0.1.6-42.20040426cvs.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/driftnet-debugsource-0.1.6-42.20040426cvs.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/driftnet-debuginfo-0.1.6-42.20040426cvs.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ka5OnK + umask 022 + cd /builddir/build/BUILD + cd driftnet-0.1.6-20040426cvs + /usr/bin/rm -rf /builddir/build/BUILDROOT/driftnet-0.1.6-42.20040426cvs.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0