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 660D81382C5 for ; Sat, 6 Jun 2020 11:46:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D5B0E0978; Sat, 6 Jun 2020 11:46:58 +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 72B92E0978 for ; Sat, 6 Jun 2020 11:46:58 +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 392E334F220 for ; Sat, 6 Jun 2020 11:46:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 48F32283 for ; Sat, 6 Jun 2020 11:46:55 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1591444009.91fa79f3be6429a740d22e341082b2b2cb76f95d.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/attr/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/attr/attr-2.4.48-r3.ebuild sys-apps/attr/attr-9999.ebuild X-VCS-Directories: sys-apps/attr/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 91fa79f3be6429a740d22e341082b2b2cb76f95d X-VCS-Branch: master Date: Sat, 6 Jun 2020 11:46: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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8ff2fdf2-4e20-4fb0-8ecb-324fc209b54a X-Archives-Hash: 5d198352ec0a0a20eec39dcdfb8664dd commit: 91fa79f3be6429a740d22e341082b2b2cb76f95d Author: Lars Wendler gentoo org> AuthorDate: Sat Jun 6 11:46:28 2020 +0000 Commit: Lars Wendler gentoo org> CommitDate: Sat Jun 6 11:46:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91fa79f3 sys-apps/attr: Don't call readelf directly Thanks-to: Kent Fredric gentoo.org> Closes: https://bugs.gentoo.org/727296 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Lars Wendler gentoo.org> sys-apps/attr/attr-2.4.48-r3.ebuild | 4 ++-- sys-apps/attr/attr-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys-apps/attr/attr-2.4.48-r3.ebuild b/sys-apps/attr/attr-2.4.48-r3.ebuild index ec4a78d1462..baa2831efd2 100644 --- a/sys-apps/attr/attr-2.4.48-r3.ebuild +++ b/sys-apps/attr/attr-2.4.48-r3.ebuild @@ -56,8 +56,8 @@ multilib_src_install() { # Sanity check until we track down why this is happening. #644048 local lib="${ED%/}/usr/$(get_libdir)/libattr.so.1" if [[ -e ${lib} ]] ; then - local versions=$(readelf -V "${lib}") - local symbols=$(readelf -sW "${lib}") + local versions=$($(tc-getREADELF) -V "${lib}") + local symbols=$($(tc-getREADELF) -sW "${lib}") if [[ "${versions}" != *"ATTR_1.0"* || \ "${versions}" != *"ATTR_1.1"* || \ "${versions}" != *"ATTR_1.2"* || \ diff --git a/sys-apps/attr/attr-9999.ebuild b/sys-apps/attr/attr-9999.ebuild index 72f0547d9c0..8d4a48d28f0 100644 --- a/sys-apps/attr/attr-9999.ebuild +++ b/sys-apps/attr/attr-9999.ebuild @@ -64,8 +64,8 @@ multilib_src_install() { # Sanity check until we track down why this is happening. #644048 local lib="${ED}/usr/$(get_libdir)/libattr.so.1" if [[ -e ${lib} ]] ; then - local versions=$(readelf -V "${lib}") - local symbols=$(readelf -sW "${lib}") + local versions=$($(tc-getREADELF) -V "${lib}") + local symbols=$((tc-getREADELF) -sW "${lib}") if [[ "${versions}" != *"ATTR_1.0"* || \ "${versions}" != *"ATTR_1.1"* || \ "${versions}" != *"ATTR_1.2"* || \