From owner-freebsd-current@freebsd.org Thu Nov 19 18:48:10 2015 Return-Path: Delivered-To: freebsd-current@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 C4358A3391E for ; Thu, 19 Nov 2015 18:48:10 +0000 (UTC) (envelope-from franco@lastsummer.de) Received: from host64.kissl.de (host64.kissl.de [213.239.241.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "*.shmhost.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 89C0E184A; Thu, 19 Nov 2015 18:48:10 +0000 (UTC) (envelope-from franco@lastsummer.de) Received: from [192.168.9.61] (62-2-145-226.static.cablecom.ch [62.2.145.226]) (Authenticated sender: web104p1) by host64.kissl.de (Postfix) with ESMTPSA id 8BD6EB050C8; Thu, 19 Nov 2015 19:39:45 +0100 (CET) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: buildincludes: don't know how to make libelf.h etc. From: Franco Fichtner In-Reply-To: <56413887.5010302@FreeBSD.org> Date: Thu, 19 Nov 2015 19:39:44 +0100 Cc: freebsd-current Content-Transfer-Encoding: 7bit Message-Id: <06677E8E-98E3-4E4F-BF59-64187802BBA7@lastsummer.de> References: <7D199C04-0ECD-4F58-9A16-C36B51389CB1@lastsummer.de> <56413887.5010302@FreeBSD.org> To: Bryan Drewery X-Mailer: Apple Mail (2.3096.5) X-Virus-Scanned: clamav-milter 0.98.7 at host64.kissl.de X-Virus-Status: Clean X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2015 18:48:10 -0000 Hi Bryan, Apologies for the delay. Yes, this is still happening. This is the script I'm using with some trampoline things in a makefile and a common.sh script. It works on releng/10.1 and releng/10.2 without modification: https://github.com/opnsense/tools/blob/master/build/base.sh In any of the 11-CURRENT revisions of the last two weeks I've ran into this issue for buildworld, but not for buildkernel. If I run this command sequence in a shell directly, 11-CURRENT builds fine. My latest step was filtering the environment while calling buildworld and I've had no issues. While it's true that the environment is polluted with variables for various build steps, it feels like a regression, because that wasn't needed on 10.x at all. I've double-checked by running the unfiltered script again and it runs into the same issues as described in the original message. What is the stance regarding environment poisoning and the source tree build framework? Is this a best effort setup or does identifying the bad env variables matter? I can probably chase them down if needed. > On 10 Nov 2015, at 1:21 AM, Bryan Drewery wrote: > > What exact release of 10.1 are you on? The release, or somewhere in head > during the 10.1 lifecycle? 10.1-RELEASE-p24 > What revision were you trying to build? Any of the HEAD revisions of the last two weeks, sorry for not being more specific here, but this wasn't related to any specific code churn. > What do you have in /etc/make.conf and /etc/src.conf? https://github.com/opnsense/tools/blob/master/config/latest/make.conf https://github.com/opnsense/tools/blob/master/config/latest/src.conf > What exact command did you run? See above. > Can you provide a full buildworld log please? Only if really needed. Cheers, Franco