From owner-freebsd-stable@freebsd.org Fri Oct 14 18:49:38 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A78C5C1275A for ; Fri, 14 Oct 2016 18:49:38 +0000 (UTC) (envelope-from tkawakit@kumamoto-iri.jp) Received: from amakusa.kumamoto-iri.jp (ns-i2.kmt-iri.go.jp [IPv6:2001:240:174:1001::9]) by mx1.freebsd.org (Postfix) with ESMTP id 79D31F71 for ; Fri, 14 Oct 2016 18:49:38 +0000 (UTC) (envelope-from tkawakit@kumamoto-iri.jp) Received: from amakusa.kumamoto-iri.jp (localhost [127.0.0.1]) by amakusa.kumamoto-iri.jp (Postfix) with ESMTP id E99BB17002FA; Sat, 15 Oct 2016 03:49:34 +0900 (JST) Received: from shobu.kumamoto-iri.jp (shobu.kumamoto-iri.jp [202.24.93.170]) by amakusa.kumamoto-iri.jp (Postfix) with ESMTP id E8CD717000F0; Sat, 15 Oct 2016 03:49:34 +0900 (JST) Received: from [192.168.1.5] (FL1-125-195-110-104.kmm.mesh.ad.jp [125.195.110.104]) by shobu.kumamoto-iri.jp (Postfix) with ESMTPSA id B4D4C60089D; Sat, 15 Oct 2016 03:49:34 +0900 (JST) User-Agent: K-9 Mail for Android MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: make buildwotrld can not find zlib,h From: =?UTF-8?B?5rKz5YyX6ZqG55Sf?= Date: Sat, 15 Oct 2016 03:49:33 +0900 To: Dmitry Luhtionov CC: FreeBSD-STABLE Mailing List Message-ID: <2EA1F46A-57CE-4152-82C8-E8C0AEECC4CB@kumamoto-iri.jp> X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2016 18:49:38 -0000 On Fri, Oct 14, 2016 at 6:10 AM, Dmitry Luhtionov 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 > ^ > 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" --- 河北隆生@熊本県産業技術センター