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): 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) Thu Feb 22 14:23: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 + su -c 'rpmbuild -ba /builddir/build/SPECS/netdump-server.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: line 40: second Group warning: bogus date in %changelog: Mon Nov 20 2007 Neil Horman - 0.7.16-16 warning: bogus date in %changelog: Tue Nov 02 2003 Dave Anderson - 0.6.11-3 warning: bogus date in %changelog: Tue Nov 02 2003 Dave Anderson - 0.6.11-2 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZVcGJL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netdump-0.7.16 + /usr/bin/gzip -dc /builddir/build/SOURCES/netdump-0.7.16.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd netdump-0.7.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (netdump-init-typo.patch):' Patch #0 (netdump-init-typo.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file netdump.init + echo 'Patch #1 (netdump-localport-option.patch):' Patch #1 (netdump-localport-option.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file netdump.init + echo 'Patch #2 (netdump-dumpdir.patch):' Patch #2 (netdump-dumpdir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file server.c Hunk #1 succeeded at 92 (offset 22 lines). Hunk #2 succeeded at 144 (offset 22 lines). Hunk #3 succeeded at 191 (offset 22 lines). Hunk #4 succeeded at 435 (offset 22 lines). patching file configuration.h Hunk #1 succeeded at 36 (offset 22 lines). patching file configuration.c Hunk #1 succeeded at 68 (offset 22 lines). Hunk #2 succeeded at 301 (offset 22 lines). + echo 'Patch #3 (netdump-dumpdir-docs-scripts.patch):' Patch #3 (netdump-dumpdir-docs-scripts.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file netdump-server.init patching file netdump-server.8 Hunk #1 succeeded at 7 (offset -17 lines). Hunk #2 succeeded at 35 (offset -17 lines). + echo 'Patch #4 (netdump-retrans-on-log.patch):' Patch #4 (netdump-retrans-on-log.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file netdumpclient.c Hunk #1 succeeded at 2493 (offset 22 lines). + echo 'Patch #5 (netdump-verbose-logging.patch):' Patch #5 (netdump-verbose-logging.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configuration.h Hunk #1 succeeded at 36 (offset 22 lines). patching file netdumpclient.c Hunk #1 succeeded at 209 (offset 22 lines). Hunk #2 succeeded at 1009 (offset 22 lines). Hunk #3 succeeded at 1109 (offset 22 lines). Hunk #4 succeeded at 1223 (offset 22 lines). patching file server.c Hunk #1 succeeded at 558 (offset 22 lines). patching file configuration.c Hunk #1 succeeded at 323 (offset 22 lines). patching file server.h Hunk #1 succeeded at 43 (offset 22 lines). + echo 'Patch #6 (netdump-makefile-servonly.patch):' Patch #6 (netdump-makefile-servonly.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + echo 'Patch #7 (netdump-server-Makefile.patch):' Patch #7 (netdump-server-Makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + echo 'Patch #8 (netdump-server-init.patch):' Patch #8 (netdump-server-init.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file netdump.init + echo 'Patch #9 (netdump-clientport.patch):' Patch #9 (netdump-clientport.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file server.c patching file netdumpclient.c patching file netdumpclient.h + echo 'Patch #10 (netdump-server-use-ip-cmd.patch):' Patch #10 (netdump-server-use-ip-cmd.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file netdump.init + echo 'Patch #11 (netdump-server-default-dir.patch):' Patch #11 (netdump-server-default-dir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file server.h + echo 'Patch #12 (netdump-ldflags.patch):' Patch #12 (netdump-ldflags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + echo 'Patch #13 (netdump-server-format-security.patch):' Patch #13 (netdump-server-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file server.c + echo 'Patch #14 (netdump-server-offsetof.patch):' Patch #14 (netdump-server-offsetof.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configuration.c + echo 'Patch #15 (netdump-do-not-redeclare-procfs.patch):' Patch #15 (netdump-do-not-redeclare-procfs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file netdumpelf.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.K0xvO1 + umask 022 + cd /builddir/build/BUILD + cd netdump-0.7.16 ++ glib-config --cflags + 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 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -fPIE' + 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 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -fPIE' + export LDFLAGS=-pie + LDFLAGS=-pie + make -j2 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -fPIE -c -o server.o server.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -fPIE -c -o netdumpclient.o netdumpclient.c netdumpclient.c: In function 'netdump_client_send_reboot': netdumpclient.c:146:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ netdumpclient.c: In function 'netdump_client_send_request': netdumpclient.c:367:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ server.c: In function 'write_log': server.c:277:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] int res; ^~~ server.c: In function 'main': server.c:429:9: warning: unused variable 'str' [-Wunused-variable] char *str; ^~~ server.c:446:5: warning: ignoring return value of 'daemon', declared with attribute warn_unused_result [-Wunused-result] daemon(1, 0); ^~~~~~~~~~~~ netdumpclient.c: In function 'netdump_client_destroy': netdumpclient.c:289:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(compress_command); ^~~~~~~~~~~~~~~~~~~~~~~~ server.c: In function 'setup_pidfile': server.c:407:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(pidfd, pid, strlen(pid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netdumpclient.c: In function 'status_packet': netdumpclient.c:2491:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, ^~~~~~~~~~  buffer + 1 + sizeof (reply_t), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  buf_len - (1 + sizeof (reply_t))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.c: In function 'config_load_segments': server.c:611:9: warning: 'load_segments' may be used uninitialized in this function [-Wmaybe-uninitialized] return load_segments; ^~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -fPIE -c -o configuration.o configuration.c gcc -o netdump-server server.o netdumpclient.o configuration.o -pie `glib-config --libs` -lpopt + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cz4xaj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64 + cd netdump-0.7.16 + rm -rf /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64 + DESTDIR=/builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64 + make install mkdir -p /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/var/netdump/crash mkdir -p /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/var/netdump/crash/scripts mkdir -m 700 -p /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/var/netdump/crash/magic mkdir -m 700 -p /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/var/netdump/crash/.ssh echo "#netdump stores client keys here" > /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/var/netdump/crash/.ssh/authorized_keys2 chmod u=rw,go= /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/var/netdump/crash/.ssh/authorized_keys2 mkdir -p /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/usr/sbin mkdir -p /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/etc/sysconfig mkdir -p /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/etc/rc.d/init.d cp netdump-server /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/usr/sbin cp netdump-server.init /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/etc/rc.d/init.d/netdump-server chmod a+x /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/etc/rc.d/init.d/netdump-server mkdir -p /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/usr/share/man/man8 cp netdump-server.8 /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/etc/sysconfig + install -m 644 /builddir/build/SOURCES/netdump-server.sysconfig /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/etc/sysconfig/netdump-server + install -D -p -m 0644 /builddir/build/SOURCES/netdump-server.service /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64//usr/lib/systemd/system/netdump-server.service + mkdir -p /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/var/netdump/crash/netdump + rm -rf /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/etc/rc.d + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/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 Processing files: netdump-server-0.7.16-41.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TR10Ly + umask 022 + cd /builddir/build/BUILD + cd netdump-0.7.16 + DOCDIR=/builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/usr/share/doc/netdump-server + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/usr/share/doc/netdump-server + cp -pr README /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/usr/share/doc/netdump-server + cp -pr COPYING /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64/usr/share/doc/netdump-server + exit 0 Provides: config(netdump-server) = 0.7.16-41.fc28 netdump-server = 0.7.16-41.fc28 netdump-server(riscv-64) = 0.7.16-41.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units 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) libglib-1.2.so.0()(64bit) libpopt.so.0()(64bit) libpopt.so.0(LIBPOPT_0)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64 warning: Could not canonicalize hostname: stage4-builder Wrote: /builddir/build/SRPMS/netdump-server-0.7.16-41.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/netdump-server-0.7.16-41.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4DfPJI + umask 022 + cd /builddir/build/BUILD + cd netdump-0.7.16 + rm -rf /builddir/build/BUILDROOT/netdump-server-0.7.16-41.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + mount.static -o remount,ro / + poweroff reboot: Power down Power off