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: 2 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 2 PID: 0 Comm: swapper/2 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: 2 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 2 PID: 0 Comm: swapper/2 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 05: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/afpfs-ng-0.8.1-20.fc24.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/afpfs-ng-0.8.1-20.fc24.src.rpm warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RZl49o + umask 022 + cd /rpmbuild/BUILD + cd /rpmbuild/BUILD + rm -rf afpfs-ng-0.8.1 + /usr/bin/bzip2 -dc /rpmbuild/SOURCES/afpfs-ng-0.8.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd afpfs-ng-0.8.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (afpfs-ng-0.8.1-overflows.patch):' Patch #0 (afpfs-ng-0.8.1-overflows.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .overflows --fuzz=0 patching file cmdline/cmdline_afp.c + echo 'Patch #1 (afpfs-ng-0.8.1-pointer.patch):' Patch #1 (afpfs-ng-0.8.1-pointer.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pointer --fuzz=0 patching file cmdline/getstatus.c patching file fuse/client.c patching file fuse/fuse_int.c patching file include/afp.h patching file include/utils.h patching file lib/afp_url.c patching file lib/did.c patching file lib/dsi.c patching file lib/loop.c patching file lib/lowlevel.c patching file lib/midlevel.c patching file lib/proto_attr.c patching file lib/proto_desktop.c patching file lib/proto_directory.c patching file lib/proto_map.c patching file lib/proto_session.c patching file lib/uams.c patching file lib/utils.c + echo 'Patch #2 (afpfs-ng-0.8.1-formatsec.patch):' Patch #2 (afpfs-ng-0.8.1-formatsec.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .formatsec --fuzz=0 patching file cmdline/cmdline_afp.c patching file cmdline/cmdline_testafp.c patching file fuse/client.c patching file fuse/commands.c Hunk #1 succeeded at 165 (offset 2 lines). patching file lib/afp_url.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.d5h0JB + umask 022 + cd /rpmbuild/BUILD + cd afpfs-ng-0.8.1 + touch --reference aclocal.m4 configure.ac Makefile.in + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./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 --disable-static 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 for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for 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 a BSD-compatible install... /usr/bin/install -c checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for riscv64-redhat-linux-gnu-g77... no checking for riscv64-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-f77... no checking for riscv64-redhat-linux-gnu-frt... random: crng init done no checking for riscv64-redhat-linux-gnu-pgf77... no checking for riscv64-redhat-linux-gnu-cf77... no checking for riscv64-redhat-linux-gnu-fort77... no checking for riscv64-redhat-linux-gnu-fl32... no checking for riscv64-redhat-linux-gnu-af77... no checking for riscv64-redhat-linux-gnu-xlf90... no checking for riscv64-redhat-linux-gnu-f90... no checking for riscv64-redhat-linux-gnu-pgf90... no checking for riscv64-redhat-linux-gnu-pghpf... no checking for riscv64-redhat-linux-gnu-epcf90... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for riscv64-redhat-linux-gnu-g95... no checking for riscv64-redhat-linux-gnu-xlf95... no checking for riscv64-redhat-linux-gnu-f95... no checking for riscv64-redhat-linux-gnu-fort... no checking for riscv64-redhat-linux-gnu-ifort... no checking for riscv64-redhat-linux-gnu-ifc... no checking for riscv64-redhat-linux-gnu-efc... no checking for riscv64-redhat-linux-gnu-pgf95... no checking for riscv64-redhat-linux-gnu-lf95... no checking for riscv64-redhat-linux-gnu-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for main in -lncurses... yes checking for readline in -lreadline... yes checking for pthread_create in -lpthread... yes checking for ANSI C header files... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for off_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for bzero... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for strerror... yes checking for strstr... yes checking for strtol... yes checking for gcry_cipher_open in -lgcrypt... yes checking fuse.h usability... yes checking fuse.h presence... yes checking for fuse.h... yes checking for fuse_main in -lfuse... yes checking for __gmpz_init in -lgmp... yes configure: creating ./config.status config.status: creating lib/Makefile config.status: creating fuse/Makefile config.status: creating cmdline/Makefile config.status: creating Makefile config.status: creating docs/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1' Making all in lib make[2]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-afp.lo `test -f 'afp.c' || echo './'`afp.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-codepage.lo `test -f 'codepage.c' || echo './'`codepage.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-did.lo `test -f 'did.c' || echo './'`did.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-dsi.lo `test -f 'dsi.c' || echo './'`dsi.c mkdir .libs mkdir .libs mkdir: cannot create directory '.libs': File exists gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 did.c -fPIC -DPIC -o .libs/libafpclient_la-did.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 dsi.c -fPIC -DPIC -o .libs/libafpclient_la-dsi.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 afp.c -fPIC -DPIC -o .libs/libafpclient_la-afp.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 codepage.c -fPIC -DPIC -o .libs/libafpclient_la-codepage.o codepage.c: In function 'convert_path_to_afp': codepage.c:63:16: warning: variable 'namelen' set but not used [-Wunused-but-set-variable] unsigned char namelen; ^~~~~~~ did.c: In function 'get_dirid': did.c:174:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ afp.c: In function 'afp_unmount_volume': afp.c:245:16: warning: variable 'emergency' set but not used [-Wunused-but-set-variable] unsigned char emergency=0; ^~~~~~~~~ dsi.c: In function 'dsi_getstatus_reply': dsi.c:527:3: warning: implicit declaration of function 'convert_utf8dec_to_utf8pre' [-Wimplicit-function-declaration] convert_utf8dec_to_utf8pre(server->server_name_utf8, ^~~~~~~~~~~~~~~~~~~~~~~~~~ dsi.c: In function 'dsi_find_request': dsi.c:627:26: warning: variable 'prev' set but not used [-Wunused-but-set-variable] struct dsi_request *p, *prev=NULL; ^~~~ dsi.c: In function 'dsi_recv': dsi.c:646:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^~ At top level: dsi.c:103:12: warning: 'check_incoming_dsi_message' defined but not used [-Wunused-function] static int check_incoming_dsi_message(struct afp_server * server, void * data, int size) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-map_def.lo `test -f 'map_def.c' || echo './'`map_def.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-uams.lo `test -f 'uams.c' || echo './'`uams.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-uams_def.lo `test -f 'uams_def.c' || echo './'`uams_def.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-unicode.lo `test -f 'unicode.c' || echo './'`unicode.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 map_def.c -fPIC -DPIC -o .libs/libafpclient_la-map_def.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 uams.c -fPIC -DPIC -o .libs/libafpclient_la-uams.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-users.lo `test -f 'users.c' || echo './'`users.c uams.c:53:3: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] &cleartxt_passwd,NULL}; ^ uams.c:53:3: note: (near initialization for 'uam_cleartxt.do_server_passwd') uams.c: In function 'dhx_login': uams.c:589:34: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] gcry_mpi_print(GCRYMPI_FMT_USG, d, Ma_len, &len, Ma); ^ In file included from uams.c:18:0: /usr/include/gcrypt.h:624:14: note: expected 'unsigned char *' but argument is of type 'char *' gcry_error_t gcry_mpi_print (enum gcry_mpi_format format, ^~~~~~~~~~~~~~ uams.c:681:34: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] gcry_mpi_print(GCRYMPI_FMT_USG, d, nonce_len, &len, new_nonce); ^ In file included from uams.c:18:0: /usr/include/gcrypt.h:624:14: note: expected 'unsigned char *' but argument is of type 'char *' gcry_error_t gcry_mpi_print (enum gcry_mpi_format format, ^~~~~~~~~~~~~~ uams.c: In function 'dhx2_login': uams.c:822:34: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] gcry_mpi_print(GCRYMPI_FMT_USG, K_binary, bignum_len, &len, K); ^~~~~~~~ In file included from uams.c:18:0: /usr/include/gcrypt.h:624:14: note: expected 'unsigned char *' but argument is of type 'char *' gcry_error_t gcry_mpi_print (enum gcry_mpi_format format, ^~~~~~~~~~~~~~ uams.c:864:34: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] gcry_mpi_print(GCRYMPI_FMT_USG, d, bignum_len, &len, Ma); ^ In file included from uams.c:18:0: /usr/include/gcrypt.h:624:14: note: expected 'unsigned char *' but argument is of type 'char *' gcry_error_t gcry_mpi_print (enum gcry_mpi_format format, ^~~~~~~~~~~~~~ uams.c:912:34: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] gcry_mpi_print(GCRYMPI_FMT_USG, nonce_binary, sizeof(nonce_binary), &len, ^~~~~~~~~~~~ In file included from uams.c:18:0: /usr/include/gcrypt.h:624:14: note: expected 'unsigned char *' but argument is of type 'char *' gcry_error_t gcry_mpi_print (enum gcry_mpi_format format, ^~~~~~~~~~~~~~ uams.c:947:34: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] gcry_mpi_print(GCRYMPI_FMT_USG, d, sizeof(nonce_binary), &len, new_nonce); ^ In file included from uams.c:18:0: /usr/include/gcrypt.h:624:14: note: expected 'unsigned char *' but argument is of type 'char *' gcry_error_t gcry_mpi_print (enum gcry_mpi_format format, ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 uams_def.c -fPIC -DPIC -o .libs/libafpclient_la-uams_def.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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.c -fPIC -DPIC -o .libs/libafpclient_la-unicode.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-utils.lo `test -f 'utils.c' || echo './'`utils.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 users.c -fPIC -DPIC -o .libs/libafpclient_la-users.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-resource.lo `test -f 'resource.c' || echo './'`resource.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-log.lo `test -f 'log.c' || echo './'`log.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-client.lo `test -f 'client.c' || echo './'`client.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 utils.c -fPIC -DPIC -o .libs/libafpclient_la-utils.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 resource.c -fPIC -DPIC -o .libs/libafpclient_la-resource.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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.c -fPIC -DPIC -o .libs/libafpclient_la-log.o utils.c: In function 'copy_path': utils.c:156:24: warning: variable 'header_len' set but not used [-Wunused-but-set-variable] unsigned char offset, header_len, namelen; ^~~~~~~~~~ utils.c: In function 'unixpath_to_afppath': utils.c:61:7: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] end=p+len; ~^~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-server.lo `test -f 'server.c' || echo './'`server.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-connect.lo `test -f 'connect.c' || echo './'`connect.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 client.c -fPIC -DPIC -o .libs/libafpclient_la-client.o resource.c: In function 'appledouble_write': resource.c:214:15: warning: unused variable 'did' [-Wunused-variable] unsigned int did; ^~~ resource.c: In function 'appledouble_truncate': resource.c:357:38: warning: pointer targets in passing argument 4 of 'get_dirid' differ in signedness [-Wpointer-sign] get_dirid(volume,newpath,basename,&dirid); ^ In file included from resource.c:9:0: did.h:8:5: note: expected 'unsigned int *' but argument is of type 'int *' int get_dirid(struct afp_volume * volume, const char * path, ^~~~~~~~~ resource.c:365:5: warning: implicit declaration of function 'remove_opened_fork'; did you mean 'remove_did_entry'? [-Wimplicit-function-declaration] remove_opened_fork(volume,fp); ^~~~~~~~~~~~~~~~~~ remove_did_entry resource.c: In function 'add_fp': resource.c:527:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ resource.c: In function 'appledouble_readdir': resource.c:542:6: warning: unused variable 'newfp' [-Wunused-variable] *newfp=NULL, *newchain=NULL, *last=NULL; ^~~~~ resource.c:541:31: warning: unused variable 'prev' [-Wunused-variable] struct afp_file_info *fp, *prev=NULL, ^~~~ resource.c: In function 'appledouble_read': resource.c:331:11: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret; ^~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-loop.lo `test -f 'loop.c' || echo './'`loop.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 server.c -fPIC -DPIC -o .libs/libafpclient_la-server.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-midlevel.lo `test -f 'midlevel.c' || echo './'`midlevel.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 connect.c -fPIC -DPIC -o .libs/libafpclient_la-connect.o server.c: In function 'afp_server_complete_connection': server.c:75:3: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] gettimeofday(&tv,NULL); ^~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-proto_attr.lo `test -f 'proto_attr.c' || echo './'`proto_attr.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 loop.c -fPIC -DPIC -o .libs/libafpclient_la-loop.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-proto_desktop.lo `test -f 'proto_desktop.c' || echo './'`proto_desktop.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 midlevel.c -fPIC -DPIC -o .libs/libafpclient_la-midlevel.o loop.c: In function 'just_end_it_now': loop.c:90:14: warning: 'return' with no value, in function returning non-void if (ending) return; ^~~~~~ loop.c:88:8: note: declared here void * just_end_it_now(void * ignore) ^~~~~~~~~~~~~~~ loop.c: In function 'afp_main_loop': loop.c:268:1: warning: label 'error' defined but not used [-Wunused-label] error: ^~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 proto_attr.c -fPIC -DPIC -o .libs/libafpclient_la-proto_attr.o midlevel.c: In function 'set_unixprivs': midlevel.c:81:6: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if (!vol->extra_flags & VOLUME_EXTRA_FLAGS_VOL_SUPPORTS_UNIX) ^~~~~~~~~~~~~~~~~ midlevel.c: In function 'ml_open': midlevel.c:223:16: warning: unused variable 'aflags' [-Wunused-variable] unsigned char aflags = AFP_OPENFORK_ALLOWREAD; ^~~~~~ midlevel.c:220:7: warning: unused variable 'resource' [-Wunused-variable] char resource=0; ^~~~~~~~ midlevel.c:219:6: warning: unused variable 'create_file' [-Wunused-variable] int create_file=0; ^~~~~~~~~~~ midlevel.c:218:19: warning: unused variable 'rc' [-Wunused-variable] int ret, dsi_ret,rc; ^~ midlevel.c:218:11: warning: unused variable 'dsi_ret' [-Wunused-variable] int ret, dsi_ret,rc; ^~~~~~~ midlevel.c: In function 'ml_creat': midlevel.c:271:7: warning: unused variable 'resource' [-Wunused-variable] char resource; ^~~~~~~~ midlevel.c: In function 'ml_read': midlevel.c:402:23: warning: unused variable 'buffer' [-Wunused-variable] struct afp_rx_buffer buffer; ^~~~~~ midlevel.c:400:15: warning: unused variable 'bufsize' [-Wunused-variable] unsigned int bufsize=min(volume->server->rx_quantum,size); ^~~~~~~ midlevel.c:399:6: warning: unused variable 'rc' [-Wunused-variable] int rc; ^~ midlevel.c:397:6: warning: unused variable 'totalsize' [-Wunused-variable] int totalsize=0; ^~~~~~~~~ midlevel.c:396:6: warning: unused variable 'bytesleft' [-Wunused-variable] int bytesleft=size; ^~~~~~~~~ midlevel.c: In function 'ml_write': midlevel.c:735:6: warning: implicit declaration of function 'appledouble_write'; did you mean 'appledouble_utime'? [-Wimplicit-function-declaration] ret=appledouble_write(volume,fp,data,size,offset,&totalwritten); ^~~~~~~~~~~~~~~~~ appledouble_utime midlevel.c:720:8: warning: unused variable 'o' [-Wunused-variable] off_t o=0; ^ midlevel.c:719:15: warning: unused variable 'max_packet_size' [-Wunused-variable] unsigned int max_packet_size=volume->server->tx_quantum; ^~~~~~~~~~~~~~~ midlevel.c:717:24: warning: unused variable 'ignored' [-Wunused-variable] uint64_t sizetowrite, ignored; ^~~~~~~ midlevel.c:717:11: warning: unused variable 'sizetowrite' [-Wunused-variable] uint64_t sizetowrite, ignored; ^~~~~~~~~~~ midlevel.c:715:10: warning: unused variable 'err' [-Wunused-variable] int ret,err=0; ^~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-proto_directory.lo `test -f 'proto_directory.c' || echo './'`proto_directory.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 proto_desktop.c -fPIC -DPIC -o .libs/libafpclient_la-proto_desktop.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-proto_files.lo `test -f 'proto_files.c' || echo './'`proto_files.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 proto_directory.c -fPIC -DPIC -o .libs/libafpclient_la-proto_directory.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-proto_fork.lo `test -f 'proto_fork.c' || echo './'`proto_fork.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-proto_login.lo `test -f 'proto_login.c' || echo './'`proto_login.c proto_directory.c: In function 'afp_enumerateext2_reply': proto_directory.c:296:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] entry = p; ^ proto_directory.c:269:9: warning: unused variable 'max' [-Wunused-variable] char *max=buf+size; ^~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 proto_files.c -fPIC -DPIC -o .libs/libafpclient_la-proto_files.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 proto_fork.c -fPIC -DPIC -o .libs/libafpclient_la-proto_fork.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-proto_map.lo `test -f 'proto_map.c' || echo './'`proto_map.c proto_files.c: In function 'afp_getfiledirparms_reply': proto_files.c:299:2: warning: implicit declaration of function 'parse_reply_block' [-Wimplicit-function-declaration] parse_reply_block(server, ^~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 proto_login.c -fPIC -DPIC -o .libs/libafpclient_la-proto_login.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-proto_replyblock.lo `test -f 'proto_replyblock.c' || echo './'`proto_replyblock.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-proto_server.lo `test -f 'proto_server.c' || echo './'`proto_server.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 proto_map.c -fPIC -DPIC -o .libs/libafpclient_la-proto_map.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-proto_volume.lo `test -f 'proto_volume.c' || echo './'`proto_volume.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 proto_replyblock.c -fPIC -DPIC -o .libs/libafpclient_la-proto_replyblock.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 proto_server.c -fPIC -DPIC -o .libs/libafpclient_la-proto_server.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-proto_session.lo `test -f 'proto_session.c' || echo './'`proto_session.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 proto_volume.c -fPIC -DPIC -o .libs/libafpclient_la-proto_volume.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-afp_url.lo `test -f 'afp_url.c' || echo './'`afp_url.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-status.lo `test -f 'status.c' || echo './'`status.c proto_volume.c: In function 'parse_volbitmap_reply': proto_volume.c:24:17: warning: variable 'name_offset' set but not used [-Wunused-but-set-variable] unsigned short name_offset = 0; ^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 proto_session.c -fPIC -DPIC -o .libs/libafpclient_la-proto_session.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-forklist.lo `test -f 'forklist.c' || echo './'`forklist.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 afp_url.c -fPIC -DPIC -o .libs/libafpclient_la-afp_url.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 status.c -fPIC -DPIC -o .libs/libafpclient_la-status.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-debug.lo `test -f 'debug.c' || echo './'`debug.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 forklist.c -fPIC -DPIC -o .libs/libafpclient_la-forklist.o status.c: In function 'print_volume_status': status.c:38:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'uint64_t {aka long unsigned int}' [-Wformat=] " did cache stats: %llu miss, %llu hit, %llu expired, %llu force removal\n uid/gid mapping: %s (%d/%d)\n", ~~~^ %lu v->did_cache_stats.misses, v->did_cache_stats.hits, ~~~~~~~~~~~~~~~~~~~~~~~~~ status.c:38:43: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'uint64_t {aka long unsigned int}' [-Wformat=] " did cache stats: %llu miss, %llu hit, %llu expired, %llu force removal\n uid/gid mapping: %s (%d/%d)\n", ~~~^ %lu v->did_cache_stats.misses, v->did_cache_stats.hits, ~~~~~~~~~~~~~~~~~~~~~~~ status.c:38:53: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'uint64_t {aka long unsigned int}' [-Wformat=] " did cache stats: %llu miss, %llu hit, %llu expired, %llu force removal\n uid/gid mapping: %s (%d/%d)\n", ~~~^ %lu status.c:40:3: v->did_cache_stats.expired, ~~~~~~~~~~~~~~~~~~~~~~~~~~ status.c:38:67: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'uint64_t {aka long unsigned int}' [-Wformat=] " did cache stats: %llu miss, %llu hit, %llu expired, %llu force removal\n uid/gid mapping: %s (%d/%d)\n", ~~~^ %lu status.c:41:3: v->did_cache_stats.force_removed, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ status.c: In function 'afp_status_server': status.c:127:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'uint64_t {aka long unsigned int}' [-Wformat=] "\n" ^~~~ status.c:135:19: s->lastrequestid,s->stats.requests_pending); ~~~~~~~~~~~~~~~~~~~~~~~~~ status.c:131:41: note: format string is defined here " last request id: %d in queue: %llu\n", ~~~^ %lu status.c:144:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'uint64_t {aka long unsigned int}' [-Wformat=] " transfer: %llu(rx) %llu(tx)\n" ~~~^ %lu status.c:146:2: s->stats.rx_bytes,s->stats.tx_bytes, ~~~~~~~~~~~~~~~~~ status.c:144:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'uint64_t {aka long unsigned int}' [-Wformat=] " transfer: %llu(rx) %llu(tx)\n" ~~~^ %lu status.c:146:20: s->stats.rx_bytes,s->stats.tx_bytes, ~~~~~~~~~~~~~~~~~ status.c:144:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'uint64_t {aka long unsigned int}' [-Wformat=] " transfer: %llu(rx) %llu(tx)\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ status.c:147:2: s->stats.runt_packets); ~~~~~~~~~~~~~~~~~~~~~ status.c:145:25: note: format string is defined here " runt packets: %llu\n", ~~~^ %lu /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 -o libafpclient_la-lowlevel.lo `test -f 'lowlevel.c' || echo './'`lowlevel.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 debug.c -fPIC -DPIC -o .libs/libafpclient_la-debug.o debug.c: In function 'afp_get_command_name': debug.c:62:33: warning: array subscript has type 'char' [-Wchar-subscripts] return afp_command_names[code]; ^ gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -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 -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 lowlevel.c -fPIC -DPIC -o .libs/libafpclient_la-lowlevel.o lowlevel.c: In function 'll_open': lowlevel.c:214:11: warning: overflow in implicit constant conversion [-Woverflow] fp->sync=(flags & (O_SYNC | O_DIRECT)); ^ lowlevel.c:280:5: warning: implicit declaration of function 'ml_creat'; did you mean 'mkdirat'? [-Wimplicit-function-declaration] (ml_creat(volume,path,0644)==0)) { ^~~~~~~~ mkdirat lowlevel.c:314:2: warning: implicit declaration of function 'add_opened_fork'; did you mean 'afp_openfork'? [-Wimplicit-function-declaration] add_opened_fork(volume, fp); ^~~~~~~~~~~~~~~ afp_openfork lowlevel.c:325:1: warning: label 'out' defined but not used [-Wunused-label] out: ^~~ lowlevel.c:186:7: warning: unused variable 'converted_path' [-Wunused-variable] char converted_path[AFP_MAX_PATH]; ^~~~~~~~~~~~~~ lowlevel.c:184:19: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int ret, dsi_ret,rc; ^~ lowlevel.c: In function 'll_read': lowlevel.c:343:9: warning: unused variable 'amount_copied' [-Wunused-variable] size_t amount_copied; ^~~~~~~~~~~~~ lowlevel.c: In function 'll_write': lowlevel.c:636:16: warning: unused variable 'flags' [-Wunused-variable] unsigned char flags = 0; ^~~~~ lowlevel.c: In function 'll_readdir': lowlevel.c:465:19: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized] else last->next=base; ~~~~~~~~~~^~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -D_FILE_OFFSET_BITS=64 -I../include -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 -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 libafpclient.la -rpath /usr/lib64 libafpclient_la-afp.lo libafpclient_la-codepage.lo libafpclient_la-did.lo libafpclient_la-dsi.lo libafpclient_la-map_def.lo libafpclient_la-uams.lo libafpclient_la-uams_def.lo libafpclient_la-unicode.lo libafpclient_la-users.lo libafpclient_la-utils.lo libafpclient_la-resource.lo libafpclient_la-log.lo libafpclient_la-client.lo libafpclient_la-server.lo libafpclient_la-connect.lo libafpclient_la-loop.lo libafpclient_la-midlevel.lo libafpclient_la-proto_attr.lo libafpclient_la-proto_desktop.lo libafpclient_la-proto_directory.lo libafpclient_la-proto_files.lo libafpclient_la-proto_fork.lo libafpclient_la-proto_login.lo libafpclient_la-proto_map.lo libafpclient_la-proto_replyblock.lo libafpclient_la-proto_server.lo libafpclient_la-proto_volume.lo libafpclient_la-proto_session.lo libafpclient_la-afp_url.lo libafpclient_la-status.lo libafpclient_la-forklist.lo libafpclient_la-debug.lo libafpclient_la-lowlevel.lo -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses gcc -shared .libs/libafpclient_la-afp.o .libs/libafpclient_la-codepage.o .libs/libafpclient_la-did.o .libs/libafpclient_la-dsi.o .libs/libafpclient_la-map_def.o .libs/libafpclient_la-uams.o .libs/libafpclient_la-uams_def.o .libs/libafpclient_la-unicode.o .libs/libafpclient_la-users.o .libs/libafpclient_la-utils.o .libs/libafpclient_la-resource.o .libs/libafpclient_la-log.o .libs/libafpclient_la-client.o .libs/libafpclient_la-server.o .libs/libafpclient_la-connect.o .libs/libafpclient_la-loop.o .libs/libafpclient_la-midlevel.o .libs/libafpclient_la-proto_attr.o .libs/libafpclient_la-proto_desktop.o .libs/libafpclient_la-proto_directory.o .libs/libafpclient_la-proto_files.o .libs/libafpclient_la-proto_fork.o .libs/libafpclient_la-proto_login.o .libs/libafpclient_la-proto_map.o .libs/libafpclient_la-proto_replyblock.o .libs/libafpclient_la-proto_server.o .libs/libafpclient_la-proto_volume.o .libs/libafpclient_la-proto_session.o .libs/libafpclient_la-afp_url.o .libs/libafpclient_la-status.o .libs/libafpclient_la-forklist.o .libs/libafpclient_la-debug.o .libs/libafpclient_la-lowlevel.o -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,-soname -Wl,libafpclient.so.0 -o .libs/libafpclient.so.0.0.0 (cd .libs && rm -f libafpclient.so.0 && ln -s libafpclient.so.0.0.0 libafpclient.so.0) (cd .libs && rm -f libafpclient.so && ln -s libafpclient.so.0.0.0 libafpclient.so) creating libafpclient.la (cd .libs && rm -f libafpclient.la && ln -s ../libafpclient.la libafpclient.la) make[2]: Leaving directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/lib' Making all in fuse make[2]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/fuse' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -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 -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 -o afpfsd-commands.o `test -f 'commands.c' || echo './'`commands.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -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 -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 -o afpfsd-daemon.o `test -f 'daemon.c' || echo './'`daemon.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -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 -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 -o afpfsd-fuse_int.o `test -f 'fuse_int.c' || echo './'`fuse_int.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -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 -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 -o afpfsd-fuse_error.o `test -f 'fuse_error.c' || echo './'`fuse_error.c fuse_error.c: In function 'fuse_capture_stderr_start': fuse_error.c:44:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen(TMP_FILE, "a", stderr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -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 -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 -o mount_afp-client.o `test -f 'client.c' || echo './'`client.c commands.c: In function 'process_mount': commands.c:479:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ daemon.c: In function 'fuse_unmount_volume': daemon.c:70:3: warning: implicit declaration of function 'fuse_exit'; did you mean '_exit'? [-Wimplicit-function-declaration] fuse_exit((struct fuse *)volume->priv); ^~~~~~~~~ _exit commands.c: In function 'start_fuse_thread': commands.c:202:40: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 68 [-Wformat-truncation=] snprintf(mountstring,mountstring_len,"%s:%s", ^~ In file included from /usr/include/stdio.h:862:0, from commands.c:8: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 288 bytes into a destination of size 68 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client.c: In function 'start_afpfsd': client.c:80:6: warning: implicit declaration of function 'basename'; did you mean 'rename'? [-Wimplicit-function-declaration] basename(thisbin),AFPFSD_FILENAME); ^~~~~~~~ rename client.c:79:33: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] snprintf(newpath,PATH_MAX,"%s/%s", ~^ %d basename(thisbin),AFPFSD_FILENAME); ~~~~~~~~~~~~~~~~~ client.c: In function 'main': client.c:560:20: warning: variable 'volume' set but not used [-Wunused-but-set-variable] struct afp_volume volume; ^~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -I../include -D_FILE_OFFSET_BITS=64 -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 -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-dynamic -lfuse -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o afpfsd afpfsd-commands.o afpfsd-daemon.o afpfsd-fuse_int.o afpfsd-fuse_error.o ../lib/libafpclient.la -lfuse -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses /bin/sh ../libtool --tag=CC --mode=link gcc -I../include -D_FILE_OFFSET_BITS=64 -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 -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 mount_afp mount_afp-client.o ../lib/libafpclient.la -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses mkdir .libs gcc -I../include -D_FILE_OFFSET_BITS=64 -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 -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 -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/afpfsd afpfsd-commands.o afpfsd-daemon.o afpfsd-fuse_int.o afpfsd-fuse_error.o -Wl,--export-dynamic ../lib/.libs/libafpclient.so -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses -Wl,--rpath -Wl,/usr/lib64 creating afpfsd gcc -I../include -D_FILE_OFFSET_BITS=64 -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 -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 -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/mount_afp mount_afp-client.o ../lib/.libs/libafpclient.so -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses -Wl,--rpath -Wl,/usr/lib64 creating mount_afp make[2]: Leaving directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/fuse' Making all in cmdline make[2]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/cmdline' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -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 -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 -o afpcmd-cmdline_afp.o `test -f 'cmdline_afp.c' || echo './'`cmdline_afp.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -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 -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 -o afpcmd-cmdline_main.o `test -f 'cmdline_main.c' || echo './'`cmdline_main.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -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 -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 -o afpcmd-cmdline_testafp.o `test -f 'cmdline_testafp.c' || echo './'`cmdline_testafp.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -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 -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 -o afpgetstatus-getstatus.o `test -f 'getstatus.c' || echo './'`getstatus.c cmdline_testafp.c:17:7: warning: anonymous enum declared inside parameter list will not be visible outside of this definition or declaration enum {TCPIP,AT} protocol, ^ cmdline_testafp.c: In function 'test_one_url': cmdline_testafp.c:34:29: warning: passing argument 2 of 'snprintf' makes integer from pointer without a cast [-Wint-conversion] snprintf(valid_url.uamname,(valid_url.uamname),"%s",uamname); ^ In file included from /usr/include/features.h:428:0, from /usr/include/arpa/inet.h:21, from ../include/afp.h:5, from cmdline_testafp.c:6: /usr/include/bits/stdio2.h:61:1: note: expected 'size_t {aka long unsigned int}' but argument is of type 'char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ getstatus.c: In function 'getstatus': getstatus.c:59:1: warning: label 'out' defined but not used [-Wunused-label] out: ^~~ getstatus.c:15:9: warning: variable 'firsttime' set but not used [-Wunused-but-set-variable] int j, firsttime=0; ^~~~~~~~~ getstatus.c:12:25: warning: unused variable 'h' [-Wunused-variable] struct hostent *h; ^ getstatus.c: In function 'main': getstatus.c:74:12: warning: unused variable 'loop_thread' [-Wunused-variable] pthread_t loop_thread; ^~~~~~~~~~~ cmdline_main.c:181:12: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] { "test",test_urls,"URL parsing test",1}, ^~~~~~~~~ cmdline_main.c:181:12: note: (near initialization for 'commands[27].func') cmdline_main.c: In function 'main': cmdline_main.c:416:2: warning: implicit declaration of function 'cmdline_afp_setup_client'; did you mean 'cmdline_afp_setup'? [-Wimplicit-function-declaration] cmdline_afp_setup_client(); ^~~~~~~~~~~~~~~~~~~~~~~~ cmdline_afp_setup cmdline_main.c:418:2: warning: implicit declaration of function 'afp_main_quick_startup' [-Wimplicit-function-declaration] afp_main_quick_startup(NULL); ^~~~~~~~~~~~~~~~~~~~~~ At top level: cmdline_main.c:89:15: warning: 'remote_generator' defined but not used [-Wunused-function] static char * remote_generator (const char *text, int state) ^~~~~~~~~~~~~~~~ cmdline_afp.c: In function 'print_file_details': cmdline_afp.c:144:11: warning: variable 't2' set but not used [-Wunused-but-set-variable] time_t t,t2; ^~ cmdline_afp.c: In function 'com_touch': cmdline_afp.c:377:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ cmdline_afp.c: In function 'com_chmod': cmdline_afp.c:420:20: warning: format '%s' expects a matching 'char *' argument [-Wformat=] printf("Mode of %s isn't octal\n"); ~^ cmdline_afp.c:407:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ /bin/sh ../libtool --tag=CC --mode=link gcc -I../include -D_FILE_OFFSET_BITS=64 -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 -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 afpgetstatus afpgetstatus-getstatus.o ../lib/libafpclient.la -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses cmdline_afp.c: In function 'cmdline_server_startup': cmdline_afp.c:1150:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ cmdline_afp.c: In function 'get_dir': cmdline_afp.c:1083:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(path); ^~~~~~~~~~~ cmdline_afp.c:1102:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(".."); ^~~~~~~~~~~ cmdline_afp.c:1106:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(".."); ^~~~~~~~~~~ cmdline_afp.c: In function 'com_get_file': cmdline_afp.c:640:2: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(localfilename,stat.st_uid,stat.st_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdline_afp.c: In function 'com_lcd': cmdline_afp.c:934:3: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(curpath,PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~ cmdline_afp.c: In function 'com_lpwd': cmdline_afp.c:1049:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(dir,255); ^~~~~~~~~~~~~~~ mkdir .libs gcc -I../include -D_FILE_OFFSET_BITS=64 -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 -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 -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/afpgetstatus afpgetstatus-getstatus.o ../lib/.libs/libafpclient.so -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses -Wl,--rpath -Wl,/usr/lib64 creating afpgetstatus /bin/sh ../libtool --tag=CC --mode=link gcc -I../include -D_FILE_OFFSET_BITS=64 -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 -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 afpcmd afpcmd-cmdline_afp.o afpcmd-cmdline_main.o afpcmd-cmdline_testafp.o -lreadline -lncurses ../lib/libafpclient.la -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses gcc -I../include -D_FILE_OFFSET_BITS=64 -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 -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 -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/afpcmd afpcmd-cmdline_afp.o afpcmd-cmdline_main.o afpcmd-cmdline_testafp.o ../lib/.libs/libafpclient.so -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses -Wl,--rpath -Wl,/usr/lib64 creating afpcmd make[2]: Leaving directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/cmdline' Making all in docs make[2]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/docs' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/docs' make[2]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1' make[2]: Leaving directory '/rpmbuild/BUILD/afpfs-ng-0.8.1' make[1]: Leaving directory '/rpmbuild/BUILD/afpfs-ng-0.8.1' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Ve34oL + umask 022 + cd /rpmbuild/BUILD + '[' /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64 '!=' / ']' + rm -rf /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64 ++ dirname /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64 + mkdir -p /rpmbuild/BUILDROOT + mkdir /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64 + cd afpfs-ng-0.8.1 + make install DESTDIR=/rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64 Making install in lib make[1]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/lib' test -z "/usr/lib64" || /usr/bin/mkdir -p "/rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/lib64" /bin/sh ../libtool --mode=install /usr/bin/install -c 'libafpclient.la' '/rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/lib64/libafpclient.la' /usr/bin/install -c .libs/libafpclient.so.0.0.0 /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/lib64/libafpclient.so.0.0.0 (cd /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/lib64 && { ln -s -f libafpclient.so.0.0.0 libafpclient.so.0 || { rm -f libafpclient.so.0 && ln -s libafpclient.so.0.0.0 libafpclient.so.0; }; }) (cd /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/lib64 && { ln -s -f libafpclient.so.0.0.0 libafpclient.so || { rm -f libafpclient.so && ln -s libafpclient.so.0.0.0 libafpclient.so; }; }) /usr/bin/install -c .libs/libafpclient.lai /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/lib64/libafpclient.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/lib' make[1]: Leaving directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/lib' Making install in fuse make[1]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/fuse' make[2]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/fuse' test -z "/usr/bin" || /usr/bin/mkdir -p "/rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'afpfsd' '/rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/bin/afpfsd' libtool: install: warning: `../lib/libafpclient.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/afpfsd /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/bin/afpfsd /bin/sh ../libtool --mode=install /usr/bin/install -c 'mount_afp' '/rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/bin/mount_afp' libtool: install: warning: `../lib/libafpclient.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/mount_afp /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/bin/mount_afp make install-exec-hook make[3]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/fuse' rm -f /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/bin/afp_client ln -s mount_afp /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/bin/afp_client cp afpfs /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/bin/afpfs make[3]: Leaving directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/fuse' make install-data-hook make[3]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/fuse' mkdir -p /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64//usr/share/man/man1 cp mount_afp.1 /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64//usr/share/man/man1 cp afpfsd.1 /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64//usr/share/man/man1 cp afp_client.1 /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64//usr/share/man/man1 make[3]: Leaving directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/fuse' make[2]: Leaving directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/fuse' make[1]: Leaving directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/fuse' Making install in cmdline make[1]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/cmdline' make[2]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/cmdline' test -z "/usr/bin" || /usr/bin/mkdir -p "/rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'afpcmd' '/rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/bin/afpcmd' libtool: install: warning: `../lib/libafpclient.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/afpcmd /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/bin/afpcmd /bin/sh ../libtool --mode=install /usr/bin/install -c 'afpgetstatus' '/rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/bin/afpgetstatus' libtool: install: warning: `../lib/libafpclient.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/afpgetstatus /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/bin/afpgetstatus make install-data-hook make[3]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/cmdline' mkdir -p /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64//usr/share/man/man1 cp afpcmd.1 /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/share/man/man1 cp afpgetstatus.1 /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/share/man/man1 make[3]: Leaving directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/cmdline' make[2]: Leaving directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/cmdline' make[1]: Leaving directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/cmdline' Making install in docs make[1]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/docs' make[2]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/docs' 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/afpfs-ng-0.8.1/docs' make[1]: Leaving directory '/rpmbuild/BUILD/afpfs-ng-0.8.1/docs' make[1]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1' make[2]: Entering directory '/rpmbuild/BUILD/afpfs-ng-0.8.1' 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/afpfs-ng-0.8.1' make[1]: Leaving directory '/rpmbuild/BUILD/afpfs-ng-0.8.1' + install -d /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/include/afpfs-ng + cp -p include/afp.h include/afp.h.pointer include/afp_protocol.h include/codepage.h include/dsi.h include/libafpclient.h include/map_def.h include/midlevel.h include/uams_def.h include/utils.h include/utils.h.pointer /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/include/afpfs-ng + /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 *** WARNING: ./usr/lib64/libafpclient.la is executable but has empty or no shebang, removing executable bit Processing files: afpfs-ng-0.8.1-20.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DtMTSN + umask 022 + cd /rpmbuild/BUILD + cd afpfs-ng-0.8.1 + DOCDIR=/rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/share/doc/afpfs-ng + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/share/doc/afpfs-ng + cp -pr COPYING /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/share/doc/afpfs-ng + cp -pr AUTHORS /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/share/doc/afpfs-ng + cp -pr ChangeLog /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/share/doc/afpfs-ng + cp -pr docs/README /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/share/doc/afpfs-ng + cp -pr docs/performance /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/share/doc/afpfs-ng + cp -pr docs/FEATURES.txt /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/share/doc/afpfs-ng + cp -pr docs/REPORTING-BUGS.txt /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/share/doc/afpfs-ng + exit 0 Provides: afpfs-ng = 0.8.1-20.fc28 afpfs-ng(riscv-64) = 0.8.1-20.fc28 libafpclient.so.0()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libafpclient.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libfuse.so.2()(64bit) libgcrypt.so.20()(64bit) libgcrypt.so.20(GCRYPT_1.6)(64bit) libgmp.so.10()(64bit) libncurses.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libreadline.so.7()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: fuse-afp-0.8.1-20.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UlUjAp + umask 022 + cd /rpmbuild/BUILD + cd afpfs-ng-0.8.1 + DOCDIR=/rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/share/doc/fuse-afp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/share/doc/fuse-afp + cp -pr COPYING /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/share/doc/fuse-afp + cp -pr AUTHORS /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/share/doc/fuse-afp + cp -pr ChangeLog /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64/usr/share/doc/fuse-afp + exit 0 Provides: fuse-afp = 0.8.1-20.fc28 fuse-afp(riscv-64) = 0.8.1-20.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libafpclient.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libfuse.so.2()(64bit) libfuse.so.2(FUSE_2.2)(64bit) libfuse.so.2(FUSE_2.6)(64bit) libfuse.so.2(FUSE_2.8)(64bit) libgcrypt.so.20()(64bit) libgmp.so.10()(64bit) libncurses.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libreadline.so.7()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: afpfs-ng-devel-0.8.1-20.fc28.riscv64 Provides: afpfs-ng-devel = 0.8.1-20.fc28 afpfs-ng-devel(riscv-64) = 0.8.1-20.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libafpclient.so.0()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64 warning: Could not canonicalize hostname: stage4-builder Wrote: /rpmbuild/RPMS/riscv64/afpfs-ng-0.8.1-20.fc28.riscv64.rpm Wrote: /rpmbuild/RPMS/riscv64/fuse-afp-0.8.1-20.fc28.riscv64.rpm Wrote: /rpmbuild/RPMS/riscv64/afpfs-ng-devel-0.8.1-20.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.iG5vZ2 + umask 022 + cd /rpmbuild/BUILD + cd afpfs-ng-0.8.1 + /usr/bin/rm -rf /rpmbuild/BUILDROOT/afpfs-ng-0.8.1-20.fc28.riscv64 + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.Qtbfo3 + umask 022 + cd /rpmbuild/BUILD + rm -rf afpfs-ng-0.8.1 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + mount.static -o remount,ro / + poweroff reboot: Power down Power off