From owner-freebsd-stable@freebsd.org Fri Oct 14 18:06: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 C9DACC12DB4 for ; Fri, 14 Oct 2016 18:06:56 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-vk0-x22a.google.com (mail-vk0-x22a.google.com [IPv6:2607:f8b0:400c:c05::22a]) (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 76924228 for ; Fri, 14 Oct 2016 18:06:56 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-vk0-x22a.google.com with SMTP id 2so123106117vkb.3 for ; Fri, 14 Oct 2016 11:06: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=Ud46Yx6BAVrqtDlwUSRCNIJ03SF5v9XnDYpk7Pdfou8=; b=c5bRL3HTBPGCxfjkezGj9Cugcy899aOhn7Osi8aBYRx9UDX5sVhlWeQ6gT6xWICved KzLprK27lsBCi+rQdKW+IOjqZbG3jZiHUuBbLbUKfO3U0CU0+YXIHnpKIFvDmtU/O6q1 o9Kf+9Aa976pke1eTXkPH2ImpDlwbJeH+M/wRwPbBZcEBfCKcBmXltLJGVLlkbIKZnCr ltgesFrIuaVADl6lSLvqdSXiljepA9eCrDd7SZZx0lmI2EqvUQAjgPSvoNbVQ8grTC4x QFMfc7V3cPe1g1tU+aH82yiBrXKATvCgLktUyzoa+nDq/mGkxlD4yvPKzPoIt8qksFT0 uIhw== 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=Ud46Yx6BAVrqtDlwUSRCNIJ03SF5v9XnDYpk7Pdfou8=; b=blgapIGiDAtt9v0gW5nukl09hEKuahHZTnmshLfJV9vXeHRcikAgnMh7ehUBvP+kQp SnOK9tjJ0yQc5MIjiF8eRK8jADrPCI1E7b46LFNxL4IknoQGi84TgZWMZs5lKI2LoxYD 4lBsQHkrPUL02KZyhkwhRnB+XhPkUnmZpbTk2yEd+XvlZ+jR79QlbIZrpMZ9XQpSLI8/ 7OoaFtwCojlmNkCh7Hz8ASmcUYHjHGq1Jf3FQGod0BcXUYw1z9pba4fcxqkQT86lLnG+ wuM9mnxL8dMnMzkeT1EgBP2XFngrGo0aRsQGPflI3U82J+3YrojnAX5S05qHomtLyeF5 rAgQ== X-Gm-Message-State: AA6/9RkXIhGVYUjqd3dWOrbCyUC0I8zc8xIh9SmhiVbSl+3Wo8+h0qmzdUwl1KmY6do4AViCCG+xpXhniaoRJQ== X-Received: by 10.31.237.67 with SMTP id l64mr10275745vkh.56.1476468415545; Fri, 14 Oct 2016 11:06:55 -0700 (PDT) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.103.118.78 with HTTP; Fri, 14 Oct 2016 11:06:55 -0700 (PDT) In-Reply-To: References: From: Kevin Oberman Date: Fri, 14 Oct 2016 11:06:55 -0700 X-Google-Sender-Auth: A2y0aGhlCfxcgWipJpY6wd_scb0 Message-ID: Subject: Re: make buildwotrld can not find zlib,h To: Dmitry Luhtionov Cc: 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: Fri, 14 Oct 2016 18:06:56 -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