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@michel-slm.name Reporter: nphilipp@redhat.com QA Contact: extras-qa@fedoraproject.org CC: lua-packagers-sig@lists.fedoraproject.org, mhroncok@redhat.com, michel@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.
https://bugzilla.redhat.com/show_bug.cgi?id=2263837
Nils Philippsen nphilipp@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |nphilipp@redhat.com Assignee|michel@michel-slm.name |nphilipp@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2263837
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
--- Comment #1 from Fedora Update System updates@fedoraproject.org --- FEDORA-EPEL-2024-cf4c5bcba8 (lua-rpm-macros-1-13.el8) has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-cf4c5bcba8
https://bugzilla.redhat.com/show_bug.cgi?id=2263837
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
--- Comment #1 from Fedora Update System updates@fedoraproject.org --- FEDORA-EPEL-2024-cf4c5bcba8 (lua-rpm-macros-1-13.el8) has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-cf4c5bcba8
--- Comment #2 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-f9ed4cb1dc (lua-rpm-macros-1-13.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-f9ed4cb1dc
https://bugzilla.redhat.com/show_bug.cgi?id=2263837
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-2f7d519293 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-2f7d519293` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-2f7d519293
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=2263837
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- FEDORA-EPEL-2024-cf4c5bcba8 has been pushed to the Fedora EPEL 8 testing repository.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-cf4c5bcba8
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=2263837
--- Comment #6 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-f9ed4cb1dc has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-f9ed4cb1dc` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-f9ed4cb1dc
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=2263837
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- FEDORA-EPEL-2024-7a9100f080 has been pushed to the Fedora EPEL 7 testing repository.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-7a9100f080
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=2263837
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |ERRATA Fixed In Version| |lua-rpm-macros-1-13.el8 Last Closed| |2024-02-21 00:30:49
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- FEDORA-EPEL-2024-cf4c5bcba8 (lua-rpm-macros-1-13.el8) has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=2263837
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|lua-rpm-macros-1-13.el8 |lua-rpm-macros-1-13.el8 | |lua-rpm-macros-1-13.el7
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- FEDORA-EPEL-2024-7a9100f080 (lua-rpm-macros-1-13.el7) has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=2263837
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|lua-rpm-macros-1-13.el8 |lua-rpm-macros-1-13.el8 |lua-rpm-macros-1-13.el7 |lua-rpm-macros-1-13.el7 | |lua-rpm-macros-1-13.fc39
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-f9ed4cb1dc (lua-rpm-macros-1-13.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=2263837
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|lua-rpm-macros-1-13.el8 |lua-rpm-macros-1-13.el8 |lua-rpm-macros-1-13.el7 |lua-rpm-macros-1-13.el7 |lua-rpm-macros-1-13.fc39 |lua-rpm-macros-1-13.fc39 | |lua-rpm-macros-1-13.fc38
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-2f7d519293 (lua-rpm-macros-1-13.fc38) has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
lua-packagers-sig@lists.fedoraproject.org