Hej, this my not be a specific -current problem, but nevertheless: Building from source using build.sh seems to require xsrc. I noticed because my headless machines would not upgrade since their xsrc is from 2012. The upgrade to 7.99 went clean back in the days, probably because netbsd-7 contained x11 as well, or xsrc from december 2012 was sufficient.
What I don’t understand is: why is „src“ not self-contained, even when not
using -x?
-x Set MKX11=yes; build X11 from X11SRCDIR
Or is there an undocumented build.sh option to not include xsrc for „release“
builds?
Cheers,
Oskar
dependall ===> tools/makestrs
# create makestrs/makestrs.d
/usr/src/obj/tooldir.NetBSD-7.1.2_PATCH-amd64/bin/nbhost-mkdep -f
makestrs.d.tmp --
-I/usr/src/obj/tooldir.NetBSD-7.1.2_PATCH-amd64/include/compat -I/usr/
src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I.
/usr/xsrc/external/mit/libXt/dist/util/makestrs.c && mv makestrs.d.tmp
makestrs.d
/usr/xsrc/external/mit/libXt/dist/util/makestrs.c:30:21: fatal error:
X11/Xos.h: No such file or directory
#include <X11/Xos.h>
^
compilation terminated.
# create makestrs/.depend
rm -f .depend
/usr/src/obj/tooldir.NetBSD-7.1.2_PATCH-amd64/bin/nbhost-mkdep -s .lo\ .ln\ .d
-d -f .depend makestrs.d
# compile makestrs/makestrs.lo
cc -O -I/usr/src/obj/tooldir.NetBSD-7.1.2_PATCH-amd64/include/compat
-I/usr/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I. -c
-o makestrs.
lo.o /usr/xsrc/external/mit/libXt/dist/util/makestrs.c
/usr/xsrc/external/mit/libXt/dist/util/makestrs.c:30:21: fatal error:
X11/Xos.h: No such file or directory
#include <X11/Xos.h>
^
compilation terminated.
*** Failed target: makestrs.lo
*** Failed command: cc -O
-I/usr/src/obj/tooldir.NetBSD-7.1.2_PATCH-amd64/include/compat
-I/usr/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64
-I. -c -o makestrs.lo.o /usr/xsrc/external/mit/libXt/dist/util/makestrs.c
*** Error code 1
Stop.
nbmake[7]: stopped in /usr/src/tools/makestrs
*** Failed target: dependall
*** Failed command: cd "/usr/src/tools/makestrs";
/usr/src/obj/tooldir.NetBSD-7.1.2_PATCH-amd64/bin/nbmake realall
*** Error code 1
Stop.
nbmake[6]: stopped in /usr/src/tools/makestrs
smime.p7s
Description: S/MIME cryptographic signature
