OF: fdt: Ignoring memory range 0x80000000 - 0x80200000 Linux version 4.15.0-rc9-00064-gf923ce3a29af (rjones@trick.home.annexia.org) (gcc version 7.3.1 20180129 (GCC)) #1 SMP Thu Feb 15 10:59:13 GMT 2018 bootconsole [early0] enabled Initial ramdisk at: 0x (ptrval) (512 bytes) Zone ranges: DMA32 empty Normal [mem 0x0000000080200000-0x000000017fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000080200000-0x000000017fffffff] Initmem setup node 0 [mem 0x0000000080200000-0x000000017fffffff] elf_hwcap is 0x112d percpu: Embedded 15 pages/cpu @ (ptrval) s29592 r0 d31848 u61440 Built 1 zonelists, mobility grouping on. Total pages: 1033735 Kernel command line: console=ttyS0 ro root=/dev/vda init=/init Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) Sorting __ex_table... Memory: 4119648K/4192256K available (5849K kernel code, 340K rwdata, 1541K rodata, 200K init, 847K bss, 72608K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 Hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 riscv,cpu_intc,0: 64 local interrupts mapped riscv,cpu_intc,1: 64 local interrupts mapped riscv,cpu_intc,2: 64 local interrupts mapped riscv,cpu_intc,3: 64 local interrupts mapped ------------[ cut here ]------------ WARNING: CPU: 0 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.15.0-rc9-00064-gf923ce3a29af #1 Call Trace: [< (ptrval)>] walk_stackframe+0x0/0xa2 [< (ptrval)>] show_stack+0x26/0x34 [< (ptrval)>] dump_stack+0x5e/0x7c [< (ptrval)>] __warn+0xc6/0xdc [< (ptrval)>] warn_slowpath_null+0x2c/0x3e [< (ptrval)>] riscv_irq_enable+0x8e/0x94 [< (ptrval)>] irq_enable+0x3a/0x6a [< (ptrval)>] __irq_startup+0x80/0x88 [< (ptrval)>] irq_startup+0x4e/0xe2 [< (ptrval)>] irq_activate_and_startup+0x1c/0x28 [< (ptrval)>] __irq_do_set_handler+0x6e/0x134 [< (ptrval)>] irq_set_chained_handler_and_data+0x2c/0x4a [< (ptrval)>] plic_init+0x216/0x34a [< (ptrval)>] of_irq_init+0x132/0x232 [< (ptrval)>] irqchip_init+0x10/0x1c [< (ptrval)>] init_IRQ+0x8/0x14 [< (ptrval)>] start_kernel+0x1f6/0x32c [< (ptrval)>] _sinittext+0x4e/0x56 random: get_random_bytes called from print_oops_end_marker+0x3a/0x52 with crng_init=0 ---[ end trace 3f245499100bcdd5 ]--- riscv,plic0,c000000: mapped 10 interrupts to 4/8 handlers clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns smp: Brought up 1 node, 4 CPUs devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns futex hash table entries: 1024 (order: 4, 65536 bytes) NET: Registered protocol family 16 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb clocksource: Switched to clocksource riscv_clocksource NET: Registered protocol family 2 TCP established hash table entries: 32768 (order: 6, 262144 bytes) TCP bind hash table entries: 32768 (order: 7, 524288 bytes) TCP: Hash tables configured (established 32768 bind 32768) UDP hash table entries: 2048 (order: 4, 65536 bytes) UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Unpacking initramfs... Initialise system trusted keyrings workingset: timestamp_bits=62 max_order=20 bucket_order=0 NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... SGI XFS with ACLs, security attributes, no debug enabled random: fast init done NET: Registered protocol family 38 Key type asymmetric registered Asymmetric key parser 'x509' registered Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) io scheduler mq-deadline registered io scheduler kyber registered Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled console [ttyS0] disabled 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 13, base_baud = 230400) is a 16550A OF: fdt: Ignoring memory range 0x80000000 - 0x80200000 Linux version 4.15.0-rc9-00064-gf923ce3a29af (rjones@trick.home.annexia.org) (gcc version 7.3.1 20180129 (GCC)) #1 SMP Thu Feb 15 10:59:13 GMT 2018 bootconsole [early0] enabled Initial ramdisk at: 0x (ptrval) (512 bytes) Zone ranges: DMA32 empty Normal [mem 0x0000000080200000-0x000000017fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000080200000-0x000000017fffffff] Initmem setup node 0 [mem 0x0000000080200000-0x000000017fffffff] elf_hwcap is 0x112d percpu: Embedded 15 pages/cpu @ (ptrval) s29592 r0 d31848 u61440 Built 1 zonelists, mobility grouping on. Total pages: 1033735 Kernel command line: console=ttyS0 ro root=/dev/vda init=/init Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) Sorting __ex_table... Memory: 4119648K/4192256K available (5849K kernel code, 340K rwdata, 1541K rodata, 200K init, 847K bss, 72608K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 Hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 riscv,cpu_intc,0: 64 local interrupts mapped riscv,cpu_intc,1: 64 local interrupts mapped riscv,cpu_intc,2: 64 local interrupts mapped riscv,cpu_intc,3: 64 local interrupts mapped ------------[ cut here ]------------ WARNING: CPU: 0 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.15.0-rc9-00064-gf923ce3a29af #1 Call Trace: [< (ptrval)>] walk_stackframe+0x0/0xa2 [< (ptrval)>] show_stack+0x26/0x34 [< (ptrval)>] dump_stack+0x5e/0x7c [< (ptrval)>] __warn+0xc6/0xdc [< (ptrval)>] warn_slowpath_null+0x2c/0x3e [< (ptrval)>] riscv_irq_enable+0x8e/0x94 [< (ptrval)>] irq_enable+0x3a/0x6a [< (ptrval)>] __irq_startup+0x80/0x88 [< (ptrval)>] irq_startup+0x4e/0xe2 [< (ptrval)>] irq_activate_and_startup+0x1c/0x28 [< (ptrval)>] __irq_do_set_handler+0x6e/0x134 [< (ptrval)>] irq_set_chained_handler_and_data+0x2c/0x4a [< (ptrval)>] plic_init+0x216/0x34a [< (ptrval)>] of_irq_init+0x132/0x232 [< (ptrval)>] irqchip_init+0x10/0x1c [< (ptrval)>] init_IRQ+0x8/0x14 [< (ptrval)>] start_kernel+0x1f6/0x32c [< (ptrval)>] _sinittext+0x4e/0x56 random: get_random_bytes called from print_oops_end_marker+0x3a/0x52 with crng_init=0 ---[ end trace 3f245499100bcdd5 ]--- riscv,plic0,c000000: mapped 10 interrupts to 4/8 handlers clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns smp: Brought up 1 node, 4 CPUs devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns futex hash table entries: 1024 (order: 4, 65536 bytes) NET: Registered protocol family 16 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb clocksource: Switched to clocksource riscv_clocksource NET: Registered protocol family 2 TCP established hash table entries: 32768 (order: 6, 262144 bytes) TCP bind hash table entries: 32768 (order: 7, 524288 bytes) TCP: Hash tables configured (established 32768 bind 32768) UDP hash table entries: 2048 (order: 4, 65536 bytes) UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Unpacking initramfs... Initialise system trusted keyrings workingset: timestamp_bits=62 max_order=20 bucket_order=0 NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... SGI XFS with ACLs, security attributes, no debug enabled random: fast init done NET: Registered protocol family 38 Key type asymmetric registered Asymmetric key parser 'x509' registered Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) io scheduler mq-deadline registered io scheduler kyber registered Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled console [ttyS0] disabled 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 13, base_baud = 230400) is a 16550A console [ttyS0] enabled console [ttyS0] enabled [drm] radeon kernel modesetting enabled. [drm] radeon kernel modesetting enabled. loop: module loaded loop: module loaded libphy: Fixed MDIO Bus: probed libphy: Fixed MDIO Bus: probed e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k e1000e: Copyright(c) 1999 - 2015 Intel Corporation. e1000e: Copyright(c) 1999 - 2015 Intel Corporation. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-pci: EHCI PCI platform driver ehci-pci: EHCI PCI platform driver ehci-platform: EHCI generic platform driver ehci-platform: EHCI generic platform driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci-pci: OHCI PCI platform driver ohci-pci: OHCI PCI platform driver ohci-platform: OHCI generic platform driver ohci-platform: OHCI generic platform driver usbcore: registered new interface driver uas usbcore: registered new interface driver uas usbcore: registered new interface driver usb-storage usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice mousedev: PS/2 mouse device common for all mice usbcore: registered new interface driver usbhid usbcore: registered new interface driver usbhid usbhid: USB HID core driver usbhid: USB HID core driver NET: Registered protocol family 10 NET: Registered protocol family 10 Segment Routing with IPv6 Segment Routing with IPv6 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered protocol family 17 NET: Registered protocol family 17 Key type dns_resolver registered Key type dns_resolver registered bootconsole [early0] uses init memory and must be disabled even before the real one is ready bootconsole [early0] uses init memory and must be disabled even before the real one is ready bootconsole [early0] disabled bootconsole [early0] disabled Loading compiled-in X.509 certificates EXT4-fs (vda): couldn't mount as ext3 due to feature incompatibilities EXT4-fs (vda): couldn't mount as ext2 due to feature incompatibilities EXT4-fs (vda): INFO: recovery required on readonly filesystem EXT4-fs (vda): write access will be enabled during recovery EXT4-fs (vda): recovery complete EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) readonly on device 254:0. Freeing unused kernel memory: 200K This architecture does not have kernel memory protection. EXT4-fs (vda): re-mounted. Opts: (null) Mon Feb 19 01:14: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/gpm-1.20.7-9.fc25.src.rpm --define 'debug_package %{nil}' --undefine _annotated_build --define '_topdir /rpmbuild' --define '_missing_doc_files_terminate_build %{nil}' --define '_unitdir /usr/lib/systemd/system' --define '_sysctldir /usr/lib/sysctl.d' --define '_tmpfilesdir /usr/lib/tmpfiles.d' --define '_udevrulesdir /usr/lib/udev/rules.d' --define '_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d' --define '_emacs_sitelispdir /usr/share/emacs/site-lisp' --nocheck Installing /var/tmp/gpm-1.20.7-9.fc25.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 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 warning: Macro expanded in comment on line 14: %{name}-%{version}.tar.lzma warning: Macro expanded in comment on line 15: %{name}-%{version}.tar.lzma warning: Macro expanded in comment on line 16: %{name}-%{version}/doc/specs warning: Macro expanded in comment on line 17: %{name}-%{version}.tar.xz %{name}-%{version} Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fGec5L + umask 022 + cd /rpmbuild/BUILD + cd /rpmbuild/BUILD + rm -rf gpm-1.20.7 + /usr/bin/xz -dc /rpmbuild/SOURCES/gpm-1.20.7.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gpm-1.20.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + ./autogen.sh rm -f config/config.guess libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: linking file 'config/config.guess' rm -f config/config.sub libtoolize: linking file 'config/config.sub' rm -f config/install-sh libtoolize: linking file 'config/install-sh' rm -f config/ltmain.sh libtoolize: linking file 'config/ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/config.guess' libtoolize: copying file 'config/config.sub' libtoolize: copying file 'config/install-sh' libtoolize: copying file 'config/ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. + echo 'Patch #1 (gpm-1.20.6-multilib.patch):' Patch #1 (gpm-1.20.6-multilib.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .multilib --fuzz=0 patching file contrib/Makefile.in patching file doc/Makefile.in + echo 'Patch #2 (gpm-1.20.1-lib-silent.patch):' Patch #2 (gpm-1.20.1-lib-silent.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lib-silent --fuzz=0 patching file src/lib/report-lib.c + echo 'Patch #4 (gpm-1.20.5-close-fds.patch):' Patch #4 (gpm-1.20.5-close-fds.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .close-fds --fuzz=0 patching file src/daemon/startup.c + echo 'Patch #5 (gpm-1.20.1-weak-wgetch.patch):' Patch #5 (gpm-1.20.1-weak-wgetch.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .weak-wgetch --fuzz=0 patching file src/lib/libcurses.c patching file configure.ac Hunk #1 succeeded at 133 (offset 18 lines). + echo 'Patch #7 (gpm-1.20.7-rhbz-668480-gpm-types-7-manpage-fixes.patch):' Patch #7 (gpm-1.20.7-rhbz-668480-gpm-types-7-manpage-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file doc/doc.gpm.in + echo 'Patch #8 (gpm-1.20.6-missing-header-dir-in-make-depend.patch):' Patch #8 (gpm-1.20.6-missing-header-dir-in-make-depend.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/Makefile.in + echo 'Patch #9 (gpm-format-security.patch):' Patch #9 (gpm-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/lib/report-lib.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sYQNhl + umask 022 + cd /rpmbuild/BUILD + cd gpm-1.20.7 + LDFLAGS=-Wl,-z,relro,-z,now + 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,-z,now + 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/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/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"~' ./config/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 configure: WARNING: unrecognized options: --disable-dependency-tracking random: crng init done checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to print strings... printf 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 fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) 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... yes checking for a BSD-compatible install... /usr/bin/install -c checking for bison... bison -y checking whether ln -s works... yes checking for dvips... no checking for texi2html... no checking for tex... no checking for texindex... no checking for makeinfo... /usr/bin/makeinfo checking for diff... /usr/bin/diff checking for sed... (cached) /usr/bin/sed checking for emacs... no checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes checking linux/joystick.h usability... yes checking linux/joystick.h presence... yes checking for linux/joystick.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/curses.h usability... yes checking ncurses/curses.h presence... yes checking for ncurses/curses.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking linux/major.h usability... yes checking linux/major.h presence... yes checking for linux/major.h... yes checking linux/tty.h usability... yes checking linux/tty.h presence... yes checking for linux/tty.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for __u32... yes checking whether system is ELF... yes checking for vsyslog... yes checking for syslog... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for tputs in -ltinfo... yes checking for wgetch in -lncurses... yes configure: creating ./config.status config.status: creating Makefile.include config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating contrib/Makefile config.status: creating doc/doc.gpm config.status: creating src/headers/config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 libtoolize --force --copy `libtoolize -n --install >/dev/null 2>&1 && echo --install` libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/config.guess' libtoolize: copying file 'config/config.sub' libtoolize: copying file 'config/install-sh' libtoolize: copying file 'config/ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoheader autoconf if [ -f config.status ]; then /bin/sh ./config.status --recheck; \ else /bin/sh ./configure; fi running CONFIG_SHELL=/bin/sh /bin/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 build_alias=riscv64-redhat-linux-gnu host_alias=riscv64-redhat-linux-gnu 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 LDFLAGS=-Wl,-z,relro,-z,now --no-create --no-recursion configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to print strings... printf 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 fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) 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... yes checking for a BSD-compatible install... /usr/bin/install -c checking for bison... bison -y checking whether ln -s works... yes checking for dvips... no checking for texi2html... no checking for tex... no checking for texindex... no checking for makeinfo... /usr/bin/makeinfo checking for diff... /usr/bin/diff checking for sed... (cached) /usr/bin/sed checking for emacs... no checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes checking linux/joystick.h usability... yes checking linux/joystick.h presence... yes checking for linux/joystick.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/curses.h usability... yes checking ncurses/curses.h presence... yes checking for ncurses/curses.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking linux/major.h usability... yes checking linux/major.h presence... yes checking for linux/major.h... yes checking linux/tty.h usability... yes checking linux/tty.h presence... yes checking for linux/tty.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for __u32... yes checking whether system is ELF... yes checking for vsyslog... yes checking for syslog... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for tputs in -ltinfo... yes checking for wgetch in -lncurses... yes configure: creating ./config.status configure: WARNING: unrecognized options: --disable-dependency-tracking ./config.status config.status: creating Makefile.include config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating contrib/Makefile config.status: creating doc/doc.gpm config.status: creating src/headers/config.h config.status: src/headers/config.h is unchanged config.status: executing libtool commands ./config.status config.status: creating Makefile.include config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating contrib/Makefile config.status: creating doc/doc.gpm config.status: creating src/headers/config.h config.status: src/headers/config.h is unchanged config.status: executing libtool commands touch src/.depend # to prevent unecessary warnings make -C src dep make[1]: Entering directory '/rpmbuild/BUILD/gpm-1.20.7/src' bison -y /rpmbuild/BUILD/gpm-1.20.7/src/prog/gpm-root.y && mv y.tab.c prog/gpm-root.c # make links in srcdir make[1]: [Makefile:92: .depend] Error 1 (ignored) # create dependencies for DEPS in `echo *.c */*.c`; do \ gcc -I. -Iheaders -I /rpmbuild/BUILD/gpm-1.20.7/src -M -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE $DEPS | \ /usr/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done # make links in srcdir make[1]: [Makefile:92: dep] Error 1 (ignored) # create dependencies for DEPS in `echo *.c */*.c`; do \ gcc -I. -Iheaders -I /rpmbuild/BUILD/gpm-1.20.7/src -M -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE $DEPS | \ /usr/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done make[1]: Leaving directory '/rpmbuild/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/rpmbuild/BUILD/gpm-1.20.7/src' gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 mice.o mice.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 twiddler.o twiddler.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 synaptics.o synaptics.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/add_mouse.o daemon/add_mouse.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/init_mice.o daemon/init_mice.c twiddler.c: In function 'twiddler_key': twiddler.c:253:10: warning: variable 'val' set but not used [-Wunused-but-set-variable] char *val; ^~~ twiddler.c: In function 'twiddler_rest_to_value': twiddler.c:432:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (char *)twiddler_escape_sequence(ptr+1, &len /* unused */); ^ twiddler.c: In function 'twiddler_exec': twiddler.c:179:10: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(1); ^~~~~~ mice.c: In function 'option_modem_lines': mice.c:187:37: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"dtr", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR}, ^ mice.c:187:37: note: (near initialization for 'optioninfo[0].u.iptr') mice.c:188:37: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"rts", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_RTS}, ^ mice.c:188:37: note: (near initialization for 'optioninfo[1].u.iptr') mice.c:189:37: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"both", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR | TIOCM_RTS}, ^ mice.c:189:37: note: (near initialization for 'optioninfo[2].u.iptr') mice.c: In function 'M_summa': mice.c:345:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (y<0) y=0; if (y>summamaxy) y=summamaxy; ^~ mice.c:345:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (y<0) y=0; if (y>summamaxy) y=summamaxy; ^~ mice.c: In function 'R_msc': mice.c:537:12: warning: variable 'dy' set but not used [-Wunused-but-set-variable] int dx, dy; ^~ mice.c:537:8: warning: variable 'dx' set but not used [-Wunused-but-set-variable] int dx, dy; ^~ mice.c: In function 'M_wacom': mice.c:897:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (x>wmaxx) x=wmaxx; if (x<0) x=0; ^~ mice.c:897:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (x>wmaxx) x=wmaxx; if (x<0) x=0; ^~ mice.c:898:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (y>wmaxy) y=wmaxy; if (y<0) y=0; ^~ mice.c:898:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (y>wmaxy) y=wmaxy; if (y<0) y=0; ^~ mice.c:907:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( abs(x-ox)>(wmaxx/wcmodell[WacomModell].treshold) ^~ mice.c:908:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' || abs(y-oy)>(wmaxy/wcmodell[WacomModell].treshold) ) ox=x; oy=y; ^~ mice.c: In function 'M_gunze': mice.c:1341:14: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] if(sscanf(data+1, "%d,%d", &x, &y)!= 2) { ^~~~ In file included from mice.c:45:0: /usr/include/stdio.h:385:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int sscanf (const char *__restrict __s, ^~~~~~ mice.c:1356:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; ^~ mice.c:1356:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; ^~ mice.c:1357:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; ^~ mice.c:1357:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; ^~ mice.c: In function 'M_etouch': mice.c:1452:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; ^~ mice.c:1452:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; ^~ mice.c:1453:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; ^~ mice.c:1453:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; ^~ synaptics.c: In function 'tp_hextoint': synaptics.c:2253:11: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf (bytes, "%x", &result); ^~~~~ In file included from synaptics.c:213:0: /usr/include/stdio.h:385:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int sscanf (const char *__restrict __s, ^~~~~~ synaptics.c: In function 'tp_serial_send_cmd': synaptics.c:2320:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] write (fd, cmd, strlen (cmd)); ^~~ In file included from synaptics.c:216:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ synaptics.c:2321:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] tp_serial_read (fd, junk, strlen (cmd)); ^~~ In file included from synaptics.c:216:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ synaptics.c: In function 'syn_serial_set_mode': synaptics.c:2334:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (bytes, "%%C3B%02X5555", mode); ^~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/math.h:27, from synaptics.c:212: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ synaptics.c: In function 'syn_serial_read_ident': synaptics.c:2347:27: warning: pointer targets in passing argument 2 of 'tp_serial_send_cmd' differ in signedness [-Wpointer-sign] tp_serial_send_cmd (fd, "%A"); ^~~~ synaptics.c:2314:13: note: expected 'unsigned char *' but argument is of type 'char *' static void tp_serial_send_cmd(int fd, ^~~~~~~~~~~~~~~~~~ synaptics.c: In function 'syn_serial_read_model_id': synaptics.c:2388:29: warning: pointer targets in passing argument 2 of 'tp_serial_send_cmd' differ in signedness [-Wpointer-sign] tp_serial_send_cmd (fd, "%D"); ^~~~ synaptics.c:2314:13: note: expected 'unsigned char *' but argument is of type 'char *' static void tp_serial_send_cmd(int fd, ^~~~~~~~~~~~~~~~~~ synaptics.c: In function 'syn_serial_read_cap': synaptics.c:2416:27: warning: pointer targets in passing argument 2 of 'tp_serial_send_cmd' differ in signedness [-Wpointer-sign] tp_serial_send_cmd (fd, "%B"); ^~~~ synaptics.c:2314:13: note: expected 'unsigned char *' but argument is of type 'char *' static void tp_serial_send_cmd(int fd, ^~~~~~~~~~~~~~~~~~ mice.c: In function 'I_wp': mice.c:2305:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, ":S", 2); ^~~~~~~~~~~~~~~~~~ mice.c:2309:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "T", 1); ^~~~~~~~~~~~~~~~~ mice.c:2338:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "O", 1); ^~~~~~~~~~~~~~~~~ mice.c: In function 'I_wacom': mice.c:1872:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,UD_SENDCOORDS,4); ^~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_wacom_reset_wacom': mice.c:1766:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, UD_RESETBAUD, strlen(UD_RESETBAUD)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:1769:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, UD_RESET, strlen(UD_RESET)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:1774:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, UD_RESET, strlen(UD_RESET)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:1776:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, UD_STOP, strlen(UD_STOP)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'setspeed': mice.c:1619:21: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] if (needtowrite) write(fd, c, 2); ^~~~~~~~~~~~~~~ mice.c: In function 'I_wacom_RequestData': mice.c:1805:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] if (cmd) write(fd,cmd,strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~~~ synaptics.c: In function 'tp_ps2_putbyte': synaptics.c:2532:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &b, 1); ^~~~~~~~~~~~~~~~ synaptics.c:2533:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &ack, 1); ^~~~~~~~~~~~~~~~~ mice.c: In function 'I_ps2': mice.c:731:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, s, sizeof (s)); ^~~~~~~~~~~~~~~~~~~~~~~~~ synaptics.c:2536:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &b, 1); ^~~~~~~~~~~~~~~~ synaptics.c:2537:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &ack, 1); ^~~~~~~~~~~~~~~~~ mice.c: In function 'I_netmouse': mice.c:746:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( fd, magic+i, 1 ); ^~~~~~~~~~~~~~~~~~~~~~~ mice.c:747:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read( fd, &c, 1 ); ^~~~~~~~~~~~~~~~~ mice.c:755:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read( fd, rep, 1 ); ^~~~~~~~~~~~~~~~~~ mice.c:756:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read( fd, rep+1, 1 ); ^~~~~~~~~~~~~~~~~~~~ mice.c:757:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read( fd, rep+2, 1 ); ^~~~~~~~~~~~~~~~~~~~ synaptics.c: In function 'tp_ps2_getbyte': synaptics.c:2512:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &b, 1); ^~~~~~~~~~~~~~~ mice.c: In function 'I_mtouch': synaptics.c: In function 'tp_serial_send_cmd': mice.c:2165:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,"\001MS\r\n\001FT\r\n",10); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ synaptics.c:2320:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, cmd, strlen (cmd)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ synaptics.c: In function 'tp_serial_flush_input': synaptics.c:2274:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd, &junk, 1); ^~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_logi': mice.c:1741:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "S", 1); ^~~~~~~~~~~~~~~~~ mice.c:1747:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,sampletab[i].code,1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'read_mouse_id': mice.c:1917:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &c, 1); ^~~~~~~~~~~~~~~~ mice.c:1918:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &c, 1); ^~~~~~~~~~~~~~~ mice.c:1922:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &id, 1); ^~~~~~~~~~~~~~~~ mice.c: In function 'write_to_mouse': mice.c:1939:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &data[i], 1); ^~~~~~~~~~~~~~~~~~~~~~ mice.c:1940:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &c, 1); ^~~~~~~~~~~~~~~ mice.c: In function 'I_gunze': mice.c:2210:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s, 80, f); /* discard the comment */ ^~~~~~~~~~~~~~~ synaptics.c: In function 'tp_ps2_disable_data': synaptics.c:2799:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,&cmd,1); ^~~~~~~~~~~~~~~~ synaptics.c:2804:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd, &status, 1); ^~~~~~~~~~~~~~~~~~~~~ synaptics.c: In function 'syn_ps2_send_reset': synaptics.c:2851:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,&reset_cmd,1); ^~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_exps2': mice.c:2016:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, s1, sizeof (s1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_etouch': mice.c:2262:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s, 80, f); /* discard the comment */ ^~~~~~~~~~~~~~~ mice.c: In function 'I_summa': mice.c:2096:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, SS_PROMPT_MODE, strlen(SS_PROMPT_MODE)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2102:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, SS_FIRMID, strlen(SS_FIRMID)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2106:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, buffer, 255); /* Read Firm-ID */ ^~~~~~~~~~~~~~~~~~~~~ mice.c:2112:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,GEN_MMSERIES,1); ^~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2113:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,&GEN_MODELL,1); /* Read modell */ ^~~~~~~~~~~~~~~~~~~~~~~ mice.c:2120:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd,&config,1); ^~~~~~~~~~~~~~~~~~ mice.c:2130:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, SS_BINARY_FMT SS_PROMPT_MODE, 3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2135:34: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] if (!((err == -1) || (!err))) read(fd,buffer,sizeof(buffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2136:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,SS_READCONFIG,1); ^~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2137:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd,&config,5); ^~~~~~~~~~~~~~~~~~ mice.c:2141:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,SS_ABSOLUTE SS_STREAM_MODE SS_UPPER_ORIGIN,3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2142:19: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] if (summaid<0) write(fd,SS_500LPI SS_TABID0 SS_BINARY_FMT,4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_summa_reset_summa': mice.c:2057:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,0,1); /* Reset */ ^~~~~~~~~~~~~ gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/reset_mice.o daemon/reset_mice.c mice.c: In function 'I_serial': mice.c:1660:30: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] if (type->fun==M_logimsc) write(fd, "QU", 2 ); ^~~~~~~~~~~~~~~~~~~ mice.c:1682:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "*X", 2); ^~~~~~~~~~~~~~~~~~ mice.c:1690:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, ":" ,1); ^~~~~~~~~~~~~~~~~ mice.c:1691:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "E" ,1); /* setup tablet. relative mode, resolution... */ ^~~~~~~~~~~~~~~~~ mice.c:1692:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "@" ,1); /* setup tablet. relative mode, resolution... */ ^~~~~~~~~~~~~~~~~ mice.c:1708:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "R", 1); /* initialize a mouse; without getting an "R" */ ^~~~~~~~~~~~~~~~~ gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/build_argv.o daemon/build_argv.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/disable_paste.o daemon/disable_paste.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/do_client.o daemon/do_client.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/do_selection.o daemon/do_selection.c daemon/do_client.c: In function 'do_client': daemon/do_client.c:51:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,event, sizeof(Gpm_Event)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/get_console_size.o daemon/get_console_size.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/get_data.o daemon/get_data.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/getmousedata.o daemon/getmousedata.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/gpm.o daemon/gpm.c daemon/getmousedata.c: In function 'getMouseData': daemon/getmousedata.c:39:16: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *edata=data+type->packetlen; ^~~~ daemon/getmousedata.c:58:17: warning: pointer targets in return differ in signedness [-Wpointer-sign] return data; ^~~~ daemon/getmousedata.c:89:11: warning: pointer targets in return differ in signedness [-Wpointer-sign] return data; ^~~~ daemon/getmousedata.c:52:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fifofd, data, howmany); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ daemon/getmousedata.c:75:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fifofd, edata-i, j); ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/gpm-killed.o daemon/gpm-killed.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/header.o daemon/header.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/main.o daemon/main.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/old_main.o daemon/old_main.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/open_console.o daemon/open_console.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/check_kill.o daemon/check_kill.c daemon/open_console.c: In function 'open_console': daemon/open_console.c:45:13: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] maj = major(sb.st_rdev); ^~~~~ daemon/open_console.c:48:21: warning: 'si.line' may be used uninitialized in this function [-Wmaybe-uninitialized] if (si.line > 0) { ~~^~~~~ gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/gpm_exited.o daemon/gpm_exited.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 generic/isodigit.o generic/isodigit.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 generic/getsym.o generic/getsym.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/processspecial.o daemon/processspecial.c daemon/old_main.c: In function 'old_main': daemon/old_main.c:198:16: warning: value computed is not used [-Wunused-value] || do_selection(&event); ^~ gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/processconn.o daemon/processconn.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/processmouse.o daemon/processmouse.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/processrequest.o daemon/processrequest.c daemon/processspecial.c: In function 'processSpecial': daemon/processspecial.c:158:7: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(1); /* stderr */ ^~~~~~ daemon/processmouse.c: In function 'processMouse': daemon/processmouse.c:82:57: warning: pointer targets in passing argument 2 of 'which_mouse->m_type->fun' differ in signedness [-Wpointer-sign] || ((*((which_mouse->m_type)->fun))(&nEvent,data)==-1) ) { ^~~~ daemon/processmouse.c:82:57: note: expected 'unsigned char *' but argument is of type 'char *' gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/selection_copy.o daemon/selection_copy.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/selection_paste.o daemon/selection_paste.c daemon/processrequest.c: In function 'processRequest': daemon/processrequest.c:102:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(ci->fd,&event,sizeof(Gpm_Event)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/cmdline.o daemon/cmdline.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/loadlut.o daemon/loadlut.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/find_mouse_by_name.o daemon/find_mouse_by_name.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/usage.o daemon/usage.c daemon/cmdline.c: In function 'cmdline': daemon/cmdline.c:46:20: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (optarg) ^~ daemon/cmdline.c:47:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' opt_age_limit = atoi(optarg); break; ^~~~~ daemon/cmdline.c:71:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else (which_mouse->opt_scale)=100/(which_mouse->opt_scale); break; ^~~~ daemon/cmdline.c:71:88: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else (which_mouse->opt_scale)=100/(which_mouse->opt_scale); break; ^~~~~ daemon/cmdline.c:75:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else option.repeater_type = "msc"; break; ^~~~ daemon/cmdline.c:75:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else option.repeater_type = "msc"; break; ^~~~~ daemon/cmdline.c:78:20: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else opt_special=""; break; ^~~~ daemon/cmdline.c:78:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else opt_special=""; break; ^~~~~ gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/check_uniqueness.o daemon/check_uniqueness.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/startup.o daemon/startup.c daemon/loadlut.c: In function 'loadlut': daemon/loadlut.c:53:19: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness [-Wpointer-sign] i += getsym(charset+i, &this); ^~~~~~~ In file included from daemon/loadlut.c:30:0: /rpmbuild/BUILD/gpm-1.20.7/src/headers/daemon.h:201:7: note: expected 'const unsigned char *' but argument is of type 'char *' int getsym(const unsigned char *p0, unsigned char *res); ^~~~~~ daemon/loadlut.c:55:22: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness [-Wpointer-sign] i += getsym(charset+i+1, &next) + 1; ^~~~~~~ In file included from daemon/loadlut.c:30:0: /rpmbuild/BUILD/gpm-1.20.7/src/headers/daemon.h:201:7: note: expected 'const unsigned char *' but argument is of type 'char *' int getsym(const unsigned char *p0, unsigned char *res); ^~~~~~ gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 daemon/wait_text.o daemon/wait_text.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 report.o report.c daemon/check_uniqueness.c: In function 'check_uniqueness': daemon/check_uniqueness.c:38:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &old_pid); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 tools.o tools.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -g -pipe -Wall -Werror=format-security -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 lib/liblow.lo lib/liblow.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -g -pipe -Wall -Werror=format-security -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 lib/libhigh.lo lib/libhigh.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -g -pipe -Wall -Werror=format-security -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 lib/libxtra.lo lib/libxtra.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -g -pipe -Wall -Werror=format-security -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 lib/report-lib.lo lib/report-lib.c lib/libxtra.c: In function 'Gpm_GetServerVersion': lib/libxtra.c:64:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, 128, f); ^~~~~~~~~~~~~~~~~~~ lib/libxtra.c: In function 'Gpm_GetSnapshot': lib/libxtra.c:126:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(gpm_fd, &conn, sizeof(Gpm_Connect)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -g -pipe -Wall -Werror=format-security -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 tools.lo tools.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -g -pipe -Wall -Werror=format-security -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 lib/libcurses.lo lib/libcurses.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 lib/liblow.o lib/liblow.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 lib/libhigh.o lib/libhigh.c lib/libcurses.c: In function 'Gpm_Wgetch': lib/libcurses.c:153:25: warning: pointer targets in passing argument 1 of 'gpm_convert_event' differ in signedness [-Wpointer-sign] gpm_convert_event(mdata,&ev); ^~~~~ lib/libcurses.c:103:16: note: expected 'char *' but argument is of type 'unsigned char *' extern int gpm_convert_event(char *data, Gpm_Event *event); ^~~~~~~~~~~~~~~~~ gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 lib/libxtra.o lib/libxtra.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 lib/report-lib.o lib/report-lib.c gcc -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 lib/libcurses.o lib/libcurses.c lib/libxtra.c: In function 'Gpm_GetServerVersion': lib/libxtra.c:64:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, 128, f); ^~~~~~~~~~~~~~~~~~~ lib/libxtra.c: In function 'Gpm_GetSnapshot': lib/libxtra.c:126:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(gpm_fd, &conn, sizeof(Gpm_Connect)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Iheaders -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 prog/mev.o prog/mev.c gcc -Iheaders -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 prog/hltest.o prog/hltest.c gcc -Iheaders -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 prog/mouse-test.o prog/mouse-test.c lib/libcurses.c: In function 'Gpm_Wgetch': lib/libcurses.c:153:25: warning: pointer targets in passing argument 1 of 'gpm_convert_event' differ in signedness [-Wpointer-sign] gpm_convert_event(mdata,&ev); ^~~~~ lib/libcurses.c:103:16: note: expected 'char *' but argument is of type 'unsigned char *' extern int gpm_convert_event(char *data, Gpm_Event *event); ^~~~~~~~~~~~~~~~~ gcc -Iheaders -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 prog/open_console.o prog/open_console.c prog/mouse-test.c: In function 'main': prog/mouse-test.c:536:42: warning: pointer targets in passing argument 2 of 'cur->this->fun' differ in signedness [-Wpointer-sign] if ((*(cur->this->fun))(&event,buf+i)==-1) { ^~~ prog/mouse-test.c:536:42: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:205:40: warning: value computed is not used [-Wunused-value] #define CHECKFAIL(count) ((count)==0 && noneofthem()) ^ prog/mouse-test.c:569:4: note: in expansion of macro 'CHECKFAIL' CHECKFAIL(typecount); ^~~~~~~~~ prog/mouse-test.c:610:47: warning: pointer targets in passing argument 2 of 'cur->this->fun' differ in signedness [-Wpointer-sign] if ((*(cur->this->fun))(&event,buf+i)==-1) continue; ^~~ prog/mouse-test.c:610:47: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:205:40: warning: value computed is not used [-Wunused-value] #define CHECKFAIL(count) ((count)==0 && noneofthem()) ^ prog/mouse-test.c:622:4: note: in expansion of macro 'CHECKFAIL' CHECKFAIL(typecount); ^~~~~~~~~ prog/mouse-test.c:652:47: warning: pointer targets in passing argument 2 of 'cur->this->fun' differ in signedness [-Wpointer-sign] if ((*(cur->this->fun))(&event,buf+i)==-1) continue; ^~~ prog/mouse-test.c:652:47: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:205:40: warning: value computed is not used [-Wunused-value] #define CHECKFAIL(count) ((count)==0 && noneofthem()) ^ prog/mouse-test.c:671:4: note: in expansion of macro 'CHECKFAIL' CHECKFAIL(typecount); ^~~~~~~~~ prog/mouse-test.c: In function 'eventlist': prog/mouse-test.c:269:15: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] else read(fd,buff,buflen); ^~~~~~~~~~~~~~~~~~~~ prog/mouse-test.c: In function 'main': prog/mouse-test.c:402:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(cur->fd,buf,80); /* flush */ ^~~~~~~~~~~~~~~~~~~~ prog/mouse-test.c:472:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(mousefd,buf,BUFLEN); /* flush */ ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -Iheaders -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 prog/disable-paste.o prog/disable-paste.c gcc -Iheaders -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 prog/display-buttons.o prog/display-buttons.c gcc -Iheaders -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 prog/display-coords.o prog/display-coords.c gcc -Iheaders -I/rpmbuild/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -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 prog/get-versions.o prog/get-versions.c prog/display-buttons.c: In function 'display_data': prog/display-buttons.c:52:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t {aka long int}' [-Wformat=] printf("[%d] delta: %ds",now,delta); ~^ %ld gcc -Wl,-z,relro,-z,now -L/rpmbuild/BUILD/gpm-1.20.7/src -Wl,-z,relro,-z,now -o gpm mice.o twiddler.o synaptics.o daemon/add_mouse.o daemon/init_mice.o daemon/reset_mice.o daemon/build_argv.o daemon/disable_paste.o daemon/do_client.o daemon/do_selection.o daemon/get_console_size.o daemon/get_data.o daemon/getmousedata.o daemon/gpm.o daemon/gpm-killed.o daemon/header.o daemon/main.o daemon/old_main.o daemon/open_console.o daemon/check_kill.o daemon/gpm_exited.o generic/isodigit.o generic/getsym.o daemon/processspecial.o daemon/processconn.o daemon/processmouse.o daemon/processrequest.o daemon/selection_copy.o daemon/selection_paste.o daemon/cmdline.o daemon/loadlut.o daemon/find_mouse_by_name.o daemon/usage.o daemon/check_uniqueness.o daemon/startup.o daemon/wait_text.o report.o tools.o -lm gcc -fPIC -shared -Wl,-soname,libgpm.so.2 \ -Wl,-z,relro,-z,now -L/rpmbuild/BUILD/gpm-1.20.7/src -Wl,-z,relro,-z,now -o lib/libgpm.so.2.1.0 lib/liblow.lo lib/libhigh.lo lib/libxtra.lo lib/report-lib.lo tools.lo lib/libcurses.lo -lc prog/display-coords.c: In function 'display_data': prog/display-coords.c:53:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t {aka long int}' [-Wformat=] printf("[%d] delta: %ds",now,delta); ~^ %ld ar rc lib/libgpm.a lib/liblow.o lib/libhigh.o lib/libxtra.o lib/report-lib.o tools.o lib/libcurses.o ranlib lib/libgpm.a ln -s -f libgpm.so.2.1.0 lib/libgpm.so.2 gcc -Wl,-z,relro,-z,now -L/rpmbuild/BUILD/gpm-1.20.7/src -Wl,-z,relro,-z,now -o prog/mev prog/mev.o lib/libgpm.so.2 gcc -Wl,-z,relro,-z,now -L/rpmbuild/BUILD/gpm-1.20.7/src -Wl,-z,relro,-z,now -o prog/hltest prog/hltest.o lib/libgpm.so.2 gcc -Wl,-z,relro,-z,now -L/rpmbuild/BUILD/gpm-1.20.7/src -Wl,-z,relro,-z,now -o prog/mouse-test prog/mouse-test.o mice.o twiddler.o synaptics.o prog/open_console.o lib/libgpm.so.2 -lm daemon/open_console.o: In function `fstat': /usr/include/sys/stat.h:465: undefined reference to `major' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:85: gpm] Error 1 make[1]: *** Waiting for unfinished jobs.... rm prog/display-coords.o prog/hltest.o prog/disable-paste.o prog/display-buttons.o prog/mev.o prog/get-versions.o make[1]: Leaving directory '/rpmbuild/BUILD/gpm-1.20.7/src' make: *** [Makefile:77: do-all] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.sYQNhl (%build) RPM build errors: user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root Macro expanded in comment on line 14: %{name}-%{version}.tar.lzma Macro expanded in comment on line 15: %{name}-%{version}.tar.lzma Macro expanded in comment on line 16: %{name}-%{version}/doc/specs Macro expanded in comment on line 17: %{name}-%{version}.tar.xz %{name}-%{version} Bad exit status from /var/tmp/rpm-tmp.sYQNhl (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ mount.static -o remount,ro / ++ poweroff reboot: Power down Power off