From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B1AD2138334 for ; Mon, 11 Jun 2018 16:39:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8D23E0897; Mon, 11 Jun 2018 16:39:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 87C73E0897 for ; Mon, 11 Jun 2018 16:39:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AAF6C335C91 for ; Mon, 11 Jun 2018 16:39:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 73BAC296 for ; Mon, 11 Jun 2018 16:38:55 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1528735067.ddf86254b773b1a2205c8ef166c7d8c7fdcfa697.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: scripts/bootstrap-prefix.sh X-VCS-Directories: scripts/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: ddf86254b773b1a2205c8ef166c7d8c7fdcfa697 X-VCS-Branch: master Date: Mon, 11 Jun 2018 16:38:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 31424d4a-b40b-476d-94b6-7dd08387cb47 X-Archives-Hash: 702a1caf1d256fa9eed354bc9f54c709 commit: ddf86254b773b1a2205c8ef166c7d8c7fdcfa697 Author: Fabian Groffen gentoo org> AuthorDate: Mon Jun 11 16:37:47 2018 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Mon Jun 11 16:37:47 2018 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=ddf86254 scripts/bootstrap-prefix: (try to) workaround libtool stage3 issue Closes: https://bugs.gentoo.org/655414 scripts/bootstrap-prefix.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index 910483897c..c9debd1bd3 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -1541,6 +1541,17 @@ bootstrap_stage2() { EXTRA_ECONF=$(rapx --with-sysroot=/) \ emerge_pkgs --nodeps ${linker} || return 1 + # automake and autoconf need to be installed in /tmp in order for + # autotools.eclass to run successfully, bug #655414, #657414 + # rely on Perl from host, let's hope it's there + unset PERL + if [[ -x $(type -P perl) ]] ; then + ( cd "${ROOT}"/tmp/usr/bin && ln -s $(type -P perl) ) + emerge_pkgs --nodeps sys-devel/autoconf sys-devel/automake || return 1 + else + einfo "You don't have perl available, you'll likely run into bug #657414" + fi + # Old versions of gcc has been masked. We need gcc-4.7 to bootstrap # on systems without a c++ compiler. echo '> "${ROOT}"/tmp/etc/portage/package.unmask