From owner-freebsd-toolchain@freebsd.org Mon Oct 15 16:16:43 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08A7610B7DC1 for ; Mon, 15 Oct 2018 16:16:43 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B43F17A7B6 for ; Mon, 15 Oct 2018 16:16:42 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-2.local (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id A1C9210B476; Mon, 15 Oct 2018 12:16:40 -0400 (EDT) Subject: Re: powerpc64 example, base/binutils presence vs. devel/powerpc64-gcc build failure: "phase: build-depends" confused then gcc config aborts build To: Mark Millard , FreeBSD Toolchain References: <925D3E9A-4EF0-4B49-83D4-C9574170EB66@yahoo.com> From: John Baldwin Message-ID: <4b7cb935-7643-da6c-261a-d69e9f155c78@FreeBSD.org> Date: Mon, 15 Oct 2018 09:16:55 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <925D3E9A-4EF0-4B49-83D4-C9574170EB66@yahoo.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Mon, 15 Oct 2018 12:16:42 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Oct 2018 16:16:43 -0000 On 10/12/18 6:51 AM, Mark Millard wrote: > The following is from attempting to build devel/powerpc-gcc > via poudriere-devel on the powerpc64 system after having > bootstrapped via (in part) base/binutils and the .txz > produced on the host (amd64). > > Looks like having both: > > /usr/bin/powerpc64-unknown-freebsd12.0-* > and: > /usr/local/bin/powerpc64-unknown-freebsd12.0-* > > in a powerpc64 environment confuses "phase: build-depends" > in poudriere for the devel/powerpc64-gcc build: Ah, I could see that. I had kept the longer binary names with the full tuple since the original base/binutils had them, but I've considered stripping them as we only really need /usr/bin/as, etc. for the base system. I hadn't gotten to the point of trying to build any ports with base/* as I'm still trying to just do a buildworld (and running poudriere in a qemu image of mips64 would be very unpleasant). I think probably base/binutils just needs to drop the names with a full tuple if possible. -- John Baldwin