OF: fdt: Ignoring memory range 0x80000000 - 0x80200000 Linux version 4.15.0-rc9-00064-gf923ce3a29af (rjones@trick.home.annexia.org) (gcc version 7.3.1 20180129 (GCC)) #1 SMP Thu Feb 15 10:59:13 GMT 2018 bootconsole [early0] enabled Initial ramdisk at: 0x (ptrval) (512 bytes) Zone ranges: DMA32 empty Normal [mem 0x0000000080200000-0x000000017fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000080200000-0x000000017fffffff] Initmem setup node 0 [mem 0x0000000080200000-0x000000017fffffff] elf_hwcap is 0x112d percpu: Embedded 15 pages/cpu @ (ptrval) s29592 r0 d31848 u61440 Built 1 zonelists, mobility grouping on. Total pages: 1033735 Kernel command line: console=ttyS0 ro root=/dev/vda init=/init Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) Sorting __ex_table... Memory: 4119768K/4192256K available (5849K kernel code, 340K rwdata, 1541K rodata, 200K init, 847K bss, 72488K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 Hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 riscv,cpu_intc,0: 64 local interrupts mapped riscv,cpu_intc,1: 64 local interrupts mapped ------------[ cut here ]------------ WARNING: CPU: 0 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.15.0-rc9-00064-gf923ce3a29af #1 Call Trace: [< (ptrval)>] walk_stackframe+0x0/0xa2 [< (ptrval)>] show_stack+0x26/0x34 [< (ptrval)>] dump_stack+0x5e/0x7c [< (ptrval)>] __warn+0xc6/0xdc [< (ptrval)>] warn_slowpath_null+0x2c/0x3e [< (ptrval)>] riscv_irq_enable+0x8e/0x94 [< (ptrval)>] irq_enable+0x3a/0x6a [< (ptrval)>] __irq_startup+0x80/0x88 [< (ptrval)>] irq_startup+0x4e/0xe2 [< (ptrval)>] irq_activate_and_startup+0x1c/0x28 [< (ptrval)>] __irq_do_set_handler+0x6e/0x134 [< (ptrval)>] irq_set_chained_handler_and_data+0x2c/0x4a [< (ptrval)>] plic_init+0x216/0x34a [< (ptrval)>] of_irq_init+0x132/0x232 [< (ptrval)>] irqchip_init+0x10/0x1c [< (ptrval)>] init_IRQ+0x8/0x14 [< (ptrval)>] start_kernel+0x1f6/0x32c [< (ptrval)>] _sinittext+0x4e/0x56 random: get_random_bytes called from print_oops_end_marker+0x3a/0x52 with crng_init=0 ---[ end trace 3f245499100bcdd5 ]--- riscv,plic0,c000000: mapped 10 interrupts to 2/4 handlers clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns smp: Brought up 1 node, 2 CPUs devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns futex hash table entries: 512 (order: 3, 32768 bytes) NET: Registered protocol family 16 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb clocksource: Switched to clocksource riscv_clocksource NET: Registered protocol family 2 TCP established hash table entries: 32768 (order: 6, 262144 bytes) TCP bind hash table entries: 32768 (order: 7, 524288 bytes) TCP: Hash tables configured (established 32768 bind 32768) UDP hash table entries: 2048 (order: 4, 65536 bytes) UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Unpacking initramfs... Initialise system trusted keyrings workingset: timestamp_bits=62 max_order=20 bucket_order=0 NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... SGI XFS with ACLs, security attributes, no debug enabled random: fast init done NET: Registered protocol family 38 Key type asymmetric registered Asymmetric key parser 'x509' registered Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) io scheduler mq-deadline registered io scheduler kyber registered Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled console [ttyS0] disabled 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 11, base_baud = 230400) is a 16550A OF: fdt: Ignoring memory range 0x80000000 - 0x80200000 Linux version 4.15.0-rc9-00064-gf923ce3a29af (rjones@trick.home.annexia.org) (gcc version 7.3.1 20180129 (GCC)) #1 SMP Thu Feb 15 10:59:13 GMT 2018 bootconsole [early0] enabled Initial ramdisk at: 0x (ptrval) (512 bytes) Zone ranges: DMA32 empty Normal [mem 0x0000000080200000-0x000000017fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000080200000-0x000000017fffffff] Initmem setup node 0 [mem 0x0000000080200000-0x000000017fffffff] elf_hwcap is 0x112d percpu: Embedded 15 pages/cpu @ (ptrval) s29592 r0 d31848 u61440 Built 1 zonelists, mobility grouping on. Total pages: 1033735 Kernel command line: console=ttyS0 ro root=/dev/vda init=/init Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) Sorting __ex_table... Memory: 4119768K/4192256K available (5849K kernel code, 340K rwdata, 1541K rodata, 200K init, 847K bss, 72488K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 Hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 riscv,cpu_intc,0: 64 local interrupts mapped riscv,cpu_intc,1: 64 local interrupts mapped ------------[ cut here ]------------ WARNING: CPU: 0 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.15.0-rc9-00064-gf923ce3a29af #1 Call Trace: [< (ptrval)>] walk_stackframe+0x0/0xa2 [< (ptrval)>] show_stack+0x26/0x34 [< (ptrval)>] dump_stack+0x5e/0x7c [< (ptrval)>] __warn+0xc6/0xdc [< (ptrval)>] warn_slowpath_null+0x2c/0x3e [< (ptrval)>] riscv_irq_enable+0x8e/0x94 [< (ptrval)>] irq_enable+0x3a/0x6a [< (ptrval)>] __irq_startup+0x80/0x88 [< (ptrval)>] irq_startup+0x4e/0xe2 [< (ptrval)>] irq_activate_and_startup+0x1c/0x28 [< (ptrval)>] __irq_do_set_handler+0x6e/0x134 [< (ptrval)>] irq_set_chained_handler_and_data+0x2c/0x4a [< (ptrval)>] plic_init+0x216/0x34a [< (ptrval)>] of_irq_init+0x132/0x232 [< (ptrval)>] irqchip_init+0x10/0x1c [< (ptrval)>] init_IRQ+0x8/0x14 [< (ptrval)>] start_kernel+0x1f6/0x32c [< (ptrval)>] _sinittext+0x4e/0x56 random: get_random_bytes called from print_oops_end_marker+0x3a/0x52 with crng_init=0 ---[ end trace 3f245499100bcdd5 ]--- riscv,plic0,c000000: mapped 10 interrupts to 2/4 handlers clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns smp: Brought up 1 node, 2 CPUs devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns futex hash table entries: 512 (order: 3, 32768 bytes) NET: Registered protocol family 16 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb clocksource: Switched to clocksource riscv_clocksource NET: Registered protocol family 2 TCP established hash table entries: 32768 (order: 6, 262144 bytes) TCP bind hash table entries: 32768 (order: 7, 524288 bytes) TCP: Hash tables configured (established 32768 bind 32768) UDP hash table entries: 2048 (order: 4, 65536 bytes) UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Unpacking initramfs... Initialise system trusted keyrings workingset: timestamp_bits=62 max_order=20 bucket_order=0 NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... SGI XFS with ACLs, security attributes, no debug enabled random: fast init done NET: Registered protocol family 38 Key type asymmetric registered Asymmetric key parser 'x509' registered Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) io scheduler mq-deadline registered io scheduler kyber registered Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled console [ttyS0] disabled 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 11, base_baud = 230400) is a 16550A console [ttyS0] enabled console [ttyS0] enabled [drm] radeon kernel modesetting enabled. [drm] radeon kernel modesetting enabled. loop: module loaded loop: module loaded libphy: Fixed MDIO Bus: probed libphy: Fixed MDIO Bus: probed e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k e1000e: Copyright(c) 1999 - 2015 Intel Corporation. e1000e: Copyright(c) 1999 - 2015 Intel Corporation. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-pci: EHCI PCI platform driver ehci-pci: EHCI PCI platform driver ehci-platform: EHCI generic platform driver ehci-platform: EHCI generic platform driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci-pci: OHCI PCI platform driver ohci-pci: OHCI PCI platform driver ohci-platform: OHCI generic platform driver ohci-platform: OHCI generic platform driver usbcore: registered new interface driver uas usbcore: registered new interface driver uas usbcore: registered new interface driver usb-storage usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice mousedev: PS/2 mouse device common for all mice usbcore: registered new interface driver usbhid usbcore: registered new interface driver usbhid usbhid: USB HID core driver usbhid: USB HID core driver NET: Registered protocol family 10 NET: Registered protocol family 10 Segment Routing with IPv6 Segment Routing with IPv6 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered protocol family 17 NET: Registered protocol family 17 Key type dns_resolver registered Key type dns_resolver registered bootconsole [early0] uses init memory and must be disabled even before the real one is ready bootconsole [early0] uses init memory and must be disabled even before the real one is ready bootconsole [early0] disabled bootconsole [early0] disabled Loading compiled-in X.509 certificates EXT4-fs (vda): couldn't mount as ext3 due to feature incompatibilities EXT4-fs (vda): couldn't mount as ext2 due to feature incompatibilities EXT4-fs (vda): INFO: recovery required on readonly filesystem EXT4-fs (vda): write access will be enabled during recovery EXT4-fs (vda): orphan cleanup on readonly fs EXT4-fs (vda): 4 orphan inodes deleted EXT4-fs (vda): recovery complete EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) readonly on device 254:0. Freeing unused kernel memory: 200K This architecture does not have kernel memory protection. EXT4-fs (vda): re-mounted. Opts: (null) Tue Feb 20 19:58:00 UTC 2018 1: lo: mtu 65536 qdisc noop state DOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff inet 10.0.2.15/24 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe12:3456/64 scope link tentative valid_lft forever preferred_lft forever 3: sit0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/sit 0.0.0.0 brd 0.0.0.0 default via 10.0.2.2 dev eth0 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 Welcome to the Fedora/RISC-V stage4 builder + set -e + exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + rpmbuild --rebuild /var/tmp/libpcap-1.7.4-2.fc25.0.riscv64.src.rpm --define 'debug_package %{nil}' --undefine _annotated_build --define '_topdir /rpmbuild' --define '_missing_doc_files_terminate_build %{nil}' --define '_unitdir /usr/lib/systemd/system' --define '_sysctldir /usr/lib/sysctl.d' --define '_tmpfilesdir /usr/lib/tmpfiles.d' --define '_udevrulesdir /usr/lib/udev/rules.d' --define '_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d' --define '_emacs_sitelispdir /usr/share/emacs/site-lisp' --nocheck Installing /var/tmp/libpcap-1.7.4-2.fc25.0.riscv64.src.rpm warning: user rjones does not exist - using root warning: group rjones does not exist - using root warning: user rjones does not exist - using root warning: group rjones does not exist - using root warning: user rjones does not exist - using root warning: group rjones does not exist - using root warning: user rjones does not exist - using root warning: group rjones does not exist - using root warning: user rjones does not exist - using root warning: group rjones does not exist - using root warning: user rjones does not exist - using root warning: group rjones does not exist - using root warning: user rjones does not exist - using root warning: group rjones does not exist - using root Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CxXF9D + umask 022 + cd /rpmbuild/BUILD + cd /rpmbuild/BUILD + rm -rf libpcap-1.7.4 + /usr/bin/gzip -dc /rpmbuild/SOURCES/libpcap-1.7.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libpcap-1.7.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vITmbf + umask 022 + cd /rpmbuild/BUILD + cd libpcap-1.7.4 + 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 -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 -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 -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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ 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) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ 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-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-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 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/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 paths.h usability... yes checking paths.h presence... yes checking for paths.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 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... random: crng init done 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 (/usr/local/include) checking whether we have the DAG API... no checking whether we have Septel API... no checking whether we have Myricom Sniffer API... no (/opt/snf) checking for flex... flex checking for flex 2.4 or higher... yes checking for bison... bison checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-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... no checking bluetooth/bluetooth.h presence... no checking for bluetooth/bluetooth.h... no configure: Bluetooth sniffing is not supported; install bluez-lib devel to enable it checking libusb-1.0/libusb.h usability... no checking libusb-1.0/libusb.h presence... no checking for libusb-1.0/libusb.h... no configure: canusb sniffing is not supported; install libusb1.0 lib devel to enable it checking for linux/can.h... yes configure: CAN sniffing is supported 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 configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j2 gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c ./pcap-linux.c gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c ./pcap-usb-linux.c In file included from ./pcap-linux.c:141:0: ./pcap-linux.c: In function 'is_bonding_device': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:965:2: note: in expansion of macro 'strlcpy' strlcpy(ifr.ifr_name, device, sizeof ifr.ifr_name); ^~~~~~~ ./pcap-linux.c: In function 'pcap_can_set_rfmon_linux': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:1047:2: note: in expansion of macro 'strlcpy' strlcpy(ireq.ifr_ifrn.ifrn_name, handle->opt.source, ^~~~~~~ ./pcap-linux.c: In function 'pcap_cleanup_linux': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:1170:4: note: in expansion of macro 'strlcpy' strlcpy(ifr.ifr_name, handlep->device, ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:1234:4: note: in expansion of macro 'strlcpy' strlcpy(ifr.ifr_name, handlep->device, ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:1248:4: note: in expansion of macro 'strlcpy' strlcpy(ireq.ifr_ifrn.ifrn_name, handlep->device, ^~~~~~~ ./pcap-linux.c: In function 'pcap_inject_linux': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:1897:4: note: in expansion of macro 'strlcpy' strlcpy(handle->errbuf, ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:1911:4: note: in expansion of macro 'strlcpy' strlcpy(handle->errbuf, ^~~~~~~ ./pcap-linux.c: In function 'add_linux_if': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:2125:2: note: in expansion of macro 'strlcpy' strlcpy(ifrflags.ifr_name, name, sizeof(ifrflags.ifr_name)); ^~~~~~~ ./pcap-linux.c: In function 'pcap_setfilter_linux_common': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:2423:10: note: in expansion of macro 'strlcpy' strlcpy(handle->errbuf, "setfilter: No filter specified", ^~~~~~~ ./pcap-linux.c: In function 'create_ring': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:4043:3: note: in expansion of macro 'strlcpy' strlcpy(ifr.ifr_name, handle->opt.source, sizeof(ifr.ifr_name)); ^~~~~~~ ./pcap-linux.c: In function 'iface_get_id': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5036:2: note: in expansion of macro 'strlcpy' strlcpy(ifr.ifr_name, device, sizeof(ifr.ifr_name)); ^~~~~~~ ./pcap-linux.c: In function 'has_wext': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5121:2: note: in expansion of macro 'strlcpy' strlcpy(ireq.ifr_ifrn.ifrn_name, device, ^~~~~~~ ./pcap-linux.c: In function 'enter_rfmon_mode_wext': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5258:2: note: in expansion of macro 'strlcpy' strlcpy(ireq.ifr_ifrn.ifrn_name, device, ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5460:2: note: in expansion of macro 'strlcpy' strlcpy(ireq.ifr_ifrn.ifrn_name, device, ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5516:3: note: in expansion of macro 'strlcpy' strlcpy(ireq.ifr_ifrn.ifrn_name, device, ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5548:2: note: in expansion of macro 'strlcpy' strlcpy(ifr.ifr_name, device, sizeof(ifr.ifr_name)); ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5568:2: note: in expansion of macro 'strlcpy' strlcpy(ireq.ifr_ifrn.ifrn_name, device, ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5607:3: note: in expansion of macro 'strlcpy' strlcpy(ireq.ifr_ifrn.ifrn_name, device, ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5618:3: note: in expansion of macro 'strlcpy' strlcpy(ireq.ifr_ifrn.ifrn_name, device, ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5629:3: note: in expansion of macro 'strlcpy' strlcpy(ireq.ifr_ifrn.ifrn_name, device, ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5647:3: note: in expansion of macro 'strlcpy' strlcpy(ireq.ifr_ifrn.ifrn_name, device, ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5659:3: note: in expansion of macro 'strlcpy' strlcpy(ireq.ifr_ifrn.ifrn_name, device, ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5674:3: note: in expansion of macro 'strlcpy' strlcpy(ireq.ifr_ifrn.ifrn_name, device, ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5688:3: note: in expansion of macro 'strlcpy' strlcpy(ireq.ifr_ifrn.ifrn_name, device, ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5700:3: note: in expansion of macro 'strlcpy' strlcpy(ireq.ifr_ifrn.ifrn_name, device, ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5712:3: note: in expansion of macro 'strlcpy' strlcpy(ireq.ifr_ifrn.ifrn_name, device, ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5725:3: note: in expansion of macro 'strlcpy' strlcpy(ireq.ifr_ifrn.ifrn_name, device, ^~~~~~~ ./pcap-linux.c: In function 'iface_ethtool_get_ts_info': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5867:2: note: in expansion of macro 'strlcpy' strlcpy(ifr.ifr_name, handle->opt.source, sizeof(ifr.ifr_name)); ^~~~~~~ ./pcap-linux.c: In function 'iface_ethtool_flag_ioctl': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:5939:2: note: in expansion of macro 'strlcpy' strlcpy(ifr.ifr_name, handle->opt.source, sizeof(ifr.ifr_name)); ^~~~~~~ ./pcap-linux.c: In function 'activate_old': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:6079:3: note: in expansion of macro 'strlcpy' strlcpy(handle->errbuf, "pcap_activate: The \"any\" device isn't supported on 2.0[.x]-kernel systems", ^~~~~~~ ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:6108:3: note: in expansion of macro 'strlcpy' strlcpy(ifr.ifr_name, device, sizeof(ifr.ifr_name)); ^~~~~~~ ./pcap-linux.c: In function 'iface_bind_old': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:6246:2: note: in expansion of macro 'strlcpy' strlcpy(saddr.sa_data, device, sizeof(saddr.sa_data)); ^~~~~~~ ./pcap-linux.c: In function 'iface_get_mtu': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:6285:2: note: in expansion of macro 'strlcpy' strlcpy(ifr.ifr_name, device, sizeof(ifr.ifr_name)); ^~~~~~~ ./pcap-linux.c: In function 'iface_get_arptype': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-linux.c:6305:2: note: in expansion of macro 'strlcpy' strlcpy(ifr.ifr_name, device, sizeof(ifr.ifr_name)); ^~~~~~~ ./pcap-usb-linux.c: In function 'probe_devices': ./pcap-usb-linux.c:262:49: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 15 and 23 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "/dev/bus/usb/%03d/%s", bus, data->d_name); ^~ In file included from /usr/include/stdio.h:862:0, from ./pcap/pcap.h:52, from ./pcap-int.h:37, from ./pcap-usb-linux.c:40: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 18 and 281 bytes into a destination of size 40 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c ./pcap-can-linux.c In file included from ./pcap-can-linux.c:39:0: ./pcap-can-linux.c: In function 'can_activate': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap-can-linux.c:174:2: note: in expansion of macro 'strlcpy' strlcpy(ifr.ifr_name, handle->opt.source, sizeof(ifr.ifr_name)); ^~~~~~~ gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c ./pcap-netfilter-linux.c gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c ./fad-getad.c if grep GIT ./VERSION >/dev/null; then \ read ver <./VERSION; \ echo $ver | tr -d '\012'; \ date +_%Y_%m_%d; \ else \ cat ./VERSION; \ fi | sed -e 's/.*/static const char pcap_version_string[] = "libpcap version &";/' > version.h gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c ./inet.c gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c ./gencode.c gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c ./optimize.c In file included from ./gencode.c:70:0: ./gencode.c: In function 'sdup': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./gencode.c:380:2: note: in expansion of macro 'strlcpy' strlcpy(cp, s, n); ^~~~~~~ gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c ./nametoaddr.c gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c ./etherent.c gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c ./savefile.c In file included from ./savefile.c:55:0: ./savefile.c: In function 'sf_inject': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./savefile.c:141:2: note: in expansion of macro 'strlcpy' strlcpy(p->errbuf, "Sending packets isn't supported on savefiles", ^~~~~~~ gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c ./sf-pcap.c gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c ./sf-pcap-ng.c gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c ./pcap-common.c gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c ./bpf_image.c gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c ./bpf_dump.c ./runlex.sh flex -Ppcap_ -oscanner.c scanner.l bison -y -p pcap_ -d grammar.y grammar.y: warning: 38 shift/reduce conflicts [-Wconflicts-sr] mv scanner.c scanner.c.bottom cat ./scanner.c.top scanner.c.bottom > scanner.c rm -f bpf_filter.c ln -s ./bpf/net/bpf_filter.c bpf_filter.c if grep GIT ./VERSION >/dev/null; then \ read ver <./VERSION; \ echo $ver | tr -d '\012'; \ date +_%Y_%m_%d; \ else \ cat ./VERSION; \ fi | sed -e 's/.*/char pcap_version[] = "&";/' > version.c ./config.status --file=pcap-config.tmp:./pcap-config.in config.status: creating pcap-config.tmp mv pcap-config.tmp pcap-config chmod a+x pcap-config gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c ./pcap.c In file included from ./pcap.c:69:0: ./pcap.c: In function 'pcap_getnonblock': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap.c:1410:3: note: in expansion of macro 'strlcpy' strlcpy(p->errbuf, errbuf, PCAP_ERRBUF_SIZE); ^~~~~~~ ./pcap.c: In function 'pcap_setnonblock': ./pcap-int.h:354:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] (strncpy((x), (y), (z)), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~  ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~  strlen((y))) ~~~~~~~~~~~~ ./pcap.c:1453:3: note: in expansion of macro 'strlcpy' strlcpy(p->errbuf, errbuf, PCAP_ERRBUF_SIZE); ^~~~~~~ mv y.tab.c grammar.c mv y.tab.h tokdefs.h gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c bpf_filter.c gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c version.c ./pcap.c: In function 'pcap_open_live': ./pcap.c:800:43: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 254 [-Wformat-truncation=] snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", source, ^~ In file included from /usr/include/stdio.h:862:0, from ./pcap.c:52: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 3 or more bytes (assuming 259) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./pcap.c:805:47: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 252 [-Wformat-truncation=] snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s (%s)", source, ^~ In file included from /usr/include/stdio.h:862:0, from ./pcap.c:52: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 262) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -c scanner.c gcc -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 -fno-strict-aliasing -I. -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 -fno-strict-aliasing -Dyylval=pcap_lval -c grammar.c ar rc libpcap.a pcap-linux.o pcap-usb-linux.o pcap-can-linux.o pcap-netfilter-linux.o fad-getad.o pcap.o inet.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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld \ -o libpcap.so.$VER pcap-linux.o pcap-usb-linux.o pcap-can-linux.o pcap-netfilter-linux.o fad-getad.o pcap.o inet.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.t5MoMV + umask 022 + cd /rpmbuild/BUILD + '[' /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64 '!=' / ']' + rm -rf /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64 ++ dirname /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64 + mkdir -p /rpmbuild/BUILDROOT + mkdir /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64 + cd libpcap-1.7.4 + make DESTDIR=/rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld \ -o libpcap.so.$VER pcap-linux.o pcap-usb-linux.o pcap-can-linux.o pcap-netfilter-linux.o fad-getad.o pcap.o inet.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 /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/lib64 ] || \ (mkdir -p /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/lib64; chmod 755 /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/lib64) VER=`cat ./VERSION`; \ MAJOR_VER=`sed 's/\([0-9][0-9]*\)\..*/\1/' ./VERSION`; \ /usr/bin/install -c libpcap.so.$VER /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/lib64/libpcap.so.$VER; \ ln -sf libpcap.so.$VER /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/lib64/libpcap.so.$MAJOR_VER; \ ln -sf libpcap.so.$MAJOR_VER /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/lib64/libpcap.so # # Most platforms have separate suffixes for shared and # archive libraries, so we install both. # [ -d /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/lib64 ] || \ (mkdir -p /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/lib64; chmod 755 /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/lib64) /usr/bin/install -c -m 644 libpcap.a /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/lib64/libpcap.a ranlib /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/lib64/libpcap.a [ -d /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/lib64 ] || \ (mkdir -p /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/lib64; chmod 755 /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/lib64) [ -d /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/include ] || \ (mkdir -p /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/include; chmod 755 /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/include) [ -d /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/include/pcap ] || \ (mkdir -p /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/include/pcap; chmod 755 /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/include/pcap) [ -d /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/man/man1 ] || \ (mkdir -p /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/man/man1; chmod 755 /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/man/man1) [ -d /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/man/man3 ] || \ (mkdir -p /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/man/man3; chmod 755 /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/man/man3) [ -d /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/man/man5 ] || \ (mkdir -p /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/man/man5; chmod 755 /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/man/man5) [ -d /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/man/man7 ] || \ (mkdir -p /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/man/man7; chmod 755 /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/man/man7) for i in pcap.h pcap-bpf.h pcap-namedb.h pcap/bpf.h pcap/bluetooth.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 \ /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/include/$i; done [ -d /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/bin ] || \ (mkdir -p /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/bin; chmod 755 /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/bin) /usr/bin/install -c pcap-config /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/bin/pcap-config for i in pcap-config.1; do \ /usr/bin/install -c -m 644 ./$i \ /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.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 \ /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.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 \ /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/man/man3/$i; done (cd /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.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/'` \ /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.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/'` \ /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/man/man7/`echo $i | sed 's/.manmisc.in/.7/'`; done + rm -f /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/lib64/libpcap.a + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 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 #!/bin/sh Processing files: libpcap-1.7.4-2.fc28.0.riscv64.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nK5ckn + umask 022 + cd /rpmbuild/BUILD + cd libpcap-1.7.4 + DOCDIR=/rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/doc/libpcap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/doc/libpcap + cp -pr LICENSE /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/doc/libpcap + cp -pr README /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/doc/libpcap + cp -pr CHANGES /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/doc/libpcap + cp -pr CREDITS /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64/usr/share/doc/libpcap + exit 0 Provides: libpcap = 14:1.7.4-2.fc28.0.riscv64 libpcap(riscv-64) = 14:1.7.4-2.fc28.0.riscv64 libpcap.so.1()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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.7.4-2.fc28.0.riscv64.riscv64 Provides: libpcap-devel = 14:1.7.4-2.fc28.0.riscv64 libpcap-devel(riscv-64) = 14:1.7.4-2.fc28.0.riscv64 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libpcap.so.1()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64 warning: Could not canonicalize hostname: stage4-builder Wrote: /rpmbuild/RPMS/riscv64/libpcap-1.7.4-2.fc28.0.riscv64.riscv64.rpm Wrote: /rpmbuild/RPMS/riscv64/libpcap-devel-1.7.4-2.fc28.0.riscv64.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uxCZGw + umask 022 + cd /rpmbuild/BUILD + cd libpcap-1.7.4 + /usr/bin/rm -rf /rpmbuild/BUILDROOT/libpcap-1.7.4-2.fc28.0.riscv64.riscv64 + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.Xjn6aV + umask 022 + cd /rpmbuild/BUILD + rm -rf libpcap-1.7.4 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + mount.static -o remount,ro / + poweroff reboot: Power down Power off