From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 54FB5139891 for ; Sun, 23 Aug 2015 15:32:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D6BA314179; Sun, 23 Aug 2015 15:32:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8807B14179 for ; Sun, 23 Aug 2015 15:32:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CECF0340753 for ; Sun, 23 Aug 2015 15:32:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 810ED156 for ; Sun, 23 Aug 2015 15:32:32 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1440343844.8bfc361e10505f53ee14c8f232d342aa68536758.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/go-bootstrap/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/go-bootstrap/go-bootstrap-1.4.2.ebuild X-VCS-Directories: dev-lang/go-bootstrap/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 8bfc361e10505f53ee14c8f232d342aa68536758 X-VCS-Branch: master Date: Sun, 23 Aug 2015 15:32:32 +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: 3032caa7-013a-4829-b74b-e7ae6d1bccd5 X-Archives-Hash: 7b42c021d98b7b9fcd4a309c23d71b13 commit: 8bfc361e10505f53ee14c8f232d342aa68536758 Author: Michael Marineau marineau org> AuthorDate: Fri Aug 21 20:31:08 2015 +0000 Commit: William Hubbs gentoo org> CommitDate: Sun Aug 23 15:30:44 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bfc361e dev-lang/go-bootstrap: avoid stripping test data files Go includes a number of pre-built object files for testing. Since they are not actually executed and may not even be native to the local system stripping them is meaningless. This syncs up STRIP_MASK with the same list used by the latest go ebuilds. One file, src/debug/dwarf/testdata/typedef.elf, includes a build-id which causes a conflict with the go-1.4 when FEATURES=splitdebug is enabled. Fixes bug #549598 dev-lang/go-bootstrap/go-bootstrap-1.4.2.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dev-lang/go-bootstrap/go-bootstrap-1.4.2.ebuild b/dev-lang/go-bootstrap/go-bootstrap-1.4.2.ebuild index 2610ffe..faba1ca 100644 --- a/dev-lang/go-bootstrap/go-bootstrap-1.4.2.ebuild +++ b/dev-lang/go-bootstrap/go-bootstrap-1.4.2.ebuild @@ -26,9 +26,11 @@ RDEPEND="" QA_MULTILIB_PATHS="usr/lib/go1.4/pkg/tool/.*/.*" # The go language uses *.a files which are _NOT_ libraries and should not be -# stripped. -STRIP_MASK="/usr/lib/go1.4/pkg/linux*/*.a - /usr/lib/go1.4/pkg/freebsd*/*.a /usr/lib/go1.4/pkg/darwin*/*.a" +# stripped. The test data objects should also be left alone and unstripped. +STRIP_MASK="/usr/lib/go1.4/pkg/*.a + /usr/lib/go1.4/src/debug/elf/testdata/* + /usr/lib/go1.4/src/debug/dwarf/testdata/* + /usr/lib/go1.4/src/runtime/race/*.syso" S="${WORKDIR}"/go @@ -63,7 +65,7 @@ src_install() { dodir /usr/lib/go1.4 exeinto /usr/lib/go1.4/bin -doexe bin/* + doexe bin/* insinto /usr/lib/go1.4 doins -r lib pkg src fperms -R +x /usr/lib/go1.4/pkg/tool