Date: Sat, 27 Apr 2024 09:58:05 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 278607] benchmarks/iperf failes to build with disabled IPV6 since port upgrade to v 2.2.0 Message-ID: <bug-278607-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278607 Bug ID: 278607 Summary: benchmarks/iperf failes to build with disabled IPV6 since port upgrade to v 2.2.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: peter.sopko+freebsd.org@backbone.sk Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) If IPV6 port option is disabled (have no idea why I had that disabled, prob= ably some historic default from first build on this server), build fails with the following: --- iperf_multicast_api.o --- iperf_multicast_api.c:181:36: warning: call to undeclared function 'SockAddr_get_in6_addr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memcpy(&mreq.ipv6mr_multiaddr, SockAddr_get_in6_addr(&inSettings->multicast_group), sizeof(mreq.ipv6mr_multiaddr)); ^ iperf_multicast_api.c:181:36: error: incompatible integer to pointer conver= sion passing 'int' to parameter of type 'const void *' [-Wint-conversion] memcpy(&mreq.ipv6mr_multiaddr, SockAddr_get_in6_addr(&inSettings->multicast_group), sizeof(mreq.ipv6mr_multiaddr)); =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:56: note: passing argument to parameter here void *memcpy(void * __restrict, const void * __restrict, size_t); ^ 1 warning and 1 error generated. --- iperf_formattime.o --- mv -f .deps/iperf_formattime.Tpo .deps/iperf_formattime.Po --- iperf_multicast_api.o --- *** [iperf_multicast_api.o] Error code 1 make[2]: stopped in /usr/ports/benchmarks/iperf/work/iperf-2.2.0/src --- Reporter.o --- mv -f .deps/Reporter.Tpo .deps/Reporter.Po --- Client.o --- mv -f .deps/Client.Tpo .deps/Client.Po --- Settings.o --- mv -f .deps/Settings.Tpo .deps/Settings.Po --- ReportOutputs.o --- mv -f .deps/ReportOutputs.Tpo .deps/ReportOutputs.Po 1 error make[2]: stopped in /usr/ports/benchmarks/iperf/work/iperf-2.2.0/src make[1]: stopped in /usr/ports/benchmarks/iperf/work/iperf-2.2.0 make: stopped in /usr/ports/benchmarks/iperf/work/iperf-2.2.0 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/benchmarks/iperf *** Error code 1 Stop. make: stopped in /usr/ports/benchmarks/iperf If IPV6 is enabled, build works just fine. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278607-7788>