Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888079 - dev-lang/perl-5.36.0-r1: musl patch to fix locale issue with x11-terms/rxvt-unicode[perl]
Summary: dev-lang/perl-5.36.0-r1: musl patch to fix locale issue with x11-terms/rxvt-u...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-12-23 13:17 UTC by David Duchesne
Modified: 2022-12-24 08:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Duchesne 2022-12-23 13:17:22 UTC
On gentoo musl, when x11-terms/rxvt-unicode is built with perl USE flag, it refuses to start, the error message :
urxvt : panic: locale.c: 893: Unexpected character in locale name '2E.
After a bit of digging, I found this bug report on Alpine describing the exact same issue :
https://gitlab.alpinelinux.org/alpine/aports/-/issues/10459

and this small patch to fix the issue; except one needs to patch dev-lang/perl instead of rxvt-unicode (according to the alpine, this is a perl issue, not rxvt-unicode) :
https://gitlab.alpinelinux.org/alpine/aports/-/raw/04747e4e2db80406782fa71d7744da0c613987e9/main/perl/musl-locale.patch

The patch works perfectly and rxvt-unicode starts now without issue.


Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-24 08:09:20 UTC
Was this ever sent upstream? :(