/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: src/CMakeFiles/services.dir/language.o: warning: relocation against _nl_msg_cat_cntr in read-only section .text /usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: src/CMakeFiles/services.dir/language.o: in function Language::Translate(char const*, char const*) [clone .part.0]: language.cpp:(.text+0x33): undefined reference to _nl_msg_cat_cntr /usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: warning: creating a DT_TEXTREL in object collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-20200328-201618 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-9.3.0 * clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.42.0 * Available Java Virtual Machines: (none found) timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Tue Apr 7 23:37:48 UTC 2020 /var/db/repos/musl Sat Apr 4 03:02:24 UTC 2020 emerge -qpvO net-irc/anope [ebuild N ] net-irc/anope-2.0.6 USE="pcre ssl -chanstats -cs-fantasy-stats -cs-fantasy-top -gnutls -irc2sql -ldap -ldap-auth -ldap-oper -mysql -posix -sql-auth -sql-log -sql-oper -sqlite -tre"
Created attachment 631262 [details] emerge-info.txt
Created attachment 631264 [details] emerge-history.txt
Created attachment 631266 [details] environment
Created attachment 631268 [details] etc.portage.tbz2
Created attachment 631270 [details] logs.tbz2
Created attachment 631272 [details] net-irc:anope-2.0.6:20200408-001358.log
Created attachment 631274 [details] temp.tbz2
I'm currently bumping Anope to 2.0.7. I'll try out musl on there and see what the situation is.
(In reply to Sam James (sec padawan) from comment #8) > I'm currently bumping Anope to 2.0.7. I'll try out musl on there and see > what the situation is. I can reproduce this.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcb698cc426e1285f5aabe2f645b29f7bf135227 commit dcb698cc426e1285f5aabe2f645b29f7bf135227 Author: Sam James (sam_c) <sam@cmpct.info> AuthorDate: 2020-05-05 11:24:22 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-05-05 13:05:56 +0000 net-irc/anope: Fix musl build __USE_GNU_GETTEXT is exposed by musl because they provide a GNU gettext-compatible interface. This doesn't mean they provide all the internals that glibc does. Check for __GLIBC__ if using internal _nl_msg_cat_cntr. Closes: https://bugs.gentoo.org/716658 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sam James (sam_c) <sam@cmpct.info> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> net-irc/anope/anope-2.0.7.ebuild | 1 + net-irc/anope/files/musl-libintl.patch | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+)