Date: Tue, 18 Oct 2016 09:10:42 +0200 From: Schaich Alonso <alonsoschaich@fastmail.fm> To: Kevin Oberman <rkoberman@gmail.com> Cc: Dmitry Luhtionov <dmitryluhtionov@gmail.com>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: make buildwotrld can not find zlib,h Message-ID: <20161018091042.dbc86eadd7c15f1e7fc4b5e1@fastmail.fm> In-Reply-To: <CAN6yY1ta5e_8e9=OW1jKRPRn==Z%2BW_Vz3Uu_0=wHCT53ak0kRA@mail.gmail.com> References: <CAAYMRQf0mVGVHUaYdvT4DbxAJgavo-eb5odBQKJ9VFa0F0A5XQ@mail.gmail.com> <CAN6yY1ta5e_8e9=OW1jKRPRn==Z%2BW_Vz3Uu_0=wHCT53ak0kRA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Fri, 14 Oct 2016 11:06:55 -0700 Kevin Oberman <rkoberman@gmail.com> wrote: > On Fri, Oct 14, 2016 at 6:10 AM, Dmitry Luhtionov <dmitryluhtionov@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: rkoberman@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-unsubscribe@freebsd.org" 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJYBcrzXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGRUQ1N0JDOERFQjk5NEQ5QjUyQzBBMzVG RjhGNkI2RDBBQUNGQzY3AAoJEP+Pa20KrPxn0IEIAIVfYip87Nuedr4VdY/fQrqv q94r1Ncfpl0hSIB50dZdyQLBgLcuvIdNF01rBp1G8dOe5IIUUMW3b76nLd1rzBK9 tLvRY9JKS9grOGRA6H+cXulHukMG1R73aKwL59K4C4om/X66+qa60b1oKmYQ9Jgb lpALPDYg8HJEZV0HXibTbPjr2zXVrXXiCkskxpfl80Nibtzmgwa/cjouskcDjqC5 hhqRVarJz78ZqP0geln1zTaRzUNLnubWEIaIZSoTRZwIFTM05Gb2ewN2WAfXoUZR ctWr47MISkLpMUjOkFSkd7XaKtq4wJy/GPF4bxZ1eG6aX5jsfiwz6DqRKZaJK+g= =dkGY -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161018091042.dbc86eadd7c15f1e7fc4b5e1>
