At Sun, 29 Sep 2024 06:03:54 +1000, matthew green <m...@eterna23.net> 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 <gwo...@acm.org>

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

Attachment: pgprO06OOkM7b.pgp
Description: OpenPGP Digital Signature

Reply via email to