diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-05-16 13:34:53 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-05-16 13:50:43 +0200 |
commit | 7e3b8ea2dbbeffdb67ab6b029d2d7349e059d4e4 (patch) | |
tree | f7f73c6d4e6e43b2aeeb448d713ce6590df57db2 | |
parent | virtual/dist-kernel: Remove old (diff) | |
download | gentoo-7e3b8ea2dbbeffdb67ab6b029d2d7349e059d4e4.tar.gz gentoo-7e3b8ea2dbbeffdb67ab6b029d2d7349e059d4e4.tar.bz2 gentoo-7e3b8ea2dbbeffdb67ab6b029d2d7349e059d4e4.zip |
dev-scheme: use dostrip instead of RESTRICT
Bug: https://bugs.gentoo.org/905898
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
29 files changed, 190 insertions, 56 deletions
diff --git a/dev-scheme/akku/akku-1.1.0.ebuild b/dev-scheme/akku/akku-1.1.0.ebuild index 76a3f57a10e5..05a618969782 100644 --- a/dev-scheme/akku/akku-1.1.0.ebuild +++ b/dev-scheme/akku/akku-1.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ fi LICENSE="GPL-3+" SLOT="0" # tests require network access -RESTRICT="strip test" +RESTRICT="test" RDEPEND=" >=dev-scheme/guile-2.0.11:= @@ -46,3 +46,12 @@ src_compile() { emake } + +src_install() { + default + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" + dostrip -x "/usr/$(get_libdir)/akku" +} diff --git a/dev-scheme/bytestructures/bytestructures-1.0.10.ebuild b/dev-scheme/bytestructures/bytestructures-1.0.10.ebuild index 4842f26f1ed7..d1268f0666cd 100644 --- a/dev-scheme/bytestructures/bytestructures-1.0.10.ebuild +++ b/dev-scheme/bytestructures/bytestructures-1.0.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,8 +10,6 @@ SRC_URI="https://github.com/TaylanUB/scheme-bytestructures/releases/download/v${ LICENSE="LGPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" -RESTRICT="strip" RDEPEND=">=dev-scheme/guile-2.0.0:=" DEPEND="${RDEPEND}" @@ -34,3 +32,11 @@ src_prepare() { # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 find "${S}" -name "*.scm" -exec touch {} + || die } + +src_install() { + default + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" +} diff --git a/dev-scheme/bytestructures/bytestructures-2.0.1.ebuild b/dev-scheme/bytestructures/bytestructures-2.0.1.ebuild index 165c1a44eda8..3412c6595c4b 100644 --- a/dev-scheme/bytestructures/bytestructures-2.0.1.ebuild +++ b/dev-scheme/bytestructures/bytestructures-2.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,6 @@ S="${WORKDIR}/scheme-${PN}-${PV}" LICENSE="LGPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=">=dev-scheme/guile-2.0.0:=" DEPEND="${RDEPEND}" @@ -29,3 +28,11 @@ src_prepare() { # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 find "${S}" -name "*.scm" -exec touch {} + || die } + +src_install() { + default + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" +} diff --git a/dev-scheme/fibers/fibers-1.2.0.ebuild b/dev-scheme/fibers/fibers-1.2.0.ebuild index ca3a3103affc..55c24d617cea 100644 --- a/dev-scheme/fibers/fibers-1.2.0.ebuild +++ b/dev-scheme/fibers/fibers-1.2.0.ebuild @@ -14,7 +14,6 @@ SRC_URI="https://github.com/wingo/${PN}/archive/v${PV}.tar.gz LICENSE="LGPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=">=dev-scheme/guile-2.1.7:=" DEPEND="${RDEPEND}" @@ -35,5 +34,9 @@ src_prepare() { src_install() { default - find "${D}" -name "*.la" -delete || die + find "${ED}" -type f -name "*.la" -delete || die + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" } diff --git a/dev-scheme/guile-config/guile-config-0.5.1.ebuild b/dev-scheme/guile-config/guile-config-0.5.1.ebuild index 45adef20bac6..c1144e43ef4b 100644 --- a/dev-scheme/guile-config/guile-config-0.5.1.ebuild +++ b/dev-scheme/guile-config/guile-config-0.5.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,6 @@ SRC_URI="https://gitlab.com/a-sassmannshausen/${PN}/-/archive/${PV}/${P}.tar.bz2 LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=">=dev-scheme/guile-2.0.0:=" DEPEND="${RDEPEND}" @@ -29,3 +28,11 @@ src_prepare() { eautoreconf } + +src_install() { + default + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections. Bug https://bugs.gentoo.org/905898 + dostrip -x /usr/$(get_libdir)/guile +} diff --git a/dev-scheme/guile-dbd-postgresql/guile-dbd-postgresql-2.1.8.ebuild b/dev-scheme/guile-dbd-postgresql/guile-dbd-postgresql-2.1.8.ebuild index d9898ceeaccf..6c6adc0f0df0 100644 --- a/dev-scheme/guile-dbd-postgresql/guile-dbd-postgresql-2.1.8.ebuild +++ b/dev-scheme/guile-dbd-postgresql/guile-dbd-postgresql-2.1.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,6 @@ S="${WORKDIR}"/guile-dbi-guile-dbi-${PV}/${PN} LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=" dev-db/postgresql:* @@ -41,4 +40,8 @@ src_install() { default find "${ED}" -type f -name "*.la" -delete || die + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" } diff --git a/dev-scheme/guile-dbd-sqlite3/guile-dbd-sqlite3-2.1.8.ebuild b/dev-scheme/guile-dbd-sqlite3/guile-dbd-sqlite3-2.1.8.ebuild index a2f75d54d216..6199c89249ce 100644 --- a/dev-scheme/guile-dbd-sqlite3/guile-dbd-sqlite3-2.1.8.ebuild +++ b/dev-scheme/guile-dbd-sqlite3/guile-dbd-sqlite3-2.1.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,6 @@ S="${WORKDIR}"/guile-dbi-guile-dbi-${PV}/${PN} LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=" dev-db/sqlite:3= @@ -41,4 +40,8 @@ src_install() { default find "${ED}" -type f -name "*.la" -delete || die + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" } diff --git a/dev-scheme/guile-dbi/guile-dbi-2.1.8.ebuild b/dev-scheme/guile-dbi/guile-dbi-2.1.8.ebuild index cabd6907c316..0b26cce52439 100644 --- a/dev-scheme/guile-dbi/guile-dbi-2.1.8.ebuild +++ b/dev-scheme/guile-dbi/guile-dbi-2.1.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,6 @@ S="${WORKDIR}"/${PN}-${P}/${PN} LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=">=dev-scheme/guile-2.0.0:=" DEPEND="${RDEPEND}" @@ -37,4 +36,8 @@ src_install() { default find "${ED}" -type f -name "*.la" -delete || die + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" } diff --git a/dev-scheme/guile-gcrypt/guile-gcrypt-0.3.0.ebuild b/dev-scheme/guile-gcrypt/guile-gcrypt-0.3.0.ebuild index d0b486243328..925cd6308503 100644 --- a/dev-scheme/guile-gcrypt/guile-gcrypt-0.3.0.ebuild +++ b/dev-scheme/guile-gcrypt/guile-gcrypt-0.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,8 +13,6 @@ S="${WORKDIR}/${PN}" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" -RESTRICT="strip" RDEPEND=" >=dev-scheme/guile-2.0.11:= @@ -35,3 +33,11 @@ src_prepare() { # upstream tag on top of source tree. has no autogenerated files eautoreconf } + +src_install() { + default + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" +} diff --git a/dev-scheme/guile-gcrypt/guile-gcrypt-0.4.0.ebuild b/dev-scheme/guile-gcrypt/guile-gcrypt-0.4.0.ebuild index 7c88a2ac40d5..925cd6308503 100644 --- a/dev-scheme/guile-gcrypt/guile-gcrypt-0.4.0.ebuild +++ b/dev-scheme/guile-gcrypt/guile-gcrypt-0.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,8 +13,6 @@ S="${WORKDIR}/${PN}" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" -RESTRICT="strip" RDEPEND=" >=dev-scheme/guile-2.0.11:= @@ -35,3 +33,11 @@ src_prepare() { # upstream tag on top of source tree. has no autogenerated files eautoreconf } + +src_install() { + default + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" +} diff --git a/dev-scheme/guile-gi/guile-gi-0.3.1-r2.ebuild b/dev-scheme/guile-gi/guile-gi-0.3.1-r2.ebuild index c479a13ae6a4..77813d0f30d8 100644 --- a/dev-scheme/guile-gi/guile-gi-0.3.1-r2.ebuild +++ b/dev-scheme/guile-gi/guile-gi-0.3.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,7 @@ fi LICENSE="GPL-3" SLOT="0" -RESTRICT="strip test" # Tests fail +RESTRICT="test" # Tests fail DEPEND=" >=dev-scheme/guile-2.0.9:= @@ -50,4 +50,8 @@ src_install() { mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die find "${ED}" -type f -name '*.la' -delete || die + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections. Bug https://bugs.gentoo.org/905898 + dostrip -x /usr/$(get_libdir)/guile } diff --git a/dev-scheme/guile-gi/guile-gi-0.3.2-r2.ebuild b/dev-scheme/guile-gi/guile-gi-0.3.2-r2.ebuild index ee19feac31ae..75b8c4278d3a 100644 --- a/dev-scheme/guile-gi/guile-gi-0.3.2-r2.ebuild +++ b/dev-scheme/guile-gi/guile-gi-0.3.2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,6 @@ fi LICENSE="GPL-3" SLOT="0" -RESTRICT="strip" DEPEND=" >=dev-scheme/guile-2.0.9:= @@ -54,4 +53,8 @@ src_install() { mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die find "${ED}" -type f -name '*.la' -delete || die + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections. Bug https://bugs.gentoo.org/905898 + dostrip -x /usr/$(get_libdir)/guile } diff --git a/dev-scheme/guile-gi/guile-gi-9999.ebuild b/dev-scheme/guile-gi/guile-gi-9999.ebuild index ee19feac31ae..75b8c4278d3a 100644 --- a/dev-scheme/guile-gi/guile-gi-9999.ebuild +++ b/dev-scheme/guile-gi/guile-gi-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,6 @@ fi LICENSE="GPL-3" SLOT="0" -RESTRICT="strip" DEPEND=" >=dev-scheme/guile-2.0.9:= @@ -54,4 +53,8 @@ src_install() { mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die find "${ED}" -type f -name '*.la' -delete || die + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections. Bug https://bugs.gentoo.org/905898 + dostrip -x /usr/$(get_libdir)/guile } diff --git a/dev-scheme/guile-git/guile-git-0.5.2.ebuild b/dev-scheme/guile-git/guile-git-0.5.2.ebuild index e1f491fe31d8..2aac37120828 100644 --- a/dev-scheme/guile-git/guile-git-0.5.2.ebuild +++ b/dev-scheme/guile-git/guile-git-0.5.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" # Works without sandbox. But under sandbox sshd claims to break the protocol. -RESTRICT="strip test" +RESTRICT="test" # older libgit seems to be incompatible with guile-git bindings # https://github.com/trofi/nix-guix-gentoo/issues/7 @@ -52,3 +52,11 @@ src_prepare() { src_test() { emake check VERBOSE=1 } + +src_install() { + default + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" +} diff --git a/dev-scheme/guile-gnutls/guile-gnutls-3.7.11-r1.ebuild b/dev-scheme/guile-gnutls/guile-gnutls-3.7.11-r1.ebuild index e9ae1e1a51dd..6ab4195e2beb 100644 --- a/dev-scheme/guile-gnutls/guile-gnutls-3.7.11-r1.ebuild +++ b/dev-scheme/guile-gnutls/guile-gnutls-3.7.11-r1.ebuild @@ -11,7 +11,6 @@ SRC_URI="https://gitlab.com/gnutls/guile/uploads/56e18069ab63ca67d61aecb6b2697ec LICENSE="LGPL-2.1+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=" >=dev-scheme/guile-2.0.0:= @@ -38,4 +37,8 @@ src_install() { default find "${ED}" -type f -name "*.la" -delete || die + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" } diff --git a/dev-scheme/guile-hall/guile-hall-0.4.1.ebuild b/dev-scheme/guile-hall/guile-hall-0.4.1.ebuild index e1b97e505f3d..e63a1b7a4311 100644 --- a/dev-scheme/guile-hall/guile-hall-0.4.1.ebuild +++ b/dev-scheme/guile-hall/guile-hall-0.4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,6 @@ SRC_URI="https://gitlab.com/a-sassmannshausen/${PN}/-/archive/${PV}/${P}.tar.bz2 LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=" >=dev-scheme/guile-2.0.0:= @@ -32,3 +31,11 @@ src_prepare() { eautoreconf } + +src_install() { + default + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" +} diff --git a/dev-scheme/guile-json/guile-json-4.7.3.ebuild b/dev-scheme/guile-json/guile-json-4.7.3.ebuild index d2e78a2618c3..88908a185dea 100644 --- a/dev-scheme/guile-json/guile-json-4.7.3.ebuild +++ b/dev-scheme/guile-json/guile-json-4.7.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,6 @@ SRC_URI="http://download.savannah.nongnu.org/releases/guile-json/${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=">=dev-scheme/guile-2.0.0:=" DEPEND="${RDEPEND}" @@ -25,3 +24,11 @@ src_prepare() { # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 find "${S}" -name "*.scm" -exec touch {} + || die } + +src_install() { + default + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" +} diff --git a/dev-scheme/guile-lib/guile-lib-0.2.7.ebuild b/dev-scheme/guile-lib/guile-lib-0.2.7.ebuild index a9f95bc2e4dc..34d71d6ed5b9 100644 --- a/dev-scheme/guile-lib/guile-lib-0.2.7.ebuild +++ b/dev-scheme/guile-lib/guile-lib-0.2.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,6 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=">=dev-scheme/guile-2.0.0:=" DEPEND="${RDEPEND}" @@ -29,3 +28,11 @@ src_prepare() { src_configure() { econf --with-guile-site=yes } + +src_install() { + default + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" +} diff --git a/dev-scheme/guile-libyaml/guile-libyaml-20211124.ebuild b/dev-scheme/guile-libyaml/guile-libyaml-20211124.ebuild index 9a9d84dc8e24..8801a5f484a3 100644 --- a/dev-scheme/guile-libyaml/guile-libyaml-20211124.ebuild +++ b/dev-scheme/guile-libyaml/guile-libyaml-20211124.ebuild @@ -14,7 +14,6 @@ S="${WORKDIR}"/${PN}-${COMMIT} LICENSE="LGPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=" >=dev-scheme/guile-2.0.0:= @@ -62,4 +61,8 @@ src_install() { doins ccache/yaml.go einstalldocs + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" } diff --git a/dev-scheme/guile-ncurses/guile-ncurses-3.0-r3.ebuild b/dev-scheme/guile-ncurses/guile-ncurses-3.0-r3.ebuild index 2a2a9db3048c..fb61958b58df 100644 --- a/dev-scheme/guile-ncurses/guile-ncurses-3.0-r3.ebuild +++ b/dev-scheme/guile-ncurses/guile-ncurses-3.0-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,6 @@ SRC_URI="mirror://gnu/guile-ncurses/${P}.tar.gz" LICENSE="LGPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=" >=dev-scheme/guile-2.0.0:= @@ -70,4 +69,8 @@ src_install() { default find "${ED}" -type f -name '*.la' -delete || die + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" } diff --git a/dev-scheme/guile-ncurses/guile-ncurses-3.1.ebuild b/dev-scheme/guile-ncurses/guile-ncurses-3.1.ebuild index 1c6d6d5cbd41..0b4c9f6476fd 100644 --- a/dev-scheme/guile-ncurses/guile-ncurses-3.1.ebuild +++ b/dev-scheme/guile-ncurses/guile-ncurses-3.1.ebuild @@ -12,7 +12,6 @@ SRC_URI="mirror://gnu/guile-ncurses/${P}.tar.gz" LICENSE="LGPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=" >=dev-scheme/guile-2.0.0:= @@ -71,4 +70,8 @@ src_install() { default find "${ED}" -type f -name '*.la' -delete || die + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" } diff --git a/dev-scheme/guile-nyacc/guile-nyacc-1.06.7.ebuild b/dev-scheme/guile-nyacc/guile-nyacc-1.06.7.ebuild index 9c5026a9a62b..3966b99b7ecf 100644 --- a/dev-scheme/guile-nyacc/guile-nyacc-1.06.7.ebuild +++ b/dev-scheme/guile-nyacc/guile-nyacc-1.06.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,6 @@ S="${WORKDIR}/nyacc-${PV}" LICENSE="LGPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=" >=dev-scheme/guile-2.0.0:= @@ -35,4 +34,8 @@ src_install() { # Fix docs location mv "${D}"/usr/share/doc/nyacc "${D}"/usr/share/doc/${PF} + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" } diff --git a/dev-scheme/guile-reader/guile-reader-0.6.3-r2.ebuild b/dev-scheme/guile-reader/guile-reader-0.6.3-r2.ebuild index c91ab4d17a2d..ed35cb22b622 100644 --- a/dev-scheme/guile-reader/guile-reader-0.6.3-r2.ebuild +++ b/dev-scheme/guile-reader/guile-reader-0.6.3-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,6 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=">=dev-scheme/guile-2.0.0:=" DEPEND="${RDEPEND}" @@ -35,4 +34,8 @@ src_install() { default find "${ED}" -type f -name '*.la' -delete || die + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" } diff --git a/dev-scheme/guile-sqlite3/guile-sqlite3-0.1.3.ebuild b/dev-scheme/guile-sqlite3/guile-sqlite3-0.1.3.ebuild index e2ccd5955c75..f72f7a6d42b8 100644 --- a/dev-scheme/guile-sqlite3/guile-sqlite3-0.1.3.ebuild +++ b/dev-scheme/guile-sqlite3/guile-sqlite3-0.1.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,14 +7,13 @@ inherit autotools DESCRIPTION="Guile bindings of sqlite3" HOMEPAGE="https://notabug.org/guile-sqlite3/guile-sqlite3" -SRC_URI="https://notabug.org/guile-sqlite3/guile-sqlite3/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://notabug.org/guile-sqlite3/guile-sqlite3/archive/v${PV}.tar.gz + -> ${P}.tar.gz" S="${WORKDIR}/${PN}" LICENSE="LGPL-3+ GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" -RESTRICT="strip" RDEPEND=" >=dev-scheme/guile-2.0.11:= @@ -32,3 +31,11 @@ src_prepare() { # upstream tag on top of source tree. has no autogenerated files eautoreconf } + +src_install() { + default + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" +} diff --git a/dev-scheme/guile-ssh/guile-ssh-0.16.0-r1.ebuild b/dev-scheme/guile-ssh/guile-ssh-0.16.0-r1.ebuild index 17a05240a17b..82787f9347f0 100644 --- a/dev-scheme/guile-ssh/guile-ssh-0.16.0-r1.ebuild +++ b/dev-scheme/guile-ssh/guile-ssh-0.16.0-r1.ebuild @@ -14,7 +14,6 @@ SRC_URI="https://github.com/artyom-poptsov/${PN}/archive/v${PV}.tar.gz LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=" >=dev-scheme/guile-2.0.0:= @@ -44,4 +43,8 @@ src_install() { default find "${ED}" -name "*.la" -delete || die + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" } diff --git a/dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild b/dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild index 17a05240a17b..82787f9347f0 100644 --- a/dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild +++ b/dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild @@ -14,7 +14,6 @@ SRC_URI="https://github.com/artyom-poptsov/${PN}/archive/v${PV}.tar.gz LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=" >=dev-scheme/guile-2.0.0:= @@ -44,4 +43,8 @@ src_install() { default find "${ED}" -name "*.la" -delete || die + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" } diff --git a/dev-scheme/guile-ssh/guile-ssh-0.16.3.ebuild b/dev-scheme/guile-ssh/guile-ssh-0.16.3.ebuild index c42649fe8778..bda391d671fb 100644 --- a/dev-scheme/guile-ssh/guile-ssh-0.16.3.ebuild +++ b/dev-scheme/guile-ssh/guile-ssh-0.16.3.ebuild @@ -14,7 +14,6 @@ SRC_URI="https://github.com/artyom-poptsov/${PN}/archive/v${PV}.tar.gz LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=" >=dev-scheme/guile-2.0.0:= @@ -44,4 +43,8 @@ src_install() { default find "${ED}" -name "*.la" -delete || die + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" } diff --git a/dev-scheme/skribilo/skribilo-0.10.0.ebuild b/dev-scheme/skribilo/skribilo-0.10.0.ebuild index a0e2b7ae3df6..85f9220a7c90 100644 --- a/dev-scheme/skribilo/skribilo-0.10.0.ebuild +++ b/dev-scheme/skribilo/skribilo-0.10.0.ebuild @@ -13,7 +13,7 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="emacs" -RESTRICT="strip test" # tests fail, seem broken +RESTRICT="test" # tests fail, seem broken RDEPEND=" app-text/ghostscript-gpl @@ -67,6 +67,10 @@ src_install() { rm -r "${emacsd}" || die fi fi + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" } pkg_postinst() { diff --git a/dev-scheme/skribilo/skribilo-0.9.5.ebuild b/dev-scheme/skribilo/skribilo-0.9.5.ebuild index fa72296a9295..85f9220a7c90 100644 --- a/dev-scheme/skribilo/skribilo-0.9.5.ebuild +++ b/dev-scheme/skribilo/skribilo-0.9.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="emacs" -RESTRICT="strip test" # tests fail, seem broken +RESTRICT="test" # tests fail, seem broken RDEPEND=" app-text/ghostscript-gpl @@ -67,6 +67,10 @@ src_install() { rm -r "${emacsd}" || die fi fi + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" } pkg_postinst() { |