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: 1 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 1 PID: 0 Comm: swapper/1 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: 1 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 1 PID: 0 Comm: swapper/1 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 11:43: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/nbtscan.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ih63EP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nbtscan-1.5.1a + /usr/bin/gzip -dc /builddir/build/SOURCES/nbtscan-1.5.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd nbtscan-1.5.1a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (nbtscan-1.5.1-makefile.patch):' Patch #0 (nbtscan-1.5.1-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Nt7zFS + umask 022 + cd /builddir/build/BUILD + cd nbtscan-1.5.1a + 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 ' + 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 checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 a BSD-compatible install... /usr/bin/install -c checking for socket in -lxnet... no checking for socket in -lsocket... no checking for inet_aton in -lresolv... yes checking how to run the C preprocessor... gcc -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/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for stdint.h... (cached) yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for snprintf... yes checking for inet_aton... yes checking for socket... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu configure: creating ./config.status config.status: creating Makefile + make -j2 gcc -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBRESOLV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STDINT_H=1 -Dmy_uint8_t=uint8_t -Dmy_uint16_t=uint16_t -Dmy_uint32_t=uint32_t -DTIME_WITH_SYS_TIME=1 -DHAVE_SNPRINTF=1 -DHAVE_INET_ATON=1 -DHAVE_SOCKET=1 -DUNIX=1 -c nbtscan.c gcc -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBRESOLV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STDINT_H=1 -Dmy_uint8_t=uint8_t -Dmy_uint16_t=uint16_t -Dmy_uint32_t=uint32_t -DTIME_WITH_SYS_TIME=1 -DHAVE_SNPRINTF=1 -DHAVE_INET_ATON=1 -DHAVE_SOCKET=1 -DUNIX=1 -c statusq.c statusq.c:2:1: warning: "/*" within comment [-Wcomment] /* which contains the following license: * statusq.c: In function 'name_mangle': statusq.c:63:7: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] c = toupper( buf[i] ); ^~~~~~~ statusq.c: At top level: statusq.c:331:27: warning: missing braces around initializer [-Wmissing-braces] nb_service_t services[] = { ^ "__MSBROWSE__", 0x01, 0, "Master Browser", { } "INet~Services", 0x1C, 0, "IIS", { } "IS~", 0x00, 1, "IIS", { } "", 0x00, 1, "Workstation Service", { } "", 0x01, 1, "Messenger Service", { } "", 0x03, 1, "Messenger Service", { } "", 0x06, 1, "RAS Server Service", { } "", 0x1F, 1, "NetDDE Service", { } "", 0x20, 1, "File Server Service", { } "", 0x21, 1, "RAS Client Service", { } "", 0x22, 1, "Microsoft Exchange Interchange(MSMail Connector)", { } "", 0x23, 1, "Microsoft Exchange Store", { } "", 0x24, 1, "Microsoft Exchange Directory", { } "", 0x30, 1, "Modem Sharing Server Service", { } "", 0x31, 1, "Modem Sharing Client Service", { } "", 0x43, 1, "SMS Clients Remote Control", { } "", 0x44, 1, "SMS Administrators Remote Control Tool", { } "", 0x45, 1, "SMS Clients Remote Chat", { } "", 0x46, 1, "SMS Clients Remote Transfer", { } "", 0x4C, 1, "DEC Pathworks TCPIP service on Windows NT", { } "", 0x52, 1, "DEC Pathworks TCPIP service on Windows NT", { } "", 0x87, 1, "Microsoft Exchange MTA", { } "", 0x6A, 1, "Microsoft Exchange IMC", { } "", 0xBE, 1, "Network Monitor Agent", { } "", 0xBF, 1, "Network Monitor Application", { } "", 0x03, 1, "Messenger Service", { } "", 0x00, 0, "Domain Name", { } "", 0x1B, 1, "Domain Master Browser", { } "", 0x1C, 0, "Domain Controllers", { } "", 0x1D, 1, "Master Browser", { } "", 0x1E, 0, "Browser Service Elections", { } "", 0x2B, 1, "Lotus Notes Server Service", { } "IRISMULTICAST", 0x2F, 0, "Lotus Notes", { } "IRISNAMESERVER", 0x33, 0, "Lotus Notes", { } "Forte_$ND800ZA", 0x20, 1, "DCA IrmaLan Gateway Server Service" { }; } nbtscan.c:19:1: warning: return type defaults to 'int' [-Wimplicit-int] print_banner() { ^~~~~~~~~~~~ statusq.c: In function 'send_query': statusq.c:124:1: warning: control reaches end of non-void function [-Wreturn-type] }; ^ nbtscan.c: In function 'd_print_hostinfo': nbtscan.c:95:5: warning: $ operand number used after format without operand number [-Wformat=] printf("Transaction ID: 0x%04x (%1$d)\n", hostinfo->header->transaction_id); ^~~~~~ nbtscan.c:96:5: warning: $ operand number used after format without operand number [-Wformat=] printf("Flags: 0x%04x (%1$d)\n", hostinfo->header->flags); ^~~~~~ nbtscan.c:97:5: warning: $ operand number used after format without operand number [-Wformat=] printf("Question count: 0x%04x (%1$d)\n", hostinfo->header->question_count); ^~~~~~ nbtscan.c:98:5: warning: $ operand number used after format without operand number [-Wformat=] printf("Answer count: 0x%04x (%1$d)\n", hostinfo->header->answer_count); ^~~~~~ nbtscan.c:99:5: warning: $ operand number used after format without operand number [-Wformat=] printf("Name service count: 0x%04x (%1$d)\n", hostinfo->header->name_service_count); ^~~~~~ nbtscan.c:100:5: warning: $ operand number used after format without operand number [-Wformat=] printf("Additional record count: 0x%04x (%1$d)\n", hostinfo->header->additional_record_count); ^~~~~~ nbtscan.c:102:5: warning: $ operand number used after format without operand number [-Wformat=] printf("Question type: 0x%04x (%1$d)\n", hostinfo->header->question_type); ^~~~~~ nbtscan.c:103:5: warning: $ operand number used after format without operand number [-Wformat=] printf("Question class: 0x%04x (%1$d)\n", hostinfo->header->question_class); ^~~~~~ nbtscan.c:104:5: warning: $ operand number used after format without operand number [-Wformat=] printf("Time to live: 0x%08x (%1$d)\n", hostinfo->header->ttl); ^~~~~~ nbtscan.c:105:5: warning: $ operand number used after format without operand number [-Wformat=] printf("Rdata length: 0x%04x (%1$d)\n", hostinfo->header->rdata_length); ^~~~~~ nbtscan.c:106:5: warning: $ operand number used after format without operand number [-Wformat=] printf("Number of names: 0x%02x (%1$d)\n", hostinfo->header->number_of_names); ^~~~~~ nbtscan.c:124:5: warning: $ operand number used after format without operand number [-Wformat=] printf("Version major: 0x%02x (%1$d)\n", hostinfo->footer->version_major); ^~~~~~ nbtscan.c:125:5: warning: $ operand number used after format without operand number [-Wformat=] printf("Version minor: 0x%02x (%1$d)\n", hostinfo->footer->version_minor); ^~~~~~ nbtscan.c:126:5: warning: $ operand number used after format without operand number [-Wformat=] printf("Duration: 0x%04x (%1$d)\n", hostinfo->footer->duration); ^~~~~~ nbtscan.c:127:34: warning: unknown conversion type character ' ' in format [-Wformat=] printf("FRMRs Received: 0x%04 (%1$d)\n", hostinfo->footer->frmps_received); ^ nbtscan.c:128:37: warning: unknown conversion type character ' ' in format [-Wformat=] printf("FRMRs Transmitted: 0x%04 (%1$d)\n", hostinfo->footer->frmps_transmitted); ^ nbtscan.c:129:41: warning: unknown conversion type character ' ' in format [-Wformat=] printf("IFrame Receive errors: 0x%04 (%1$d)\n", hostinfo->footer->iframe_receive_errors); ^ nbtscan.c:130:35: warning: unknown conversion type character ' ' in format [-Wformat=] printf("Transmit aborts: 0x%04 (%1$d)\n", hostinfo->footer->transmit_aborts); ^ nbtscan.c:131:31: warning: unknown conversion type character ' ' in format [-Wformat=] printf("Transmitted: 0x%08 (%1$d)\n", hostinfo->footer->transmitted); ^ nbtscan.c:132:28: warning: unknown conversion type character ' ' in format [-Wformat=] printf("Received: 0x%08 (%1$d)\n", hostinfo->footer->received); ^ nbtscan.c:133:42: warning: unknown conversion type character ' ' in format [-Wformat=] printf("IFrame transmit errors: 0x%04 (%1$d)\n", hostinfo->footer->iframe_transmit_errors); ^ nbtscan.c:134:38: warning: unknown conversion type character ' ' in format [-Wformat=] printf("No receive buffers: 0x%04 (%1$d)\n", hostinfo->footer->no_receive_buffer); ^ nbtscan.c:135:31: warning: unknown conversion type character ' ' in format [-Wformat=] printf("tl timeouts: 0x%04 (%1$d)\n", hostinfo->footer->tl_timeouts); ^ nbtscan.c:136:31: warning: unknown conversion type character ' ' in format [-Wformat=] printf("ti timeouts: 0x%04 (%1$d)\n", hostinfo->footer->ti_timeouts); ^ nbtscan.c:137:29: warning: unknown conversion type character ' ' in format [-Wformat=] printf("Free NCBS: 0x%04 (%1$d)\n", hostinfo->footer->free_ncbs); ^ nbtscan.c:138:24: warning: unknown conversion type character ' ' in format [-Wformat=] printf("NCBS: 0x%04 (%1$d)\n", hostinfo->footer->ncbs); ^ nbtscan.c:139:28: warning: unknown conversion type character ' ' in format [-Wformat=] printf("Max NCBS: 0x%04 (%1$d)\n", hostinfo->footer->max_ncbs); ^ nbtscan.c:140:39: warning: unknown conversion type character ' ' in format [-Wformat=] printf("No transmit buffers: 0x%04 (%1$d)\n", hostinfo->footer->no_transmit_buffers); ^ nbtscan.c:141:32: warning: unknown conversion type character ' ' in format [-Wformat=] printf("Max datagram: 0x%04 (%1$d)\n", hostinfo->footer->max_datagram); ^ nbtscan.c:142:36: warning: unknown conversion type character ' ' in format [-Wformat=] printf("Pending sessions: 0x%04 (%1$d)\n", hostinfo->footer->pending_sessions); ^ nbtscan.c:143:32: warning: unknown conversion type character ' ' in format [-Wformat=] printf("Max sessions: 0x%04 (%1$d)\n", hostinfo->footer->max_sessions); ^ nbtscan.c:144:35: warning: unknown conversion type character ' ' in format [-Wformat=] printf("Packet sessions: 0x%04 (%1$d)\n", hostinfo->footer->packet_sessions); ^ nbtscan.c: In function 'v_print_hostinfo': nbtscan.c:171:31: warning: implicit declaration of function 'getnbservicename'; did you mean 'getpeername'? [-Wimplicit-function-declaration] if(hr) printf("%s\n", (char*)getnbservicename(service, unique, name)); ^~~~~~~~~~~~~~~~ getpeername nbtscan.c:171:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if(hr) printf("%s\n", (char*)getnbservicename(service, unique, name)); ^ nbtscan.c:179:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if(hr) printf("%s\n", (char*)getnbservicename(service, unique, name)); ^ nbtscan.c:153:9: warning: unused variable 'sname' [-Wunused-variable] char* sname; ^~~~~ nbtscan.c: In function 'l_print_hostinfo': nbtscan.c:258:7: warning: unused variable 'is_server' [-Wunused-variable] int is_server=0; ^~~~~~~~~ nbtscan.c: In function 'main': nbtscan.c:321:16: warning: implicit declaration of function 'getopt'; did you mean 'getw'? [-Wimplicit-function-declaration] while ((ch = getopt(argc, argv, "vrdelqhm:s:t:b:f:")) != -1) ^~~~~~ getw nbtscan.c:389:5: warning: statement with no effect [-Wunused-value] usage; ^~~~~ nbtscan.c:394:5: warning: statement with no effect [-Wunused-value] usage; ^~~~~ nbtscan.c:399:5: warning: statement with no effect [-Wunused-value] usage; ^~~~~ nbtscan.c:404:5: warning: statement with no effect [-Wunused-value] usage; ^~~~~ nbtscan.c:409:5: warning: statement with no effect [-Wunused-value] usage; ^~~~~ nbtscan.c:519:44: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr*)&dest_sockaddr, &addr_size)) <= 0 ) { ^ In file included from /usr/include/sys/socket.h:269:0, from nbtscan.c:2: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ nbtscan.c:525:35: warning: implicit declaration of function 'parse_response' [-Wimplicit-function-declaration] hostinfo = (struct nb_host_info*)parse_response(buff, size); ^~~~~~~~~~~~~~ nbtscan.c:525:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hostinfo = (struct nb_host_info*)parse_response(buff, size); ^ nbtscan.c:572:12: warning: implicit declaration of function 'in_list'; did you mean 'new_list'? [-Wimplicit-function-declaration] if(!in_list(scanned, ntohl(next_in_addr->s_addr))) ^~~~~~~ new_list nbtscan.c:573:10: warning: implicit declaration of function 'send_query' [-Wimplicit-function-declaration] send_query(sock, *next_in_addr, rtt_base); ^~~~~~~~~~ nbtscan.c:619:7: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep((transmit_started.tv_sec+rto)-now.tv_sec); ^~~~~ nbtscan.c:302:7: warning: unused variable 'sel' [-Wunused-variable] int sel, size; ^~~ nbtscan.c: In function 'print_banner': nbtscan.c:23:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ nbtscan.c: In function 'print_header': nbtscan.c:84:1: warning: control reaches end of non-void function [-Wreturn-type] }; ^ nbtscan.c: In function 'd_print_hostinfo': nbtscan.c:146:1: warning: control reaches end of non-void function [-Wreturn-type] }; ^ nbtscan.c: In function 'l_print_hostinfo': nbtscan.c:279:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ nbtscan.c: In function 'd_print_hostinfo': nbtscan.c:114:11: warning: array subscript is above array bounds [-Warray-bounds] name[16]=0; ~~~~^~~~ nbtscan.c: In function 'v_print_hostinfo': nbtscan.c:167:11: warning: array subscript is above array bounds [-Warray-bounds] name[16]=0; ~~~~^~~~ gcc -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBRESOLV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STDINT_H=1 -Dmy_uint8_t=uint8_t -Dmy_uint16_t=uint16_t -Dmy_uint32_t=uint32_t -DTIME_WITH_SYS_TIME=1 -DHAVE_SNPRINTF=1 -DHAVE_INET_ATON=1 -DHAVE_SOCKET=1 -DUNIX=1 -c range.c range.c: In function 'is_range1': range.c:45:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(separator=(char*)strchr(string,'/')) { ^~~~~~~~~ range.c: In function 'is_range2': range.c:101:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(separator = (char*)strchr(ip,'-')) { ^~~~~~~~~ range.c: In function 'print_range': range.c:140:1: warning: control reaches end of non-void function [-Wreturn-type] }; ^ gcc -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBRESOLV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STDINT_H=1 -Dmy_uint8_t=uint8_t -Dmy_uint16_t=uint16_t -Dmy_uint32_t=uint32_t -DTIME_WITH_SYS_TIME=1 -DHAVE_SNPRINTF=1 -DHAVE_INET_ATON=1 -DHAVE_SOCKET=1 -DUNIX=1 -c list.c list.c: In function 'in_list': list.c:102:13: warning: unused variable 'cmp' [-Wunused-variable] int cmp; ^~~ list.c: In function 'compare': list.c:53:1: warning: control reaches end of non-void function [-Wreturn-type] }; ^ list.c: In function 'insert': list.c:98:1: warning: control reaches end of non-void function [-Wreturn-type] }; ^ gcc -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 -o nbtscan nbtscan.o statusq.o range.o list.o -lresolv + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bxuEjj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nbtscan-1.5.1-15.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nbtscan-1.5.1-15.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/nbtscan-1.5.1-15.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nbtscan-1.5.1-15.fc28.riscv64 + cd nbtscan-1.5.1a + rm -rf /builddir/build/BUILDROOT/nbtscan-1.5.1-15.fc28.riscv64 + autoreconf -vif autoreconf: Entering directory `.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: configure.in: not using Autoheader autoreconf: configure.in: not using Automake autoreconf: Leaving directory `.' + make install DESTDIR=/builddir/build/BUILDROOT/nbtscan-1.5.1-15.fc28.riscv64 /usr/bin/install -c -D nbtscan /builddir/build/BUILDROOT/nbtscan-1.5.1-15.fc28.riscv64/usr/bin/nbtscan + /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 Processing files: nbtscan-1.5.1-15.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Gpi5v3 + umask 022 + cd /builddir/build/BUILD + cd nbtscan-1.5.1a + DOCDIR=/builddir/build/BUILDROOT/nbtscan-1.5.1-15.fc28.riscv64/usr/share/doc/nbtscan + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nbtscan-1.5.1-15.fc28.riscv64/usr/share/doc/nbtscan + cp -pr ChangeLog /builddir/build/BUILDROOT/nbtscan-1.5.1-15.fc28.riscv64/usr/share/doc/nbtscan + cp -pr COPYING /builddir/build/BUILDROOT/nbtscan-1.5.1-15.fc28.riscv64/usr/share/doc/nbtscan + cp -pr README /builddir/build/BUILDROOT/nbtscan-1.5.1-15.fc28.riscv64/usr/share/doc/nbtscan + exit 0 Provides: nbtscan = 1.5.1-15.fc28 nbtscan(riscv-64) = 1.5.1-15.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libresolv.so.2()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nbtscan-1.5.1-15.fc28.riscv64 warning: Could not canonicalize hostname: stage4-builder Wrote: /builddir/build/SRPMS/nbtscan-1.5.1-15.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/nbtscan-1.5.1-15.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xNN8K4 + umask 022 + cd /builddir/build/BUILD + cd nbtscan-1.5.1a + rm -rf /builddir/build/BUILDROOT/nbtscan-1.5.1-15.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + mount.static -o remount,ro / + poweroff reboot: Power down Power off