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: 3 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 3 PID: 0 Comm: swapper/3 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: 3 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.15.0-rc9-00064-gf923ce3a29af #1 Call Trace: [< (ptrval)>] walk_stackframe+0x0/0xa2 [< (ptrval)>] show_stack+0x26/0x34 [< (ptrval)>] dump_stack+0x5e/0x7c [< (ptrval)>] __warn+0xc6/0xdc [< (ptrval)>] warn_slowpath_null+0x2c/0x3e [< (ptrval)>] riscv_irq_enable+0x8e/0x94 [< (ptrval)>] irq_enable+0x3a/0x6a [< (ptrval)>] __irq_startup+0x80/0x88 [< (ptrval)>] irq_startup+0x4e/0xe2 [< (ptrval)>] irq_activate_and_startup+0x1c/0x28 [< (ptrval)>] __irq_do_set_handler+0x6e/0x134 [< (ptrval)>] irq_set_chained_handler_and_data+0x2c/0x4a [< (ptrval)>] plic_init+0x216/0x34a [< (ptrval)>] of_irq_init+0x132/0x232 [< (ptrval)>] irqchip_init+0x10/0x1c [< (ptrval)>] init_IRQ+0x8/0x14 [< (ptrval)>] start_kernel+0x1f6/0x32c [< (ptrval)>] _sinittext+0x4e/0x56 random: get_random_bytes called from print_oops_end_marker+0x3a/0x52 with crng_init=0 ---[ end trace 3f245499100bcdd5 ]--- riscv,plic0,c000000: mapped 10 interrupts to 4/8 handlers clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns smp: Brought up 1 node, 4 CPUs devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns futex hash table entries: 1024 (order: 4, 65536 bytes) NET: Registered protocol family 16 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb clocksource: Switched to clocksource riscv_clocksource NET: Registered protocol family 2 TCP established hash table entries: 32768 (order: 6, 262144 bytes) TCP bind hash table entries: 32768 (order: 7, 524288 bytes) TCP: Hash tables configured (established 32768 bind 32768) UDP hash table entries: 2048 (order: 4, 65536 bytes) UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Unpacking initramfs... Initialise system trusted keyrings workingset: timestamp_bits=62 max_order=20 bucket_order=0 NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... SGI XFS with ACLs, security attributes, no debug enabled random: fast init done NET: Registered protocol family 38 Key type asymmetric registered Asymmetric key parser 'x509' registered Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) io scheduler mq-deadline registered io scheduler kyber registered Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled console [ttyS0] disabled 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 13, base_baud = 230400) is a 16550A console [ttyS0] enabled console [ttyS0] enabled [drm] radeon kernel modesetting enabled. [drm] radeon kernel modesetting enabled. loop: module loaded loop: module loaded libphy: Fixed MDIO Bus: probed libphy: Fixed MDIO Bus: probed e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k e1000e: Copyright(c) 1999 - 2015 Intel Corporation. e1000e: Copyright(c) 1999 - 2015 Intel Corporation. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-pci: EHCI PCI platform driver ehci-pci: EHCI PCI platform driver ehci-platform: EHCI generic platform driver ehci-platform: EHCI generic platform driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci-pci: OHCI PCI platform driver ohci-pci: OHCI PCI platform driver ohci-platform: OHCI generic platform driver ohci-platform: OHCI generic platform driver usbcore: registered new interface driver uas usbcore: registered new interface driver uas usbcore: registered new interface driver usb-storage usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice mousedev: PS/2 mouse device common for all mice usbcore: registered new interface driver usbhid usbcore: registered new interface driver usbhid usbhid: USB HID core driver usbhid: USB HID core driver NET: Registered protocol family 10 NET: Registered protocol family 10 Segment Routing with IPv6 Segment Routing with IPv6 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered protocol family 17 NET: Registered protocol family 17 Key type dns_resolver registered Key type dns_resolver registered bootconsole [early0] uses init memory and must be disabled even before the real one is ready bootconsole [early0] uses init memory and must be disabled even before the real one is ready bootconsole [early0] disabled bootconsole [early0] disabled Loading compiled-in X.509 certificates EXT4-fs (vda): couldn't mount as ext3 due to feature incompatibilities EXT4-fs (vda): couldn't mount as ext2 due to feature incompatibilities EXT4-fs (vda): INFO: recovery required on readonly filesystem EXT4-fs (vda): write access will be enabled during recovery EXT4-fs (vda): recovery complete EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) readonly on device 254:0. Freeing unused kernel memory: 200K This architecture does not have kernel memory protection. EXT4-fs (vda): re-mounted. Opts: (null) Sun Feb 18 12:31: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/detox-1.2.0-14.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/detox-1.2.0-14.fc25.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tXqvcc + umask 022 + cd /rpmbuild/BUILD + cd /rpmbuild/BUILD + rm -rf detox-1.2.0 + /usr/bin/gzip -dc /rpmbuild/SOURCES/detox-1.2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd detox-1.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (detox-format-security.patch):' Patch #0 (detox-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file parse_options_getopt.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MixKA5 + umask 022 + cd /rpmbuild/BUILD + cd detox-1.2.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... no checking for byacc... no checking for a BSD-compatible install... /usr/bin/install -c checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/mount.h usability... random: crng init done yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for struct stat.st_blocks... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether closedir returns void... no checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether lstat accepts an empty string... no checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking whether stat accepts an empty string... no checking for memset... yes checking for setlocale... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strrchr... yes checking for strtol... yes checking for getopt_long... yes checking for popt libraries... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h + make -j4 > detox_path.h gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 file.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 clean_string.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 table.c echo "char default_etc_dir[]=\"/etc\";" >> detox_path.h echo "char default_data_dir[]=\"/usr/share/detox\";" >> detox_path.h gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 parse_table.c clean_string.c: In function 'clean_iso8859_1_basic': clean_string.c:67:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc((strlen(s) * ISO8859_1_MAXLEN) + 1); ^ In file included from clean_string.c:39: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) ^~~~~~ clean_string.c: In function 'clean_iso8859_1': clean_string.c:118:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc((strlen(s) * table->max_data_length) + 1); ^ In file included from clean_string.c:39: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) ^~~~~~ clean_string.c:129:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] replace_walk = table_get(table, *input_walk); ^ clean_string.c:138:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] replace_walk = table->default_translation; ^ clean_string.c: In function 'clean_safe_basic': clean_string.c:186:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc((strlen(s) * 5) + 1); ^ In file included from clean_string.c:39: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) ^~~~~~ clean_string.c: In function 'clean_safe': clean_string.c:283:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc((strlen(s) * table->max_data_length) + 1); ^ In file included from clean_string.c:39: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) ^~~~~~ clean_string.c:293:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] replace_walk = table_get(table, *input_walk); ^ clean_string.c:303:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] replace_walk = table->default_translation; ^ clean_string.c: In function 'clean_uncgi': clean_string.c:336:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc(strlen(s) + 1); ^ In file included from clean_string.c:39: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) ^~~~~~ clean_string.c:350:43: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] *output_walk++ = (unsigned char)strtol(conv, NULL, 16); ^~~~ In file included from clean_string.c:38:0: /usr/include/stdlib.h:176:17: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern long int strtol (const char *__restrict __nptr, ^~~~~~ clean_string.c: In function 'clean_wipeup': clean_string.c:395:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc(strlen(s) + 1); ^ In file included from clean_string.c:39: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) ^~~~~~ clean_string.c: In function 'clean_utf_8_basic': clean_string.c:472:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc((strlen(s) * UNICODE_MAXLEN) + 1); ^ In file included from clean_string.c:39: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) ^~~~~~ clean_string.c: In function 'clean_utf_8': clean_string.c:594:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc((strlen(s) * table->max_data_length) + 1); ^ In file included from clean_string.c:39: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) ^~~~~~ clean_string.c:677:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] replace_walk = table_get(table, new_value); ^ clean_string.c:680:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] replace_walk = table->default_translation; ^ clean_string.c: In function 'clean_max_length': clean_string.c:729:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] s_length = strlen(s); ^ In file included from clean_string.c:39: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) ^~~~~~ clean_string.c:737:11: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(output, max_length + 1, "%s", s); ^~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from clean_string.c:37: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ clean_string.c:743:23: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] input_walk = strrchr(s, '.'); ^ In file included from clean_string.c:39:0: /usr/include/string.h:252:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strrchr (const char *__s, int __c) ^~~~~~~ clean_string.c:743:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] input_walk = strrchr(s, '.'); ^ clean_string.c:749:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ext_length = strlen(input_walk); ^~~~~~~~~~ In file included from clean_string.c:39: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) ^~~~~~ clean_string.c:758:11: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(output_walk, ext_length + 1, "%s", input_walk); ^~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from clean_string.c:37: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ clean_string.c: In function 'clean_lower': clean_string.c:775:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc(strlen(s) + 1); ^ In file included from clean_string.c:39: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) ^~~~~~ file.c: In function 'parse_file': file.c:75:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(filename) + 1; ^~~~~~~~ In file included from file.c:42: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) ^~~~~~ file.c:83:29: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] old_filename_ptr = strrchr(old_filename, '/'); ^~~~~~~~~~~~ In file included from file.c:42:0: /usr/include/string.h:252:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strrchr (const char *__s, int __c) ^~~~~~~ file.c:83:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] old_filename_ptr = strrchr(old_filename, '/'); ^ file.c:105:16: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] work = strdup(old_filename_ptr); ^~~~~~~~~~~~~~~~ In file included from file.c:42:0: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strdup (const char *__s) ^~~~~~ file.c:105:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] work = strdup(old_filename_ptr); ^ file.c:122:13: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(old_filename_ptr, work) == 0) { ^~~~~~~~~~~~~~~~ In file included from file.c:42:0: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ file.c:122:31: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(old_filename_ptr, work) == 0) { ^~~~ In file included from file.c:42:0: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ file.c:127:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] new_filename = malloc(len + strlen(work) + 1); ^~~~ In file included from file.c:42: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) ^~~~~~ file.c:135:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(new_filename, old_filename, len); ^~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:37: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ file.c:135:24: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(new_filename, old_filename, len); ^~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:37: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ file.c:136:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(new_filename + len, work); ^~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:37: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ file.c:136:29: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(new_filename + len, work); ^~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:37: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ file.c:140:14: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] err = lstat(old_filename, &stat_info_old); ^~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:37: /usr/include/sys/stat.h:456:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (lstat (const char *__path, struct stat *__statbuf)) ^ file.c:146:14: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] err = lstat(new_filename, &stat_info_new); ^~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:37: /usr/include/sys/stat.h:456:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (lstat (const char *__path, struct stat *__statbuf)) ^ file.c:168:15: warning: pointer targets in passing argument 1 of 'rename' differ in signedness [-Wpointer-sign] err = rename(old_filename, new_filename); ^~~~~~~~~~~~ In file included from file.c:38:0: /usr/include/stdio.h:146:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int rename (const char *__old, const char *__new) __THROW; ^~~~~~ file.c:168:29: warning: pointer targets in passing argument 2 of 'rename' differ in signedness [-Wpointer-sign] err = rename(old_filename, new_filename); ^~~~~~~~~~~~ In file included from file.c:38:0: /usr/include/stdio.h:146:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int rename (const char *__old, const char *__new) __THROW; ^~~~~~ file.c: In function 'parse_dir': file.c:193:14: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] err = lstat(indir, &stat_info); ^~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:37: /usr/include/sys/stat.h:456:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (lstat (const char *__path, struct stat *__statbuf)) ^ file.c:202:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] new_file_length = strlen(indir) + 1024; ^~~~~ In file included from file.c:42: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) ^~~~~~ file.c:203:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] new_file = (char *)malloc(new_file_length); ^ file.c:213:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(new_file, indir); ^~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:37: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ file.c:213:19: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(new_file, indir); ^~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:37: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ file.c:215:17: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] work = strrchr(new_file, '/'); ^~~~~~~~ In file included from file.c:42:0: /usr/include/string.h:252:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strrchr (const char *__s, int __c) ^~~~~~~ file.c:215:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] work = strrchr(new_file, '/'); ^ file.c:226:19: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] work = strrchr(new_file, '/'); ^~~~~~~~ In file included from file.c:42:0: /usr/include/string.h:252:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strrchr (const char *__s, int __c) ^~~~~~~ file.c:226:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] work = strrchr(new_file, '/'); ^ file.c:250:23: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] dir_handle = opendir(indir); ^~~~~ In file included from file.c:41:0: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'unsigned char *' extern DIR *opendir (const char *__name) __nonnull ((1)); ^~~~~~~ file.c:264:29: warning: pointer targets in passing argument 1 of 'ignore_file' differ in signedness [-Wpointer-sign] check_file = !ignore_file(dir_entry->d_name, options); ^~~~~~~~~ file.c:58:12: note: expected 'unsigned char *' but argument is of type 'char *' static int ignore_file(unsigned char *filename, struct detox_options *options); ^~~~~~~~~~~ file.c:267:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(new_file, new_file_length, "%s/%s", indir, dir_entry->d_name); ^~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:37: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ file.c:269:10: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] lstat(new_file, &stat_info); ^~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:37: /usr/include/sys/stat.h:456:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (lstat (const char *__path, struct stat *__statbuf)) ^ file.c: In function 'parse_special': file.c:300:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] new_file = parse_file(in, options); ^ file.c:337:14: warning: pointer targets in passing argument 1 of 'parse_dir' differ in signedness [-Wpointer-sign] parse_dir(work, options); ^~~~ file.c:183:6: note: expected 'unsigned char *' but argument is of type 'char *' void parse_dir(unsigned char *indir, struct detox_options *options) ^~~~~~~~~ file.c: In function 'ignore_file': file.c:355:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(filename, badfiles[x]) == 0) { ^~~~~~~~ In file included from file.c:42:0: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ file.c:362:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(filename, ignore_walk->filename) == 0) { ^~~~~~~~ In file included from file.c:42:0: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ file.c:362:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(filename, ignore_walk->filename) == 0) { ^~~~~~~~~~~ In file included from file.c:42:0: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 config_file_l.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 config_file_y.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 config_file_spoof.c y.tab.c: In function 'yyparse': y.tab.c:748:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] y.tab.c:1392:16: note: in expansion of macro 'YYLEX' lex.yy.c:1294:16: warning: 'input' defined but not used [-Wunused-function] lex.yy.c:1253:17: warning: 'yyunput' defined but not used [-Wunused-function] gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 config_file_dump.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 parse_options_getopt.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 parse_options_generic.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DINLINE_MODE detox.c -o detox-inline.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 file-inline.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DINLINE_MODE parse_options_getopt.c -o parse_options_getopt-inline.o detox.c: In function 'main': detox.c:379:19: warning: pointer targets in passing argument 1 of 'parse_inline' differ in signedness [-Wpointer-sign] parse_inline(*file_walk, main_options); ^ In file included from detox.c:52:0: file-inline.h:40:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void parse_inline(unsigned char *filename, struct detox_options *options); ^~~~~~~~~~~~ gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DINLINE_MODE parse_options_generic.c -o parse_options_generic-inline.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 detox.c file-inline.c: In function 'parse_inline': file-inline.c:64:20: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if (!(fp = fopen(filename, "r"))) { ^~~~~~~~ In file included from file-inline.c:38:0: /usr/include/stdio.h:232:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ file-inline.c:80:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (fgets(base, buf_size, fp)) { ^~~~ In file included from /usr/include/stdio.h:862:0, from file-inline.c:38: /usr/include/bits/stdio2.h:252:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ file-inline.c:81:18: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] while (strrchr(base, '\n') == NULL) { ^~~~ In file included from file-inline.c:42:0: /usr/include/string.h:252:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strrchr (const char *__s, int __c) ^~~~~~~ file-inline.c:83:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] if (!fgets(work + buf_size - 1, BUF_SIZE, fp)) { ^~~~ In file included from /usr/include/stdio.h:862:0, from file-inline.c:38: /usr/include/bits/stdio2.h:252:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ file-inline.c:91:18: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] hold = strrchr(base, '\n'); ^~~~ In file included from file-inline.c:42:0: /usr/include/string.h:252:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strrchr (const char *__s, int __c) ^~~~~~~ file-inline.c:91:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] hold = strrchr(base, '\n'); ^ file-inline.c:98:17: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] work = strdup(base); ^~~~ In file included from file-inline.c:42:0: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strdup (const char *__s) ^~~~~~ file-inline.c:98:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] work = strdup(base); ^ file-inline.c:60:9: warning: unused variable 'len' [-Wunused-variable] size_t len; ^~~ file-inline.c:59:6: warning: unused variable 'err' [-Wunused-variable] int err; ^~~ gcc -o inline-detox detox-inline.o file-inline.o clean_string.o table.o parse_table.o config_file_l.o config_file_y.o config_file_spoof.o config_file_dump.o parse_options_getopt-inline.o parse_options_generic-inline.o -lfl detox.c: In function 'main': detox.c:351:28: warning: pointer targets in passing argument 1 of 'parse_file' differ in signedness [-Wpointer-sign] file_work = parse_file(*file_walk, main_options); ^ In file included from detox.c:50:0: file.h:40:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *parse_file(unsigned char *filename, struct detox_options *options); ^~~~~~~~~~ detox.c:351:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] file_work = parse_file(*file_walk, main_options); ^ detox.c:352:15: warning: pointer targets in passing argument 1 of 'parse_dir' differ in signedness [-Wpointer-sign] parse_dir(file_work, main_options); ^~~~~~~~~ In file included from detox.c:50:0: file.h:42:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void parse_dir(unsigned char *indir, struct detox_options *options); ^~~~~~~~~ detox.c:356:16: warning: pointer targets in passing argument 1 of 'parse_file' differ in signedness [-Wpointer-sign] parse_file(*file_walk, main_options); ^ In file included from detox.c:50:0: file.h:40:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *parse_file(unsigned char *filename, struct detox_options *options); ^~~~~~~~~~ detox.c:359:19: warning: pointer targets in passing argument 1 of 'parse_special' differ in signedness [-Wpointer-sign] parse_special(*file_walk, main_options); ^ In file included from detox.c:50:0: file.h:44:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void parse_special(unsigned char *in, struct detox_options *options); ^~~~~~~~~~~~~ gcc -o detox detox.o file.o clean_string.o table.o parse_table.o config_file_l.o config_file_y.o config_file_spoof.o config_file_dump.o parse_options_getopt.o parse_options_generic.o -lfl + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ops7Aw + umask 022 + cd /rpmbuild/BUILD + '[' /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64 '!=' / ']' + rm -rf /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64 ++ dirname /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64 + mkdir -p /rpmbuild/BUILDROOT + mkdir /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64 + cd detox-1.2.0 + make install 'INSTALL=install -p' DESTDIR=/rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64 install -p -m 755 -d /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/usr/bin install -p -m 755 -d /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/usr/share/man/man1 install -p -m 755 -d /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/usr/share/man/man5 install -p -m 755 -d /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/etc install -p -m 755 -d /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/usr/share/detox install -p -m 755 detox /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/usr/bin install -p -m 755 inline-detox /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/usr/bin install -p -m 644 detox.1 /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/usr/share/man/man1 install -p -m 644 detoxrc.5 detox.tbl.5 /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/usr/share/man/man5 install -p -m 644 detoxrc /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/etc/detoxrc.sample install -p -m 644 iso8859_1.tbl /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/usr/share/detox/iso8859_1.tbl.sample install -p -m 644 unicode.tbl /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/usr/share/detox/unicode.tbl.sample + rm /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/etc/detoxrc.sample + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: detox-1.2.0-14.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4ossdd + umask 022 + cd /rpmbuild/BUILD + cd detox-1.2.0 + DOCDIR=/rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/usr/share/doc/detox + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/usr/share/doc/detox + cp -pr CHANGES /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/usr/share/doc/detox + cp -pr LICENSE /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/usr/share/doc/detox + cp -pr README /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64/usr/share/doc/detox + exit 0 Provides: config(detox) = 1.2.0-14.fc28 detox = 1.2.0-14.fc28 detox(riscv-64) = 1.2.0-14.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64 warning: Could not canonicalize hostname: stage4-builder Wrote: /rpmbuild/RPMS/riscv64/detox-1.2.0-14.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tAHbs7 + umask 022 + cd /rpmbuild/BUILD + cd detox-1.2.0 + /usr/bin/rm -rf /rpmbuild/BUILDROOT/detox-1.2.0-14.fc28.riscv64 + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.ZOd6L7 + umask 022 + cd /rpmbuild/BUILD + rm -rf detox-1.2.0 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + mount.static -o remount,ro / + poweroff reboot: Power down Power off