Hi all,
vim started to fail to build today with error during compiling desktop file:
msgfmt --desktop -d . --template gvim.desktop.in -o tmp_gvim.desktop cs.po: warning: Charset "ISO-8859-2" is not supported. msgfmt relies on iconv(), and iconv() does not support "ISO-8859-2". Installing GNU libiconv and then reinstalling GNU gettext would fix this problem. Continuing anyway. msgfmt: Cannot convert from "ISO-8859-2" to "UTF-8". msgfmt relies on iconv(), and iconv() does not support this conversion. make[1]: *** [Makefile:219: gvim.desktop] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/vim82/src/po' make: *** [Makefile:2154: languages] Error 2
glibc (glibc-devel, glibc-common and glibc-headers-x86) and gettext are in buildroot, so the advice should be applied, but still I cannot figure out how to fix the issue.
Would anyone mind helping me here?
Thank you in advance,
Zdenek
Hi Zdenek,
See: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/...
TL;DR: workaround is to manually install glibc-gconv-extra, but you shouldn't need to do anything really because this should already be fixed by having glibc depend on glibc-gconv-extra.
Thanks Michael!
Aha, it seems the rawhide buildroot from 6/23 still contained glibc with recommends on new package and not hard requires.
I've explicitly added glibc-gconv-extra as a buildrequires for vim now - although as you told it is unnecessary right now, I guess it is a good thing to track what the package actually needs (dependencies can change with time, as I found out painfully over the years :D ).
On 6/23/21 2:55 PM, Michael Catanzaro wrote:
Hi Zdenek,
See: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/...
TL;DR: workaround is to manually install glibc-gconv-extra, but you shouldn't need to do anything really because this should already be fixed by having glibc depend on glibc-gconv-extra.
devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
On Fri, Jun 25, 2021 at 10:47 AM Zdenek Dohnal zdohnal@redhat.com wrote:
Aha, it seems the rawhide buildroot from 6/23 still contained glibc with recommends on new package and not hard requires.
Sorry yes, we haven't done a build yet. I expect one to come out next week with this fix and the fix for some other breakages.
I've explicitly added glibc-gconv-extra as a buildrequires for vim now - although as you told it is unnecessary right now, I guess it is a good thing to track what the package actually needs (dependencies can change with time, as I found out painfully over the years :D ).
I've got a releng ticket[1] out to pull glibc-gconv-extra into the minimal buildroot so that we can weaken the dependency again. That way every package won't have to explicitly mention this dependency.
Thanks, Siddhesh