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: 4119648K/4192256K available (5849K kernel code, 340K rwdata, 1541K rodata, 200K init, 847K bss, 72608K reserved, 0K cma-reserved)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Hierarchical RCU implementation.
	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
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
riscv,cpu_intc,2: 64 local interrupts mapped
riscv,cpu_intc,3: 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 4/8 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
clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
smp: Brought up 1 node, 4 CPUs
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
futex hash table entries: 1024 (order: 4, 65536 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 = 13, 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: 4119648K/4192256K available (5849K kernel code, 340K rwdata, 1541K rodata, 200K init, 847K bss, 72608K reserved, 0K cma-reserved)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Hierarchical RCU implementation.
	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
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
riscv,cpu_intc,2: 64 local interrupts mapped
riscv,cpu_intc,3: 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 4/8 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
clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
smp: Brought up 1 node, 4 CPUs
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
futex hash table entries: 1024 (order: 4, 65536 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 = 13, 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)
Sun Feb 18 09:25:00 UTC 2018
1: lo: <LOOPBACK> 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: <BROADCAST,MULTICAST,UP,LOWER_UP> 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: <NOARP> 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/chntpw-0.99.6-26.110511.fc25.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/chntpw-0.99.6-26.110511.fc25.src.rpm
warning: bogus date in %changelog: Sun Oct 11 2008 Conrad Meyer <konrad@tylerc.org> - 0.99.6-5
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pkjQXA
+ umask 022
+ cd /rpmbuild/BUILD
+ cd /rpmbuild/BUILD
+ rm -rf chntpw-110511
+ /usr/bin/unzip -qq /rpmbuild/SOURCES/chntpw-source-110511.zip
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd chntpw-110511
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cp -p /rpmbuild/SOURCES/chntpw-README.Dist README.Dist
+ sed -e 's/\r$//' WinReg.txt
+ touch -c -r WinReg.txt WinReg.txt.eol
+ mv WinReg.txt.eol WinReg.txt
+ echo 'Patch #1 (chntpw-110511-get_abs_path.patch):'
Patch #1 (chntpw-110511-get_abs_path.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file ntreg.c
+ echo 'Patch #3 (chntpw-110511-port-to-gcrypt-debian.patch):'
Patch #3 (chntpw-110511-port-to-gcrypt-debian.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file chntpw.c
patching file Makefile
+ echo 'Patch #4 (chntpw-110511-robustness.patch):'
Patch #4 (chntpw-110511-robustness.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file ntreg.c
Hunk #2 succeeded at 4124 (offset 1 line).
+ echo 'Patch #5 (chntpw-080526-correct-test-for-failing-open-syscall.patch):'
Patch #5 (chntpw-080526-correct-test-for-failing-open-syscall.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file ntreg.c
Hunk #1 succeeded at 4033 (offset 1268 lines).
+ echo 'Patch #6 (chntpw-110511-detect-failure-to-write-key.patch):'
Patch #6 (chntpw-110511-detect-failure-to-write-key.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file ntreg.c
Hunk #1 succeeded at 3394 (offset 5 lines).
+ echo 'Patch #7 (chntpw-110511-reged-no-deref-null.patch):'
Patch #7 (chntpw-110511-reged-no-deref-null.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file reged.c
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lAj0uj
+ umask 022
+ cd /rpmbuild/BUILD
+ cd chntpw-110511
+ make CC=gcc 'EXTRA_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 ' chntpw cpnt reged
gcc -c -DUSELIBGCRYPT -g -I.  -Wall -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  chntpw.c
chntpw.c: In function 'handle_syskey':
chntpw.c:1077:24: warning: iteration 11 invokes undefined behavior [-Waggressive-loop-optimizations]
    ff->syskeyflags1[i] = 0;
    ~~~~~~~~~~~~~~~~~~~~^~~
chntpw.c:1076:2: note: within this loop
  for (i = 0; i < 0x3b; i++) {
  ^~~
gcc -c -DUSELIBGCRYPT -g -I.  -Wall -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  ntreg.c
ntreg.c: In function 'parse_nk':
ntreg.c:471:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   type              = 0x%02x %s\n", D_OFFS(type)  ,key->type,
           ~~~^
           %04lx
ntreg.c:473:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   timestamp skipped\n", D_OFFS(timestamp) );
           ~~~^
           %04lx
ntreg.c:474:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   parent key offset = 0x%0x\n", D_OFFS(ofs_parent) ,key->ofs_parent + 0x1000);
           ~~~^
           %04lx
ntreg.c:475:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   number of subkeys = %d\n", D_OFFS(no_subkeys),key->no_subkeys);
           ~~~^
           %04lx
ntreg.c:476:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   lf-record offset  = 0x%0x\n",D_OFFS(ofs_lf),key->ofs_lf + 0x1000);
           ~~~^
           %04lx
ntreg.c:477:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   number of values  = %d\n", D_OFFS(no_values),key->no_values);
           ~~~^
           %04lx
ntreg.c:478:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   val-list offset   = 0x%0x\n",D_OFFS(ofs_vallist),key->ofs_vallist + 0x1000);
           ~~~^
           %04lx
ntreg.c:479:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   sk-record offset  = 0x%0x\n",D_OFFS(ofs_sk),key->ofs_sk + 0x1000);
           ~~~^
           %04lx
ntreg.c:480:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   classname offset  = 0x%0x\n",D_OFFS(ofs_classnam),key->ofs_classnam + 0x1000);
           ~~~^
           %04lx
ntreg.c:482:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   dummy3            = 0x%0x (%d)\n",D_OFFS(dummy3),key->dummy3,key->dummy3);
           ~~~^
           %04lx
ntreg.c:483:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   dummy4            = 0x%0x (%d)\n",D_OFFS(dummy4),key->dummy4,key->dummy4);
           ~~~^
           %04lx
ntreg.c:484:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   dummy5            = 0x%0x (%d)\n",D_OFFS(dummy5),key->dummy5,key->dummy5);
           ~~~^
           %04lx
ntreg.c:485:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   dummy6            = 0x%0x (%d)\n",D_OFFS(dummy6),key->dummy6,key->dummy6);
           ~~~^
           %04lx
ntreg.c:486:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   dummy7            = 0x%0x (%d)\n",D_OFFS(dummy7),key->dummy7,key->dummy7);
           ~~~^
           %04lx
ntreg.c:488:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   name length       = %d\n", D_OFFS(len_name),key->len_name);
           ~~~^
           %04lx
ntreg.c:489:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   classname length  = %d\n", D_OFFS(len_classnam),key->len_classnam);
           ~~~^
           %04lx
ntreg.c:491:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   Key name: <",D_OFFS(keyname) );
           ~~~^
           %04lx
ntreg.c: In function 'parse_vk':
ntreg.c:509:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   name length       = %d (0x%0x)\n", D_OFFS(len_name),
           ~~~^
           %04lx
ntreg.c:511:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   length of data    = %d (0x%0x)\n", D_OFFS(len_data),
           ~~~^
           %04lx
ntreg.c:513:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   data offset       = 0x%0x\n",D_OFFS(ofs_data),key->ofs_data + 0x1000);
           ~~~^
           %04lx
ntreg.c:514:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   value type        = 0x%0x  %s\n", D_OFFS(val_type), key->val_type,
           ~~~^
           %04lx
ntreg.c:517:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   flag              = 0x%0x\n",D_OFFS(flag),key->flag);
           ~~~^
           %04lx
ntreg.c:518:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   *unused?*         = 0x%0x\n",D_OFFS(dummy1),key->dummy1);
           ~~~^
           %04lx
ntreg.c:520:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   Key name: <",D_OFFS(keyname) );
           ~~~^
           %04lx
ntreg.c: In function 'parse_sk':
ntreg.c:538:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   *unused?*         = %d\n"   , D_OFFS(dummy1),     key->dummy1    );
           ~~~^
           %04lx
ntreg.c:539:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   Offset to prev sk = 0x%0x\n", D_OFFS(ofs_prevsk), key->ofs_prevsk + 0x1000);
           ~~~^
           %04lx
ntreg.c:540:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   Offset to next sk = 0x%0x\n", D_OFFS(ofs_nextsk), key->ofs_nextsk + 0x1000);
           ~~~^
           %04lx
ntreg.c:541:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   Usage counter     = %d (0x%0x)\n", D_OFFS(no_usage),
           ~~~^
           %04lx
ntreg.c:543:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   Security data len = %d (0x%0x)\n", D_OFFS(len_sk),
           ~~~^
           %04lx
ntreg.c: In function 'parse_lf':
ntreg.c:562:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   number of keys    = %d\n", D_OFFS(no_keys), key->no_keys  );
           ~~~^
           %04lx
ntreg.c:565:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
     printf("%04x      %3d   Offset: 0x%0x  - <%c%c%c%c>\n",
             ~~~^
             %04lx
ntreg.c: In function 'parse_lh':
ntreg.c:590:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   number of keys    = %d\n", D_OFFS(no_keys), key->no_keys  );
           ~~~^
           %04lx
ntreg.c:593:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
     printf("%04x      %3d   Offset: 0x%0x  - <hash: %08x>\n",
             ~~~^
             %04lx
ntreg.c: In function 'parse_li':
ntreg.c:617:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   number of keys    = %d\n", D_OFFS(no_keys), key->no_keys  );
           ~~~^
           %04lx
ntreg.c:620:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
     printf("%04x      %3d   Offset: 0x%0x\n",
             ~~~^
             %04lx
ntreg.c: In function 'parse_ri':
ntreg.c:642:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   number of subindices = %d\n", D_OFFS(no_lis), key->no_lis  );
           ~~~^
           %04lx
ntreg.c:645:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
     printf("%04x      %3d   Offset: 0x%0x\n",
             ~~~^
             %04lx
ntreg.c: In function 'parse_db':
ntreg.c:664:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   number of parts    = %d\n", D_OFFS(no_part), key->no_part  );
           ~~~^
           %04lx
ntreg.c:666:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
   printf("%04x   Data list at offset: 0x%0x\n",
           ~~~^
           %04lx
ntreg.c: In function 'alloc_val_data':
ntreg.c:2059:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     datablk = vkofs + (int32_t)&(vkkey->ofs_data) - (int32_t)vkkey;
                       ^
ntreg.c:2059:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     datablk = vkofs + (int32_t)&(vkkey->ofs_data) - (int32_t)vkkey;
                                                     ^
ntreg.c: In function 'import_reg':
ntreg.c:3785:11: warning: variable 'valbuf' set but not used [-Wunused-but-set-variable]
     void *valbuf;
           ^~~~~~
ntreg.c: In function 'openHive':
ntreg.c:4137:56: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]
      "file is too small; got %d bytes while expecting %d or more\n",
                                                       ~^
                                                       %ld
ntreg.c: In function 'fmyinput':
ntreg.c:196:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
    fgets(ibuf,maxlen+1,stdin);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
ntreg.c: In function 'free_block':
ntreg.c:1101:24: warning: 'prev' may be used uninitialized in this function [-Wmaybe-uninitialized]
   int pofs,vofs,seglen,prev,next,nextsz,prevsz,size;
                        ^~~~
ntreg.c: In function 'trav_path':
ntreg.c:1659:51: warning: 'adjust' may be used uninitialized in this function [-Wmaybe-uninitialized]
        return(trav_path(hdesc, newnkofs, path+plen+adjust, type));
                                                   ^
ntreg.c:1632:43: warning: 'partptr' may be used uninitialized in this function [-Wmaybe-uninitialized]
     partw = string_prog2regw(part, partptr-part, &partw_len);
                                    ~~~~~~~^~~~~
ntreg.c:1584:36: warning: 'plen' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if ((type & TPF_VK_ABS) || (!path[plen] && (type & TPF_VK) && key->no_values) ) {
                                    ^
ntreg.c: In function 'import_reg':
ntreg.c:3843:9: warning: 'valstr' may be used uninitialized in this function [-Wmaybe-uninitialized]
  valstr = realloc(valstr, strlen(valstr) + l + 3);
  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntreg.c: In function 'openHive':
ntreg.c:4233:29: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
    hdesc->lastbin = pofs - p->ofs_next;  /* Compensate for loop that added at end above */
                            ~^~~~~~~~~~
gcc -c -DUSELIBGCRYPT -g -I.  -Wall -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  edlib.c
edlib.c: In function 'regedit_interactive':
edlib.c:459:18: warning: variable 'cdkey' set but not used [-Wunused-but-set-variable]
   struct nk_key *cdkey;
                  ^~~~~
gcc -DUSELIBGCRYPT -g -I.  -Wall -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 chntpw chntpw.o ntreg.o edlib.o -lgcrypt -ldl -lgpg-error
gcc -c -DUSELIBGCRYPT -g -I.  -Wall -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  cpnt.c
gcc -DUSELIBGCRYPT -g -I.  -Wall -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 cpnt cpnt.o -lgcrypt -ldl -lgpg-error
gcc -c -DUSELIBGCRYPT -g -I.  -Wall -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  reged.c
reged.c: In function 'main':
reged.c:225:4: warning: 'ch' may be used uninitialized in this function [-Wmaybe-uninitialized]
    fclose(ch);
    ^~~~~~~~~~
gcc -DUSELIBGCRYPT -g -I.  -Wall -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 reged reged.o ntreg.o edlib.o
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jEyywp
+ umask 022
+ cd /rpmbuild/BUILD
+ '[' /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64 '!=' / ']'
+ rm -rf /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64
++ dirname /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64
+ mkdir -p /rpmbuild/BUILDROOT
+ mkdir /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64
+ cd chntpw-110511
+ rm -rf /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64
+ mkdir -p /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64/usr/bin
+ cp chntpw /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64/usr/bin
+ cp cpnt /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64/usr/bin
+ cp reged /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64/usr/bin
+ mkdir -p /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64/usr/share/man/man8/
+ cp -p /rpmbuild/SOURCES/chntpw-chntpw.8 /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64/usr/share/man/man8/chntpw.8
+ /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: chntpw-0.99.6-26.110511.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4sP48Q
+ umask 022
+ cd /rpmbuild/BUILD
+ cd chntpw-110511
+ DOCDIR=/rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64/usr/share/doc/chntpw
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64/usr/share/doc/chntpw
+ cp -pr GPL.txt /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64/usr/share/doc/chntpw
+ cp -pr LGPL.txt /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64/usr/share/doc/chntpw
+ cp -pr README.txt /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64/usr/share/doc/chntpw
+ cp -pr regedit.txt /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64/usr/share/doc/chntpw
+ cp -pr WinReg.txt /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64/usr/share/doc/chntpw
+ cp -pr HISTORY.txt /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64/usr/share/doc/chntpw
+ cp -pr README.Dist /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64/usr/share/doc/chntpw
+ exit 0
Provides: chntpw = 0.99.6-26.110511.fc28 chntpw(riscv-64) = 0.99.6-26.110511.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) libdl.so.2()(64bit) libgcrypt.so.20()(64bit) libgcrypt.so.20(GCRYPT_1.6)(64bit) libgpg-error.so.0()(64bit) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64
warning: Could not canonicalize hostname: stage4-builder
Wrote: /rpmbuild/RPMS/riscv64/chntpw-0.99.6-26.110511.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gEWhy2
+ umask 022
+ cd /rpmbuild/BUILD
+ cd chntpw-110511
+ rm -rf /rpmbuild/BUILDROOT/chntpw-0.99.6-26.110511.fc28.riscv64
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.0ItK7t
+ umask 022
+ cd /rpmbuild/BUILD
+ rm -rf chntpw-110511
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ mount.static -o remount,ro /
+ poweroff
reboot: Power down
Power off