Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ./build.sh -m amd64 .... distribution fails
ks%ub.uni-mainz.de@localhost ("K. Schreiner") writes:
>nbmake[6]: stopped in /u/NetBSD/src/external/mit/expat/lib/libexpat
>/u/NetBSD/src/external/mit/expat/dist/lib/xmlparse.c:73:14: fatal error: sys/random.h: No such file or direct
>ory
> # include <sys/random.h> /* getrandom */
> ^~~~~~~~~~~~~~
>compilation terminated.
>There's no sys/random.h anywhere!?!
It's reading the wrong config header. This might help:
Index: ./external/mit/expat/lib/libexpat/Makefile
===================================================================
RCS file: /cvsroot/src/external/mit/expat/lib/libexpat/Makefile,v
retrieving revision 1.2
diff -p -u -r1.2 Makefile
--- ./external/mit/expat/lib/libexpat/Makefile 14 May 2016 14:39:39 -0000 1.2
+++ ./external/mit/expat/lib/libexpat/Makefile 16 Sep 2019 09:30:36 -0000
@@ -10,7 +10,7 @@ SRCS= xmlparse.c xmlrole.c xmltok.c
INCS= expat.h expat_external.h
INCSDIR= /usr/include
-CPPFLAGS+= -I${EXPATSRCDIR} -I${.CURDIR}
+CPPFLAGS+= -I${.CURDIR} -I${EXPATSRCDIR}
CPPFLAGS+= -DHAVE_EXPAT_CONFIG_H
COPTS.xmlparse.c= -Wno-error # macppc
COPTS.xmlrole.c= -Wno-error # macppc
--
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index