D: [iurt_root_command] chroot sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/libdnet-1.17.0-1.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tbhbXf + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf libdnet-libdnet-1.17.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libdnet-1.17.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libdnet-libdnet-1.17.0 + rm -rf /home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XwnQht + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libdnet-libdnet-1.17.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force autoreconf: running: /usr/bin/autoconf --force configure.ac:41: warning: The macro 'AC_LIBTOOL_DLOPEN' is obsolete. configure.ac:41: You should run autoupdate. m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:41: the top level configure.ac:41: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you configure.ac:41: put the 'dlopen' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:41: the top level configure.ac:42: warning: The macro 'AM_PROG_LIBTOOL' is obsolete. configure.ac:42: You should run autoupdate. m4/libtool.m4:101: AM_PROG_LIBTOOL is expanded from... configure.ac:42: the top level configure.ac:47: warning: The macro 'AC_ERROR' is obsolete. configure.ac:47: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:47: the top level configure.ac:135: warning: The macro 'AC_ERROR' is obsolete. configure.ac:135: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... configure.ac:135: the top level configure.ac:176: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:176: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:176: the top level configure.ac:206: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:206: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... m4/acinclude.m4:30: AC_DNET_SOCKADDR_IN6 is expanded from... configure.ac:206: the top level configure.ac:208: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:208: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... m4/acinclude.m4:7: AC_DNET_SOCKADDR_SA_LEN is expanded from... configure.ac:208: the top level configure.ac:211: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:211: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... m4/acinclude.m4:51: AC_DNET_ARPREQ_ARP_DEV is expanded from... configure.ac:211: the top level configure.ac:214: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:214: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... m4/acinclude.m4:72: AC_DNET_ROUTE_RT_MSGHDR is expanded from... configure.ac:214: the top level configure.ac:216: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.ac:216: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.ac:216: the top level configure.ac:229: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:229: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... m4/acinclude.m4:137: AC_DNET_LINUX_PF_PACKET is expanded from... configure.ac:229: the top level configure.ac:344: warning: AC_OUTPUT should be used without arguments. configure.ac:344: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot' autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and autoheader: WARNING: 'AC_DEFINE' allows one to define a template without autoheader: WARNING: 'acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function 'main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. autoreconf: running: automake --add-missing --copy --force-missing configure.ac:18: installing 'config/compile' configure.ac:14: installing 'config/missing' autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config/config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying config/ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 sleep supports fractional seconds... true checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-file... no checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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 checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for Python... checking for gethostbyname... yes checking for socket... yes checking for putmsg in -lstr... no checking for open_mib in -lnm... no checking for Check... checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for check... yes yes checking for egrep... (cached) /usr/bin/grep -E checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for sys/bufmod.h... no checking for sys/dlpi.h... no checking for sys/dlpihdr.h... no checking for sys/dlpi_ext.h... no checking for sys/ioctl.h... yes checking for sys/mib.h... no checking for sys/ndd_var.h... no checking for sys/socket.h... yes checking for sys/sockio.h... no checking for sys/sysctl.h... no checking for sys/time.h... yes checking for net/bpf.h... no checking for net/if.h... yes checking for net/if_var.h... no checking for net/if_arp.h... yes checking for net/if_dl.h... no checking for net/pfilt.h... no checking for net/pfvar.h... no checking for net/radix.h... no checking for net/raw.h... no checking for net/route.h... yes checking for netinet/in_var.h... no checking for net/if_tun.h... no checking for linux/if_tun.h... yes checking for netinet/ip_fw.h... no checking for linux/ip_fw.h... no checking for linux/ip_fwchains.h... no checking for linux/netfilter_ipv4/ipchains_core.h... no checking for ip_fil_compat.h... no checking for netinet/ip_fil_compat.h... no checking for ip_compat.h... no checking for netinet/ip_compat.h... no checking for ip_fil.h... no checking for netinet/ip_fil.h... no checking for hpsecurity.h... no checking for stropts.h... no checking for bsd/string.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking for sockaddr_in6 struct in ... yes checking for sa_len in sockaddr struct... no checking for arp_dev in arpreq struct... yes checking for rt_msghdr struct in ... no checking for working memcmp... yes checking for err... yes checking for strlcat... yes checking for strlcpy... yes checking for strsep... yes checking for Berkeley Packet Filter... no checking for Linux proc filesystem... yes checking for Linux PF_PACKET sockets... yes checking for SNMP MIB2 STREAMS... no checking for route(7) STREAMS... no checking for arp(7) ioctls... yes checking for raw IP sockets ip_{len,off} host byte ordering... no checking for cooked raw IP sockets... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating dnet-config config.status: creating include/Makefile config.status: creating include/dnet/Makefile config.status: creating man/Makefile config.status: creating src/Makefile config.status: creating python/Makefile config.status: creating python/setup.py config.status: creating python/dnet.pxd config.status: creating test/Makefile config.status: creating test/check/Makefile config.status: creating test/dnet/Makefile config.status: creating include/config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default commands + /usr/bin/make -O -j48 V=1 VERBOSE=1 Making all in include /usr/bin/make all-recursive Making all in dnet make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in man make[1]: Nothing to be done for 'all'. Making all in src make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o fw-none.lo fw-none.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c fw-none.c -fPIC -DPIC -o .libs/fw-none.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o eth-linux.lo eth-linux.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c eth-linux.c -fPIC -DPIC -o .libs/eth-linux.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o ip.lo ip.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c ip.c -fPIC -DPIC -o .libs/ip.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o ip6.lo ip6.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c ip6.c -fPIC -DPIC -o .libs/ip6.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o tun-linux.lo tun-linux.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c tun-linux.c -fPIC -DPIC -o .libs/tun-linux.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o ndisc-linux.lo ndisc-linux.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c ndisc-linux.c -fPIC -DPIC -o .libs/ndisc-linux.o ndisc-linux.c: In function 'ndisc_modify': ndisc-linux.c:78:24: warning: unused variable 'rta' [-Wunused-variable] 78 | struct rtattr *rta; | ^~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o arp-ioctl.lo arp-ioctl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c arp-ioctl.c -fPIC -DPIC -o .libs/arp-ioctl.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o ip-util.lo ip-util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c ip-util.c -fPIC -DPIC -o .libs/ip-util.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o rand.lo rand.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c rand.c -fPIC -DPIC -o .libs/rand.o rand.c: In function 'rand_open': rand.c:84:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 84 | read(fd, seed + sizeof(*tv), sizeof(seed) - sizeof(*tv)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o addr-util.lo addr-util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c addr-util.c -fPIC -DPIC -o .libs/addr-util.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o addr.lo addr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c addr.c -fPIC -DPIC -o .libs/addr.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o route-linux.lo route-linux.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c route-linux.c -fPIC -DPIC -o .libs/route-linux.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o intf.lo intf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c intf.c -fPIC -DPIC -o .libs/intf.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o blob.lo blob.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c blob.c -fPIC -DPIC -o .libs/blob.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -version-info 1:2:0 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libdnet.la -rpath /usr/lib64 addr-util.lo addr.lo blob.lo ip-util.lo ip6.lo rand.lo arp-ioctl.lo eth-linux.lo fw-none.lo intf.lo ip.lo route-linux.lo ndisc-linux.lo tun-linux.lo libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/addr-util.o .libs/addr.o .libs/blob.o .libs/ip-util.o .libs/ip6.o .libs/rand.o .libs/arp-ioctl.o .libs/eth-linux.o .libs/fw-none.o .libs/intf.o .libs/ip.o .libs/route-linux.o .libs/ndisc-linux.o .libs/tun-linux.o -O2 -g -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libdnet.so.1 -o .libs/libdnet.so.1.0.2 libtool: link: (cd ".libs" && rm -f "libdnet.so.1" && ln -s "libdnet.so.1.0.2" "libdnet.so.1") libtool: link: (cd ".libs" && rm -f "libdnet.so" && ln -s "libdnet.so.1.0.2" "libdnet.so") libtool: link: ( cd ".libs" && rm -f "libdnet.la" && ln -s "../libdnet.la" "libdnet.la" ) make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/src' Making all in python make[1]: Nothing to be done for 'all'. Making all in test Making all in check make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o check_eth.o check_eth.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o check_fw.o check_fw.c In file included from check_fw.c:10: check_fw.c: In function 'test_fw_openclose_fn': check_fw.c:21:47: warning: too many arguments for format [-Wformat-extra-args] 21 | fail_unless((fw = fw_open()) != NULL, "open failed"); | ^~~~~~~~~~~~~ check_fw.c:22:50: warning: too many arguments for format [-Wformat-extra-args] 22 | fail_unless((fw = fw_close(fw)) == NULL, "closed failed"); | ^~~~~~~~~~~~~~~ check_fw.c: At top level: check_fw.c:41:12: warning: 'test_fw_close' defined but not used [-Wunused-variable] 41 | START_TEST(test_fw_close) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o check_arp.o check_arp.c In file included from check_arp.c:10: check_arp.c: In function 'test_arp_openclose_fn': check_arp.c:21:47: warning: too many arguments for format [-Wformat-extra-args] 21 | fail_unless((a = arp_open()) != NULL, "open failed"); | ^~~~~~~~~~~~~ check_arp.c:22:49: warning: too many arguments for format [-Wformat-extra-args] 22 | fail_unless((a = arp_close(a)) == NULL, "close failed"); | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o check_ip.o check_ip.c In file included from check_ip.c:10: check_ip.c: In function 'test_ip_openclose_fn': check_ip.c:21:46: warning: too many arguments for format [-Wformat-extra-args] 21 | fail_unless((i = ip_open()) != NULL, "open failed"); | ^~~~~~~~~~~~~ check_ip.c:22:48: warning: too many arguments for format [-Wformat-extra-args] 22 | fail_unless((i = ip_close(i)) == NULL, "close failed"); | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o check_route.o check_route.c In file included from check_route.c:10: check_route.c: In function 'test_route_openclose_fn': check_route.c:16:49: warning: too many arguments for format [-Wformat-extra-args] 16 | fail_unless((r = route_open()) != NULL, "open failed"); | ^~~~~~~~~~~~~ check_route.c:17:51: warning: too many arguments for format [-Wformat-extra-args] 17 | fail_unless((r = route_close(r)) == NULL, "close failed"); | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o check_intf.o check_intf.c In file included from check_intf.c:10: check_intf.c: In function 'test_intf_openclose_fn': check_intf.c:16:48: warning: too many arguments for format [-Wformat-extra-args] 16 | fail_unless((i = intf_open()) != NULL, "open failed"); | ^~~~~~~~~~~~~ check_intf.c:17:50: warning: too many arguments for format [-Wformat-extra-args] 17 | fail_unless((i = intf_close(i)) == NULL, "closed failed"); | ^~~~~~~~~~~~~~~ check_intf.c: In function 'test_intf_get_fn': check_intf.c:28:46: warning: too many arguments for format [-Wformat-extra-args] 28 | fail_unless(intf_get(i, &ifent) < 0, "didn't fail on empty request"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_intf.c:30:46: warning: too many arguments for format [-Wformat-extra-args] 30 | fail_unless(intf_get(i, &ifent) < 0, "didn't fail on empty name"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o check_rand.o check_rand.c In file included from check_rand.c:10: check_rand.c: In function 'test_rand_openclose_fn': check_rand.c:16:48: warning: too many arguments for format [-Wformat-extra-args] 16 | fail_unless((r = rand_open()) != NULL, "open failed"); | ^~~~~~~~~~~~~ check_rand.c:17:50: warning: too many arguments for format [-Wformat-extra-args] 17 | fail_unless((r = rand_close(r)) == NULL, "close failed"); | ^~~~~~~~~~~~~~ check_rand.c: In function 'test_rand_get_fn': check_rand.c:27:54: warning: too many arguments for format [-Wformat-extra-args] 27 | fail_unless(rand_get(r, &i, sizeof(i)) == 0, "get failed"); | ^~~~~~~~~~~~ check_rand.c: In function 'test_rand_set_fn': check_rand.c:43:59: warning: too many arguments for format [-Wformat-extra-args] 43 | fail_unless(rand_get(r, buf1, sizeof(buf1)) == 0, "get failed"); | ^~~~~~~~~~~~ check_rand.c:44:60: warning: too many arguments for format [-Wformat-extra-args] 44 | fail_unless(memcmp(buf1, buf2, sizeof(buf1)) != 0, "get b0rked"); | ^~~~~~~~~~~~ check_rand.c:45:54: warning: too many arguments for format [-Wformat-extra-args] 45 | fail_unless(rand_set(r, &i, sizeof(i)) == 0, "set failed"); | ^~~~~~~~~~~~ check_rand.c:46:59: warning: too many arguments for format [-Wformat-extra-args] 46 | fail_unless(rand_get(r, buf2, sizeof(buf2)) == 0, "get2 failed"); | ^~~~~~~~~~~~~ check_rand.c:47:60: warning: too many arguments for format [-Wformat-extra-args] 47 | fail_unless(memcmp(buf1, buf2, sizeof(buf1)) != 0, "set/get b0rked"); | ^~~~~~~~~~~~~~~~ check_rand.c:48:54: warning: too many arguments for format [-Wformat-extra-args] 48 | fail_unless(rand_set(r, &i, sizeof(i)) == 0, "set2 failed"); | ^~~~~~~~~~~~~ check_rand.c:49:59: warning: too many arguments for format [-Wformat-extra-args] 49 | fail_unless(rand_get(r, buf1, sizeof(buf1)) == 0, "get3 failed"); | ^~~~~~~~~~~~~ check_rand.c:50:60: warning: too many arguments for format [-Wformat-extra-args] 50 | fail_unless(memcmp(buf1, buf2, sizeof(buf1)) == 0, "set b0rked"); | ^~~~~~~~~~~~ check_rand.c: In function 'test_rand_shuffle_fn': check_rand.c:64:53: warning: too many arguments for format [-Wformat-extra-args] 64 | fail_unless(strcmp(buf, SHUFFLE_TEXT) != 0, "shuffle failed"); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o check_blob.o check_blob.c In file included from check_blob.c:10: check_blob.c: In function 'test_blob_newfree_fn': check_blob.c:16:47: warning: too many arguments for format [-Wformat-extra-args] 16 | fail_unless((b = blob_new()) != NULL, "new failed"); | ^~~~~~~~~~~~ check_blob.c:17:49: warning: too many arguments for format [-Wformat-extra-args] 17 | fail_unless((b = blob_free(b)) == NULL, "free failed"); | ^~~~~~~~~~~~~ check_blob.c: In function 'test_blob_readwrite_fn': check_blob.c:33:49: warning: too many arguments for format [-Wformat-extra-args] 33 | fail_unless(strcmp(tmp, "foobar") == 0, "read1 failed"); | ^~~~~~~~~~~~~~ check_blob.c:35:49: warning: too many arguments for format [-Wformat-extra-args] 35 | fail_unless(strcmp(tmp, "spazzo") == 0, "read2 failed"); | ^~~~~~~~~~~~~~ check_blob.c:37:49: warning: too many arguments for format [-Wformat-extra-args] 37 | fail_unless(strcmp(tmp, "doofus") == 0, "read3 failed"); | ^~~~~~~~~~~~~~ check_blob.c: In function 'test_blob_insertdelete_fn': check_blob.c:48:52: warning: too many arguments for format [-Wformat-extra-args] 48 | fail_unless(blob_insert(b, "foo", 3) == 3, "insert1 failed"); | ^~~~~~~~~~~~~~~~ check_blob.c:50:52: warning: too many arguments for format [-Wformat-extra-args] 50 | fail_unless(blob_insert(b, "bar", 3) == 3, "insert2 failed"); | ^~~~~~~~~~~~~~~~ check_blob.c:54:48: warning: too many arguments for format [-Wformat-extra-args] 54 | fail_unless(strcmp(tmp,"barfoo") == 0, "read failed"); | ^~~~~~~~~~~~~ check_blob.c:56:51: warning: too many arguments for format [-Wformat-extra-args] 56 | fail_unless(blob_delete(b, NULL, 3) == 3, "delete failed"); | ^~~~~~~~~~~~~~~ check_blob.c:60:45: warning: too many arguments for format [-Wformat-extra-args] 60 | fail_unless(strcmp(tmp,"foo") == 0, "read failed"); | ^~~~~~~~~~~~~ check_blob.c:62:50: warning: too many arguments for format [-Wformat-extra-args] 62 | fail_unless(blob_delete(b, NULL, 4) < 0, "deleted more than size"); | ^~~~~~~~~~~~~~~~~~~~~~~~ check_blob.c:65:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 65 | bf.base = "foobar"; | ^ check_blob.c:69:56: warning: too many arguments for format [-Wformat-extra-args] 69 | fail_unless(blob_insert(&bf, "foobar", 6) < 0, "inserted into fixed"); | ^~~~~~~~~~~~~~~~~~~~~ check_blob.c:70:52: warning: too many arguments for format [-Wformat-extra-args] 70 | fail_unless(blob_delete(&bf, NULL, 3) < 0, "deleted from fixed"); | ^~~~~~~~~~~~~~~~~~~~ check_blob.c: In function 'test_blob_packunpack_fn': check_blob.c:98:13: warning: too many arguments for format [-Wformat-extra-args] 98 | "pack failed"); | ^~~~~~~~~~~~~ check_blob.c:106:13: warning: too many arguments for format [-Wformat-extra-args] 106 | "unpack failed"); | ^~~~~~~~~~~~~~~ check_blob.c:114:22: warning: too many arguments for format [-Wformat-extra-args] 114 | fail("unpacked weird crap"); | ^~~~~~~~~~~~~~~~~~~~~ check_blob.c: In function 'test_blob_seek_fn': check_blob.c:127:43: warning: too many arguments for format [-Wformat-extra-args] 127 | fail_unless(blob_skip(b, 3) == 3, "skip failed"); | ^~~~~~~~~~~~~ check_blob.c:128:43: warning: too many arguments for format [-Wformat-extra-args] 128 | fail_unless(blob_skip(b, 3) == 6, "skip to end failed"); | ^~~~~~~~~~~~~~~~~~~~ check_blob.c:129:42: warning: too many arguments for format [-Wformat-extra-args] 129 | fail_unless(blob_skip(b, 1) < 0, "skipped past end"); | ^~~~~~~~~~~~~~~~~~ check_blob.c:130:54: warning: too many arguments for format [-Wformat-extra-args] 130 | fail_unless(blob_seek(b, -1, SEEK_END) == 5, "end seek failed"); | ^~~~~~~~~~~~~~~~~ check_blob.c:131:53: warning: too many arguments for format [-Wformat-extra-args] 131 | fail_unless(blob_seek(b, 1, SEEK_SET) == 1, "set seek failed"); | ^~~~~~~~~~~~~~~~~ check_blob.c:133:53: warning: too many arguments for format [-Wformat-extra-args] 133 | fail_unless(blob_seek(b, -1, SEEK_CUR) < 0, "seeked past 0"); | ^~~~~~~~~~~~~~~ check_blob.c:134:53: warning: too many arguments for format [-Wformat-extra-args] 134 | fail_unless(blob_seek(b, 3, SEEK_CUR) == 3, "cur seek failed"); | ^~~~~~~~~~~~~~~~~ check_blob.c: In function 'test_blob_index_fn': check_blob.c:146:52: warning: too many arguments for format [-Wformat-extra-args] 146 | fail_unless(blob_index(b, "this", 4) == 0, "index start failed"); | ^~~~~~~~~~~~~~~~~~~~ check_blob.c:147:50: warning: too many arguments for format [-Wformat-extra-args] 147 | fail_unless(blob_index(b, "!", 1) == 19, "index end failed"); | ^~~~~~~~~~~~~~~~~~ check_blob.c:148:53: warning: too many arguments for format [-Wformat-extra-args] 148 | fail_unless(blob_index(b, "only ", 5) == 8, "index middle failed"); | ^~~~~~~~~~~~~~~~~~~~~ check_blob.c:149:51: warning: too many arguments for format [-Wformat-extra-args] 149 | fail_unless(blob_rindex(b, "!", 1) == 19, "rindex end failed"); | ^~~~~~~~~~~~~~~~~~~ check_blob.c:150:53: warning: too many arguments for format [-Wformat-extra-args] 150 | fail_unless(blob_rindex(b, "this", 4) == 0, "rindex start failed"); | ^~~~~~~~~~~~~~~~~~~~~ check_blob.c:151:54: warning: too many arguments for format [-Wformat-extra-args] 151 | fail_unless(blob_rindex(b, "only ", 5) == 8, "rindex middle failed"); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:548, from check_blob.c:8: In function 'memcpy', inlined from 'test_blob_packunpack_fn' at check_blob.c:87:2: /usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' forming offset 5 is out of the bounds [0, 5] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o check_addr.o check_addr.c In file included from check_addr.c:16: check_addr.c: In function 'test_addr_pack_fn': check_addr.c:46:53: warning: too many arguments for format [-Wformat-extra-args] 46 | fail_unless(memcmp(&a, &b, sizeof(a)) == 0, "got different address"); | ^~~~~~~~~~~~~~~~~~~~~~~ check_addr.c: In function 'test_addr_cmp_fn': check_addr.c:56:44: warning: too many arguments for format [-Wformat-extra-args] 56 | fail_unless(addr_cmp(&a, &b) == 0, "failed on equal addresses"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:58:44: warning: too many arguments for format [-Wformat-extra-args] 58 | fail_unless(addr_cmp(&a, &b) != 0, "failed on different addr_type"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:60:43: warning: too many arguments for format [-Wformat-extra-args] 60 | fail_unless(addr_cmp(&a, &b) > 0, "failed on lesser addr_bits"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:62:44: warning: too many arguments for format [-Wformat-extra-args] 62 | fail_unless(addr_cmp(&a, &b) != 0, "failed on different addr_ip"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:66:43: warning: too many arguments for format [-Wformat-extra-args] 66 | fail_unless(addr_cmp(&a, &b) < 0, "failed on lesser addr compare"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:67:43: warning: too many arguments for format [-Wformat-extra-args] 67 | fail_unless(addr_cmp(&b, &a) > 0, "failed on greater addr compare"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c: In function 'test_addr_bcast_fn': check_addr.c:77:53: warning: too many arguments for format [-Wformat-extra-args] 77 | fail_unless(b.addr_ip == htonl(0x01020307), "wrong for /29"); | ^~~~~~~~~~~~~~~ check_addr.c:79:53: warning: too many arguments for format [-Wformat-extra-args] 79 | fail_unless(b.addr_ip == htonl(0x0102ffff), "wrong for /16"); | ^~~~~~~~~~~~~~~ check_addr.c:81:52: warning: too many arguments for format [-Wformat-extra-args] 81 | fail_unless(b.addr_ip == htonl(0x7ffffff), "wrong for /5"); | ^~~~~~~~~~~~~~ check_addr.c: In function 'test_addr_net_fn': check_addr.c:91:53: warning: too many arguments for format [-Wformat-extra-args] 91 | fail_unless(b.addr_ip == htonl(0x01020300), "wrong for /24"); | ^~~~~~~~~~~~~~~ check_addr.c:96:44: warning: too many arguments for format [-Wformat-extra-args] 96 | fail_unless(addr_cmp(&a, &b) == 0, "IPv6 net failed"); | ^~~~~~~~~~~~~~~~~ In file included from ../../include/dnet.h:16, from check_addr.c:10: check_addr.c: In function 'test_addr_ntop_fn': ../../include/dnet/ip6.h:161:9: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 161 | "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:106:19: note: in expansion of macro 'IP6_ADDR_UNSPEC' 106 | { IP6_ADDR_UNSPEC, "::" }, | ^~~~~~~~~~~~~~~ ../../include/dnet/ip6.h:161:9: note: (near initialization for 'ntop_ip6[0].n') 161 | "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:106:19: note: in expansion of macro 'IP6_ADDR_UNSPEC' 106 | { IP6_ADDR_UNSPEC, "::" }, | ^~~~~~~~~~~~~~~ ../../include/dnet/ip6.h:163:9: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 163 | "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:107:19: note: in expansion of macro 'IP6_ADDR_LOOPBACK' 107 | { IP6_ADDR_LOOPBACK, "::1" }, | ^~~~~~~~~~~~~~~~~ ../../include/dnet/ip6.h:163:9: note: (near initialization for 'ntop_ip6[1].n') 163 | "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:107:19: note: in expansion of macro 'IP6_ADDR_LOOPBACK' 107 | { IP6_ADDR_LOOPBACK, "::1" }, | ^~~~~~~~~~~~~~~~~ check_addr.c:108:19: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 108 | { "\xfe\x08\x00\x00\x00\x00\x00\x00" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:108:19: note: (near initialization for 'ntop_ip6[2].n') check_addr.c:110:19: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 110 | { "\xff\xff\xff\xff\xff\xff\xff\xff" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:110:19: note: (near initialization for 'ntop_ip6[3].n') check_addr.c:113:19: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 113 | { "\xca\xfe\xba\xbe\x00\x00\x00\x00\x00\x00\x00\x00" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:113:19: note: (near initialization for 'ntop_ip6[4].n') check_addr.c:115:19: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 115 | { "\xfe\xed\xfa\xce\x00\x00\x00\x00\x00\x00\x00\x00" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:115:19: note: (near initialization for 'ntop_ip6[5].n') check_addr.c:117:19: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 117 | { "\x00\x00\x00\x0a\x00\x0b\x00\x0c\x00" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:117:19: note: (near initialization for 'ntop_ip6[6].n') check_addr.c:119:19: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 119 | { "\x00\x00\x00\x00\x00\x00\x00\x00" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:119:19: note: (near initialization for 'ntop_ip6[7].n') check_addr.c:128:55: warning: too many arguments for format [-Wformat-extra-args] 128 | fail_unless(strcmp(buf, "1.2.3.255/23") == 0, "bad /23 handling"); | ^~~~~~~~~~~~~~~~~~ check_addr.c:130:54: warning: too many arguments for format [-Wformat-extra-args] 130 | fail_unless(strcmp(buf, "1.2.3.255/0") == 0, "bad /0 handling"); | ^~~~~~~~~~~~~~~~~ check_addr.c:132:52: warning: too many arguments for format [-Wformat-extra-args] 132 | fail_unless(strcmp(buf, "1.2.3.255") == 0, "bad /32 handling"); | ^~~~~~~~~~~~~~~~~~ check_addr.c:133:52: warning: too many arguments for format [-Wformat-extra-args] 133 | fail_unless(addr_ntop(&a, buf, 9) == NULL, "buffer overflow?"); | ^~~~~~~~~~~~~~~~~~ check_addr.c:138:40: warning: too many arguments for format [-Wformat-extra-args] 138 | "00:00:00:00:00:00") == 0, "bad empty MAC handling"); | ^~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:141:40: warning: too many arguments for format [-Wformat-extra-args] 141 | "00:0d:0e:0a:0d:00") == 0, "b0rked"); | ^~~~~~~~ check_addr.c:143:62: warning: too many arguments for format [-Wformat-extra-args] 143 | fail_unless(addr_ntop(&a, buf, sizeof(buf)) == NULL, "took /16 mask"); | ^~~~~~~~~~~~~~~ check_addr.c: In function 'test_addr_pton_fn': ../../include/dnet/ip6.h:161:9: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 161 | "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:160:25: note: in expansion of macro 'IP6_ADDR_UNSPEC' 160 | { "::", IP6_ADDR_UNSPEC }, | ^~~~~~~~~~~~~~~ ../../include/dnet/ip6.h:161:9: note: (near initialization for 'pton_ip6[0].n') 161 | "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:160:25: note: in expansion of macro 'IP6_ADDR_UNSPEC' 160 | { "::", IP6_ADDR_UNSPEC }, | ^~~~~~~~~~~~~~~ ../../include/dnet/ip6.h:163:9: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 163 | "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:161:26: note: in expansion of macro 'IP6_ADDR_LOOPBACK' 161 | { "::1", IP6_ADDR_LOOPBACK }, | ^~~~~~~~~~~~~~~~~ ../../include/dnet/ip6.h:163:9: note: (near initialization for 'pton_ip6[1].n') 163 | "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:161:26: note: in expansion of macro 'IP6_ADDR_LOOPBACK' 161 | { "::1", IP6_ADDR_LOOPBACK }, | ^~~~~~~~~~~~~~~~~ check_addr.c:162:29: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 162 | { "fe08::", "\xfe\x08\x00\x00\x00\x00\x00\x00" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:162:29: note: (near initialization for 'pton_ip6[2].n') check_addr.c:164:30: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 164 | { "fe08::1", "\xfe\x08\x00\x00\x00\x00\x00\x00" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:164:30: note: (near initialization for 'pton_ip6[3].n') check_addr.c:166:62: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 166 | { "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "\xff\xff\xff\xff" | ^~~~~~~~~~~~~~~~~~ check_addr.c:166:62: note: (near initialization for 'pton_ip6[4].n') check_addr.c:168:50: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 168 | { "cafe::babe:dead:beef:0:ffff", "\xca\xfe\x00\x00\x00\x00" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:168:50: note: (near initialization for 'pton_ip6[5].n') check_addr.c:170:32: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 170 | { "::1.2.3.4", "\x00\x00\x00\x00\x00\x00\x00\x00" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:170:32: note: (near initialization for 'pton_ip6[6].n') check_addr.c:175:34: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 175 | { "0:d:e:a:d:0", "\x00\x0d\x0e\x0a\x0d\x00" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:175:34: note: (near initialization for 'pton_eth[0].n') In file included from ../../include/dnet.h:14: ../../include/dnet/eth.h:53:33: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 53 | #define ETH_ADDR_BROADCAST "\xff\xff\xff\xff\xff\xff" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:176:40: note: in expansion of macro 'ETH_ADDR_BROADCAST' 176 | { "ff:ff:ff:ff:ff:ff", ETH_ADDR_BROADCAST }, | ^~~~~~~~~~~~~~~~~~ ../../include/dnet/eth.h:53:33: note: (near initialization for 'pton_eth[1].n') 53 | #define ETH_ADDR_BROADCAST "\xff\xff\xff\xff\xff\xff" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:176:40: note: in expansion of macro 'ETH_ADDR_BROADCAST' 176 | { "ff:ff:ff:ff:ff:ff", ETH_ADDR_BROADCAST }, | ^~~~~~~~~~~~~~~~~~ check_addr.c:177:37: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 177 | { "00:d:0e:a:0d:0", "\x00\x0d\x0e\x0a\x0d\x00" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:177:37: note: (near initialization for 'pton_eth[2].n') check_addr.c:180:34: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 180 | { "0:0:0:0:0:0", "\x00\x00\x00\x00\x00\x00" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:180:34: note: (near initialization for 'pton_eth[7].n') check_addr.c:188:44: warning: too many arguments for format [-Wformat-extra-args] 188 | fail_unless(addr_cmp(&a, &b) == 0, "bad /17 handling"); | ^~~~~~~~~~~~~~~~~~ check_addr.c:190:44: warning: too many arguments for format [-Wformat-extra-args] 190 | fail_unless(addr_cmp(&a, &b) == 0, "bad handling of missing /32"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:191:54: warning: too many arguments for format [-Wformat-extra-args] 191 | fail_unless(addr_pton("1.2.3.4/33", &b) < 0, "accepted /33"); | ^~~~~~~~~~~~~~ check_addr.c:192:53: warning: too many arguments for format [-Wformat-extra-args] 192 | fail_unless(addr_pton("1.2.3.256", &b) < 0, "accepted .256"); | ^~~~~~~~~~~~~~~ check_addr.c:193:53: warning: too many arguments for format [-Wformat-extra-args] 193 | fail_unless(addr_pton("1.2.3.4.5", &b) < 0, "accepted quint octet"); | ^~~~~~~~~~~~~~~~~~~~~~ check_addr.c:194:49: warning: too many arguments for format [-Wformat-extra-args] 194 | fail_unless(addr_pton("1.2.3", &b) < 0, "accepted triple octet"); | ^~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:195:53: warning: too many arguments for format [-Wformat-extra-args] 195 | fail_unless(addr_pton("localhost", &b) < 0, "barfed on localhost"); | ^~~~~~~~~~~~~~~~~~~~~ check_addr.c:197:13: warning: too many arguments for format [-Wformat-extra-args] 197 | "barfed on localhost/24"); | ^~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c:200:44: warning: too many arguments for format [-Wformat-extra-args] 200 | fail_unless(addr_cmp(&a, &b) == 0, "bad /255.255.255.0 handling"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c: In function 'test_addr_ntoa_fn': check_addr.c:237:21: warning: too many arguments for format [-Wformat-extra-args] 237 | "barfed on 1.2.3.4 loop"); | ^~~~~~~~~~~~~~~~~~~~~~~~ check_addr.c: In function 'test_addr_ntos_fn': check_addr.c:252:56: warning: too many arguments for format [-Wformat-extra-args] 252 | fail_unless(memcmp(&s1, &s2, sizeof(s1)) == 0, "bad sockaddr_in"); | ^~~~~~~~~~~~~~~~~ check_addr.c: In function 'test_addr_ston_fn': check_addr.c:263:30: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the destination; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] 263 | memcpy(&b, &a, sizeof(&b)); | ^ check_addr.c:265:30: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the destination; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] 265 | memcpy(&t, &s, sizeof(&t)); | ^ check_addr.c:268:53: warning: too many arguments for format [-Wformat-extra-args] 268 | fail_unless(memcmp(&a, &b, sizeof(a)) == 0, "bad addr"); | ^~~~~~~~~~ check_addr.c:275:50: warning: too many arguments for format [-Wformat-extra-args] 275 | fail_unless(addr_ston((SA *)&s, &b) < 0, "sin_family == 123"); | ^~~~~~~~~~~~~~~~~~~ check_addr.c: In function 'test_addr_btos_fn': check_addr.c:286:54: warning: too many arguments for format [-Wformat-extra-args] 286 | fail_unless(addr_btos(a.addr_bits, &s) == 0, "b0rked"); | ^~~~~~~~ check_addr.c: In function 'test_addr_stob_fn': check_addr.c:297:40: warning: too many arguments for format [-Wformat-extra-args] 297 | fail_unless(a.addr_bits == 24, "b0rked"); | ^~~~~~~~ check_addr.c:301:32: warning: too many arguments for format [-Wformat-extra-args] 301 | a.addr_bits == 24, "sin_family = 0"); | ^~~~~~~~~~~~~~~~ check_addr.c: In function 'test_addr_btom_fn': check_addr.c:313:48: warning: too many arguments for format [-Wformat-extra-args] 313 | fail_unless(mask == htonl(0xffffff00), "b0rked"); | ^~~~~~~~ check_addr.c: In function 'test_addr_mtob_fn': check_addr.c:324:40: warning: too many arguments for format [-Wformat-extra-args] 324 | fail_unless(a.addr_bits == 24, "b0rked"); | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o check_fw check_fw.o ../../src/libdnet.la -lcheck libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/check_fw check_fw.o ../../src/.libs/libdnet.so -lcheck make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o check_arp check_arp.o ../../src/libdnet.la -lcheck libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/check_arp check_arp.o ../../src/.libs/libdnet.so -lcheck make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o check_eth check_eth.o ../../src/libdnet.la -lcheck libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/check_eth check_eth.o ../../src/.libs/libdnet.so -lcheck make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o check_ip check_ip.o ../../src/libdnet.la -lcheck libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/check_ip check_ip.o ../../src/.libs/libdnet.so -lcheck make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o check_route check_route.o ../../src/libdnet.la -lcheck libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/check_route check_route.o ../../src/.libs/libdnet.so -lcheck make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o check_intf check_intf.o ../../src/libdnet.la -lcheck libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/check_intf check_intf.o ../../src/.libs/libdnet.so -lcheck make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o check_rand check_rand.o ../../src/libdnet.la -lcheck libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/check_rand check_rand.o ../../src/.libs/libdnet.so -lcheck make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o check_blob check_blob.o ../../src/libdnet.la -lcheck libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/check_blob check_blob.o ../../src/.libs/libdnet.so -lcheck make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o check_addr check_addr.o ../../src/libdnet.la -lcheck libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/check_addr check_addr.o ../../src/.libs/libdnet.so -lcheck make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/check' Making all in dnet make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o rand.o rand.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o addr.o addr.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o send.o send.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o dnet.o dnet.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o hex.o hex.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o route.o route.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o icmp.o icmp.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o eth.o eth.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o udp.o udp.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o tcp.o tcp.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o ip.o ip.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o arp.o arp.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o intf.o intf.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o fw.o fw.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o aton.o aton.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dnet addr.o arp.o aton.o dnet.o eth.o fw.o hex.o icmp.o intf.o ip.o rand.o route.o send.o tcp.o udp.o ../../src/libdnet.la libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/dnet addr.o arp.o aton.o dnet.o eth.o fw.o hex.o icmp.o intf.o ip.o rand.o route.o send.o tcp.o udp.o ../../src/.libs/libdnet.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/test/dnet' make[2]: Nothing to be done for 'all-am'. make[1]: Nothing to be done for 'all-am'. + pushd python ~/rpmbuild/BUILD/libdnet-libdnet-1.17.0/python ~/rpmbuild/BUILD/libdnet-libdnet-1.17.0 + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /usr/lib64/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /home/pterjan/rpmbuild/BUILD/libdnet-libdnet-1.17.0/python/dnet.pxd tree = Parsing.p_module(s, pxd, full_module_name) warning: dnet.pyx:54:0: Global name __iter_append matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release. warning: dnet.pyx:54:0: Global name __iter_append matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release. warning: dnet.pyx:54:0: Global name __iter_append matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release. warning: dnet.pyx:54:0: Global name __iter_append matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release. warning: dnet.pyx:54:0: Global name __iter_append matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release. warning: dnet.pyx:54:0: Global name __iter_append matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release. warning: dnet.pyx:54:0: Global name __iter_append matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release. warning: dnet.pyx:54:0: Global name __iter_append matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release. Compiling ./dnet.pyx because it changed. [1/1] Cythonizing ./dnet.pyx running build running build_ext building 'dnet' extension creating build creating build/temp.linux-x86_64-cpython-312 gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I../include -I/usr/include/python3.12 -c ./dnet.c -o build/temp.linux-x86_64-cpython-312/./dnet.o ./dnet.c: In function ‘__pyx_pf_4dnet_12ip_checksum’: ./dnet.c:8455:3: warning: ‘PyObject_AsReadBuffer’ is deprecated [-Wdeprecated-declarations] 8455 | __pyx_t_1 = (PyObject_AsReadBuffer(__pyx_v_pkt, (&__pyx_v_p), (&__pyx_v_n)) == 0); | ^~~~~~~~~ In file included from /usr/include/python3.12/Python.h:100, from ./dnet.c:50: /usr/include/python3.12/abstract.h:369:17: note: declared here 369 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~ ./dnet.c:8455:52: error: passing argument 2 of ‘PyObject_AsReadBuffer’ from incompatible pointer type [-Wincompatible-pointer-types] 8455 | __pyx_t_1 = (PyObject_AsReadBuffer(__pyx_v_pkt, (&__pyx_v_p), (&__pyx_v_n)) == 0); | ~^~~~~~~~~~~ | | | char ** /usr/include/python3.12/abstract.h:370:52: note: expected ‘const void **’ but argument is of type ‘char **’ 370 | const void **buffer, | ~~~~~~~~~~~~~^~~~~~ ./dnet.c:8455:66: error: passing argument 3 of ‘PyObject_AsReadBuffer’ from incompatible pointer type [-Wincompatible-pointer-types] 8455 | __pyx_t_1 = (PyObject_AsReadBuffer(__pyx_v_pkt, (&__pyx_v_p), (&__pyx_v_n)) == 0); | ~^~~~~~~~~~~ | | | int * /usr/include/python3.12/abstract.h:371:51: note: expected ‘Py_ssize_t *’ {aka ‘long int *’} but argument is of type ‘int *’ 371 | Py_ssize_t *buffer_len); | ~~~~~~~~~~~~^~~~~~~~~~ ./dnet.c: In function ‘__pyx_pf_4dnet_14ip_cksum_add’: ./dnet.c:8747:3: warning: ‘PyObject_AsReadBuffer’ is deprecated [-Wdeprecated-declarations] 8747 | __pyx_t_1 = (PyObject_AsReadBuffer(__pyx_v_buf, (&__pyx_v_p), (&__pyx_v_n)) == 0); | ^~~~~~~~~ /usr/include/python3.12/abstract.h:369:17: note: declared here 369 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~ ./dnet.c:8747:52: error: passing argument 2 of ‘PyObject_AsReadBuffer’ from incompatible pointer type [-Wincompatible-pointer-types] 8747 | __pyx_t_1 = (PyObject_AsReadBuffer(__pyx_v_buf, (&__pyx_v_p), (&__pyx_v_n)) == 0); | ~^~~~~~~~~~~ | | | char ** /usr/include/python3.12/abstract.h:370:52: note: expected ‘const void **’ but argument is of type ‘char **’ 370 | const void **buffer, | ~~~~~~~~~~~~~^~~~~~ ./dnet.c:8747:66: error: passing argument 3 of ‘PyObject_AsReadBuffer’ from incompatible pointer type [-Wincompatible-pointer-types] 8747 | __pyx_t_1 = (PyObject_AsReadBuffer(__pyx_v_buf, (&__pyx_v_p), (&__pyx_v_n)) == 0); | ~^~~~~~~~~~~ | | | int * /usr/include/python3.12/abstract.h:371:51: note: expected ‘Py_ssize_t *’ {aka ‘long int *’} but argument is of type ‘int *’ 371 | Py_ssize_t *buffer_len); | ~~~~~~~~~~~~^~~~~~~~~~ ./dnet.c: In function ‘__pyx_pf_4dnet_3arp_8loop’: ./dnet.c:15496:64: error: passing argument 2 of ‘arp_loop’ from incompatible pointer type [-Wincompatible-pointer-types] 15496 | __pyx_t_1 = __Pyx_PyInt_From_int(arp_loop(__pyx_v_self->arp, __pyx_f_4dnet___arp_callback, ((void *)__pyx_v__arg))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 760, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct arp_entry *, void *) In file included from ../include/dnet.h:18, from ./dnet.c:1257: ../include/dnet/arp.h:101:43: note: expected ‘arp_handler’ {aka ‘int (*)(const struct arp_entry *, void *)’} but argument is of type ‘int (*)(struct arp_entry *, void *)’ 101 | int arp_loop(arp_t *arp, arp_handler callback, void *arg); | ~~~~~~~~~~~~^~~~~~~~ ./dnet.c: In function ‘__pyx_pf_4dnet_4intf_10loop’: ./dnet.c:18838:66: error: passing argument 2 of ‘intf_loop’ from incompatible pointer type [-Wincompatible-pointer-types] 18838 | __pyx_t_1 = __Pyx_PyInt_From_int(intf_loop(__pyx_v_self->intf, __pyx_f_4dnet___intf_callback, ((void *)__pyx_v__arg))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1060, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct intf_entry *, void *) In file included from ../include/dnet.h:25: ../include/dnet/intf.h:64:44: note: expected ‘intf_handler’ {aka ‘int (*)(const struct intf_entry *, void *)’} but argument is of type ‘int (*)(struct intf_entry *, void *)’ 64 | int intf_loop(intf_t *i, intf_handler callback, void *arg); | ~~~~~~~~~~~~~^~~~~~~~ ./dnet.c: In function ‘__pyx_pf_4dnet_5route_8loop’: ./dnet.c:20354:68: error: passing argument 2 of ‘route_loop’ from incompatible pointer type [-Wincompatible-pointer-types] 20354 | __pyx_t_1 = __Pyx_PyInt_From_int(route_loop(__pyx_v_self->route, __pyx_f_4dnet___route_callback, ((void *)__pyx_v__arg))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1159, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct route_entry *, void *) In file included from ../include/dnet.h:26: ../include/dnet/route.h:34:47: note: expected ‘route_handler’ {aka ‘int (*)(const struct route_entry *, void *)’} but argument is of type ‘int (*)(struct route_entry *, void *)’ 34 | int route_loop(route_t *r, route_handler callback, void *arg); | ~~~~~~~~~~~~~~^~~~~~~~ ./dnet.c: In function ‘__pyx_pf_4dnet_2fw_6loop’: ./dnet.c:22280:62: error: passing argument 2 of ‘fw_loop’ from incompatible pointer type [-Wincompatible-pointer-types] 22280 | __pyx_t_1 = __Pyx_PyInt_From_int(fw_loop(__pyx_v_self->fw, __pyx_f_4dnet___fw_callback, ((void *)__pyx_v__arg))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1295, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct fw_rule *, void *) In file included from ../include/dnet.h:27: ../include/dnet/fw.h:50:38: note: expected ‘fw_handler’ {aka ‘int (*)(const struct fw_rule *, void *)’} but argument is of type ‘int (*)(struct fw_rule *, void *)’ 50 | int fw_loop(fw_t *f, fw_handler callback, void *arg); | ~~~~~~~~~~~^~~~~~~~ ./dnet.c: In function ‘__pyx_pf_4dnet_13__rand_xrange___init__’: ./dnet.c:24420:36: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] 24420 | __pyx_t_2 = (__pyx_v_self->max > (1 << __pyx_v_bits)); | ^ ./dnet.c:24467:42: warning: comparison of integer expressions of different signedness: ‘enum ’ and ‘int’ [-Wsign-compare] 24467 | __pyx_t_2 = (__pyx_e_4dnet_TEASBOXSIZE < (1 << __pyx_v_self->left)); | ^ error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XwnQht (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XwnQht (%build) I: [iurt_root_command] ERROR: chroot