public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Eli Schwartz" <eschwartz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/progsreiserfs/
Date: Mon, 18 Nov 2024 04:18:03 +0000 (UTC)	[thread overview]
Message-ID: <1731903248.d035a27fd1d552693045ad91bb8768cdf730a32b.eschwartz@gentoo> (raw)

commit:     d035a27fd1d552693045ad91bb8768cdf730a32b
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 18 02:36:34 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Mon Nov 18 04:14:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d035a27f

sys-fs/progsreiserfs: mark as LTO-unsafe on musl

It fails with linker errors due to including a code copy of a manky old
libintl.

Happens because for some inexplicable reason, packages which genuinely
need the full power and flexibility of GNU libintl, can only rely on
dev-libs/libintl on *non* linux operating systems, even though it was
very much intended upstream to be useful and usable on musl systems.

glibc, obviously, works fine.

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild
index 096e9f38d020..4610a15a2756 100644
--- a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild
+++ b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild
@@ -39,6 +39,9 @@ src_prepare() {
 
 src_configure() {
 	filter-lfs-flags
+	# bundled libintl gets used because dev-libs/libintl isn't an option on musl
+	# and fails to LTO: undefined reference to `__argz_count'
+	use elibc_glibc && filter-lto
 
 	econf \
 		$(use_enable static-libs static) \


             reply	other threads:[~2024-11-18  4:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-18  4:18 Eli Schwartz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-30 21:27 [gentoo-commits] repo/gentoo:master commit in: sys-fs/progsreiserfs/ Andreas K. Hüttel
2024-06-25  6:43 Sam James
2024-06-25  6:43 Sam James
2024-06-25  4:41 Sam James
2022-04-10 22:13 Marek Szuba
2020-02-15 10:03 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1731903248.d035a27fd1d552693045ad91bb8768cdf730a32b.eschwartz@gentoo \
    --to=eschwartz@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox