Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libpcap.spec'], chrootPath='/var/lib/mock/f29-build-21119-11070/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libpcap.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 Wrote: /builddir/build/SRPMS/libpcap-1.8.1-11.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libpcap.spec'], chrootPath='/var/lib/mock/f29-build-21119-11070/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libpcap.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5P6XpW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libpcap-1.8.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/libpcap-1.8.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libpcap-1.8.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'libpcap-1.8.1 base' + /usr/bin/cat /builddir/build/SOURCES/0001-man-tcpdump-and-tcpslice-have-manpages-in-man8.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0001-man-tcpdump-and-tcpslice-have-manpages-in-man8.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0002-pcap-config-mitigate-multilib-conflict.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0002-pcap-config-mitigate-multilib-conflict.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0003-pcap-linux-apparently-ctc-interfaces-on-s390-has-eth.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0003-pcap-linux-apparently-ctc-interfaces-on-s390-has-eth.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0004-Add-support-for-AF_VSOCK.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0004-Add-support-for-AF_VSOCK.patch --author 'rpm-build ' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IIKRCE + umask 022 + cd /builddir/build/BUILD + cd libpcap-1.8.1 + export '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 -fno-strict-aliasing' + 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 -fno-strict-aliasing' + 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 -fno-strict-aliasing' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-linux-gnu checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether the compiler supports the -fvisibility=hidden option... yes checking for inline... inline checking for __attribute__... yes checking whether __attribute__((unused)) can be used without warnings... yes checking whether __attribute__((format)) can be used without warnings... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/bitypes.h usability... yes checking sys/bitypes.h presence... yes checking for sys/bitypes.h... yes checking for int8_t... yes checking for u_int8_t... yes checking for int16_t... yes checking for u_int16_t... yes checking for int32_t... yes checking for u_int32_t... yes checking for int64_t... yes checking for u_int64_t... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking sys/ioccom.h usability... no checking sys/ioccom.h presence... no checking for sys/ioccom.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking linux/if_packet.h usability... yes checking linux/if_packet.h presence... yes checking for linux/if_packet.h... yes checking netpacket/packet.h usability... yes checking netpacket/packet.h presence... yes checking for netpacket/packet.h... yes checking netpacket/if_packet.h usability... no checking netpacket/if_packet.h presence... no checking for netpacket/if_packet.h... no checking for net/pfvar.h... no checking for netinet/if_ether.h... yes checking for linux/sockios.h... yes checking for linux/if_bonding.h... yes checking for ANSI ioctl definitions... yes checking for strerror... yes checking for strlcpy... no checking for vsnprintf... yes checking for snprintf... yes checking for strtok_r... yes checking for library containing gethostbyname... none required checking for library containing socket... none required checking for library containing putmsg... none required checking for ether_hostton... yes checking whether ether_hostton is declared... no checking netinet/ether.h usability... yes checking netinet/ether.h presence... yes checking for netinet/ether.h... yes checking whether ether_hostton is declared... yes checking if --disable-protochain option is specified... enabled checking packet capture type... linux checking for linux/wireless.h... yes checking for nl_socket_alloc in -lnl-3... no checking for nl_socket_alloc in -lnl... no checking for nl_handle_alloc in -lnl... no checking for linux/ethtool.h... yes checking if if_packet.h has tpacket_stats defined... yes checking if tpacket_auxdata struct has tp_vlan_tci member... yes checking for getifaddrs... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking for socklen_t... yes checking for getaddrinfo... yes checking whether to build optimizer debugging code... no checking whether to build parser debugging code... no checking whether we have DAG API headers... no checking whether we have Septel API headers... no checking whether we have Myricom Sniffer API... no checking whether TurboCap is supported... no checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for capable lex... yes checking for bison... bison -y checking for capable yacc/bison... yes checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking whether ln -s works... yes checking if sockaddr struct has the sa_len member... no checking if sockaddr_storage struct exists... yes checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... no checking if unaligned accesses fail... no checking for USB sniffing support... yes configure: Device for USB sniffing is /dev/usbmon checking linux/compiler.h usability... no checking linux/compiler.h presence... no checking for linux/compiler.h... no checking linux/usbdevice_fs.h usability... yes checking linux/usbdevice_fs.h presence... yes checking for linux/usbdevice_fs.h... yes checking if usbdevfs_ctrltransfer struct has bRequestType member... yes checking whether the platform could support netfilter sniffing... yes checking whether we can compile the netfilter support... yes checking bluetooth/bluetooth.h usability... yes checking bluetooth/bluetooth.h presence... yes checking for bluetooth/bluetooth.h... yes configure: Bluetooth sniffing is supported checking if struct sockaddr_hci has hci_channel member... yes checking if HCI_CHANNEL_MONITOR is defined... yes checking for pkg-config... pkg-config checking for D-Bus... no checking linux/net_tstamp.h usability... yes checking linux/net_tstamp.h presence... yes checking for linux/net_tstamp.h... yes checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating pcap-filter.manmisc config.status: creating pcap-linktype.manmisc config.status: creating pcap-tstamp.manmisc config.status: creating pcap-savefile.manfile config.status: creating pcap.3pcap config.status: creating pcap_compile.3pcap config.status: creating pcap_datalink.3pcap config.status: creating pcap_dump_open.3pcap config.status: creating pcap_get_tstamp_precision.3pcap config.status: creating pcap_list_datalinks.3pcap config.status: creating pcap_list_tstamp_types.3pcap config.status: creating pcap_open_dead.3pcap config.status: creating pcap_open_offline.3pcap config.status: creating pcap_set_tstamp_precision.3pcap config.status: creating pcap_set_tstamp_type.3pcap config.status: creating config.h config.status: executing default-1 commands BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./pcap-linux.c gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./pcap-usb-linux.c gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./pcap-bt-linux.c gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./pcap-bt-monitor-linux.c gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./pcap-netfilter-linux.c BUILDSTDERR: ./pcap-usb-linux.c: In function 'usb_stats_linux': BUILDSTDERR: ./pcap-usb-linux.c:738:32: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 230 [-Wformat-truncation=] BUILDSTDERR: "Can't open USB stats file %s: %s", BUILDSTDERR: ^~ BUILDSTDERR: string, strerror(errno)); BUILDSTDERR: ~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from ./pcap/pcap.h:54, BUILDSTDERR: from ./pcap-int.h:37, BUILDSTDERR: from ./pcap-usb-linux.c:40: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 29 or more bytes (assuming 4124) into a destination of size 256 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./pcap-bt-linux.c: In function 'bt_findalldevs': BUILDSTDERR: ./pcap-bt-linux.c:120:60: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: pcap_snprintf(dev_descr, 30, "Bluetooth adapter number %d", i); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from ./pcap/pcap.h:54, BUILDSTDERR: from ./pcap-int.h:37, BUILDSTDERR: from ./pcap-bt-linux.c:39: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 27 and 31 bytes into a destination of size 30 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./pcap-usb-linux.c: In function 'probe_devices': BUILDSTDERR: ./pcap-usb-linux.c:302:54: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 15 and 23 [-Wformat-truncation=] BUILDSTDERR: pcap_snprintf(buf, sizeof(buf), "/dev/bus/usb/%03d/%s", bus, data->d_name); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from ./pcap/pcap.h:54, BUILDSTDERR: from ./pcap-int.h:37, BUILDSTDERR: from ./pcap-usb-linux.c:40: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 18 and 281 bytes into a destination of size 40 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./fad-getad.c BUILDSTDERR: ./pcap-usb-linux.c: In function 'usb_activate': BUILDSTDERR: ./pcap-usb-linux.c:461:31: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 232 [-Wformat-truncation=] BUILDSTDERR: "Can't open USB bus file %s: %s", full_path, strerror(errno)); BUILDSTDERR: ^~ ~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from ./pcap/pcap.h:54, BUILDSTDERR: from ./pcap-int.h:37, BUILDSTDERR: from ./pcap-usb-linux.c:40: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 27 or more bytes (assuming 4122) into a destination of size 256 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./pcap-usb-linux.c: In function 'usb_read_linux': BUILDSTDERR: ./pcap-usb-linux.c:553:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 227 [-Wformat-truncation=] BUILDSTDERR: ./pcap-usb-linux.c:518:17: BUILDSTDERR: char *string = line; BUILDSTDERR: ~~~~ BUILDSTDERR: ./pcap-usb-linux.c:553:37: BUILDSTDERR: "Can't parse USB bus message '%s', too few tokens (expected 8 got %d)", BUILDSTDERR: ^~ BUILDSTDERR: ./pcap-usb-linux.c:553:7: note: directive argument in the range [-2147483648, 7] BUILDSTDERR: "Can't parse USB bus message '%s', too few tokens (expected 8 got %d)", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from ./pcap/pcap.h:54, BUILDSTDERR: from ./pcap-int.h:37, BUILDSTDERR: from ./pcap-usb-linux.c:40: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 66 and 4171 bytes into a destination of size 256 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gen_version_header.sh ./VERSION ./pcap_version.h.in pcap_version.h gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./inet.c gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./fad-helpers.c bison -y -p pcap_ -o grammar.c -d grammar.y BUILDSTDERR: grammar.y: warning: 38 shift/reduce conflicts [-Wconflicts-sr] flex -P pcap_ --header-file=scanner.h --nounput -o scanner.c scanner.l gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./optimize.c gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./nametoaddr.c gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./etherent.c gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./savefile.c gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./sf-pcap.c gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./sf-pcap-ng.c gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./pcap-common.c gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./bpf_image.c gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./bpf_dump.c gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c grammar.c rm -f bpf_filter.c ln -s ./bpf/net/bpf_filter.c bpf_filter.c # # Older programs import this if they want to show the # libpcap version number, rather than calling # pcap_lib_version(), so we need to export it. # ./gen_version_c.sh ./VERSION version.c ./config.status --file=pcap-config.tmp:./pcap-config.in gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./pcap.c gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c scanner.c config.status: creating pcap-config.tmp mv pcap-config.tmp pcap-config chmod a+x pcap-config gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c bpf_filter.c gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c version.c gcc -fvisibility=hidden -fpic -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 -fno-strict-aliasing -I. -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -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 -fno-strict-aliasing -c ./gencode.c BUILDSTDERR: ./pcap.c: In function 'pcap_open_live': BUILDSTDERR: ./pcap.c:851:52: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 252 [-Wformat-truncation=] BUILDSTDERR: pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s (%s)", device, BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from ./pcap.c:52: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 262) into a destination of size 256 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./pcap.c:846:48: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 254 [-Wformat-truncation=] BUILDSTDERR: pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", device, BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from ./pcap.c:52: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 3 or more bytes (assuming 259) into a destination of size 256 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rc libpcap.a pcap-linux.o pcap-usb-linux.o pcap-bt-linux.o pcap-bt-monitor-linux.o pcap-netfilter-linux.o fad-getad.o pcap.o inet.o fad-helpers.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o sf-pcap.o sf-pcap-ng.o pcap-common.o bpf_image.o bpf_dump.o scanner.o grammar.o bpf_filter.o version.o VER=`cat ./VERSION`; \ MAJOR_VER=`sed 's/\([0-9][0-9]*\)\..*/\1/' ./VERSION`; \ gcc -shared -Wl,-soname,libpcap.so.$MAJOR_VER -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld \ -o libpcap.so.$VER pcap-linux.o pcap-usb-linux.o pcap-bt-linux.o pcap-bt-monitor-linux.o pcap-netfilter-linux.o fad-getad.o pcap.o inet.o fad-helpers.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o sf-pcap.o sf-pcap-ng.o pcap-common.o bpf_image.o bpf_dump.o scanner.o grammar.o bpf_filter.o version.o ranlib libpcap.a + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hHBVEz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64 + cd libpcap-1.8.1 + make DESTDIR=/builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64 install VER=`cat ./VERSION`; \ MAJOR_VER=`sed 's/\([0-9][0-9]*\)\..*/\1/' ./VERSION`; \ gcc -shared -Wl,-soname,libpcap.so.$MAJOR_VER -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld \ -o libpcap.so.$VER pcap-linux.o pcap-usb-linux.o pcap-bt-linux.o pcap-bt-monitor-linux.o pcap-netfilter-linux.o fad-getad.o pcap.o inet.o fad-helpers.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o sf-pcap.o sf-pcap-ng.o pcap-common.o bpf_image.o bpf_dump.o scanner.o grammar.o bpf_filter.o version.o [ -d /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/lib64 ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/lib64; chmod 755 /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/lib64) VER=`cat ./VERSION`; \ MAJOR_VER=`sed 's/\([0-9][0-9]*\)\..*/\1/' ./VERSION`; \ /usr/bin/install -c libpcap.so.$VER /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/lib64/libpcap.so.$VER; \ ln -sf libpcap.so.$VER /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/lib64/libpcap.so.$MAJOR_VER; \ ln -sf libpcap.so.$MAJOR_VER /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/lib64/libpcap.so # # Most platforms have separate suffixes for shared and # archive libraries, so we install both. # [ -d /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/lib64 ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/lib64; chmod 755 /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/lib64) /usr/bin/install -c -m 644 libpcap.a /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/lib64/libpcap.a ranlib /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/lib64/libpcap.a [ -d /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/lib64 ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/lib64; chmod 755 /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/lib64) [ -d /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/include ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/include; chmod 755 /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/include) [ -d /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/include/pcap ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/include/pcap; chmod 755 /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/include/pcap) [ -d /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man1 ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man1; chmod 755 /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man1) [ -d /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man3 ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man3; chmod 755 /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man3) [ -d /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man5 ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man5; chmod 755 /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man5) [ -d /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man7 ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man7; chmod 755 /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man7) for i in pcap.h pcap-bpf.h pcap-namedb.h pcap/bpf.h pcap/bluetooth.h pcap/can_socketcan.h pcap/dlt.h pcap/export-defs.h pcap/ipnet.h pcap/namedb.h pcap/nflog.h pcap/pcap.h pcap/sll.h pcap/vlan.h pcap/usb.h; do \ /usr/bin/install -c -m 644 ./$i \ /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/include/$i; done [ -d /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/bin ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/bin; chmod 755 /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/bin) /usr/bin/install -c pcap-config /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/bin/pcap-config for i in pcap-config.1; do \ /usr/bin/install -c -m 644 ./$i \ /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man1/$i; done for i in pcap_activate.3pcap pcap_breakloop.3pcap pcap_can_set_rfmon.3pcap pcap_close.3pcap pcap_create.3pcap pcap_datalink_name_to_val.3pcap pcap_datalink_val_to_name.3pcap pcap_dump.3pcap pcap_dump_close.3pcap pcap_dump_file.3pcap pcap_dump_flush.3pcap pcap_dump_ftell.3pcap pcap_file.3pcap pcap_fileno.3pcap pcap_findalldevs.3pcap pcap_freecode.3pcap pcap_get_selectable_fd.3pcap pcap_geterr.3pcap pcap_inject.3pcap pcap_is_swapped.3pcap pcap_lib_version.3pcap pcap_lookupdev.3pcap pcap_lookupnet.3pcap pcap_loop.3pcap pcap_major_version.3pcap pcap_next_ex.3pcap pcap_offline_filter.3pcap pcap_open_live.3pcap pcap_set_buffer_size.3pcap pcap_set_datalink.3pcap pcap_set_immediate_mode.3pcap pcap_set_promisc.3pcap pcap_set_rfmon.3pcap pcap_set_snaplen.3pcap pcap_set_timeout.3pcap pcap_setdirection.3pcap pcap_setfilter.3pcap pcap_setnonblock.3pcap pcap_snapshot.3pcap pcap_stats.3pcap pcap_statustostr.3pcap pcap_strerror.3pcap pcap_tstamp_type_name_to_val.3pcap pcap_tstamp_type_val_to_name.3pcap; do \ /usr/bin/install -c -m 644 ./$i \ /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man3/$i; done for i in pcap.3pcap pcap_compile.3pcap pcap_datalink.3pcap pcap_dump_open.3pcap pcap_get_tstamp_precision.3pcap pcap_list_datalinks.3pcap pcap_list_tstamp_types.3pcap pcap_open_dead.3pcap pcap_open_offline.3pcap pcap_set_tstamp_precision.3pcap pcap_set_tstamp_type.3pcap; do \ /usr/bin/install -c -m 644 $i \ /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man3/$i; done (cd /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man3 && \ rm -f pcap_datalink_val_to_description.3pcap && \ ln -s pcap_datalink_val_to_name.3pcap \ pcap_datalink_val_to_description.3pcap && \ rm -f pcap_dump_fopen.3pcap && \ ln -s pcap_dump_open.3pcap pcap_dump_fopen.3pcap && \ rm -f pcap_freealldevs.3pcap && \ ln -s pcap_findalldevs.3pcap pcap_freealldevs.3pcap && \ rm -f pcap_perror.3pcap && \ ln -s pcap_geterr.3pcap pcap_perror.3pcap && \ rm -f pcap_sendpacket.3pcap && \ ln -s pcap_inject.3pcap pcap_sendpacket.3pcap && \ rm -f pcap_free_datalinks.3pcap && \ ln -s pcap_list_datalinks.3pcap pcap_free_datalinks.3pcap && \ rm -f pcap_free_tstamp_types.3pcap && \ ln -s pcap_list_tstamp_types.3pcap pcap_free_tstamp_types.3pcap && \ rm -f pcap_dispatch.3pcap && \ ln -s pcap_loop.3pcap pcap_dispatch.3pcap && \ rm -f pcap_minor_version.3pcap && \ ln -s pcap_major_version.3pcap pcap_minor_version.3pcap && \ rm -f pcap_next.3pcap && \ ln -s pcap_next_ex.3pcap pcap_next.3pcap && \ rm -f pcap_open_dead_with_tstamp_precision.3pcap && \ ln -s pcap_open_dead.3pcap \ pcap_open_dead_with_tstamp_precision.3pcap && \ rm -f pcap_open_offline_with_tstamp_precision.3pcap && \ ln -s pcap_open_offline.3pcap pcap_open_offline_with_tstamp_precision.3pcap && \ rm -f pcap_fopen_offline.3pcap && \ ln -s pcap_open_offline.3pcap pcap_fopen_offline.3pcap && \ rm -f pcap_fopen_offline_with_tstamp_precision.3pcap && \ ln -s pcap_open_offline.3pcap pcap_fopen_offline_with_tstamp_precision.3pcap && \ rm -f pcap_tstamp_type_val_to_description.3pcap && \ ln -s pcap_tstamp_type_val_to_name.3pcap pcap_tstamp_type_val_to_description.3pcap && \ rm -f pcap_getnonblock.3pcap && \ ln -s pcap_setnonblock.3pcap pcap_getnonblock.3pcap) for i in pcap-savefile.manfile.in; do \ /usr/bin/install -c -m 644 `echo $i | sed 's/.manfile.in/.manfile/'` \ /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man5/`echo $i | sed 's/.manfile.in/.5/'`; done for i in pcap-filter.manmisc.in pcap-linktype.manmisc.in pcap-tstamp.manmisc.in; do \ /usr/bin/install -c -m 644 `echo $i | sed 's/.manmisc.in/.manmisc/'` \ /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/man/man7/`echo $i | sed 's/.manmisc.in/.7/'`; done + rm -f /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/lib64/libpcap.a + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.8.1-11.fc29 --unique-debug-suffix -1.8.1-11.fc29.riscv64 --unique-debug-src-base libpcap-1.8.1-11.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libpcap-1.8.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/lib64/libpcap.so.1.8.1 extracting debug info from /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/lib64/libpcap.so.1.8.1 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 2504 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/pcap-config from /bin/sh to #!/usr/bin/sh Processing files: libpcap-1.8.1-11.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FAnzLL + umask 022 + cd /builddir/build/BUILD + cd libpcap-1.8.1 + DOCDIR=/builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/doc/libpcap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/doc/libpcap + cp -pr README /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/doc/libpcap + cp -pr CHANGES /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/doc/libpcap + cp -pr CREDITS /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/doc/libpcap + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.mQineV + umask 022 + cd /builddir/build/BUILD + cd libpcap-1.8.1 + LICENSEDIR=/builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/licenses/libpcap + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/licenses/libpcap + cp -pr LICENSE /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64/usr/share/licenses/libpcap + exit 0 Provides: libpcap = 14:1.8.1-11.fc29 libpcap(riscv-64) = 14:1.8.1-11.fc29 libpcap.so.1()(64bit) 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) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: libpcap-devel-1.8.1-11.fc29.riscv64 Provides: libpcap-devel = 14:1.8.1-11.fc29 libpcap-devel(riscv-64) = 14:1.8.1-11.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh libpcap.so.1()(64bit) Processing files: libpcap-debugsource-1.8.1-11.fc29.riscv64 Provides: libpcap-debugsource = 14:1.8.1-11.fc29 libpcap-debugsource(riscv-64) = 14:1.8.1-11.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libpcap-debuginfo-1.8.1-11.fc29.riscv64 Provides: debuginfo(build-id) = bdab0fbf607db1c9bc952a10be566cfac2221060 libpcap-debuginfo = 14:1.8.1-11.fc29 libpcap-debuginfo(riscv-64) = 14:1.8.1-11.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpcap-debugsource(riscv-64) = 14:1.8.1-11.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64 Wrote: /builddir/build/RPMS/libpcap-1.8.1-11.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libpcap-devel-1.8.1-11.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libpcap-debugsource-1.8.1-11.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libpcap-debuginfo-1.8.1-11.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pwQjFC + umask 022 + cd /builddir/build/BUILD + cd libpcap-1.8.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libpcap-1.8.1-11.fc29.riscv64 + exit 0 Child return code was: 0