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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AA19415801B for ; Wed, 19 Jul 2023 21:48:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E14F2E075F; Wed, 19 Jul 2023 21:48:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CAB41E075F for ; Wed, 19 Jul 2023 21:48:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1714534099A for ; Wed, 19 Jul 2023 21:48:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 46A62BD1 for ; Wed, 19 Jul 2023 21:48:35 +0000 (UTC) From: "Arsen Arsenović" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arsen Arsenović" Message-ID: <1689803060.654eec8416cc077d2a32f0a20b9ff5d201e4a74d.arsen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/binutils/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/binutils/binutils-2.40-r6.ebuild sys-devel/binutils/binutils-9999.ebuild sys-devel/binutils/metadata.xml X-VCS-Directories: sys-devel/binutils/ X-VCS-Committer: arsen X-VCS-Committer-Name: Arsen Arsenović X-VCS-Revision: 654eec8416cc077d2a32f0a20b9ff5d201e4a74d X-VCS-Branch: master Date: Wed, 19 Jul 2023 21:48:35 +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: 92e5e297-34ad-4dd6-9260-a9bc2a7964ad X-Archives-Hash: 3a7e18f44ab010a9f4ffda86ac18a429 commit: 654eec8416cc077d2a32f0a20b9ff5d201e4a74d Author: Arsen Arsenović gentoo org> AuthorDate: Tue Jul 18 00:28:34 2023 +0000 Commit: Arsen Arsenović gentoo org> CommitDate: Wed Jul 19 21:44:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=654eec84 sys-devel/binutils: add debuginfod support Signed-off-by: Arsen Arsenović gentoo.org> .../{binutils-9999.ebuild => binutils-2.40-r6.ebuild} | 11 ++++++----- sys-devel/binutils/binutils-9999.ebuild | 9 +++++---- sys-devel/binutils/metadata.xml | 1 + 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-2.40-r6.ebuild similarity index 98% copy from sys-devel/binutils/binutils-9999.ebuild copy to sys-devel/binutils/binutils-2.40-r6.ebuild index d8c2553ece20..ff5ebb262fb2 100644 --- a/sys-devel/binutils/binutils-9999.ebuild +++ b/sys-devel/binutils/binutils-2.40-r6.ebuild @@ -9,7 +9,7 @@ DESCRIPTION="Tools necessary to build programs" HOMEPAGE="https://sourceware.org/binutils/" LICENSE="GPL-3+" -IUSE="cet doc gold gprofng multitarget +nls pgo +plugins static-libs test vanilla zstd" +IUSE="cet debuginfod doc gold gprofng multitarget +nls pgo +plugins static-libs test vanilla zstd" # Variables that can be set here (ignored for live ebuilds) # PATCH_VER - the patchset version @@ -19,7 +19,7 @@ IUSE="cet doc gold gprofng multitarget +nls pgo +plugins static-libs test vanill # PATCH_DEV - Use download URI https://dev.gentoo.org/~{PATCH_DEV}/distfiles/... # for the patchsets -PATCH_VER=2 +PATCH_VER=5 PATCH_DEV=dilfridge if [[ ${PV} == 9999* ]]; then @@ -52,6 +52,9 @@ is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } RDEPEND=" >=sys-devel/binutils-config-3 sys-libs/zlib + debuginfod? ( + dev-libs/elfutils[debuginfod(-)] + ) zstd? ( app-arch/zstd:= ) " DEPEND="${RDEPEND}" @@ -287,9 +290,7 @@ src_configure() { # {native,cross}/binutils, binutils-libs. bug #666100 --with-extra-soversion-suffix=gentoo-${CATEGORY}-${PN}-$(usex multitarget mt st) - # Avoid automagic dependency on (currently prefix) systems - # systems with debuginfod library, bug #754753 - --without-debuginfod + $(use_with debuginfod) # Avoid automagic dev-libs/msgpack dep, bug #865875 --without-msgpack diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild index d8c2553ece20..ce9b9958cd11 100644 --- a/sys-devel/binutils/binutils-9999.ebuild +++ b/sys-devel/binutils/binutils-9999.ebuild @@ -9,7 +9,7 @@ DESCRIPTION="Tools necessary to build programs" HOMEPAGE="https://sourceware.org/binutils/" LICENSE="GPL-3+" -IUSE="cet doc gold gprofng multitarget +nls pgo +plugins static-libs test vanilla zstd" +IUSE="cet debuginfod doc gold gprofng multitarget +nls pgo +plugins static-libs test vanilla zstd" # Variables that can be set here (ignored for live ebuilds) # PATCH_VER - the patchset version @@ -52,6 +52,9 @@ is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } RDEPEND=" >=sys-devel/binutils-config-3 sys-libs/zlib + debuginfod? ( + dev-libs/elfutils[debuginfod(-)] + ) zstd? ( app-arch/zstd:= ) " DEPEND="${RDEPEND}" @@ -287,9 +290,7 @@ src_configure() { # {native,cross}/binutils, binutils-libs. bug #666100 --with-extra-soversion-suffix=gentoo-${CATEGORY}-${PN}-$(usex multitarget mt st) - # Avoid automagic dependency on (currently prefix) systems - # systems with debuginfod library, bug #754753 - --without-debuginfod + $(use_with debuginfod) # Avoid automagic dev-libs/msgpack dep, bug #865875 --without-msgpack diff --git a/sys-devel/binutils/metadata.xml b/sys-devel/binutils/metadata.xml index 9b80e61912f4..3cc106863437 100644 --- a/sys-devel/binutils/metadata.xml +++ b/sys-devel/binutils/metadata.xml @@ -13,6 +13,7 @@ Build binutils with Profile Guided Optimization (PGO) and LTO Enable plugin support in tools Adds support to binutils for cross compiling (does not work with gas) + Enable debuginfod support via dev-libs/elfutils libdebuginfod cpe:/a:gnu:binutils