https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-text/gtranslator-40.0 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 761277 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../lib/libgettextpo.so: undefined reference to `gl_get_setlocale_null_lock' /var/tmp/portage/app-text/gtranslator-40.0/temp/environment: line 2332: type: locale: not found collect2: error: ld returned 1 exit status
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45a9cd813a2244a676ab9a651a5274baac83a9d0 commit 45a9cd813a2244a676ab9a651a5274baac83a9d0 Author: Alfred Persson Forsberg <cat@catcream.org> AuthorDate: 2022-08-29 20:02:29 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-01 02:13:16 +0000 sys-devel/gettext: fix musl symbol This patch forces OMIT_SETLOCALE_LOCK to 0 so that gl_get_setlocale_null_lock gets defined. Deliberately gone for a conditional patch for now as we want to get this sorted properly but it involves discussion with upstream first on the best way forward. See: https://savannah.gnu.org/bugs/index.php?62659 Closes: https://bugs.gentoo.org/830590 Signed-off-by: Alfred Persson Forsberg <cat@catcream.org> Closes: https://github.com/gentoo/gentoo/pull/27062 Signed-off-by: Sam James <sam@gentoo.org> .../gettext-0.21-musl-omit_setlocale_lock.patch | 37 +++++ sys-devel/gettext/gettext-0.21-r4.ebuild | 160 +++++++++++++++++++++ 2 files changed, 197 insertions(+)