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) Mon Feb 19 09:09:00 UTC 2018 1: lo: mtu 65536 qdisc noop state DOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff inet 10.0.2.15/24 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe12:3456/64 scope link tentative valid_lft forever preferred_lft forever 3: sit0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/sit 0.0.0.0 brd 0.0.0.0 default via 10.0.2.2 dev eth0 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 Welcome to the Fedora/RISC-V stage4 builder + set -e + exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + rpmbuild --rebuild /var/tmp/jfsutils-1.1.15-7.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/jfsutils-1.1.15-7.fc25.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vAEZQv + umask 022 + cd /rpmbuild/BUILD + cd /rpmbuild/BUILD + rm -rf jfsutils-1.1.15 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /rpmbuild/SOURCES/jfsutils-1.1.15.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jfsutils-1.1.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -type f -name '*.[ch]' -exec chmod -x '{}' ';' + echo 'Patch #0 (jfsutils-1.1.15_stdint.patch):' Patch #0 (jfsutils-1.1.15_stdint.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libfs/devices.h + echo 'Patch #1 (jfsutils_format-security_ftbs.patch):' Patch #1 (jfsutils_format-security_ftbs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file fscklog/display.c patching file fscklog/fscklog.c patching file logdump/helpers.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.d4GJqv + umask 022 + cd /rpmbuild/BUILD + cd jfsutils-1.1.15 + 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 + '[' 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 a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gawk... (cached) gawk checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for ln... /usr/bin/ln checking whether ln -s works... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking for unistd.h... (cached) yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking for stdint.h... (cached) yes checking machine/endian.h usability... no checking machine/endian.h presence... no checking for machine/endian.h... no checking sys/byteorder.h usability... no checking sys/byteorder.h presence... no checking for sys/byteorder.h... no checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/statvfs.h usability... random: crng init done yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking sys/disklabel.h usability... no checking sys/disklabel.h presence... no checking for sys/disklabel.h... no checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for off_t... yes checking for size_t... yes checking for struct stat.st_rdev... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working memcmp... yes checking for getcwd... yes checking for getmntinfo... no checking for strtol... yes checking for strtoul... yes checking for posix_memalign... yes checking for memalign... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no configure: creating ./config.status config.status: creating Makefile config.status: creating libfs/Makefile config.status: creating include/Makefile config.status: creating fsck/Makefile config.status: creating fscklog/Makefile config.status: creating logdump/Makefile config.status: creating mkfs/Makefile config.status: creating tune/Makefile config.status: creating xpeek/Makefile config.status: creating jfsutils.spec config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15' Making all in libfs make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/libfs' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fssubs.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c unicode_to_utf8.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c devices.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c utilsubs.c utilsubs.c: In function 'prompt': utilsubs.c:60:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmd, 81, stdin); ^~~~~~~~~~~~~~~~~~~~~ utilsubs.c: In function 'more': utilsubs.c:76:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmd, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c super.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c inode.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c diskmap.c devices.c: In function 'ujfs_rw_diskblocks': devices.c:441:58: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'int64_t {aka long int}' [-Wformat=] "ujfs_rw_diskblocks: %s %zd of %d bytes at offset %lld\n", ~~~^ %ld devices.c: In function 'ujfs_flush_dev': devices.c:469:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . if (major(buf.st_rdev) != RAMDISK_MAJOR) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c message.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c uniupr.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c jfs_endian.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c open_by_label.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c log_dump.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c logform.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c logredo.c open_by_label.c: In function 'open_check_label': open_by_label.c:72:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(uuid, logsup.label, 16)) ^~~~ In file included from open_by_label.c:21:0: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ open_by_label.c:84:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(uuid, super.s_label, 16)) ^~~~ In file included from open_by_label.c:21:0: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ log_dump.c: In function 'jfs_logdump': log_dump.c:333:37: warning: pointer targets in passing argument 3 of 'logRead' differ in signedness [-Wpointer-sign] nextaddr = logRead(logaddr, &ld, afterdata); ^~~~~~~~~ log_dump.c:167:12: note: expected 'char *' but argument is of type 'uint8_t * {aka unsigned char *}' extern int logRead(int32_t, struct lrd *, char *); ^~~~~~~ log_dump.c: In function 'ldmp_xdump': log_dump.c:652:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] i = (int) saddr % 4; ^ open_by_label.c: In function 'open_by_label': open_by_label.c:276:39: warning: '%s' directive writing up to 255 bytes into a region of size 86 [-Wformat-overflow=] sprintf(lv_dirname, "/proc/lvm/VGs/%s/LVs", vg_ent->d_name); ^~ In file included from /usr/include/stdio.h:862:0, from open_by_label.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 19 and 274 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ open_by_label.c:284:27: warning: '%s' directive writing up to 255 bytes into a region of size 95 [-Wformat-overflow=] sprintf(device, "/dev/%s/%s", vg_ent->d_name, lv_ent->d_name); ^~ In file included from /usr/include/stdio.h:862:0, from open_by_label.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 517 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c log_work.c logredo.c: In function 'jfs_logredo': logredo.c:617:36: warning: pointer targets in passing argument 3 of 'logRead' differ in signedness [-Wpointer-sign] nextaddr = logRead(logaddr, &ld, afterdata); ^~~~~~~~~ logredo.c:173:12: note: expected 'char *' but argument is of type 'uint8_t * {aka unsigned char *}' extern int logRead(int32_t, struct lrd *, char *); ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c log_read.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c log_map.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fsckmsgdef.c rm -f libfs.a ar cru libfs.a fssubs.o unicode_to_utf8.o devices.o utilsubs.o super.o inode.o diskmap.o message.o uniupr.o jfs_endian.o open_by_label.o log_dump.o logform.o logredo.o log_work.o log_read.o log_map.o fsckmsgdef.o ranlib libfs.a make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/libfs' Making all in include make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/include' Making all in fsck make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/fsck' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fsckbmap.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fsckconn.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fsckdire.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fsckdtre.c fsckbmap.c: In function 'dmap_pwmap_rebuild': fsckbmap.c:391:22: warning: pointer targets in passing argument 1 of 'ujfs_maxbuddy' differ in signedness [-Wpointer-sign] ujfs_maxbuddy((char *) &(wsp_bits[map_wordidx])); ^ In file included from fsckbmap.c:22:0: ../libfs/diskmap.h:25:8: note: expected 'unsigned char *' but argument is of type 'char *' int8_t ujfs_maxbuddy(unsigned char *); ^~~~~~~~~~~~~ fsckbmap.c: In function 'dmap_pmap_verify': fsckbmap.c:478:29: warning: pointer targets in passing argument 1 of 'ujfs_maxbuddy' differ in signedness [-Wpointer-sign] max_buddy = ujfs_maxbuddy((char *) &(wsp_bits[map_wordidx])); ^ In file included from fsckbmap.c:22:0: ../libfs/diskmap.h:25:8: note: expected 'unsigned char *' but argument is of type 'char *' int8_t ujfs_maxbuddy(unsigned char *); ^~~~~~~~~~~~~ fsckdtre.c: In function 'dTree_key_extract_cautiously': fsckdtre.c:1641:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned short) NULL) { ^ fsckdtre.c: In function 'dTree_key_extract_record': fsckdtre.c:1777:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned short) NULL) { ^ fsckdire.c: In function 'dtSplitPage': fsckdire.c:940:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] stbl = DT_GETSTBL(rp); ^ fsckdtre.c: In function 'reconnect_fs_inodes': fsckdtre.c:3917:14: warning: pointer targets in passing argument 2 of 'UTF8_String_To_Unicode_String' differ in signedness [-Wpointer-sign] ino_name, ^~~~~~~~ In file included from fsckdtre.c:30:0: ../libfs/unicode_to_utf8.h:18:5: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' int UTF8_String_To_Unicode_String(uint16_t * pwcs, const uint8_t * s, int maxLen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fsckea.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fsckimap.c fsckimap.c: In function 'AIS_redundancy_check': fsckimap.c:1001:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] tree_offset = (int32_t) &(((struct dinode *)0)->di_btroot); ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fsckino.c fsckino.c: In function 'validate_record_fileset_inode': fsckino.c:1844:6: warning: variable 'intermed_rc' set but not used [-Wunused-but-set-variable] int intermed_rc = FSCK_OK; ^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fsckmeta.c fsckdtre.c:3906:25: warning: '%s' directive writing up to 299 bytes into a region of size 16 [-Wformat-overflow=] sprintf(ino_name, "%s%06d%s", ^~ msg_defs[fsck_dirpfx].msg_txt, ~~~~~~~~ fsckdtre.c:3906:24: note: using the range [-2147483648, 2147483647] for directive argument sprintf(ino_name, "%s%06d%s", ^~~~~~~~~~ In file included from /usr/include/stdio.h:862:0, from xfsckint.h:21, from fsckdtre.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 610 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsckdtre.c:3911:25: warning: '%s' directive writing up to 299 bytes into a region of size 16 [-Wformat-overflow=] sprintf(ino_name, "%s%06d%s", ^~ msg_defs[fsck_inopfx].msg_txt, ~~~~~~~~ fsckdtre.c:3911:24: note: using the range [-2147483648, 2147483647] for directive argument sprintf(ino_name, "%s%06d%s", ^~~~~~~~~~ In file included from /usr/include/stdio.h:862:0, from xfsckint.h:21, from fsckdtre.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 610 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fsckpfs.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c dirindex.c fsckpfs.c: In function 'blkmap_flush': fsckpfs.c:347:28: warning: variable 'fsck_bmpt_ptr' set but not used [-Wunused-but-set-variable] struct fsck_blk_map_page *fsck_bmpt_ptr; ^~~~~~~~~~~~~ fsckpfs.c: In function 'blkmap_get_page': fsckpfs.c:490:28: warning: variable 'fsck_bmpt_ptr' set but not used [-Wunused-but-set-variable] struct fsck_blk_map_page *fsck_bmpt_ptr; ^~~~~~~~~~~~~ fsckpfs.c: In function 'blktbl_dmap_get': fsckpfs.c:768:15: warning: variable 'dmap_t_ptr' set but not used [-Wunused-but-set-variable] struct dmap *dmap_t_ptr; ^~~~~~~~~~ fsckpfs.c: In function 'blktbl_dmaps_flush': fsckpfs.c:918:15: warning: variable 'dmap_t_ptr' set but not used [-Wunused-but-set-variable] struct dmap *dmap_t_ptr; ^~~~~~~~~~ fsckpfs.c: In function 'imapleaf_get': fsckpfs.c:2125:12: warning: variable 'xtpage_t_ptr' set but not used [-Wunused-but-set-variable] xtpage_t *xtpage_t_ptr; ^~~~~~~~~~~~ fsckpfs.c: In function 'node_get': fsckpfs.c:3090:12: warning: variable 'xtpage_t_ptr' set but not used [-Wunused-but-set-variable] xtpage_t *xtpage_t_ptr; ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fsckwsp.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fsckxtre.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c xchkdsk.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fsckruns.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fsck_message.c xchkdsk.c: In function 'initial_processing': xchkdsk.c:1432:6: warning: variable 'iml_rc' set but not used [-Wunused-but-set-variable] int iml_rc = FSCK_OK; ^~~~~~ gcc -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o jfs_fsck fsckbmap.o fsckconn.o fsckdire.o fsckdtre.o fsckea.o fsckimap.o fsckino.o fsckmeta.o fsckpfs.o dirindex.o fsckwsp.o fsckxtre.o xchkdsk.o fsckruns.o fsck_message.o ../libfs/libfs.a -luuid make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/fsck' Making all in fscklog make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/fscklog' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -I../fsck -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fscklog.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -I../fsck -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c display.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -I../fsck -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c extract.c gcc -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o jfs_fscklog fscklog.o display.o extract.o ../libfs/libfs.a make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/fscklog' Making all in logdump make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/logdump' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c logdump.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c helpers.c gcc -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o jfs_logdump logdump.o helpers.o ../libfs/libfs.a -luuid make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/logdump' Making all in mkfs make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/mkfs' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -DONE_FILESET_PER_AGGR -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c initmap.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -DONE_FILESET_PER_AGGR -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c inodemap.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -DONE_FILESET_PER_AGGR -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c inodes.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -DONE_FILESET_PER_AGGR -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c mkfs.c initmap.c: In function 'dbAlloc': initmap.c:735:26: warning: pointer targets in passing argument 1 of 'ujfs_maxbuddy' differ in signedness [-Wpointer-sign] leafw = ujfs_maxbuddy((char *) &p1->wmap[word]); ^ In file included from initmap.c:34:0: ../libfs/diskmap.h:25:8: note: expected 'unsigned char *' but argument is of type 'char *' int8_t ujfs_maxbuddy(unsigned char *); ^~~~~~~~~~~~~ mkfs.c: In function 'parse_journal_opts': mkfs.c:601:22: warning: pointer targets in passing argument 1 of 'open_by_label' differ in signedness [-Wpointer-sign] open_by_label((char *) opts + 7 + 6, 1, 1, ^ mkfs.c:52:7: note: expected 'unsigned char *' but argument is of type 'char *' FILE *open_by_label(uuid_t, int, int, char *, int *); ^~~~~~~~~~~~~ mkfs.c: In function 'main': mkfs.c:898:67: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int64_t {aka long int}' [-Wformat=] printf("Requested blocks exceed number of blocks on device: %lld.\n", ~~~^ %ld mkfs.c:990:8: warning: the address of 'volume_label' will always evaluate as 'true' [-Waddress] && volume_label) { ^~ gcc -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o jfs_mkfs initmap.o inodemap.o inodes.o mkfs.o ../libfs/libfs.a -luuid make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/mkfs' Making all in tune make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/tune' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c tune.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c super.c tune.c: In function 'parse_journal_opts': tune.c:92:27: warning: pointer targets in passing argument 1 of 'open_by_label' differ in signedness [-Wpointer-sign] log_fd = open_by_label((char *) opts + 7 + 6, 1, 1, ^ tune.c:47:15: note: expected 'unsigned char *' but argument is of type 'char *' extern FILE * open_by_label(uuid_t, int, int, char *, int *); ^~~~~~~~~~~~~ tune.c:96:8: warning: the address of 'logdev' will always evaluate as 'true' [-Waddress] if (logdev) ^~~~~~ gcc -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o jfs_tune tune.o super.o ../libfs/libfs.a -luuid make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/tune' Making all in xpeek make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/xpeek' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c alter.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c display.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fsckcbbl.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c iag.c display.c: In function 'display': display.c:51:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 512, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ fsckcbbl.c: In function 'display_cbblfsck': fsckcbbl.c:166:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 512, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ fsckcbbl.c: In function 'display_fsck_wsphdr': fsckcbbl.c:292:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 512, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ iag.c: In function 'iag': iag.c:52:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmd_line, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ fsckcbbl.c: In function 'display_logsuper': fsckcbbl.c:429:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 512, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ iag.c: In function 'change_iag': iag.c:161:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~ iag.c: In function 'display_map': iag.c:350:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~ iag.c: In function 'display_ext': iag.c:382:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~ iag.c:400:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~ alter.c: In function 'alter': alter.c:87:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buffer = (char *) malloc(length); ^ alter.c:44:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 512, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c io.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c super2.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c xpeek.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c directory.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c dmap.c super2.c: In function 'display_super2': super2.c:220:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 512, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c: In function 'print_direntry': directory.c:199:32: warning: pointer targets in passing argument 1 of 'Unicode_String_to_UTF8_String' differ in signedness [-Wpointer-sign] Unicode_String_to_UTF8_String(UTF8_Buffer, name, entry->namlen); ^~~~~~~~~~~ In file included from directory.c:31:0: ../libfs/unicode_to_utf8.h:16:5: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' int Unicode_String_to_UTF8_String(uint8_t * s, const uint16_t * pwcs, int maxlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c: In function 'display_leaf_slots': directory.c:593:33: warning: pointer targets in passing argument 1 of 'Unicode_String_to_UTF8_String' differ in signedness [-Wpointer-sign] Unicode_String_to_UTF8_String(UTF8_Buffer, leaf->name, leaf->namlen); ^~~~~~~~~~~ In file included from directory.c:31:0: ../libfs/unicode_to_utf8.h:16:5: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' int Unicode_String_to_UTF8_String(uint8_t * s, const uint16_t * pwcs, int maxlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c: In function 'display_slot': directory.c:652:32: warning: pointer targets in passing argument 1 of 'Unicode_String_to_UTF8_String' differ in signedness [-Wpointer-sign] Unicode_String_to_UTF8_String(UTF8_Buffer, slot[index].name, JFS_PATH_MAX); ^~~~~~~~~~~ In file included from directory.c:31:0: ../libfs/unicode_to_utf8.h:16:5: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' int Unicode_String_to_UTF8_String(uint8_t * s, const uint16_t * pwcs, int maxlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c: In function 'display_internal_slots': directory.c:694:33: warning: pointer targets in passing argument 1 of 'Unicode_String_to_UTF8_String' differ in signedness [-Wpointer-sign] Unicode_String_to_UTF8_String(UTF8_Buffer, entry->name, entry->namlen); ^~~~~~~~~~~ In file included from directory.c:31:0: ../libfs/unicode_to_utf8.h:16:5: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' int Unicode_String_to_UTF8_String(uint8_t * s, const uint16_t * pwcs, int maxlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c: In function 'directory': directory.c:72:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmd_line, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c: In function 'dtree': directory.c:222:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmd_line, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c:303:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmd_line, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c: In function 'xtree': directory.c:410:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmd_line, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c:463:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmd_line, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c: In function 'display_leaf_slots': directory.c:601:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmd_line, 512, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c: In function 'display_internal_xtpage': directory.c:795:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmd_line, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c: In function 'display_dbmap': dmap.c:168:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c help.c dmap.c: In function 'display_cpage': dmap.c:324:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c: In function 'display_leaf': dmap.c:523:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c: In function 'display_tree': dmap.c:721:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c:745:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c:796:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c:826:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c: In function 'display_agfree': dmap.c:895:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c inode.c dmap.c: In function 'display_tree': dmap.c:47:31: warning: 'l1' may be used uninitialized in this function [-Wmaybe-uninitialized] #define L1PAGE(l1) (2 + ((l1) * L1FACTOR)) ^ dmap.c:673:16: note: 'l1' was declared here int dmap, l0, l1, type; ^~ dmap.c:48:48: warning: 'l0' may be used uninitialized in this function [-Wmaybe-uninitialized] #define L0PAGE(l1, l0) (L1PAGE(l1) + 1 + ((l0) * L0FACTOR)) ^ dmap.c:673:12: note: 'l0' was declared here int dmap, l0, l1, type; ^~ dmap.c: In function 'display_cpage': dmap.c:415:8: warning: 'l1' may be used uninitialized in this function [-Wmaybe-uninitialized] l1--; ~~^~ dmap.c:418:8: warning: 'l0' may be used uninitialized in this function [-Wmaybe-uninitialized] l0--; ~~^~ inode.c: In function 'inode': inode.c:52:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmd_line, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ inode.c: In function 'change_inode': inode.c:192:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 512, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c super.c dmap.c: In function 'display_leaf': dmap.c:576:27: warning: 'l1' may be used uninitialized in this function [-Wmaybe-uninitialized] *lblock = DMAPPAGE(l1 - 1, LPERCTL - 1, LPERCTL - 1); ^ dmap.c:572:31: warning: 'l0' may be used uninitialized in this function [-Wmaybe-uninitialized] *lblock = DMAPPAGE(l1, l0 - 1, LPERCTL - 1); ^ dmap.c:567:36: warning: 'dmap' may be used uninitialized in this function [-Wmaybe-uninitialized] *lblock = DMAPPAGE(l1, l0, dmap - 1); ^ super.c: In function 'display_super': super.c:229:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmdline, 512, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c ui.c ui.c: In function 'm_parse': ui.c:40:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmd_line, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o jfs_debugfs alter.o display.o fsckcbbl.o iag.o io.o super2.o xpeek.o directory.o dmap.o help.o inode.o super.o ui.o ../libfs/libfs.a -luuid make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/xpeek' make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15' make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15' make[1]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SLdDZR + umask 022 + cd /rpmbuild/BUILD + '[' /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64 '!=' / ']' + rm -rf /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64 ++ dirname /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64 + mkdir -p /rpmbuild/BUILDROOT + mkdir /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64 + cd jfsutils-1.1.15 + rm -rf /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64 + make install DESTDIR=/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64 Making install in libfs make[1]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/libfs' make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/libfs' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/libfs' make[1]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/libfs' Making install in include make[1]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/include' make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/include' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/include' make[1]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/include' Making install in fsck make[1]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/fsck' make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/fsck' test -z "/usr/sbin" || /usr/bin/mkdir -p "/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/sbin" /usr/bin/install -c jfs_fsck '/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/sbin' make install-exec-hook make[3]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/fsck' /usr/bin/ln -f /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/sbin/jfs_fsck /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/sbin/fsck.jfs make[3]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/fsck' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/man/man8" /usr/bin/install -c -m 644 jfs_fsck.8 '/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/man/man8' make install-data-hook make[3]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/fsck' /usr/bin/ln -f /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/man/man8/jfs_fsck.8 /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/man/man8/fsck.jfs.8 make[3]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/fsck' make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/fsck' make[1]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/fsck' Making install in fscklog make[1]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/fscklog' make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/fscklog' test -z "/usr/sbin" || /usr/bin/mkdir -p "/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/sbin" /usr/bin/install -c jfs_fscklog '/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/sbin' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/man/man8" /usr/bin/install -c -m 644 jfs_fscklog.8 '/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/man/man8' make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/fscklog' make[1]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/fscklog' Making install in logdump make[1]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/logdump' make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/logdump' test -z "/usr/sbin" || /usr/bin/mkdir -p "/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/sbin" /usr/bin/install -c jfs_logdump '/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/sbin' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/man/man8" /usr/bin/install -c -m 644 jfs_logdump.8 '/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/man/man8' make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/logdump' make[1]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/logdump' Making install in mkfs make[1]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/mkfs' make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/mkfs' test -z "/usr/sbin" || /usr/bin/mkdir -p "/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/sbin" /usr/bin/install -c jfs_mkfs '/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/sbin' make install-exec-hook make[3]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/mkfs' /usr/bin/ln -f /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/sbin/jfs_mkfs /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/sbin/mkfs.jfs make[3]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/mkfs' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/man/man8" /usr/bin/install -c -m 644 jfs_mkfs.8 '/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/man/man8' make install-data-hook make[3]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/mkfs' /usr/bin/ln -f /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/man/man8/jfs_mkfs.8 /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/man/man8/mkfs.jfs.8 make[3]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/mkfs' make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/mkfs' make[1]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/mkfs' Making install in tune make[1]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/tune' make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/tune' test -z "/usr/sbin" || /usr/bin/mkdir -p "/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/sbin" /usr/bin/install -c jfs_tune '/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/sbin' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/man/man8" /usr/bin/install -c -m 644 jfs_tune.8 '/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/man/man8' make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/tune' make[1]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/tune' Making install in xpeek make[1]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/xpeek' make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15/xpeek' test -z "/usr/sbin" || /usr/bin/mkdir -p "/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/sbin" /usr/bin/install -c jfs_debugfs '/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/sbin' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/man/man8" /usr/bin/install -c -m 644 jfs_debugfs.8 '/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/man/man8' make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/xpeek' make[1]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15/xpeek' make[1]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15' make[2]: Entering directory '/rpmbuild/BUILD/jfsutils-1.1.15' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15' make[1]: Leaving directory '/rpmbuild/BUILD/jfsutils-1.1.15' + /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: jfsutils-1.1.15-7.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wdxMYw + umask 022 + cd /rpmbuild/BUILD + cd jfsutils-1.1.15 + DOCDIR=/rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/doc/jfsutils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/doc/jfsutils + cp -pr AUTHORS /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/doc/jfsutils + cp -pr COPYING /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/doc/jfsutils + cp -pr NEWS /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/doc/jfsutils + cp -pr ChangeLog /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64/usr/share/doc/jfsutils + exit 0 Provides: jfsutils = 1.1.15-7.fc28 jfsutils(riscv-64) = 1.1.15-7.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-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) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64 warning: Could not canonicalize hostname: stage4-builder Wrote: /rpmbuild/RPMS/riscv64/jfsutils-1.1.15-7.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EGFWnx + umask 022 + cd /rpmbuild/BUILD + cd jfsutils-1.1.15 + rm -rf /rpmbuild/BUILDROOT/jfsutils-1.1.15-7.fc28.riscv64 + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.iyyG6L + umask 022 + cd /rpmbuild/BUILD + rm -rf jfsutils-1.1.15 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + mount.static -o remount,ro / + poweroff reboot: Power down Power off