Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

building without ipv6 fails now (was: macos: "configure: error: gmp library too old")



At Sun, 29 Sep 2024 06:03:54 +1000, matthew green <mrg%eterna23.net@localhost> wrote:
Subject: re: macos: "configure: error: gmp library too old"
>
> nicely found.
>
> https://www.netbsd.org/~mrg/gmp-macos-noasm.diff
>
> should work as a general fix (runs OK on netbsd at least ;)

That works for me too, but since I have:

	MKINET6 =	no
	USE_INET6 =	no

I end up failing here now:


     create  libisc/interfaceiter.d
nbmake[7]: don't know how to make ipv6.c. Stop

nbmake[7]: stopped making "dependall" in /Volumes/more/work/woods/g-NetBSD-src/external/mpl/bind/lib/libisc

*** Failed target:  dependall-libisc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="lib/../external/mpl/bind/lib/"; real="/Volumes/more/work/woods/g-NetBSD-src/external/mpl/bind/lib" ;; *) this="lib/../external/mpl/bind/lib/${dir}/"; real="/Volumes/more/work/woods/g-NetBSD-src/external/mpl/bind/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /Users/woods/build/woods/very.local/trunk-x86_64-amd64-tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libisc dependall
*** Error code 2

Stop.



Hmmmm....  I fixed that in 2019 in another source tree:

diff --git a/external/mpl/bind/lib/libisc/Makefile b/external/mpl/bind/lib/libisc/Makefile
index 730d84489d34..7a213906168e 100644
--- a/external/mpl/bind/lib/libisc/Makefile
+++ b/external/mpl/bind/lib/libisc/Makefile
@@ -46,7 +46,9 @@ SRCS=		app.c assertions.c astack.c base32.c base64.c buffer.c \

 .if (${USE_INET6} == "no")
 CPPFLAGS.net.c=	-Wno-error
-SRCS+=		ipv6.c
+# XXX this file no longer exists (it was in the 'unix' subdir)
+# (probably should have been removed from here during 2019-01-09 merge?)
+#SRCS+=		ipv6.c
 .endif

 LDFLAGS+=-Wl,--version-script=${.CURDIR}/isc.map



I guess _NOBODY_ builds without ipv6 any more!?!?!?

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpZP9ezTGuYm.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index