mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-util/debugedit: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST debugedit-5.2.tar.xz 196724 BLAKE2B ced3d1ff03f06cc2411627067c3e194951793b230fb37ac8f2528c6dd898841ca452b0f86107de3830c03123d34987c42a0427e40c579d775764bf5b09180410 SHA512 0fe21d7576ca8ea8067f6afe5c02807ace77051249d8911531e6f9d077db59487ee29dfbdb5e9c80aebaa8bd22c6efe515d25a502d614bc058f24d174c7ebe4b
|
||||
DIST debugedit-5.2.tar.xz.sig 310 BLAKE2B 599db2dfb9a85a70dff9aadf606f6eb308246e1628ca465ba7d58fb73842ed9c4b4e27ee23818d968c8fd7314678b7bb63ba1f77ad94bb7ed15e8f0d4bd94ee3 SHA512 5c80ea4b43e1363399b858a0758e944f49cedf50828f60867651f65e5469d217e7a6b4ac790266016ed5eb512ae7af67690d99ea020d8497b8289c3a88c9908d
|
||||
DIST debugedit-5.3.tar.xz 206124 BLAKE2B 0b8c59249eff751e4927c2c94ce656bf112732c518702e2f41ab5c8f50393a3fed627d545dc6f4fc2164e25c58b396ea237f45669c8fb1f5e2e409325406e056 SHA512 a02e04f5b91e0ec5d880207658e5b89b28424ffee6aed7374c495c0c49b2f0180eeb2277bdb758a3d245279a2083d5f7b8b4872b8972b92d5c92ef5f1d27d958
|
||||
DIST debugedit-5.3.tar.xz.sig 119 BLAKE2B 94356067afe2185acfc6f94cbb8dec1e6fbf6a12ff66fa137cfbdebdead2f9cca9525bb63b5c8b03ff0015e38f741c7a4c01dd41d7b188dc0abf8da4cabd422e SHA512 51b04d7639b8c2eb619ce08934ea19504a3fc1d3ddf3c46bb0f3c47f1d3b18ccae7590e54b3e2a798078da879eecd50b43c1c350e6cff2564de13df8d1c7cfe7
|
||||
|
||||
@@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit multiprocessing optfeature verify-sig toolchain-funcs
|
||||
|
||||
DESCRIPTION="Create debuginfo and source file distributions"
|
||||
HOMEPAGE="https://sourceware.org/debugedit/"
|
||||
SRC_URI="
|
||||
https://sourceware.org/ftp/debugedit/${PV}/${P}.tar.xz
|
||||
verify-sig? ( https://sourceware.org/ftp/debugedit/${PV}/${P}.tar.xz.sig )
|
||||
"
|
||||
|
||||
LICENSE="GPL-3+ GPL-2+ LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/elfutils-0.176-r1:=
|
||||
>=dev-libs/xxhash-0.8:=
|
||||
elibc_musl? ( >=sys-libs/error-standalone-2.0 )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
sys-apps/help2man
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
app-alternatives/cpio
|
||||
dev-debug/gdb
|
||||
sys-devel/dwz
|
||||
)
|
||||
verify-sig? (
|
||||
sec-keys/openpgp-keys-debugedit
|
||||
)
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/debugedit.gpg
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-bashism.patch
|
||||
"${FILESDIR}"/${P}-buildid.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
tc-export PKG_CONFIG
|
||||
|
||||
if use elibc_musl; then
|
||||
export CFLAGS="${CFLAGS} $(${PKG_CONFIG} --cflags error-standalone)"
|
||||
export LIBS="${LIBS} $(${PKG_CONFIG} --libs error-standalone)"
|
||||
fi
|
||||
|
||||
local myconf=(
|
||||
# avoid BDEP on dwz
|
||||
DWZ=dwz
|
||||
ac_cv_dwz_j=yes
|
||||
|
||||
# We don't want to effectively bundle xxhash. It fails to
|
||||
# build with -Og and such too (bug #956627).
|
||||
--disable-inlined-xxhash
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x CCACHE_DISABLE=1
|
||||
emake -Onone check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "dwz support in find-debuginfo" sys-devel/dwz
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
https://sourceware.org/cgit/debugedit/commit/?id=40b9c550dd2f94a069f3bedf51ceb310d7487d88
|
||||
|
||||
From 40b9c550dd2f94a069f3bedf51ceb310d7487d88 Mon Sep 17 00:00:00 2001
|
||||
From: Michał Górny <mgorny@gentoo.org>
|
||||
Date: Tue, 8 Jul 2025 07:40:20 +0200
|
||||
Subject: tests/debugedit.at: Replace 'type -p' bashism
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Replace 'type -p' with more portable 'command -v', in order to fix
|
||||
running the test suite on non-bash shells. Note that while the test
|
||||
itself invokes bash, the backticks are evaluated within the context
|
||||
of the shell used by autotest.
|
||||
|
||||
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
||||
---
|
||||
tests/find-debuginfo.at | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/find-debuginfo.at b/tests/find-debuginfo.at
|
||||
index 5552ce1..dd59374 100644
|
||||
--- a/tests/find-debuginfo.at
|
||||
+++ b/tests/find-debuginfo.at
|
||||
@@ -67,7 +67,7 @@ AT_CHECK([$READELF --debug-dump=line subdir_build/dupes.a | grep `pwd`], [0], [s
|
||||
|
||||
# run conversion, under bash -x tracing for fuller testing log
|
||||
AT_CHECK([[env RPM_BUILD_DIR=${PWD} RPM_BUILD_ROOT=${PWD} RPM_PACKAGE_NAME=pkg RPM_PACKAGE_VERSION=ver RPM_PACKAGE_RELEASE=rel RPM_ARCH=arch \
|
||||
- bash -x `type -p find-debuginfo` -S sourcefiles.list -v ${PWD}/subdir_build]], [0], [stdout], [ignore])
|
||||
+ bash -x `command -v find-debuginfo` -S sourcefiles.list -v ${PWD}/subdir_build]], [0], [stdout], [ignore])
|
||||
|
||||
# list new .a contents; ar tPv contains timestamps / subdirs, so not a good fit for AT_DATA() here
|
||||
AT_CHECK([$AR tPv subdir_build/dupes.a],[0],[stdout],[ignore])
|
||||
--
|
||||
cgit
|
||||
@@ -1,37 +0,0 @@
|
||||
https://sourceware.org/cgit/debugedit/commit/?id=c011f478dca2c89d52958a8999b99663d14db85d
|
||||
|
||||
From c011f478dca2c89d52958a8999b99663d14db85d Mon Sep 17 00:00:00 2001
|
||||
From: Mark Wielaard <mark@klomp.org>
|
||||
Date: Tue, 8 Jul 2025 13:05:37 +0200
|
||||
Subject: find-debuginfo.at: Make sure foo, bar and baz have build-ids
|
||||
|
||||
There are still distros that don't configure gcc with
|
||||
--enable-linker-build-id. So explicitly add -Wl,--build-id
|
||||
to the test binaries generated.
|
||||
|
||||
https://sourceware.org/bugzilla/show_bug.cgi?id=33135
|
||||
|
||||
Signed-off-by: Mark Wielaard <mark@klomp.org>
|
||||
---
|
||||
tests/find-debuginfo.at | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/tests/find-debuginfo.at b/tests/find-debuginfo.at
|
||||
index dd59374..1d7ad57 100644
|
||||
--- a/tests/find-debuginfo.at
|
||||
+++ b/tests/find-debuginfo.at
|
||||
@@ -93,9 +93,9 @@ cp "${abs_srcdir}"/data/SOURCES/baz.c subdir_build
|
||||
cd subdir_build
|
||||
# Three almost identical binaries
|
||||
# so dwz has something to put into the alt file
|
||||
-$CC $CFLAGS -g3 -I. -o foo foo.c bar.c baz.c
|
||||
-$CC $CFLAGS -g3 -I. -o bar bar.c baz.c foo.c
|
||||
-$CC $CFLAGS -g3 -I. -o baz baz.c foo.c bar.c
|
||||
+$CC $CFLAGS -Wl,--build-id -g3 -I. -o foo foo.c bar.c baz.c
|
||||
+$CC $CFLAGS -Wl,--build-id -g3 -I. -o bar bar.c baz.c foo.c
|
||||
+$CC $CFLAGS -Wl,--build-id -g3 -I. -o baz baz.c foo.c bar.c
|
||||
cd ..
|
||||
]])
|
||||
|
||||
--
|
||||
cgit
|
||||
Reference in New Issue
Block a user