Compilation fails for locales in the media-sound/audacity with the error: FAILED: bin/RelWithDebInfo/locale/be/LC_MESSAGES/audacity.mo /var/tmp/portage/media-sound/audacity-3.2.5-r1/work/audacity-Audacity-3.2.5_build/bin/RelWithDebInfo/locale/be/LC_MESSAGES/audacity.mo cd /var/tmp/portage/media-sound/audacity-3.2.5-r1/work/audacity-Audacity-3.2.5_build/locale && /usr/bin/cmake -E make_directory /var/tmp/portage/media-sound/audacity-3.2.5-r1/work/audacity-Audacity-3.2.5_build/bin/RelWithDebInfo/locale/be/LC_MESSAGES && /usr/bin/msgfmt --check-format -o /var/tmp/portage/media-sound/audacity-3.2.5-r1/work/audacity-Audacity-3.2.5_build/bin/RelWithDebInfo/locale/be/LC_MESSAGES/audacity.mo /var/tmp/portage/media-sound/audacity-3.2.5-r1/work/audacity-Audacity-3.2.5/locale/be.po /var/tmp/portage/media-sound/audacity-3.2.5-r1/work/audacity-Audacity-3.2.5/locale/be.po:3100: 'msgstr' is not a valid C format string, unlike 'msgid'. Reason: In the directive number 1, the argument size specifier is invalid. /usr/bin/msgfmt: found 1 fatal error Reproducible: Always Steps to Reproduce: 1.have latest gettext 0.22-r1 2. try to build media-sound/audacity 3. Actual Results: build fails a valid workaround is to tag the problematic locale as fuzzy
Please attach the full build.log (compressed if necessary; no external links as they expire) and include emerge --info as a comment.
Created attachment 864664 [details] build log full build log
Created attachment 864665 [details, diff] added fuzzy to be, fa and fr Adding fuzzy to be.po, fa.po and fr.po at specific errors seems to have fixed this issue for this package.
(In reply to Amit Ugol from comment #0) > a valid workaround is to tag the problematic locale as fuzzy Actually this only fixes the build, the format string will still be broken at runtime.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59188fa2f4f5c378c475a2d687dedf7b746453bf commit 59188fa2f4f5c378c475a2d687dedf7b746453bf Author: David Seifert <soap@gentoo.org> AuthorDate: 2023-06-30 12:31:11 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2023-06-30 12:31:11 +0000 media-sound/audacity: fix gettext 0.22 breakage Closes: https://bugs.gentoo.org/909201 Signed-off-by: David Seifert <soap@gentoo.org> media-sound/audacity/audacity-3.2.5-r1.ebuild | 3 ++ .../files/audacity-3.2.5-gettext-0.22.patch | 36 ++++++++++++++++++++++ 2 files changed, 39 insertions(+)