>>> Building on sparc64-0c under net/libdnet BDEPENDS = [devel/py-build;devel/py-wheel;lang/gcc/16;devel/py-installer;devel/py-setuptools;lang/cython;devel/check;lang/python/3] DIST = [net/libdnet,-main:libdnet-1.18.2.tar.gz] FULLPKGNAME = libdnet-1.18.2 (Junk lock obtained for sparc64-0c at 1785006149.76) >>> Running depends in net/libdnet at 1785006149.90 last junk was in devel/py-wrapt /usr/sbin/pkg_add -aI -Drepair check-0.15.2 py3-cython-3.2.8v0 was: /usr/sbin/pkg_add -aI -Drepair check-0.15.2 gcc-16.1.0p5 py3-build-1.5.1 py3-cython-3.2.8v0 py3-installer-1.0.1 py3-setuptools-80.9.0v0 py3-wheel-0.47.0 python-3.14.6p0 /usr/sbin/pkg_add -aI -Drepair check-0.15.2 py3-cython-3.2.8v0 >>> Running show-prepare-results in net/libdnet at 1785006169.81 ===> net/libdnet ===> Building from scratch libdnet-1.18.2 ===> libdnet-1.18.2 depends on: check-* -> check-0.15.2 ===> libdnet-1.18.2 depends on: py3-cython-* -> py3-cython-3.2.8v0 ===> libdnet-1.18.2 depends on: python->=3.14 -> python-3.14.6p0 ===> libdnet-1.18.2 depends on: py3-build-* -> py3-build-1.5.1 ===> libdnet-1.18.2 depends on: py3-installer-* -> py3-installer-1.0.1 ===> libdnet-1.18.2 depends on: py3-setuptools->=79v0 -> py3-setuptools-80.9.0v0 ===> libdnet-1.18.2 depends on: py3-wheel-* -> py3-wheel-0.47.0 ===> libdnet-1.18.2 depends on: gcc->=16,<17 -> gcc-16.1.0p5 ===> Verifying specs: c c ===> found c.103.0 check-0.15.2 gcc-16.1.0p5 py3-build-1.5.1 py3-cython-3.2.8v0 py3-installer-1.0.1 py3-setuptools-80.9.0v0 py3-wheel-0.47.0 python-3.14.6p0 Don't run junk because nojunk in archivers/py-zstandard (Junk lock released for sparc64-0c at 1785006180.79) distfiles size=584212 >>> Running extract in net/libdnet at 1785006180.97 ===> net/libdnet ===> Checking files for libdnet-1.18.2 `/usr/ports/distfiles/libdnet-1.18.2.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for libdnet-1.18.2 >>> Running patch in net/libdnet at 1785006182.86 ===> net/libdnet ===> Patching for libdnet-1.18.2 ===> Applying OpenBSD patch patch-python_Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |remove in favour of building via MODPY_PYBUILD + MODPY_BUILD_DIR |(otherwise would need patching anyway) | |Index: python/Makefile.in |--- python/Makefile.in.orig |+++ python/Makefile.in -------------------------- Patching file python/Makefile.in using Plan A... Hunk #1 succeeded at 885. Hunk #2 succeeded at 894. done ===> Compiler link: gcc -> /usr/local/bin/egcc ===> Compiler link: cc -> /usr/local/bin/egcc ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in net/libdnet at 1785006184.20 ===> net/libdnet ===> Generating configure for libdnet-1.18.2 ===> Configuring for libdnet-1.18.2 Using /usr/obj/ports/libdnet-1.18.2/config.site (generated) configure: WARNING: unrecognized options: --disable-gtk-doc configure: loading site script /usr/obj/ports/libdnet-1.18.2/config.site checking for a BSD-compatible install... /usr/obj/ports/libdnet-1.18.2/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... mkdir -p checking for gawk... (cached) awk checking whether make sets $(MAKE)... (cached) yes checking whether make supports nested variables... yes checking xargs -n works... yes checking whether UID '55' is supported by ustar format... yes checking whether GID '55' is supported by ustar format... yes checking how to create a ustar tar archive... (cached) /usr/bin/tar checking build system type... sparc64-unknown-openbsd8.0 checking host system type... sparc64-unknown-openbsd8.0 checking how to print strings... print -r checking whether make supports the include directive... yes (GNU style) checking for gcc... cc 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... (cached) o checking whether the compiler supports GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to enable C11 features... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... none checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /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... (cached) 131072 checking how to convert sparc64-unknown-openbsd8.0 file names to sparc64-unknown-openbsd8.0 format... func_convert_file_noop checking how to convert sparc64-unknown-openbsd8.0 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$ checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for ranlib... (cached) ranlib checking for ar... (cached) ar checking for archiver @FILE support... @ checking for strip... (cached) strip checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... openbsd8.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... (cached) cc checking whether the compiler supports GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to enable C11 features... (cached) none needed checking whether cc understands -c and -o together... (cached) yes checking dependency style of cc... (cached) none checking for Python... yes checking for gethostbyname... (cached) yes checking for socket... (cached) yes checking for putmsg in -lstr... no checking for open_mib in -lnm... no checking for Check... checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for check... yes yes checking for fcntl.h... (cached) 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... (cached) yes checking for sys/mib.h... no checking for sys/ndd_var.h... no checking for sys/socket.h... (cached) yes checking for sys/sockio.h... (cached) yes checking for sys/sysctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for net/bpf.h... (cached) yes checking for net/if.h... (cached) yes checking for net/if_var.h... yes checking for net/if_arp.h... (cached) yes checking for net/if_dl.h... yes checking for net/pfilt.h... no checking for net/pfvar.h... (cached) yes checking for net/radix.h... yes checking for net/raw.h... no checking for net/route.h... (cached) yes checking for netinet/in_var.h... no checking for net/if_tun.h... (cached) yes checking for linux/if_tun.h... no 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... (cached) yes checking for inline... inline checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for sockaddr_in6 struct in ... yes checking for sa_len in sockaddr struct... yes checking for arp_dev in arpreq struct... no checking for rt_msghdr struct in ... yes checking for working memcmp... (cached) yes checking for err... (cached) yes checking for strlcat... (cached) yes checking for strlcpy... (cached) yes checking for strsep... (cached) yes checking for Berkeley Packet Filter... yes checking for Linux proc filesystem... no checking for Linux PF_PACKET sockets... no checking for SNMP MIB2 STREAMS... no checking for route(7) STREAMS... no checking for arp(7) ioctls... no 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/pyproject.toml 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 configure: WARNING: unrecognized options: --disable-gtk-doc >>> Running build in net/libdnet at 1785006254.93 ===> net/libdnet ===> Building for libdnet-1.18.2 Making all in include /usr/bin/make all-recursive Making all in dnet Making all in man Making all in src /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c -o addr-util.lo addr-util.c cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c addr-util.c -fPIC -DPIC -o .libs/addr-util.o cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c addr-util.c -o addr-util.o /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c -o addr.lo addr.c cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c addr.c -fPIC -DPIC -o .libs/addr.o cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c addr.c -o addr.o addr.c: In function 'addr_net': addr.c:90:41: warning: 'mask' may be used uninitialized [-Wmaybe-uninitialized] 90 | b->addr_ip = a->addr_ip & mask; | ~~~~~~~~~~~^~~~~~ addr.c:83:18: note: 'mask' was declared here 83 | uint32_t mask; | ^~~~ addr.c: In function 'addr_bcast': addr.c:127:28: warning: 'mask.__addr_u.__ip' may be used uninitialized [-Wmaybe-uninitialized] 127 | (~0L & ~mask.addr_ip); addr.c:120:21: note: 'mask.__addr_u.__ip' was declared here 120 | struct addr mask; | ^~~~ /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c -o blob.lo blob.c cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c blob.c -fPIC -DPIC -o .libs/blob.o cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c blob.c -o blob.o /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c -o ip-util.lo ip-util.c cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c ip-util.c -fPIC -DPIC -o .libs/ip-util.o cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c ip-util.c -o ip-util.o /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c -o ip6.lo ip6.c cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c ip6.c -fPIC -DPIC -o .libs/ip6.o cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c ip6.c -o ip6.o /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c -o rand.lo rand.c cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c rand.c -fPIC -DPIC -o .libs/rand.o cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c rand.c -o rand.o /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c -o arp-bsd.lo arp-bsd.c cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c arp-bsd.c -fPIC -DPIC -o .libs/arp-bsd.o cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c arp-bsd.c -o arp-bsd.o /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c -o eth-bsd.lo eth-bsd.c cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c eth-bsd.c -fPIC -DPIC -o .libs/eth-bsd.o eth-bsd.c: In function 'eth_get': eth-bsd.c:120:22: warning: pointer 'buf' used after 'free' [-Wuse-after-free] 120 | if (p >= buf + len) { | ~~~~^~~~~ eth-bsd.c:118:9: note: call to 'free' here 118 | free(buf); | ^~~~~~~~~ eth-bsd.c:120:12: warning: pointer 'p' used after 'free' [-Wuse-after-free] 120 | if (p >= buf + len) { | ^ eth-bsd.c:118:9: note: call to 'free' here 118 | free(buf); | ^~~~~~~~~ cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c eth-bsd.c -o eth-bsd.o eth-bsd.c: In function 'eth_get': eth-bsd.c:120:22: warning: pointer 'buf' used after 'free' [-Wuse-after-free] 120 | if (p >= buf + len) { | ~~~~^~~~~ eth-bsd.c:118:9: note: call to 'free' here 118 | free(buf); | ^~~~~~~~~ eth-bsd.c:120:12: warning: pointer 'p' used after 'free' [-Wuse-after-free] 120 | if (p >= buf + len) { | ^ eth-bsd.c:118:9: note: call to 'free' here 118 | free(buf); | ^~~~~~~~~ /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c -o fw-pf.lo fw-pf.c cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c fw-pf.c -fPIC -DPIC -o .libs/fw-pf.o cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c fw-pf.c -o fw-pf.o /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c -o intf.lo intf.c cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c intf.c -fPIC -DPIC -o .libs/intf.o cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c intf.c -o intf.o /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c -o ip.lo ip.c cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c ip.c -fPIC -DPIC -o .libs/ip.o cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c ip.c -o ip.o /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c -o route-bsd.lo route-bsd.c cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c route-bsd.c -fPIC -DPIC -o .libs/route-bsd.o cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c route-bsd.c -o route-bsd.o /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c -o ndisc-none.lo ndisc-none.c cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c ndisc-none.c -fPIC -DPIC -o .libs/ndisc-none.o cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c ndisc-none.c -o ndisc-none.o /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c -o tun-bsd.lo tun-bsd.c cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c tun-bsd.c -fPIC -DPIC -o .libs/tun-bsd.o cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -Wall -c tun-bsd.c -o tun-bsd.o /usr/bin/libtool --tag=CC --mode=link cc -O2 -pipe -Wall -version-info 1:2:0 -o libdnet.la -rpath /usr/local/lib addr-util.lo addr.lo blob.lo ip-util.lo ip6.lo rand.lo arp-bsd.lo eth-bsd.lo fw-pf.lo intf.lo ip.lo route-bsd.lo ndisc-none.lo tun-bsd.lo libtool: link: cc -shared -fPIC -DPIC -o .libs/libdnet.so.1.1 -O2 -pipe -Wall .libs/addr-util.o .libs/addr.o .libs/blob.o .libs/ip-util.o .libs/ip6.o .libs/rand.o .libs/arp-bsd.o .libs/eth-bsd.o .libs/fw-pf.o .libs/intf.o .libs/ip.o .libs/route-bsd.o .libs/ndisc-none.o .libs/tun-bsd.o -Wl,-soname,libdnet.so.1.1 libtool: link: ar cru .libs/libdnet.a addr-util.o addr.o blob.o ip-util.o ip6.o rand.o arp-bsd.o eth-bsd.o fw-pf.o intf.o ip.o route-bsd.o ndisc-none.o tun-bsd.o libtool: link: ranlib .libs/libdnet.a Making all in python touch python-build Making all in test Making all in check cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -pthread -O2 -pipe -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"); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_addr.c: In function 'test_addr_ntop_fn': 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"); | ^~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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?"); | ^~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_addr.c:141:40: warning: too many arguments for format [-Wformat-extra-args] 141 | "00:0d:0e:0a:0d:00") == 0, "b0rked"); | ^~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_addr.c: In function 'test_addr_pton_fn': 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"); | ^~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_addr.c:197:13: warning: too many arguments for format [-Wformat-extra-args] 197 | "barfed on localhost/24"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_addr.c:272:13: warning: too many arguments for format [-Wformat-extra-args] 272 | "sin_len == 0"); | ^~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_addr.c:301:32: warning: too many arguments for format [-Wformat-extra-args] 301 | a.addr_bits == 24, "sin_family = 0"); | ^~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ /usr/bin/libtool --tag=CC --mode=link cc -O2 -pipe -Wall -o check_addr check_addr.o ../../src/libdnet.la -L/usr/local/lib -lcheck libtool: link: cc -o .libs/check_addr -pthread -O2 -pipe -Wall check_addr.o -L.libs -ldnet -lcheck -lm -Wl,-rpath-link,/usr/local/lib .libs/libdnet.so.1.1: warning: strcpy() is almost always misused, please use strlcpy() .libs/libdnet.so.1.1: warning: sprintf() is often misused, please use snprintf() cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -pthread -O2 -pipe -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"); | ^~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_arp.c:22:49: warning: too many arguments for format [-Wformat-extra-args] 22 | fail_unless((a = arp_close(a)) == NULL, "close failed"); | ^~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ /usr/bin/libtool --tag=CC --mode=link cc -O2 -pipe -Wall -o check_arp check_arp.o ../../src/libdnet.la -L/usr/local/lib -lcheck libtool: link: cc -o .libs/check_arp -pthread -O2 -pipe -Wall check_arp.o -L.libs -ldnet -lcheck -lm -Wl,-rpath-link,/usr/local/lib .libs/libdnet.so.1.1: warning: strcpy() is almost always misused, please use strlcpy() .libs/libdnet.so.1.1: warning: sprintf() is often misused, please use snprintf() cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -pthread -O2 -pipe -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"); | ^~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_blob.c:17:49: warning: too many arguments for format [-Wformat-extra-args] 17 | fail_unless((b = blob_free(b)) == NULL, "free failed"); | ^~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_blob.c:35:49: warning: too many arguments for format [-Wformat-extra-args] 35 | fail_unless(strcmp(tmp, "spazzo") == 0, "read2 failed"); | ^~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_blob.c:37:49: warning: too many arguments for format [-Wformat-extra-args] 37 | fail_unless(strcmp(tmp, "doofus") == 0, "read3 failed"); | ^~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_blob.c:54:48: warning: too many arguments for format [-Wformat-extra-args] 54 | fail_unless(strcmp(tmp,"barfoo") == 0, "read failed"); | ^~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_blob.c:60:45: warning: too many arguments for format [-Wformat-extra-args] 60 | fail_unless(strcmp(tmp,"foo") == 0, "read failed"); | ^~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_blob.c:106:13: warning: too many arguments for format [-Wformat-extra-args] 106 | "unpack failed"); | ^~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_blob.c:114:22: warning: too many arguments for format [-Wformat-extra-args] 114 | fail("unpacked weird crap"); | ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:494:71: note: in definition of macro 'fail' 494 | #define fail(...) _ck_assert_failed(__FILE__, __LINE__, "Failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_blob.c: In function 'test_blob_packunpack_fn': check_blob.c:87:9: warning: 'memcpy' forming offset 5 is out of the bounds [0, 5] [-Warray-bounds=] 87 | memcpy(buf, "f\x00\x00bar", 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/libtool --tag=CC --mode=link cc -O2 -pipe -Wall -o check_blob check_blob.o ../../src/libdnet.la -L/usr/local/lib -lcheck libtool: link: cc -o .libs/check_blob -pthread -O2 -pipe -Wall check_blob.o -L.libs -ldnet -lcheck -lm -Wl,-rpath-link,/usr/local/lib .libs/libdnet.so.1.1: warning: strcpy() is almost always misused, please use strlcpy() .libs/libdnet.so.1.1: warning: sprintf() is often misused, please use snprintf() cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -pthread -O2 -pipe -Wall -c -o check_eth.o check_eth.c /usr/bin/libtool --tag=CC --mode=link cc -O2 -pipe -Wall -o check_eth check_eth.o ../../src/libdnet.la -L/usr/local/lib -lcheck libtool: link: cc -o .libs/check_eth -pthread -O2 -pipe -Wall check_eth.o -L.libs -ldnet -lcheck -lm -Wl,-rpath-link,/usr/local/lib .libs/libdnet.so.1.1: warning: strcpy() is almost always misused, please use strlcpy() .libs/libdnet.so.1.1: warning: sprintf() is often misused, please use snprintf() cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -pthread -O2 -pipe -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"); | ^~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_fw.c:22:50: warning: too many arguments for format [-Wformat-extra-args] 22 | fail_unless((fw = fw_close(fw)) == NULL, "closed failed"); | ^~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ /usr/bin/libtool --tag=CC --mode=link cc -O2 -pipe -Wall -o check_fw check_fw.o ../../src/libdnet.la -L/usr/local/lib -lcheck libtool: link: cc -o .libs/check_fw -pthread -O2 -pipe -Wall check_fw.o -L.libs -ldnet -lcheck -lm -Wl,-rpath-link,/usr/local/lib .libs/libdnet.so.1.1: warning: strcpy() is almost always misused, please use strlcpy() .libs/libdnet.so.1.1: warning: sprintf() is often misused, please use snprintf() cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -pthread -O2 -pipe -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"); | ^~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_ip.c:22:48: warning: too many arguments for format [-Wformat-extra-args] 22 | fail_unless((i = ip_close(i)) == NULL, "close failed"); | ^~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ /usr/bin/libtool --tag=CC --mode=link cc -O2 -pipe -Wall -o check_ip check_ip.o ../../src/libdnet.la -L/usr/local/lib -lcheck libtool: link: cc -o .libs/check_ip -pthread -O2 -pipe -Wall check_ip.o -L.libs -ldnet -lcheck -lm -Wl,-rpath-link,/usr/local/lib .libs/libdnet.so.1.1: warning: strcpy() is almost always misused, please use strlcpy() .libs/libdnet.so.1.1: warning: sprintf() is often misused, please use snprintf() cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -pthread -O2 -pipe -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"); | ^~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_intf.c:17:50: warning: too many arguments for format [-Wformat-extra-args] 17 | fail_unless((i = intf_close(i)) == NULL, "closed failed"); | ^~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ /usr/bin/libtool --tag=CC --mode=link cc -O2 -pipe -Wall -o check_intf check_intf.o ../../src/libdnet.la -L/usr/local/lib -lcheck libtool: link: cc -o .libs/check_intf -pthread -O2 -pipe -Wall check_intf.o -L.libs -ldnet -lcheck -lm -Wl,-rpath-link,/usr/local/lib .libs/libdnet.so.1.1: warning: strcpy() is almost always misused, please use strlcpy() .libs/libdnet.so.1.1: warning: sprintf() is often misused, please use snprintf() cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -pthread -O2 -pipe -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"); | ^~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_rand.c:17:50: warning: too many arguments for format [-Wformat-extra-args] 17 | fail_unless((r = rand_close(r)) == NULL, "close failed"); | ^~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ /usr/bin/libtool --tag=CC --mode=link cc -O2 -pipe -Wall -o check_rand check_rand.o ../../src/libdnet.la -L/usr/local/lib -lcheck libtool: link: cc -o .libs/check_rand -pthread -O2 -pipe -Wall check_rand.o -L.libs -ldnet -lcheck -lm -Wl,-rpath-link,/usr/local/lib .libs/libdnet.so.1.1: warning: strcpy() is almost always misused, please use strlcpy() .libs/libdnet.so.1.1: warning: sprintf() is often misused, please use snprintf() cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -pthread -O2 -pipe -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"); | ^~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ check_route.c:17:51: warning: too many arguments for format [-Wformat-extra-args] 17 | fail_unless((r = route_close(r)) == NULL, "close failed"); | ^~~~~~~~~~~~~~ /usr/local/include/check.h:472:77: note: in definition of macro 'fail_unless' 472 | _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) | ^~~~~~~~~~~ /usr/bin/libtool --tag=CC --mode=link cc -O2 -pipe -Wall -o check_route check_route.o ../../src/libdnet.la -L/usr/local/lib -lcheck libtool: link: cc -o .libs/check_route -pthread -O2 -pipe -Wall check_route.o -L.libs -ldnet -lcheck -lm -Wl,-rpath-link,/usr/local/lib .libs/libdnet.so.1.1: warning: strcpy() is almost always misused, please use strlcpy() .libs/libdnet.so.1.1: warning: sprintf() is often misused, please use snprintf() Making all in dnet cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -pipe -Wall -c -o addr.o addr.c cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -pipe -Wall -c -o arp.o arp.c cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -pipe -Wall -c -o aton.o aton.c cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -pipe -Wall -c -o dnet.o dnet.c cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -pipe -Wall -c -o eth.o eth.c cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -pipe -Wall -c -o fw.o fw.c cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -pipe -Wall -c -o hex.o hex.c cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -pipe -Wall -c -o icmp.o icmp.c cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -pipe -Wall -c -o intf.o intf.c cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -pipe -Wall -c -o ip.o ip.c cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -pipe -Wall -c -o rand.o rand.c cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -pipe -Wall -c -o route.o route.c cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -pipe -Wall -c -o send.o send.c cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -pipe -Wall -c -o tcp.o tcp.c cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -pipe -Wall -c -o udp.o udp.c /usr/bin/libtool --tag=CC --mode=link cc -O2 -pipe -Wall -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: cc -o .libs/dnet -O2 -pipe -Wall 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 -L.libs -ldnet -Wl,-rpath-link,/usr/local/lib .libs/libdnet.so.1.1: warning: strcpy() is almost always misused, please use strlcpy() ip.o: In function `ip_main': ip.c:(.text+0xa4): warning: rand() may return deterministic values, is that what you want? .libs/libdnet.so.1.1: warning: sprintf() is often misused, please use snprintf() : ; if [ -e /usr/obj/ports/libdnet-1.18.2/libdnet-libdnet-1.18.2/pyproject.toml ] && (grep -A8 '^requires' /usr/obj/ports/libdnet-1.18.2/libdnet-libdnet-1.18.2/pyproject.toml | grep -q 'coherent.licensed'); then (echo; echo '*** Port may need BUILD_DEPENDS=misc/py-coherent.licensed'; echo ) >> /usr/obj/ports/libdnet-1.18.2/.modpy-warn; fi ; if [ -e /usr/obj/ports/libdnet-1.18.2/libdnet-libdnet-1.18.2/pyproject.toml ] && (grep -A8 '^requires' /usr/obj/ports/libdnet-1.18.2/libdnet-libdnet-1.18.2/pyproject.toml | grep -q 'setuptools[-_]scm'); then (echo; echo '*** Port may need MODPY_PYBUILD=setuptools_scm'; grep -H -e ^build-backend -e '^requires.*setuptools' /usr/obj/ports/libdnet-1.18.2/libdnet-libdnet-1.18.2/pyproject.toml; echo ) >> /usr/obj/ports/libdnet-1.18.2/.modpy-warn; fi ; if [ -e /usr/obj/ports/libdnet-1.18.2/libdnet-libdnet-1.18.2/pyproject.toml ] && grep '^build-backend' /usr/obj/ports/libdnet-1.18.2/libdnet-libdnet-1.18.2/pyproject.toml | grep -qvw setuptools; then (echo; echo '*** Check MODPY_PYBUILD setting (currently "setuptools")'; grep -H ^build-backend /usr/obj/ports/libdnet-1.18.2/libdnet-libdnet-1.18.2/pyproject.toml; echo ) >> /usr/obj/ports/libdnet-1.18.2/.modpy-warn; fi; cd /usr/obj/ports/libdnet-1.18.2/libdnet-libdnet-1.18.2/python && /usr/bin/env -i COHERENT_LICENSED_UNUSED_ACTION=ignore CC=cc AUTOMAKE_VERSION=1.4 AUTOCONF_VERSION=2.13 CONFIG_SITE='/usr/obj/ports/libdnet-1.18.2/config.site' PORTSDIR="/usr/ports" LIBTOOL="/usr/bin/libtool" LIBdnet_LTVERSION='-version-info 1:1:0' libdnet_ltversion=1.1 PATH='/usr/obj/ports/libdnet-1.18.2/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin' PREFIX='/usr/local' LOCALBASE='/usr/local' X11BASE='/usr/X11R6' CFLAGS='-O2 -pipe' TRUEPREFIX='/usr/local' DESTDIR='' HOME='/libdnet-1.18.2_writes_to_HOME' PICFLAG="-fPIC" BINGRP=bin BINOWN=root BINMODE=755 NONBINMODE=644 DIRMODE=755 INSTALL_COPY=-c INSTALL_STRIP=-s MANGRP=bin MANOWN=root MANMODE=644 BSD_INSTALL_PROGRAM="/usr/obj/ports/libdnet-1.18.2/bin/install -c -s -m 755" BSD_INSTALL_SCRIPT="/usr/obj/ports/libdnet-1.18.2/bin/install -c -m 755" BSD_INSTALL_DATA="/usr/obj/ports/libdnet-1.18.2/bin/install -c -m 644" BSD_INSTALL_MAN="/usr/obj/ports/libdnet-1.18.2/bin/install -c -m 644" BSD_INSTALL_PROGRAM_DIR="/usr/obj/ports/libdnet-1.18.2/bin/install -d -m 755" BSD_INSTALL_SCRIPT_DIR="/usr/obj/ports/libdnet-1.18.2/bin/install -d -m 755" BSD_INSTALL_DATA_DIR="/usr/obj/ports/libdnet-1.18.2/bin/install -d -m 755" BSD_INSTALL_MAN_DIR="/usr/obj/ports/libdnet-1.18.2/bin/install -d -m 755" /usr/local/bin/python3.14 -sBm build -w --no-isolation * Getting build dependencies for wheel... toml section missing PosixPath('pyproject.toml') does not contain a tool.setuptools_scm section /usr/local/lib/python3.14/site-packages/setuptools/config/pyprojecttoml.py:72: _ExperimentalConfiguration: `[tool.setuptools.ext-modules]` in `pyproject.toml` is still *experimental* and likely to change in future releases. config = read_configuration(filepath, True, ignore_option_errors, dist) running egg_info creating dnet.egg-info writing dnet.egg-info/PKG-INFO writing dependency_links to dnet.egg-info/dependency_links.txt writing top-level names to dnet.egg-info/top_level.txt writing manifest file 'dnet.egg-info/SOURCES.txt' reading manifest file 'dnet.egg-info/SOURCES.txt' writing manifest file 'dnet.egg-info/SOURCES.txt' * Building wheel... toml section missing PosixPath('pyproject.toml') does not contain a tool.setuptools_scm section /usr/local/lib/python3.14/site-packages/setuptools/config/pyprojecttoml.py:72: _ExperimentalConfiguration: `[tool.setuptools.ext-modules]` in `pyproject.toml` is still *experimental* and likely to change in future releases. config = read_configuration(filepath, True, ignore_option_errors, dist) running bdist_wheel running build running build_ext warning: dnet.pyx:54:0: Global name __iter_append matched from within class scope in contradiction 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 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 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 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 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 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 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 Python 'class private name' rules. This may change in a future release. Compiling dnet.pyx because it changed. [1/1] Cythonizing dnet.pyx Traceback (most recent call last): File "/usr/local/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in main() ~~~~^^ File "/usr/local/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel return _build_backend().build_wheel( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ wheel_directory, config_settings, metadata_directory ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.14/site-packages/setuptools/build_meta.py", line 432, in build_wheel return _build(['bdist_wheel']) File "/usr/local/lib/python3.14/site-packages/setuptools/build_meta.py", line 423, in _build return self._build_with_temp_dir( ~~~~~~~~~~~~~~~~~~~~~~~~~^ cmd, ^^^^ ...<3 lines>... self._arbitrary_args(config_settings), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.14/site-packages/setuptools/build_meta.py", line 404, in _build_with_temp_dir self.run_setup() ~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.14/site-packages/setuptools/build_meta.py", line 317, in run_setup exec(code, locals()) ~~~~^^^^^^^^^^^^^^^^ File "", line 1, in File "/usr/local/lib/python3.14/site-packages/setuptools/__init__.py", line 115, in setup return distutils.core.setup(**attrs) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/setuptools/_distutils/core.py", line 186, in setup return run_commands(dist) File "/usr/local/lib/python3.14/site-packages/setuptools/_distutils/core.py", line 202, in run_commands dist.run_commands() ~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.14/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands self.run_command(cmd) ~~~~~~~~~~~~~~~~^^^^^ File "/usr/local/lib/python3.14/site-packages/setuptools/dist.py", line 1102, in run_command super().run_command(command) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command cmd_obj.run() ~~~~~~~~~~~^^ File "/usr/local/lib/python3.14/site-packages/setuptools/command/bdist_wheel.py", line 370, in run self.run_command("build") ~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/setuptools/_distutils/cmd.py", line 357, in run_command self.distribution.run_command(command) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/setuptools/dist.py", line 1102, in run_command super().run_command(command) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command cmd_obj.run() ~~~~~~~~~~~^^ File "/usr/local/lib/python3.14/site-packages/setuptools/_distutils/command/build.py", line 135, in run self.run_command(cmd_name) ~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/setuptools/_distutils/cmd.py", line 357, in run_command self.distribution.run_command(command) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/setuptools/dist.py", line 1102, in run_command super().run_command(command) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command cmd_obj.run() ~~~~~~~~~~~^^ File "/usr/local/lib/python3.14/site-packages/setuptools/command/build_ext.py", line 96, in run _build_ext.run(self) ~~~~~~~~~~~~~~^^^^^^ File "/usr/local/lib/python3.14/site-packages/setuptools/_distutils/command/build_ext.py", line 368, in run self.build_extensions() ~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.14/site-packages/setuptools/_distutils/command/build_ext.py", line 484, in build_extensions self._build_extensions_serial() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.14/site-packages/setuptools/_distutils/command/build_ext.py", line 510, in _build_extensions_serial self.build_extension(ext) ~~~~~~~~~~~~~~~~~~~~^^^^^ File "/usr/local/lib/python3.14/site-packages/setuptools/command/build_ext.py", line 261, in build_extension _build_ext.build_extension(self, ext) ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/Cython/Distutils/build_ext.py", line 131, in build_extension new_ext = cythonize( ~~~~~~~~~^ ext,force=self.force, quiet=self.verbose == 0, **options ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ )[0] ^ File "/usr/local/lib/python3.14/site-packages/Cython/Build/Dependencies.py", line 1153, in cythonize cythonize_one(*args) ~~~~~~~~~~~~~^^^^^^^ File "/usr/local/lib/python3.14/site-packages/Cython/Build/Dependencies.py", line 1276, in cythonize_one result = compile_single(pyx_file, options, full_module_name=full_module_name, cache=cache, fingerprint=fingerprint) File "/usr/local/lib/python3.14/site-packages/Cython/Compiler/Main.py", line 671, in compile_single return run_pipeline(source, options, full_module_name, context) File "/usr/local/lib/python3.14/site-packages/Cython/Compiler/Main.py", line 567, in run_pipeline err, enddata = Pipeline.run_pipeline(pipeline, source) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/Cython/Compiler/Pipeline.py", line 418, in run_pipeline data = run(phase, data) File "/usr/local/lib/python3.14/site-packages/Cython/Compiler/Pipeline.py", line 400, in run return phase(data) File "/usr/local/lib/python3.14/site-packages/Cython/Compiler/Pipeline.py", line 50, in generate_pyx_code_stage module_node.process_implementation(options, result) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/Cython/Compiler/ModuleNode.py", line 314, in process_implementation self.generate_c_code(env, options, result) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/Cython/Compiler/ModuleNode.py", line 614, in generate_c_code self.body.generate_function_definitions(env, code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/Cython/Compiler/Nodes.py", line 437, in generate_function_definitions stat.generate_function_definitions(env, code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/Cython/Compiler/Nodes.py", line 2290, in generate_function_definitions self.generate_function_body(env, code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/Cython/Compiler/Nodes.py", line 2043, in generate_function_body self.body.generate_execution_code(code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/usr/local/lib/python3.14/site-packages/Cython/Compiler/Nodes.py", line 443, in generate_execution_code stat.generate_execution_code(code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/usr/local/lib/python3.14/site-packages/Cython/Compiler/Nodes.py", line 7317, in generate_execution_code if_clause.generate_execution_code(code, end_label, is_last=i == last) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/Cython/Compiler/Nodes.py", line 7364, in generate_execution_code self.body.generate_execution_code(code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/usr/local/lib/python3.14/site-packages/Cython/Compiler/Nodes.py", line 443, in generate_execution_code stat.generate_execution_code(code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/usr/local/lib/python3.14/site-packages/Cython/Compiler/Nodes.py", line 7159, in generate_execution_code self.exc_value.generate_evaluation_code(code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/usr/local/lib/python3.14/site-packages/Cython/Compiler/ExprNodes.py", line 3830, in generate_evaluation_code code.globalstate.use_utility_code(UtilityCode.load_cached("JoinPyUnicode", "StringTools.c")) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Cython/Compiler/Code.py", line 2520, in Cython.Compiler.Code.GlobalState.use_utility_code File "Cython/Compiler/Code.py", line 899, in Cython.Compiler.Code.UtilityCode.put_code self._put_code_section(globalstate['utility_code_def'], globalstate, 'impl', used_by=used_by) File "Cython/Compiler/Code.py", line 851, in Cython.Compiler.Code.UtilityCode._put_code_section code_string, result_is_module_specific = process_utility_ccode(self, output, code_string) File "Cython/Compiler/Code.py", line 924, in Cython.Compiler.Code.add_macro_processor.build_processor.process code_string, result_is_module_specific = last_processor(utility_code, output, code_string) File "Cython/Compiler/Code.py", line 924, in Cython.Compiler.Code.add_macro_processor.build_processor.process code_string, result_is_module_specific = last_processor(utility_code, output, code_string) File "Cython/Compiler/Code.py", line 936, in Cython.Compiler.Code.add_macro_processor.build_processor.process code_string = func(utility_code, output, code_string) File "Cython/Compiler/Code.py", line 1011, in Cython.Compiler.Code._inject_empty_collection_constant @add_macro_processor( TypeError: _inject_empty_collection_constant() takes exactly 2 positional arguments (3 given) TIP pass --env-dir and --sdist-extract-dir to keep the build environment and sources, then see https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build for help debugging a failed build ERROR Backend subprocess exited when trying to invoke build_wheel *** Error 1 in net/libdnet (Makefile:45 'post-build') *** Error 2 in net/libdnet (/usr/ports/infrastructure/mk/bsd.port.mk:3083 '/usr/obj/ports/libdnet-1.18.2/.build_done': @cd /usr/ports/net/li...) *** Error 2 in net/libdnet (/usr/ports/infrastructure/mk/bsd.port.mk:2722 'build': @lock=libdnet-1.18.2; export _LOCKS_HELD=" libdnet-1.18....) ===> Exiting net/libdnet with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1785006419.45 max_stuck=12.07/depends=19.93/show-prepare-results=11.08/extract=1.95/patch=1.33/configure=70.76/build=164.61 Error: job failed with 512 on sparc64-0c at 1785006419