https://bugzilla.redhat.com/show_bug.cgi?id=2263837
Bug ID: 2263837
Summary: Using %lua_requires changes locale to "C"
Product: Fedora
Version: rawhide
Status: NEW
Component: lua-rpm-macros
Assignee: michel(a)michel-slm.name
Reporter: nphilipp(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: lua-packagers-sig(a)lists.fedoraproject.org,
mhroncok(a)redhat.com, michel(a)michel-slm.name
Target Milestone: ---
Classification: Fedora
Description of problem:
Using the %lua_requires macro sets the locale to "C", an ASCII-only locale.
This can cause problems if Unicode strings are processed further on (e.g.
rpmautospec dealing with umlauts in names).
Version-Release number of selected component (if applicable):
lua-srpm-macros-1-11.fc40
How reproducible:
Reproducible.
Steps to Reproduce:
0. Ensure that `rpmautospec` doesn’t have a workaround for this (adapt dist tag
to Fedora release): `sudo dnf downgrade python3-rpmautospec-0.6.0-2.fc40`
1. Try to `fedpkg mockbuild` the lua-posix package.
Actual results:
nils@makake:~/dist-git/fedora/rpms/lua-posix (rawhide)> fedpkg mockbuild
Not downloading already downloaded lua-posix-36.2.1.tar.gz
Could not execute mockbuild: 'ascii' codec can't encode character
'\xf6' in
position 3339: ordinal not in range(128)
Expected results:
Builds the SRPM and then builds the package in mock.
Additional info:
Rpmautospec 0.6.1 is more robust against non-UTF8 locales, but this could
trigger unexpected behavior elsewhere.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2263837
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=rep...