From 2895b95eef1e32561286dc5c1ab65e92e9838721 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 13 May 2022 16:59:02 +0200 Subject: core/binutils: removing files clashing with gdb/gdb-common by hand --- core/binutils/PKGBUILD | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'core/binutils') diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD index c275c111..8ad3750e 100644 --- a/core/binutils/PKGBUILD +++ b/core/binutils/PKGBUILD @@ -83,3 +83,18 @@ eval "$( s/ check/ check || true/ ' )" + +# we get a clash with files from gdb, delete them (they should not be there?) +eval "$( + declare -f package | \ + sed ' + /make.*install.*/ a \ + rm -rf "$pkgdir"/usr/bin/{gcore,gdb,gdb-add-index,gdbserver} \ + rm -rf "$pkgdir"/usr/include/gdb \ + rm -rf "$pkgdir"/usr/lib/libinproctrace.so \ + rm -rf "$pkgdir"/usr/share/gdb/{guile,syscalls,system-gdbinit} \ + rm -rf "$pkgdir"/usr/share/info/{annotate,gdb,stabs}.info.gz \ + rm -rf "$pkgdir"/usr/share/man/man1/{gcore,gdb-add-index,gdb,gdbserver}.1.gz \ + rm -rf "$pkgdir"/usr/share/man/man5/gdbinit.5.gz + ' +)" -- cgit v1.2.3-70-g09d2