Firefox use res_nquery which is not available for musl See: https://hg.mozilla.org/mozilla-central/rev/88d71cf5ea62 https://hg.mozilla.org/mozilla-central/rev/99907723d4c4 Reproducible: Always Steps to Reproduce: emerge "=www-client/firefox-123.0" Actual Results: /tmp/portage/www-client/firefox-123.0/work/firefox-123.0/netwerk/dns/PlatformDNSUnix.cpp:36:15: error: use of undeclared identifier 'res_nquery' 36 | len = res_nquery(&_res, host.get(), ns_c_in, | ^
Created attachment 885586 [details, diff] fix for musl
Chcking __RES looks suspicious.
https://www.openwall.com/lists/musl/2020/10/23/16
(In reply to 12101111 from comment #3) > https://www.openwall.com/lists/musl/2020/10/23/16 Huh, alright.
While I really can't judge the quality, does https://git.alpinelinux.org/aports/tree/community/firefox/res_nquery.patch seem better? At least I like the definitions better there.
Upstream bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1881123, fixed by https://phabricator.services.mozilla.com/D202400
Upstream patch is tagged for firefox-125 and it doesn't apply cleanly to 123. I'll add the alpine patch and keep it until 125.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=126f123ad02ab8de5be6d7089d481d4454f11f6a commit 126f123ad02ab8de5be6d7089d481d4454f11f6a Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2024-02-24 07:29:46 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2024-02-24 07:30:07 +0000 www-client/firefox: fix 123.0 on musl Closes: https://bugs.gentoo.org/925152 Signed-off-by: Joonas Niilola <juippis@gentoo.org> www-client/firefox/Manifest | 2 +- www-client/firefox/firefox-123.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)