summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/elfutils/APKBUILD11
-rw-r--r--system/elfutils/skip-run-backtrace-native-core.patch11
-rw-r--r--system/elfutils/skip-run-deleted.patch12
3 files changed, 31 insertions, 3 deletions
diff --git a/system/elfutils/APKBUILD b/system/elfutils/APKBUILD
index 3d6baf127..9b35ccee4 100644
--- a/system/elfutils/APKBUILD
+++ b/system/elfutils/APKBUILD
@@ -7,8 +7,9 @@ url="https://sourceware.org/elfutils/"
arch="all"
license="GPL-2.0+ AND LGPL-3.0+ AND GPL-3.0+"
depends=""
-checkdepends="shimmy>0.7"
-makedepends="argp-standalone-dev bzip2-dev curl-dev fts-dev libarchive-dev libbsd-dev musl-obstack-dev xz-dev zlib-dev zstd-dev"
+checkdepends="musl-dbg shimmy>0.7"
+makedepends="argp-standalone-dev bzip2-dev curl-dev fts-dev libarchive-dev
+ libbsd-dev m4 musl-obstack-dev xz-dev zlib-dev zstd-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"
source="https://sourceware.org/elfutils/ftp/$pkgver/elfutils-$pkgver.tar.bz2
aarch64-regs.patch
@@ -16,6 +17,8 @@ source="https://sourceware.org/elfutils/ftp/$pkgver/elfutils-$pkgver.tar.bz2
backtrace-cfi-fault.patch
elfcompress-wildcard.patch
fnm.patch
+ skip-run-deleted.patch
+ skip-run-backtrace-native-core.patch
error.h
"
@@ -26,7 +29,7 @@ prepare() {
}
build() {
- export CFLAGS="$CFLAGS -I$srcdir/vendor-error"
+ export CFLAGS="$CFLAGS -I$srcdir/vendor-error -Og"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -54,4 +57,6 @@ sha512sums="543188f5f2cfe5bc7955a878416c5f252edff9926754e5de0c6c57b132f21d9285c9
90f8b6b894e79334c66522675e47debb60266fcdb7124bfd9eb0938a276ad4168bee734d3e125b56c76f20b849aa70ac8181382f01313264ecca08225e5fe411 backtrace-cfi-fault.patch
7fa88ba58fb5eb7c835074dcd1db19591a001bb713c472f08eba3a94d80129011365f9cad70b04ec162897a13e4d2cc2d05ccec9130fd51b163621bb6e7ecc9d elfcompress-wildcard.patch
95c46254dbd6ad358c29d2f9577ccb9ce884e51b3d7587b7d91c02c1b4e54378ceba707a9d3800b1a7a15b7a4ba8bce6e7601fb6eb3cc93bbe82d484fc16103e fnm.patch
+a85900ec75e72cc394b7e188f1f93dbf8b0555987e122cf4cb3369ecc8446d7af7d078c5e387f550806f5a738dcb12d4dde4d4313ed6ffb56d1de0481249016d skip-run-deleted.patch
+339da4817c86d40b0581530bdd05006371d37568f66f766bf1307c65af941dd3ee373ee5d2dd32b0381de1a0649b0c4349c2c7f842adcec911c89f6a24cb0c99 skip-run-backtrace-native-core.patch
b33d7f210b9652b7b919afb32b4674ca125b660bf5f81fafb4e4e8405ea16be74ce85f653e6c0ac83e5fff1b192e82e273c5b5baa3802fdc7602edfa1086936d error.h"
diff --git a/system/elfutils/skip-run-backtrace-native-core.patch b/system/elfutils/skip-run-backtrace-native-core.patch
new file mode 100644
index 000000000..b17a9adbe
--- /dev/null
+++ b/system/elfutils/skip-run-backtrace-native-core.patch
@@ -0,0 +1,11 @@
+Fails on at least ppc64.
+
+Upstream-URL: https://sourceware.org/bugzilla/show_bug.cgi?id=32406
+--- elfutils-0.192/tests/run-backtrace-native-core.sh.old 2024-10-18 14:03:43.000000000 -0500
++++ elfutils-0.192/tests/run-backtrace-native-core.sh 2024-12-02 12:16:35.094705219 -0600
+@@ -1,4 +1,5 @@
+ #! /usr/bin/env bash
++exit 77
+ # Copyright (C) 2013 Red Hat, Inc.
+ # This file is part of elfutils.
+ #
diff --git a/system/elfutils/skip-run-deleted.patch b/system/elfutils/skip-run-deleted.patch
new file mode 100644
index 000000000..4bcb4d6da
--- /dev/null
+++ b/system/elfutils/skip-run-deleted.patch
@@ -0,0 +1,12 @@
+Fails on at least aarch64 and ppc64.
+
+Upstream-URL: https://sourceware.org/bugzilla/show_bug.cgi?id=32405
+Ref: #1263
+--- elfutils-0.192/tests/run-deleted.sh.old 2024-10-18 14:03:43.000000000 -0500
++++ elfutils-0.192/tests/run-deleted.sh 2024-12-02 12:15:12.783566126 -0600
+@@ -1,4 +1,5 @@
+ #! /usr/bin/env bash
++exit 77
+ # Copyright (C) 2014 Red Hat, Inc.
+ # This file is part of elfutils.
+ #