On Tue, Oct 18, 2016 at 12:10 AM, Schaich Alonso <alonsoscha...@fastmail.fm> wrote:
> On Fri, 14 Oct 2016 11:06:55 -0700 > Kevin Oberman <rkober...@gmail.com> wrote: > > > On Fri, Oct 14, 2016 at 6:10 AM, Dmitry Luhtionov < > dmitryluhtio...@gmail.com > > > wrote: > > > > > c++ -O2 -pipe > > > -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include > > > -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/ > > > include > > > -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support > -I. > > > -I/usr/src/lib/clang/libllvmsupport/../../../ > contrib/llvm/../../lib/clang/ > > > include > > > -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS > > > -D__STDC_CONSTANT_MACROS -DNDEBUG -fno-strict-aliasing > > > -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\" > > > -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" > > > -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/tmp\" -MD > -MF.depend.Compression.o > > > -MTCompression.o -Qunused-arguments > > > -I/usr/obj/usr/src/tmp/legacy/usr/include -std=c++11 -fno-exceptions > > > -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c > > > /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/ > > > Compression.cpp > > > -o Compression.o > > > /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/ > > > Compression.cpp:21:10: > > > fatal error: 'zlib.h' file not found > > > #include <zlib.h> > > > ^ > > > 1 error generated. > > > > > > > Very odd. /usr/include/zlib.h is and long has been a standard component > of > > FreeBSD and should be present on your system. Can you confirm its > absence? > > Anything that could be in /etc/src.conf that might trigger this? (I can't > > see anything obvious, but src.conf(5) is very long.) > > > > I'm also not sure whether, at this point in the build, you should be > using > > the system's include files or those in /usr/obj/usr/src/tmp/usr/include/ > or > > /usr/src/lib/libz/zlib.h, which is what should be copied to > > /usr/obj/usr/src/tmp/usr/include. Normally the system's files are not > used > > during the build. > > > > Have you tried completely removing /usr/obj (rm -r /usr/obj/*) before > > starting the build with -DNO_CLEAN? > > -- > > Kevin Oberman, Part time kid herder and retired Network Engineer > > E-mail: rkober...@gmail.com > > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > > > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkober...@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > > Hi, > > I'm having an issue with libarchive that might or might not be related: > > > [...] > > (cd /usr/src/lib/libarchive/tests && DEPENDFILE=.depend.libarchive_test > NO_SUBDIR=1 make -f /usr/src/lib/libarchive/tests/Makefile > _RECURSING_PROGS=t PROG=libarchive_test ) > > cc -O2 -pipe -I/usr/src/lib/libarchive > > -I/usr/obj/usr/src/lib/libarchive/tests > -I/usr/src/contrib/libarchive/libarchive > -I/usr/src/contrib/libarchive/test_utils > -DHAVE_LIBLZMA=1 -DHAVE_LZMA_H=1 -g -MD -MF.depend.libarchive_test.main.o > -MTmain.o -std=gnu99 -fstack-protector-strong -Qunused-arguments -c > /usr/src/contrib/libarchive/libarchive/test/main.c -o main.o > > /usr/src/contrib/libarchive/libarchive/test/main.c:2400:10: fatal > error: 'list.h' file not found > > #include "list.h" > > ^ > > 1 error generated. > > *** Error code 1 > > > > Stop. > > make[1]: stopped in /usr/src/lib/libarchive/tests > > *** Error code 1 > > [...] > > list.h is perfectly there, but it's in /usr/src/lib/libarchive/tests > rather than /usr/obj/usr/src/lib/libarchive/tests (the second -I is > wrong), so either some copy-to-builddir target was skipped or the build > process should include the source path instead of the build path. > > I removed anything from /usr/obj/ and also commented-away anything I had > in make.conf and src.conf prior to attempting to compile it (11-STABLE > r307550). > > Alonso > You need to look at the output. One pass of the install should copy the new .h files from /usr/src to /usr/obj/usr/src. Looks like one or more things did not get copied. Do you have an /etc/src.conf file? Are any parts of the system being excluded there? What about /etc/make.conf? Since others have not reported this, it seems likely that there is something you have configured at some time. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkober...@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 _______________________________________________ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"