Attempting to buildworld of 12.1-RELEASE under 12.0-STABLE (r348286) fails with a compile error.
Source was fetched via SVN, https://svn.freebsd.org/base/releng/12.1
I've tried make cleanworld, rm /usr/obj, single threaded make (no -jX) ... same error each time.
Unsure whether config.h is supposed to be part of FreeBSD 12, or it's generated during buildworld [edit: based on the lex and yacc calls, possibly the latter]. Either way, it doesn't exist.
I guess one other thing to try is updating the STABLE src, then attempting to compile RELEASE again, but failing that... any ideas?
Thanks.
Source was fetched via SVN, https://svn.freebsd.org/base/releng/12.1
I've tried make cleanworld, rm /usr/obj, single threaded make (no -jX) ... same error each time.
Unsure whether config.h is supposed to be part of FreeBSD 12, or it's generated during buildworld [edit: based on the lex and yacc calls, possibly the latter]. Either way, it doesn't exist.
I guess one other thing to try is updating the STABLE src, then attempting to compile RELEASE again, but failing that... any ideas?
Thanks.
Code:
# make buildworld
[...]
===> lib/libunbound (all)
cp -f /usr/src/contrib/unbound/util/configlexer.lex configlexer.l
lex -Pub_c_ -oconfiglexer.c configlexer.l
yacc -pub_c_ -d -o configparser.c /usr/src/contrib/unbound/util/configparser.y
echo libprivateunbound.so.5.full: /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libssl.a /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libcrypto.a /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libpthread.a >> .depend
cc -target x86_64-unknown-freebsd12.1 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -I/usr/src/contrib/unbound -I/usr/src/contrib/ldns -I/usr/obj/usr/src/amd64.amd64/lib/libunbound -I/usr/src/usr.sbin/unbound -g -MD -MF.depend.alloc.o -MTalloc.o -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/contrib/unbound/util/alloc.c -o alloc.o
/usr/src/contrib/unbound/util/alloc.c:42:10: fatal error: 'config.h' file not found
#include "config.h"
^~~~~~~~~~
1 error generated.
*** Error code 1
Stop.
make[5]: stopped in /usr/src/lib/libunbound