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 23:19: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/libopendaap-0.4.0-16.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/libopendaap-0.4.0-16.fc25.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.c8awLz + umask 022 + cd /rpmbuild/BUILD + cd /rpmbuild/BUILD + rm -rf libopendaap-0.4.0 + /usr/bin/bzip2 -dc /rpmbuild/SOURCES/libopendaap-0.4.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libopendaap-0.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GZddSz + umask 022 + cd /rpmbuild/BUILD + cd libopendaap-0.4.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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no 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 ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes random: crng init done checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for riscv64-redhat-linux-gnu-g77... no checking for riscv64-redhat-linux-gnu-f77... no checking for riscv64-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-frt... no checking for riscv64-redhat-linux-gnu-pgf77... no checking for riscv64-redhat-linux-gnu-fort77... no checking for riscv64-redhat-linux-gnu-fl32... no checking for riscv64-redhat-linux-gnu-af77... no checking for riscv64-redhat-linux-gnu-f90... no checking for riscv64-redhat-linux-gnu-xlf90... no checking for riscv64-redhat-linux-gnu-pgf90... no checking for riscv64-redhat-linux-gnu-epcf90... no checking for riscv64-redhat-linux-gnu-f95... no checking for riscv64-redhat-linux-gnu-fort... no checking for riscv64-redhat-linux-gnu-xlf95... no checking for riscv64-redhat-linux-gnu-ifc... no checking for riscv64-redhat-linux-gnu-efc... no checking for riscv64-redhat-linux-gnu-pgf95... no checking for riscv64-redhat-linux-gnu-lf95... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for ANSI C header files... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for memset... yes checking for strdup... yes checking for int64_t... yes checking for int32_t... yes checking for int16_t... yes checking for int8_t... yes checking for u_int64_t... yes checking for u_int32_t... yes checking for u_int16_t... yes checking for u_int8_t... yes checking whether the compiler supports __alignof__... yes configure: creating ./config.status config.status: creating Makefile config.status: creating debug/Makefile config.status: creating authentication/Makefile config.status: creating mdnsd/Makefile config.status: creating opendaap.pc config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/rpmbuild/BUILD/libopendaap-0.4.0' Making all in authentication make[2]: Entering directory '/rpmbuild/BUILD/libopendaap-0.4.0/authentication' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o hasher.lo `test -f 'hasher.c' || echo './'`hasher.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o md5.lo `test -f 'md5.c' || echo './'`md5.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c hasher.c -fPIC -DPIC -o .libs/hasher.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c md5.c -fPIC -DPIC -o .libs/md5.o md5.c: In function 'OpenDaap_MD5Final': md5.c:172:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ hasher.c: In function 'GenerateStatic_42': hasher.c:51:24: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *p = staticHash_42; ^~~~~~~~~~~~~ hasher.c:62:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("Accept-Language"); ^ hasher.c:59:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:64:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("user-agent"); ^ hasher.c:59:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:67:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("max-age"); ^ hasher.c:59:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:69:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("Authorization"); ^ hasher.c:59:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:72:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("Client-DAAP-Version"); ^ hasher.c:59:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:74:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("Accept-Encoding"); ^ hasher.c:59:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:77:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("daap.protocolversion"); ^ hasher.c:59:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:79:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("daap.songartist"); ^ hasher.c:59:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:82:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("daap.songcomposer"); ^ hasher.c:59:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:84:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("daap.songdatemodified"); ^ hasher.c:59:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:87:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("daap.songdiscnumber"); ^ hasher.c:59:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:89:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("daap.songdisabled"); ^ hasher.c:59:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:92:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("playlist-item-spec"); ^ hasher.c:59:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:94:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("revision-number"); ^ hasher.c:59:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:97:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("session-id"); ^ hasher.c:59:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:99:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("content-codes"); ^ hasher.c:59:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:102:33: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Final' differ in signedness [-Wpointer-sign] OpenDaap_MD5Final(&ctx, buf); ^~~ In file included from hasher.c:28:0: md5.h:15:6: note: expected 'unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Final(MD5_CTX *, unsigned char digest[16]); ^~~~~~~~~~~~~~~~~ hasher.c:103:24: warning: pointer targets in passing argument 1 of 'DigestToString' differ in signedness [-Wpointer-sign] DigestToString(buf, p); ^~~ hasher.c:37:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void DigestToString(const unsigned char *digest, char *string) ^~~~~~~~~~~~~~ hasher.c:103:29: warning: pointer targets in passing argument 2 of 'DigestToString' differ in signedness [-Wpointer-sign] DigestToString(buf, p); ^ hasher.c:37:13: note: expected 'char *' but argument is of type 'unsigned char *' static void DigestToString(const unsigned char *digest, char *string) ^~~~~~~~~~~~~~ hasher.c: In function 'GenerateStatic_45': hasher.c:111:24: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *p = staticHash_45; ^~~~~~~~~~~~~ hasher.c:122:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("eqwsdxcqwesdc"); ^ hasher.c:119:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:124:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("op[;lm,piojkmn"); ^ hasher.c:119:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:127:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("876trfvb 34rtgbvc"); ^ hasher.c:119:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:129:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("=-0ol.,m3ewrdfv"); ^ hasher.c:119:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:132:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("87654323e4rgbv "); ^ hasher.c:119:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:134:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("1535753690868867974342659792"); ^ hasher.c:119:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:137:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("Song Name"); ^ hasher.c:119:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:139:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("DAAP-CLIENT-ID:"); ^ hasher.c:119:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:142:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("111222333444555"); ^ hasher.c:119:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:144:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("4089961010"); ^ hasher.c:119:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:147:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("playlist-item-spec"); ^ hasher.c:119:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:149:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("revision-number"); ^ hasher.c:119:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:152:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("session-id"); ^ hasher.c:119:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:154:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("content-codes"); ^ hasher.c:119:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:157:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("IUYHGFDCXWEDFGHN"); ^ hasher.c:119:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:159:27: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] MD5_STRUPDATE("iuytgfdxwerfghjm"); ^ hasher.c:119:53: note: in definition of macro 'MD5_STRUPDATE' #define MD5_STRUPDATE(str) OpenDaap_MD5Update(&ctx, str, strlen(str)) ^~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:163:33: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Final' differ in signedness [-Wpointer-sign] OpenDaap_MD5Final(&ctx, buf); ^~~ In file included from hasher.c:28:0: md5.h:15:6: note: expected 'unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Final(MD5_CTX *, unsigned char digest[16]); ^~~~~~~~~~~~~~~~~ hasher.c:164:24: warning: pointer targets in passing argument 1 of 'DigestToString' differ in signedness [-Wpointer-sign] DigestToString(buf, p); ^~~ hasher.c:37:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void DigestToString(const unsigned char *digest, char *string) ^~~~~~~~~~~~~~ hasher.c:164:29: warning: pointer targets in passing argument 2 of 'DigestToString' differ in signedness [-Wpointer-sign] DigestToString(buf, p); ^ hasher.c:37:13: note: expected 'char *' but argument is of type 'unsigned char *' static void DigestToString(const unsigned char *digest, char *string) ^~~~~~~~~~~~~~ hasher.c: In function 'GenerateHash': hasher.c:189:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] OpenDaap_MD5Update(&ctx, url, strlen(url)); ^~~ In file included from hasher.c:27:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ hasher.c:190:30: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] OpenDaap_MD5Update(&ctx, appleCopyright, strlen(appleCopyright)); ^~~~~~~~~~~~~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:192:30: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] OpenDaap_MD5Update(&ctx, &hashTable[hashSelect * 65], 32); ^ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:198:34: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Update' differ in signedness [-Wpointer-sign] OpenDaap_MD5Update(&ctx, scribble, strlen(scribble)); ^~~~~~~~ In file included from hasher.c:28:0: md5.h:14:6: note: expected 'const unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~~~~ hasher.c:201:29: warning: pointer targets in passing argument 2 of 'OpenDaap_MD5Final' differ in signedness [-Wpointer-sign] OpenDaap_MD5Final(&ctx, buf); ^~~ In file included from hasher.c:28:0: md5.h:15:6: note: expected 'unsigned char *' but argument is of type 'char *' void OpenDaap_MD5Final(MD5_CTX *, unsigned char digest[16]); ^~~~~~~~~~~~~~~~~ hasher.c:202:20: warning: pointer targets in passing argument 1 of 'DigestToString' differ in signedness [-Wpointer-sign] DigestToString(buf, outhash); ^~~ hasher.c:37:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void DigestToString(const unsigned char *digest, char *string) ^~~~~~~~~~~~~~ hasher.c:202:25: warning: pointer targets in passing argument 2 of 'DigestToString' differ in signedness [-Wpointer-sign] DigestToString(buf, outhash); ^~~~~~~ hasher.c:37:13: note: expected 'char *' but argument is of type 'unsigned char *' static void DigestToString(const unsigned char *digest, char *string) ^~~~~~~~~~~~~~ /bin/sh ../libtool --mode=link gcc -W -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libauthentication.la hasher.lo md5.lo ar cru .libs/libauthentication.a .libs/hasher.o .libs/md5.o ranlib .libs/libauthentication.a creating libauthentication.la (cd .libs && rm -f libauthentication.la && ln -s ../libauthentication.la libauthentication.la) make[2]: Leaving directory '/rpmbuild/BUILD/libopendaap-0.4.0/authentication' Making all in debug make[2]: Entering directory '/rpmbuild/BUILD/libopendaap-0.4.0/debug' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -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 debug.lo `test -f 'debug.c' || echo './'`debug.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c debug.c -fPIC -DPIC -o .libs/debug.o debug.c: In function 'debug_init': debug.c:60:15: warning: implicit declaration of function 'strchr' [-Wimplicit-function-declaration] end = strchr(p, ','); ^~~~~~ debug.c:60:15: warning: incompatible implicit declaration of built-in function 'strchr' debug.c:60:15: note: include '' or provide a declaration of 'strchr' debug.c:62:24: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] else end = p + strlen(p); ^~~~~~ debug.c:62:24: warning: incompatible implicit declaration of built-in function 'strlen' debug.c:62:24: note: include '' or provide a declaration of 'strlen' debug.c:66:35: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] class_or_channel = (char*)malloc(class_or_channel_size + 1); ^~~~~~ debug.c:66:35: warning: incompatible implicit declaration of built-in function 'malloc' debug.c:66:35: note: include '' or provide a declaration of 'malloc' debug.c:67:9: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(class_or_channel, p, class_or_channel_size); ^~~~~~~ debug.c:67:9: warning: incompatible implicit declaration of built-in function 'strncpy' debug.c:67:9: note: include '' or provide a declaration of 'strncpy' debug.c:71:13: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(class_or_channel, "err") == 0) ^~~~~~ debug.c: In function 'debug_get_debugging': debug.c:110:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ debug.c: In function 'get_debug_class_str': debug.c:99:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /bin/sh ../libtool --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libdebug.la debug.lo ar cru .libs/libdebug.a .libs/debug.o ranlib .libs/libdebug.a creating libdebug.la (cd .libs && rm -f libdebug.la && ln -s ../libdebug.la libdebug.la) make[2]: Leaving directory '/rpmbuild/BUILD/libopendaap-0.4.0/debug' Making all in mdnsd make[2]: Entering directory '/rpmbuild/BUILD/libopendaap-0.4.0/mdnsd' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o 1035.lo `test -f '1035.c' || echo './'`1035.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o mdnsd.lo `test -f 'mdnsd.c' || echo './'`mdnsd.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c 1035.c -fPIC -DPIC -o .libs/1035.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c mdnsd.c -fPIC -DPIC -o .libs/mdnsd.o 1035.c: In function '_label': 1035.c:90:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(strcmp(*namep,m->_labels[x])) continue; ^ In file included from 1035.c:2: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) ^~~~~~ 1035.c:90:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(strcmp(*namep,m->_labels[x])) continue; ^ In file included from 1035.c:2: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) ^~~~~~ 1035.c: In function '_rrparse': 1035.c:209:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rr[i].known.a.name = m->_packet + m->_len; ^ mdnsd.c: In function '_c_next': mdnsd.c:115:58: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if((type == c->rr.type || type == 255) && strcmp(c->rr.name, host) == 0) ^ In file included from mdnsd.c:3: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) ^~~~~~ mdnsd.c: In function '_r_next': mdnsd.c:124:41: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(type == r->rr.type && strcmp(r->rr.name, host) == 0) ^ In file included from mdnsd.c:3: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) ^~~~~~ mdnsd.c: In function '_rr_len': mdnsd.c:133:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(rr->rdname) len += strlen(rr->rdname); // worst case ^~ In file included from mdnsd.c:3: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) ^~~~~~ mdnsd.c: In function '_a_match': mdnsd.c:141:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(strcmp(r->name,a->name) || r->type != a->type) ^ In file included from mdnsd.c:3: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) ^~~~~~ mdnsd.c:141:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(strcmp(r->name,a->name) || r->type != a->type) ^ In file included from mdnsd.c:3: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) ^~~~~~ mdnsd.c:144:40: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(r->type == QTYPE_SRV && !strcmp(r->known.srv.name,a->rdname) && ^ In file included from mdnsd.c:3: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) ^~~~~~ mdnsd.c:144:58: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(r->type == QTYPE_SRV && !strcmp(r->known.srv.name,a->rdname) && ^ In file included from mdnsd.c:3: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) ^~~~~~ mdnsd.c:151:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp(a->rdname,r->known.ns.name)) ^ In file included from mdnsd.c:3: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) ^~~~~~ mdnsd.c:151:31: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp(a->rdname,r->known.ns.name)) ^ In file included from mdnsd.c:3: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) ^~~~~~ mdnsd.c: In function '_r_done': mdnsd.c:258:23: warning: pointer targets in passing argument 1 of '_namehash' differ in signedness [-Wpointer-sign] int i = _namehash(r->rr.name) % SPRIME; ^ mdnsd.c:84:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int _namehash(const char *s) ^~~~~~~~~ mdnsd.c: In function '_conflict': mdnsd.c:278:17: warning: pointer targets in passing argument 1 of 'r->conflict' differ in signedness [-Wpointer-sign] r->conflict(r->rr.name,r->rr.type,r->arg); ^ mdnsd.c:278:17: note: expected 'char *' but argument is of type 'unsigned char *' mdnsd.c: In function '_cache': mdnsd.c:366:23: warning: pointer targets in passing argument 1 of '_namehash' differ in signedness [-Wpointer-sign] int i = _namehash(r->name) % LPRIME; ^ mdnsd.c:84:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int _namehash(const char *s) ^~~~~~~~~ mdnsd.c:370:32: warning: pointer targets in passing argument 3 of '_c_next' differ in signedness [-Wpointer-sign] while((c = _c_next(d,c,r->name,r->type))) c->rr.ttl = 0; ^ mdnsd.c:110:23: note: expected 'char *' but argument is of type 'unsigned char *' static struct cached *_c_next(mdnsd d, struct cached *c, char *host, int type) ^~~~~~~ mdnsd.c:376:32: warning: pointer targets in passing argument 3 of '_c_next' differ in signedness [-Wpointer-sign] while((c = _c_next(d,c,r->name,r->type))) ^ mdnsd.c:110:23: note: expected 'char *' but argument is of type 'unsigned char *' static struct cached *_c_next(mdnsd d, struct cached *c, char *host, int type) ^~~~~~~ mdnsd.c:388:32: warning: pointer targets in passing argument 3 of '_c_next' differ in signedness [-Wpointer-sign] while((c = _c_next(d,c,r->name,r->type))) ^ mdnsd.c:110:23: note: expected 'char *' but argument is of type 'unsigned char *' static struct cached *_c_next(mdnsd d, struct cached *c, char *host, int type) ^~~~~~~ mdnsd.c:401:25: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] c->rr.name = strdup(r->name); ^ In file included from mdnsd.c:3:0: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strdup (const char *__s) ^~~~~~ mdnsd.c:401:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] c->rr.name = strdup(r->name); ^ mdnsd.c:415:31: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] c->rr.rdname = strdup(r->known.ns.name); ^ In file included from mdnsd.c:3:0: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strdup (const char *__s) ^~~~~~ mdnsd.c:415:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] c->rr.rdname = strdup(r->known.ns.name); ^ mdnsd.c:418:31: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] c->rr.rdname = strdup(r->known.srv.name); ^ In file included from mdnsd.c:3:0: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strdup (const char *__s) ^~~~~~ mdnsd.c:418:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] c->rr.rdname = strdup(r->known.srv.name); ^ mdnsd.c:427:30: warning: pointer targets in passing argument 3 of '_q_next' differ in signedness [-Wpointer-sign] if((c->q = _q_next(d, 0, r->name, r->type))) ^ mdnsd.c:101:22: note: expected 'char *' but argument is of type 'unsigned char *' static struct query *_q_next(mdnsd d, struct query *q, char *host, int type) ^~~~~~~ mdnsd.c: In function 'mdnsd_in': mdnsd.c:518:78: warning: pointer targets in passing argument 3 of '_r_next' differ in signedness [-Wpointer-sign] if((m->qd[i].class & CLASS_Mask) != d->class || (r = _r_next(d,0,m->qd[i].name,m->qd[i].type)) == 0) continue; ^ mdnsd.c:119:15: note: expected 'char *' but argument is of type 'unsigned char *' static mdnsdr _r_next(mdnsd d, mdnsdr r, char *host, int type) ^~~~~~~ mdnsd.c:524:42: warning: pointer targets in passing argument 3 of '_r_next' differ in signedness [-Wpointer-sign] for(;r != 0; r = _r_next(d,r,m->qd[i].name,m->qd[i].type)) ^ mdnsd.c:119:15: note: expected 'char *' but argument is of type 'unsigned char *' static mdnsdr _r_next(mdnsd d, mdnsdr r, char *host, int type) ^~~~~~~ mdnsd.c:530:69: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(m->qd[i].type != m->an[j].type || strcmp(m->qd[i].name,m->an[j].name)) continue; ^ In file included from mdnsd.c:3: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) ^~~~~~ mdnsd.c:530:83: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(m->qd[i].type != m->an[j].type || strcmp(m->qd[i].name,m->an[j].name)) continue; ^ In file included from mdnsd.c:3: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) ^~~~~~ mdnsd.c:537:65: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(m->qd[i].type != m->an[j].type || strcmp(m->qd[i].name,m->an[j].name)) continue; ^ In file included from mdnsd.c:3: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) ^~~~~~ mdnsd.c:537:79: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(m->qd[i].type != m->an[j].type || strcmp(m->qd[i].name,m->an[j].name)) continue; ^ In file included from mdnsd.c:3: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) ^~~~~~ mdnsd.c:552:29: warning: pointer targets in passing argument 3 of '_r_next' differ in signedness [-Wpointer-sign] if((r = _r_next(d,0,m->an[i].name,m->an[i].type)) != 0 && ^ mdnsd.c:119:15: note: expected 'char *' but argument is of type 'unsigned char *' static mdnsdr _r_next(mdnsd d, mdnsdr r, char *host, int type) ^~~~~~~ mdnsd.c: In function 'mdnsd_out': mdnsd.c:680:30: warning: pointer targets in passing argument 2 of 'message_qd' differ in signedness [-Wpointer-sign] message_qd(m,q->name,q->type,d->class); ^ In file included from mdnsd.h:3:0, from mdnsd.c:1: 1035.h:75:6: note: expected 'unsigned char *' but argument is of type 'char *' void message_qd(struct message *m, unsigned char *name, u_int16_t type, u_int16_t class); ^~~~~~~~~~ mdnsd.c:706:30: warning: pointer targets in passing argument 2 of 'message_an' differ in signedness [-Wpointer-sign] message_an(m,q->name,q->type,d->class,c->rr.ttl - d->now.tv_sec); ^ In file included from mdnsd.h:3:0, from mdnsd.c:1: 1035.h:78:6: note: expected 'unsigned char *' but argument is of type 'char *' void message_an(struct message *m, unsigned char *name, u_int16_t type, u_int16_t class, u_int32_t ttl); ^~~~~~~~~~ mdnsd.c: In function 'mdnsd_shared': mdnsd.c:815:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] r->rr.name = strdup(host); ^ mdnsd.c: In function 'mdnsd_set_host': mdnsd.c:865:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] r->rr.rdname = strdup(name); ^ /bin/sh ../libtool --mode=link gcc -W -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libmdnsd.la 1035.lo mdnsd.lo ar cru .libs/libmdnsd.a .libs/1035.o .libs/mdnsd.o ranlib .libs/libmdnsd.a creating libmdnsd.la (cd .libs && rm -f libmdnsd.la && ln -s ../libmdnsd.la libmdnsd.la) make[2]: Leaving directory '/rpmbuild/BUILD/libopendaap-0.4.0/mdnsd' make[2]: Entering directory '/rpmbuild/BUILD/libopendaap-0.4.0' /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./debug -W -Wall -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 -c -o client.lo `test -f 'client.c' || echo './'`client.c /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./debug -W -Wall -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 -c -o daap.lo `test -f 'daap.c' || echo './'`daap.c /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./debug -W -Wall -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 -c -o discover.lo `test -f 'discover.c' || echo './'`discover.c /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./debug -W -Wall -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 -c -o dmap_generics.lo `test -f 'dmap_generics.c' || echo './'`dmap_generics.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./debug -W -Wall -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 -c client.c -fPIC -DPIC -o .libs/client.o gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./debug -W -Wall -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 -c daap.c -fPIC -DPIC -o .libs/daap.o gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./debug -W -Wall -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 -c dmap_generics.c -fPIC -DPIC -o .libs/dmap_generics.o gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./debug -W -Wall -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 -c discover.c -fPIC -DPIC -o .libs/discover.o In file included from daap.c:42:0: daap_readtypes.h: In function 'readBigEndian_INT8': daap_readtypes.h:44:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int)buf % __alignof__(type)) != 0) { \ ^ daap_readtypes.h:59:5: note: in expansion of macro 'FIXUP_ALIGNMENT' FIXUP_ALIGNMENT(DMAP_INT8); ^~~~~~~~~~~~~~~ daap_readtypes.h: In function 'readBigEndian_UINT8': daap_readtypes.h:44:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int)buf % __alignof__(type)) != 0) { \ ^ daap_readtypes.h:66:5: note: in expansion of macro 'FIXUP_ALIGNMENT' FIXUP_ALIGNMENT(DMAP_UINT8); ^~~~~~~~~~~~~~~ daap_readtypes.h: In function 'readBigEndian_INT16': daap_readtypes.h:44:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int)buf % __alignof__(type)) != 0) { \ ^ daap_readtypes.h:73:5: note: in expansion of macro 'FIXUP_ALIGNMENT' FIXUP_ALIGNMENT(DMAP_INT16); ^~~~~~~~~~~~~~~ daap_readtypes.h: In function 'readBigEndian_UINT16': daap_readtypes.h:44:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int)buf % __alignof__(type)) != 0) { \ ^ daap_readtypes.h:80:5: note: in expansion of macro 'FIXUP_ALIGNMENT' FIXUP_ALIGNMENT(DMAP_UINT16); ^~~~~~~~~~~~~~~ daap_readtypes.h: In function 'readBigEndian_INT32': daap_readtypes.h:44:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int)buf % __alignof__(type)) != 0) { \ ^ daap_readtypes.h:87:5: note: in expansion of macro 'FIXUP_ALIGNMENT' FIXUP_ALIGNMENT(DMAP_INT32); ^~~~~~~~~~~~~~~ daap_readtypes.h: In function 'readBigEndian_UINT32': daap_readtypes.h:44:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int)buf % __alignof__(type)) != 0) { \ ^ daap_readtypes.h:94:5: note: in expansion of macro 'FIXUP_ALIGNMENT' FIXUP_ALIGNMENT(DMAP_UINT32); ^~~~~~~~~~~~~~~ daap_readtypes.h: In function 'readBigEndian_INT64': daap_readtypes.h:44:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int)buf % __alignof__(type)) != 0) { \ ^ daap_readtypes.h:102:5: note: in expansion of macro 'FIXUP_ALIGNMENT' FIXUP_ALIGNMENT(DMAP_INT64); ^~~~~~~~~~~~~~~ daap_readtypes.h: In function 'readBigEndian_UINT64': daap_readtypes.h:44:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int)buf % __alignof__(type)) != 0) { \ ^ daap_readtypes.h:112:5: note: in expansion of macro 'FIXUP_ALIGNMENT' FIXUP_ALIGNMENT(DMAP_UINT64); ^~~~~~~~~~~~~~~ daap.c: In function 'contentCodesResponse': daap.c:272:40: warning: unused parameter 'scopeData' [-Wunused-parameter] void *scopeData) ^~~~~~~~~ In file included from dmap_generics.c:44:0: daap_readtypes.h: In function 'readBigEndian_INT8': daap_readtypes.h:44:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int)buf % __alignof__(type)) != 0) { \ ^ daap_readtypes.h:59:5: note: in expansion of macro 'FIXUP_ALIGNMENT' FIXUP_ALIGNMENT(DMAP_INT8); ^~~~~~~~~~~~~~~ daap_readtypes.h: In function 'readBigEndian_UINT8': daap_readtypes.h:44:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int)buf % __alignof__(type)) != 0) { \ ^ daap_readtypes.h:66:5: note: in expansion of macro 'FIXUP_ALIGNMENT' FIXUP_ALIGNMENT(DMAP_UINT8); ^~~~~~~~~~~~~~~ daap_readtypes.h: In function 'readBigEndian_INT16': daap_readtypes.h:44:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int)buf % __alignof__(type)) != 0) { \ ^ daap_readtypes.h:73:5: note: in expansion of macro 'FIXUP_ALIGNMENT' FIXUP_ALIGNMENT(DMAP_INT16); ^~~~~~~~~~~~~~~ daap_readtypes.h: In function 'readBigEndian_UINT16': daap_readtypes.h:44:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int)buf % __alignof__(type)) != 0) { \ ^ daap_readtypes.h:80:5: note: in expansion of macro 'FIXUP_ALIGNMENT' FIXUP_ALIGNMENT(DMAP_UINT16); ^~~~~~~~~~~~~~~ daap_readtypes.h: In function 'readBigEndian_INT32': daap_readtypes.h:44:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int)buf % __alignof__(type)) != 0) { \ ^ daap_readtypes.h:87:5: note: in expansion of macro 'FIXUP_ALIGNMENT' FIXUP_ALIGNMENT(DMAP_INT32); ^~~~~~~~~~~~~~~ daap_readtypes.h: In function 'readBigEndian_UINT32': daap_readtypes.h:44:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int)buf % __alignof__(type)) != 0) { \ ^ daap_readtypes.h:94:5: note: in expansion of macro 'FIXUP_ALIGNMENT' FIXUP_ALIGNMENT(DMAP_UINT32); ^~~~~~~~~~~~~~~ daap_readtypes.h: In function 'readBigEndian_INT64': daap_readtypes.h:44:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int)buf % __alignof__(type)) != 0) { \ ^ daap_readtypes.h:102:5: note: in expansion of macro 'FIXUP_ALIGNMENT' FIXUP_ALIGNMENT(DMAP_INT64); ^~~~~~~~~~~~~~~ In file included from daap.c:42:0: At top level: daap_readtypes.h:109:20: warning: 'readBigEndian_UINT64' defined but not used [-Wunused-function] static DMAP_UINT64 readBigEndian_UINT64(const void *buf, size_t size) ^~~~~~~~~~~~~~~~~~~~ daap_readtypes.h:99:19: warning: 'readBigEndian_INT64' defined but not used [-Wunused-function] static DMAP_INT64 readBigEndian_INT64(const void *buf, size_t size) ^~~~~~~~~~~~~~~~~~~ daap_readtypes.h:92:20: warning: 'readBigEndian_UINT32' defined but not used [-Wunused-function] static DMAP_UINT32 readBigEndian_UINT32(const void *buf, size_t size) ^~~~~~~~~~~~~~~~~~~~ daap_readtypes.h:64:19: warning: 'readBigEndian_UINT8' defined but not used [-Wunused-function] static DMAP_UINT8 readBigEndian_UINT8(const void *buf, size_t size) ^~~~~~~~~~~~~~~~~~~ daap_readtypes.h: In function 'readBigEndian_UINT64': daap_readtypes.h:44:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int)buf % __alignof__(type)) != 0) { \ ^ daap_readtypes.h:112:5: note: in expansion of macro 'FIXUP_ALIGNMENT' FIXUP_ALIGNMENT(DMAP_UINT64); ^~~~~~~~~~~~~~~ In file included from dmap_generics.c:37:0: dmap_generics.c: In function 'listitemGenericContainer': debug/debug.h:61:13: warning: this statement may fall through [-Wimplicit-fallthrough=] do { if (__GET_DEBUGGING(debug_class, debug_channel)) { \ ^ debug/debug.h:90:15: note: in expansion of macro '__DEBUG_LOG' #define FIXME __DEBUG_LOG(_FIXME, DEFAULT_DEBUG_CHANNEL) ^~~~~~~~~~~ dmap_generics.c:203:13: note: in expansion of macro 'FIXME' FIXME("read time\n"); ^~~~~ dmap_generics.c:204:9: note: here case DMAP_DATATYPE_INVALID: ^~~~ In file included from dmap_generics.c:44:0: At top level: daap_readtypes.h:119:31: warning: 'read_fourcc' defined but not used [-Wunused-function] static dmap_contentCodeFOURCC read_fourcc(const void *buf, size_t size) ^~~~~~~~~~~ client.c: In function 'DAAP_Client_SetDebug': client.c:232:40: warning: unused parameter 'pCThis' [-Wunused-parameter] int DAAP_Client_SetDebug(DAAP_SClient *pCThis, const char *const debug) ^~~~~~ client.c: In function 'Priv_DAAP_ClientHost_InitialTransaction': client.c:392:42: warning: pointer targets in passing argument 2 of 'GenerateHash' differ in signedness [-Wpointer-sign] GenerateHash(pCHThis->version_major, buf, 2, hash, 0); ^~~ In file included from client.c:46:0: authentication/hasher.h:29:6: note: expected 'const unsigned char *' but argument is of type 'char *' void GenerateHash(short version_major, ^~~~~~~~~~~~ client.c:392:50: warning: pointer targets in passing argument 4 of 'GenerateHash' differ in signedness [-Wpointer-sign] GenerateHash(pCHThis->version_major, buf, 2, hash, 0); ^~~~ In file included from client.c:46:0: authentication/hasher.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' void GenerateHash(short version_major, ^~~~~~~~~~~~ client.c: In function 'Priv_DAAP_ClientHost_GetDatabases': client.c:427:42: warning: pointer targets in passing argument 2 of 'GenerateHash' differ in signedness [-Wpointer-sign] GenerateHash(pCHThis->version_major, buf, 2, hash, 0); ^~~ In file included from client.c:46:0: authentication/hasher.h:29:6: note: expected 'const unsigned char *' but argument is of type 'char *' void GenerateHash(short version_major, ^~~~~~~~~~~~ client.c:427:50: warning: pointer targets in passing argument 4 of 'GenerateHash' differ in signedness [-Wpointer-sign] GenerateHash(pCHThis->version_major, buf, 2, hash, 0); ^~~~ In file included from client.c:46:0: authentication/hasher.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' void GenerateHash(short version_major, ^~~~~~~~~~~~ client.c: In function 'Priv_DAAP_ClientHost_GetDatabaseItems': client.c:569:42: warning: pointer targets in passing argument 2 of 'GenerateHash' differ in signedness [-Wpointer-sign] GenerateHash(pCHThis->version_major, buf, 2, hash, 0); ^~~ In file included from client.c:46:0: authentication/hasher.h:29:6: note: expected 'const unsigned char *' but argument is of type 'char *' void GenerateHash(short version_major, ^~~~~~~~~~~~ client.c:569:50: warning: pointer targets in passing argument 4 of 'GenerateHash' differ in signedness [-Wpointer-sign] GenerateHash(pCHThis->version_major, buf, 2, hash, 0); ^~~~ In file included from client.c:46:0: authentication/hasher.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' void GenerateHash(short version_major, ^~~~~~~~~~~~ client.c: In function 'Priv_DAAP_ClientHost_GetDatabasePlaylistItems': client.c:876:42: warning: pointer targets in passing argument 2 of 'GenerateHash' differ in signedness [-Wpointer-sign] GenerateHash(pCHThis->version_major, buf, 2, hash, 0); ^~~ In file included from client.c:46:0: authentication/hasher.h:29:6: note: expected 'const unsigned char *' but argument is of type 'char *' void GenerateHash(short version_major, ^~~~~~~~~~~~ client.c:876:50: warning: pointer targets in passing argument 4 of 'GenerateHash' differ in signedness [-Wpointer-sign] GenerateHash(pCHThis->version_major, buf, 2, hash, 0); ^~~~ In file included from client.c:46:0: authentication/hasher.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' void GenerateHash(short version_major, ^~~~~~~~~~~~ client.c: In function 'Priv_DAAP_ClientHost_GetDatabasePlaylists': client.c:962:42: warning: pointer targets in passing argument 2 of 'GenerateHash' differ in signedness [-Wpointer-sign] GenerateHash(pCHThis->version_major, buf, 2, hash, 0); ^~~ In file included from client.c:46:0: authentication/hasher.h:29:6: note: expected 'const unsigned char *' but argument is of type 'char *' void GenerateHash(short version_major, ^~~~~~~~~~~~ client.c:962:50: warning: pointer targets in passing argument 4 of 'GenerateHash' differ in signedness [-Wpointer-sign] GenerateHash(pCHThis->version_major, buf, 2, hash, 0); ^~~~ In file included from client.c:46:0: authentication/hasher.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' void GenerateHash(short version_major, ^~~~~~~~~~~~ client.c: In function 'DAAP_ClientHost_SetPassword': client.c:1192:18: warning: unused variable 'i' [-Wunused-variable] unsigned int i; ^ client.c: In function 'DAAP_ClientHost_GetPlaylists': client.c:1259:47: warning: unused parameter 'databaseid' [-Wunused-parameter] int databaseid, ^~~~~~~~~~ client.c: In function 'DAAP_ClientHost_GetPlaylistItems': client.c:1290:10: warning: unused variable 'assert' [-Wunused-variable] char assert[(sizeof(DAAP_ClientHost_DatabasePlaylistItem) == sizeof(int)) ? 1 : -1]; ^~~~~~ client.c:1279:51: warning: unused parameter 'databaseid' [-Wunused-parameter] int databaseid, int playlistid, ^~~~~~~~~~ client.c: In function 'DAAP_ClientHost_GetAudioFile': client.c:1406:42: warning: pointer targets in passing argument 2 of 'GenerateHash' differ in signedness [-Wpointer-sign] GenerateHash(pCHThis->version_major, hashUrl, 2, hash, requestid); ^~~~~~~ In file included from client.c:46:0: authentication/hasher.h:29:6: note: expected 'const unsigned char *' but argument is of type 'char *' void GenerateHash(short version_major, ^~~~~~~~~~~~ client.c:1406:54: warning: pointer targets in passing argument 4 of 'GenerateHash' differ in signedness [-Wpointer-sign] GenerateHash(pCHThis->version_major, hashUrl, 2, hash, requestid); ^~~~ In file included from client.c:46:0: authentication/hasher.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' void GenerateHash(short version_major, ^~~~~~~~~~~~ client.c: In function 'DAAP_ClientHost_FreeAudioFile': client.c:1440:53: warning: unused parameter 'pCHThis' [-Wunused-parameter] int DAAP_ClientHost_FreeAudioFile(DAAP_SClientHost *pCHThis, ^~~~~~~ client.c: In function 'AsyncGetFile': client.c:1495:42: warning: pointer targets in passing argument 2 of 'GenerateHash' differ in signedness [-Wpointer-sign] GenerateHash(pCHThis->version_major, hashUrl, 2, hash, pGetFile->requestid); ^~~~~~~ In file included from client.c:46:0: authentication/hasher.h:29:6: note: expected 'const unsigned char *' but argument is of type 'char *' void GenerateHash(short version_major, ^~~~~~~~~~~~ client.c:1495:54: warning: pointer targets in passing argument 4 of 'GenerateHash' differ in signedness [-Wpointer-sign] GenerateHash(pCHThis->version_major, hashUrl, 2, hash, pGetFile->requestid); ^~~~ In file included from client.c:46:0: authentication/hasher.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' void GenerateHash(short version_major, ^~~~~~~~~~~~ client.c: In function 'AsyncWaitUpdate': client.c:1654:42: warning: pointer targets in passing argument 2 of 'GenerateHash' differ in signedness [-Wpointer-sign] GenerateHash(pCHThis->version_major, buf, 2, hash, 0); ^~~ In file included from client.c:46:0: authentication/hasher.h:29:6: note: expected 'const unsigned char *' but argument is of type 'char *' void GenerateHash(short version_major, ^~~~~~~~~~~~ client.c:1654:50: warning: pointer targets in passing argument 4 of 'GenerateHash' differ in signedness [-Wpointer-sign] GenerateHash(pCHThis->version_major, buf, 2, hash, 0); ^~~~ In file included from client.c:46:0: authentication/hasher.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' void GenerateHash(short version_major, ^~~~~~~~~~~~ client.c:1643:53: warning: unused parameter 'unused' [-Wunused-parameter] static void AsyncWaitUpdate(void *pv_pCHThis, void *unused) ^~~~~~ client.c: In function 'update_watch_runloop': client.c:1665:63: warning: unused parameter 'unused' [-Wunused-parameter] static void update_watch_runloop(void *pv_pUpdateWatch, void *unused) ^~~~~~ discover.c: In function 'InfoCallback': discover.c:133:32: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(host->hostname, answer->rdname); ^~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/types.h:25, from portability.h:36, from discover.c:28: /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)) ^ discover.c: In function 'NameCallback': discover.c:279:53: warning: pointer targets in passing argument 2 of 'DISC_host_is_in_queue' differ in signedness [-Wpointer-sign] if ((old = DISC_host_is_in_queue(pDiscover, answer->rdname))) ^~~~~~ discover.c:186:28: note: expected 'const char *' but argument is of type 'unsigned char *' static SDiscover_HostList *DISC_host_is_in_queue(SDiscover *pDiscover, ^~~~~~~~~~~~~~~~~~~~~ discover.c:307:32: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(new->sharename, answer->rdname); ^~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/types.h:25, from portability.h:36, from discover.c:28: /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)) ^ discover.c:309:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sharename_len = strlen(answer->rdname) - strlen(answer->name) - 1; ^~~~~~ In file included from discover.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) ^~~~~~ discover.c:309:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sharename_len = strlen(answer->rdname) - strlen(answer->name) - 1; ^~~~~~ In file included from discover.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) ^~~~~~ discover.c:310:42: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(new->sharename_friendly, answer->rdname, sharename_len); ^~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/types.h:25, from portability.h:36, from discover.c:28: /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, ^ discover.c: In function 'DISC_ioiteration': discover.c:447:33: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] &ssize)) > 0) ^ In file included from /usr/include/sys/socket.h:269:0, from discover.c:31: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ discover.c: In function 'DISC_DiscoverHosts': discover.c:483:60: warning: unused parameter 'arg2' [-Wunused-parameter] static void DISC_DiscoverHosts(void *pvDiscoverThis, void *arg2) ^~~~ discover.c: In function 'Discover_Create': discover.c:527:5: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] pipe(pDiscoverNew->newquery_pipe); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from discover.c:49:0: At top level: endian_swap.h:58:13: warning: '__SwapPtr64' defined but not used [-Wunused-function] static void __SwapPtr64(int64_t *v) ^~~~~~~~~~~ discover.c: In function 'InfoCallback': discover.c:155:17: warning: 'refptr' may be used uninitialized in this function [-Wmaybe-uninitialized] *refptr = host->next; ~~~~~~~~^~~~~~~~~~~~ discover.c:127:17: warning: 'refptr' may be used uninitialized in this function [-Wmaybe-uninitialized] *refptr = host->next; ~~~~~~~~^~~~~~~~~~~~ discover.c:107:17: warning: 'refptr' may be used uninitialized in this function [-Wmaybe-uninitialized] *refptr = host->next; ~~~~~~~~^~~~~~~~~~~~ /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./debug -W -Wall -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 -c -o global.lo `test -f 'global.c' || echo './'`global.c /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./debug -W -Wall -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 -c -o http_client.lo `test -f 'http_client.c' || echo './'`http_client.c /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./debug -W -Wall -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 -c -o threadpool.lo `test -f 'threadpool.c' || echo './'`threadpool.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./debug -W -Wall -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 -c global.c -fPIC -DPIC -o .libs/global.o gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./debug -W -Wall -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 -c http_client.c -fPIC -DPIC -o .libs/http_client.o gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./debug -W -Wall -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 -c threadpool.c -fPIC -DPIC -o .libs/threadpool.o /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./debug -W -Wall -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 -c -o ioloop.lo `test -f 'ioloop.c' || echo './'`ioloop.c http_client.c: In function 'httpwatch_callback': http_client.c:839:29: warning: unused parameter 'fd' [-Wunused-parameter] void httpwatch_callback(int fd, void *ctx) ^~ http_client.c: In function 'HTTP_Client_Get_ToFile': http_client.c:673:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(filed, contentFromHeaders, contentLenFromHeaders); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http_client.c:724:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(filed, readbuffer, ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./debug -W -Wall -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 -c ioloop.c -fPIC -DPIC -o .libs/ioloop.o ioloop.c: In function 'fd_event_handle': ioloop.c:139:33: warning: unused parameter 'fd' [-Wunused-parameter] static void fd_event_handle(int fd, void *ctx) ^~ ioloop.c: In function 'fd_event_signal': ioloop.c:111:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(event->pipe[1], buf, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ./libtool --mode=link gcc -W -Wall -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libopendaap.la -rpath /usr/lib64 -version-number 0:1:0 -lpthread client.lo daap.lo discover.lo dmap_generics.lo global.lo http_client.lo threadpool.lo ioloop.lo authentication/libauthentication.la debug/libdebug.la mdnsd/libmdnsd.la gcc -shared .libs/client.o .libs/daap.o .libs/discover.o .libs/dmap_generics.o .libs/global.o .libs/http_client.o .libs/threadpool.o .libs/ioloop.o -Wl,--whole-archive authentication/.libs/libauthentication.a debug/.libs/libdebug.a mdnsd/.libs/libmdnsd.a -Wl,--no-whole-archive -lpthread -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,-soname -Wl,libopendaap.so.0 -o .libs/libopendaap.so.0.1.0 (cd .libs && rm -f libopendaap.so.0 && ln -s libopendaap.so.0.1.0 libopendaap.so.0) (cd .libs && rm -f libopendaap.so && ln -s libopendaap.so.0.1.0 libopendaap.so) creating libopendaap.la (cd .libs && rm -f libopendaap.la && ln -s ../libopendaap.la libopendaap.la) make[2]: Leaving directory '/rpmbuild/BUILD/libopendaap-0.4.0' make[1]: Leaving directory '/rpmbuild/BUILD/libopendaap-0.4.0' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Re7sdm + umask 022 + cd /rpmbuild/BUILD + '[' /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64 '!=' / ']' + rm -rf /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64 ++ dirname /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64 + mkdir -p /rpmbuild/BUILDROOT + mkdir /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64 + cd libopendaap-0.4.0 + rm -rf /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64 + make install DESTDIR=/rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64 'INSTALL=install -p' 'CPPROG=cp -p' Making install in authentication make[1]: Entering directory '/rpmbuild/BUILD/libopendaap-0.4.0/authentication' make[2]: Entering directory '/rpmbuild/BUILD/libopendaap-0.4.0/authentication' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/rpmbuild/BUILD/libopendaap-0.4.0/authentication' make[1]: Leaving directory '/rpmbuild/BUILD/libopendaap-0.4.0/authentication' Making install in debug make[1]: Entering directory '/rpmbuild/BUILD/libopendaap-0.4.0/debug' make[2]: Entering directory '/rpmbuild/BUILD/libopendaap-0.4.0/debug' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/rpmbuild/BUILD/libopendaap-0.4.0/debug' make[1]: Leaving directory '/rpmbuild/BUILD/libopendaap-0.4.0/debug' Making install in mdnsd make[1]: Entering directory '/rpmbuild/BUILD/libopendaap-0.4.0/mdnsd' make[2]: Entering directory '/rpmbuild/BUILD/libopendaap-0.4.0/mdnsd' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/rpmbuild/BUILD/libopendaap-0.4.0/mdnsd' make[1]: Leaving directory '/rpmbuild/BUILD/libopendaap-0.4.0/mdnsd' make[1]: Entering directory '/rpmbuild/BUILD/libopendaap-0.4.0' make[2]: Entering directory '/rpmbuild/BUILD/libopendaap-0.4.0' /bin/sh ./mkinstalldirs /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/lib64 mkdir -p -- /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/lib64 /bin/sh ./libtool --mode=install install -p libopendaap.la /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/lib64/libopendaap.la install -p .libs/libopendaap.so.0.1.0 /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/lib64/libopendaap.so.0.1.0 (cd /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/lib64 && rm -f libopendaap.so.0 && ln -s libopendaap.so.0.1.0 libopendaap.so.0) (cd /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/lib64 && rm -f libopendaap.so && ln -s libopendaap.so.0.1.0 libopendaap.so) install -p .libs/libopendaap.lai /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/lib64/libopendaap.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' /bin/sh ./mkinstalldirs /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/share/man/man3 mkdir -p -- /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/share/man/man3 install -p -m 644 ./libopendaap.3 /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/share/man/man3/libopendaap.3 /bin/sh ./mkinstalldirs /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/include/daap mkdir -p -- /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/include/daap /rpmbuild/BUILD/libopendaap-0.4.0/install-sh -c -m 644 client.h /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/include/daap/client.h /rpmbuild/BUILD/libopendaap-0.4.0/install-sh -c -m 644 portability.h /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/include/daap/portability.h /bin/sh ./mkinstalldirs /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/lib64/pkgconfig mkdir -p -- /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/lib64/pkgconfig install -p -m 644 opendaap.pc /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/lib64/pkgconfig/opendaap.pc make[2]: Leaving directory '/rpmbuild/BUILD/libopendaap-0.4.0' make[1]: Leaving directory '/rpmbuild/BUILD/libopendaap-0.4.0' + find /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64 -name '*.la' -exec rm -f '{}' ';' + sed -i -e 's/#include "config.h"//' /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/include/daap/portability.h + touch -r /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/include/daap/client.h /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/include/daap/portability.h + /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: libopendaap-0.4.0-16.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OybfZv + umask 022 + cd /rpmbuild/BUILD + cd libopendaap-0.4.0 + DOCDIR=/rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/share/doc/libopendaap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/share/doc/libopendaap + cp -pr AUTHORS /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/share/doc/libopendaap + cp -pr ChangeLog /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/share/doc/libopendaap + cp -pr COPYING /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64/usr/share/doc/libopendaap + exit 0 Provides: libopendaap = 0.4.0-16.fc28 libopendaap(riscv-64) = 0.4.0-16.fc28 libopendaap.so.0()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: libopendaap-devel-0.4.0-16.fc28.riscv64 Provides: libopendaap-devel = 0.4.0-16.fc28 libopendaap-devel(riscv-64) = 0.4.0-16.fc28 pkgconfig(opendaap) = 0.4.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libopendaap.so.0()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64 warning: Could not canonicalize hostname: stage4-builder Wrote: /rpmbuild/RPMS/riscv64/libopendaap-0.4.0-16.fc28.riscv64.rpm Wrote: /rpmbuild/RPMS/riscv64/libopendaap-devel-0.4.0-16.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HC4KQD + umask 022 + cd /rpmbuild/BUILD + cd libopendaap-0.4.0 + rm -rf /rpmbuild/BUILDROOT/libopendaap-0.4.0-16.fc28.riscv64 + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.IizXY5 + umask 022 + cd /rpmbuild/BUILD + rm -rf libopendaap-0.4.0 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + mount.static -o remount,ro / + poweroff reboot: Power down Power off