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 0DE91138334 for ; Fri, 3 May 2019 20:45:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 141F7E0841; Fri, 3 May 2019 20:45:19 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 EA919E0841 for ; Fri, 3 May 2019 20:45:18 +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 26CA03434ED for ; Fri, 3 May 2019 20:45:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 065915BD for ; Fri, 3 May 2019 20:45:15 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1556916301.856213bc1a54ef26fb82b1b796f6247c1e8f11bb.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/patchelf/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/patchelf/patchelf-0.10.ebuild dev-util/patchelf/patchelf-0.8.ebuild X-VCS-Directories: dev-util/patchelf/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 856213bc1a54ef26fb82b1b796f6247c1e8f11bb X-VCS-Branch: master Date: Fri, 3 May 2019 20:45:15 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bd6f2404-29be-4b5e-8c7d-699223de5abd X-Archives-Hash: 7a971946b23edc9c794ab89c0637e3e3 commit: 856213bc1a54ef26fb82b1b796f6247c1e8f11bb Author: James Le Cuirot gentoo org> AuthorDate: Fri May 3 20:44:09 2019 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Fri May 3 20:45:01 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=856213bc dev-util/patchelf: Reduce test fails by building tests with -no-pie Now 0.8 passes and 0.10 has one 1 failure. Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: James Le Cuirot gentoo.org> dev-util/patchelf/patchelf-0.10.ebuild | 6 ++++++ dev-util/patchelf/patchelf-0.8.ebuild | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dev-util/patchelf/patchelf-0.10.ebuild b/dev-util/patchelf/patchelf-0.10.ebuild index dfc0d88d15f..36271cd5f47 100644 --- a/dev-util/patchelf/patchelf-0.10.ebuild +++ b/dev-util/patchelf/patchelf-0.10.ebuild @@ -22,3 +22,9 @@ src_prepare() { eautoreconf } + +src_test() { + emake check \ + CFLAGS+=" -no-pie" \ + CXXFLAGS+=" -no-pie" +} diff --git a/dev-util/patchelf/patchelf-0.8.ebuild b/dev-util/patchelf/patchelf-0.8.ebuild index 92c86cecf1a..369a698a039 100644 --- a/dev-util/patchelf/patchelf-0.8.ebuild +++ b/dev-util/patchelf/patchelf-0.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -32,5 +32,7 @@ src_configure() { } src_test() { - autotools-utils_src_test -j1 + autotools-utils_src_test -j1 \ + CFLAGS+=" -no-pie" \ + CXXFLAGS+=" -no-pie" }