From owner-freebsd-stable@freebsd.org Wed Oct 19 03:50:56 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 78FB9C18F3B for ; Wed, 19 Oct 2016 03:50:56 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-vk0-x234.google.com (mail-vk0-x234.google.com [IPv6:2607:f8b0:400c:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 240BC2EB for ; Wed, 19 Oct 2016 03:50:56 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-vk0-x234.google.com with SMTP id b186so16454896vkb.1 for ; Tue, 18 Oct 2016 20:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=gpF7aYOAF0WWVkded6zJ1YlD8ZUtnmzmM5vIBSefW/Q=; b=GmVMnAQ0hbY8Thkv2+UdeAVr1WsHPLKVk7GwE3cvjBHlFUnJtwrLYQcKLlESfF55EY UIJm1sFslpUMq7gTpJ7B36YRLtjkF66toXpHry/iyBRrA+6blzDzwMk5Fw3vTS2tiu/L bkSMLgFZ8JBtJrfBliyp+mGGjL5se5MJl4YhkRDfXESGCTGngTvbmwYySqpIHg3L8cli rGaNPhp/lcdNlziUHKoFOeyXUwNFN56U1t6fBvKZ3lgAT1pnO+nuoabxpeGVy8XPGuQo UGqCSfqpd8qKFVRCfEKyrkmqO6MpYu4w75cKMvU0hfJp/L56+mJCDGU+lXn2/7TzEhty gT2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=gpF7aYOAF0WWVkded6zJ1YlD8ZUtnmzmM5vIBSefW/Q=; b=e3X6dn6o6sejc5NQrWaJM0ICYR9agWjY3qhzZ2X12wwDy5HLn/wC14nvlPlfnVgOub hubatphpONug0ckbWmaN83WNDLlo1HQV/ALyPrrsmidUDV858DnJVvbx1o0/OjB8SaBb 6LLN2CQStMzHCuRRoSCsxm7V1/1WjpACK0jnMK9wyEpI9t+AxOssT1zIOqI5+1bED9vO Jwqv0VbGWq9XCTh/Y+NoxWhOvx6N5L4X6qzkrsxzm23FcMqt3s72l8PhWaPh7Q795CSF JS6x2CfNZH0BymXciQg9pFl2Z1Vo53UenL/TB5ypsDR9sOjGeKQwGhQ8HXGt+7wHttOA ELbw== X-Gm-Message-State: AA6/9RnODxUt9EPEZQo/J9jzQT+/l2aevbYn0VN1a8+5g/Zc4WJ+N1qQYubSW+Lpejxw7ldufdQqi/JZFlsSaw== X-Received: by 10.31.229.133 with SMTP id c127mr3902007vkh.153.1476849055223; Tue, 18 Oct 2016 20:50:55 -0700 (PDT) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.103.118.78 with HTTP; Tue, 18 Oct 2016 20:50:54 -0700 (PDT) In-Reply-To: <20161018091042.dbc86eadd7c15f1e7fc4b5e1@fastmail.fm> References: <20161018091042.dbc86eadd7c15f1e7fc4b5e1@fastmail.fm> From: Kevin Oberman Date: Tue, 18 Oct 2016 20:50:54 -0700 X-Google-Sender-Auth: PlNxH97xPlYWjXyoKqVz1a_CCZY Message-ID: Subject: Re: make buildwotrld can not find zlib,h To: Schaich Alonso Cc: Dmitry Luhtionov , FreeBSD-STABLE Mailing List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Wed, 19 Oct 2016 03:50:56 -0000 On Tue, Oct 18, 2016 at 12:10 AM, Schaich Alonso wrote: > On Fri, 14 Oct 2016 11:06:55 -0700 > Kevin Oberman 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 > > > ^ > > > 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 > > > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@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: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683