Hi, On Mon, 06 Jan 2025 12:10:02 +0000 Santiago Vila <[email protected]> wrote: > Package: src:uim > Version: 1:1.8.8-9.5 > Severity: important > Tags: ftbfs trixie sid > User: [email protected] > Usertags: gettext-0.23 > > Dear maintainer: > > During a rebuild of all packages in unstable using gettext 0.23.1, > which is available in experimental, your package failed to build: > > -------------------------------------------------------------------------------- > [...] > Making check in po > make[2]: Entering directory '/<<PKGBUILDDIR>>/po' > INTLTOOL_EXTRACT="/usr/bin/intltool-extract" > XGETTEXT="/usr/bin/xgettext" srcdir=. /usr/bin/intltool-update > --gettext-package uim --pot ERROR: xgettext failed to generate PO > tempalte file because the following file contains strings marked for > translation, not encoded in UTF-8. Please ensure all strings marked > for translation are UTF-8 encoded. > > unknown
This error seems that it was caused here. https://salsa.debian.org/debian/uim/-/blob/master/po/Makefile.in.in?ref_type=heads#L101-102 and when adding --verbose for intltool-update, it tells failure about building uim.pot. $ INTLTOOL_EXTRACT="/usr/bin/intltool-extract" XGETTEXT="/usr/bin/xgettext" srcdir=. /usr/bin/intltool-update --verbose --gettext-package uim --pot Wrote ../gtk2/toolbar/GNOME_UimApplet.server.in.in.h Wrote ../gtk3/toolbar/uim-applet-menu.xml.h Wrote ../uim.desktop.in.in.h Building uim.pot... Running /usr/bin/xgettext --add-comments --directory=. --directory=. --default-domain=uim --flag=g_strdup_printf:1:c-format --flag=g_string_printf:2:c-format --flag=g_string_append_printf:2:c-format --flag=g_error_new:3:c-format --flag=g_set_error:4:c-format --flag=g_markup_printf_escaped:1:c-format --flag=g_log:3:c-format --flag=g_print:1:c-format --flag=g_printerr:1:c-format --flag=g_printf:1:c-format --flag=g_fprintf:2:c-format --flag=g_sprintf:2:c-format --flag=g_snprintf:3:c-format --flag=g_scanner_error:2:c-format --flag=g_scanner_warn:2:c-format --output=uim.pot --files-from=./POTFILES.in.temp --keyword=_ --keyword=N_ --keyword=NC_:1c,2 --msgid-bugs-address="[email protected]" --from-code=UTF-8 Removing generated header (.h) files...done. ERROR: xgettext failed to generate PO tempalte file because the following file contains strings marked for translation, not encoded in UTF-8. Please ensure all strings marked for translation are UTF-8 encoded. unknown I've checked encoding in POTFILES.in, uim 1.8.8 contains the following files that encoding is not UTF-8. EUC-JP (LF) uim-1.8.8/scm/ajax-ime-custom.scm EUC-JP (LF) uim-1.8.8/scm/ajax-ime.scm EUC-JP (LF) uim-1.8.8/scm/anthy-custom.scm EUC-JP (LF) uim-1.8.8/scm/baidu-olime-jp-custom.scm EUC-JP (LF) uim-1.8.8/scm/canna-custom.scm EUC-JP (LF) uim-1.8.8/scm/google-cgiapi-jp-custom.scm EUC-JP (LF) uim-1.8.8/scm/japanese-custom.scm EUC-JP (LF) uim-1.8.8/scm/mana-custom.scm EUC-JP (LF) uim-1.8.8/scm/prime-custom.scm EUC-JP (LF) uim-1.8.8/scm/prime.scm EUC-JP (LF) uim-1.8.8/scm/sj3-custom.scm EUC-JP (LF) uim-1.8.8/scm/sj3.scm EUC-JP (LF) uim-1.8.8/scm/skk-custom.scm EUC-JP (LF) uim-1.8.8/scm/tcode.scm EUC-JP (LF) uim-1.8.8/scm/trycode.scm EUC-JP (LF) uim-1.8.8/scm/tutcode-rule-custom.scm EUC-JP (LF) uim-1.8.8/scm/tutcode.scm EUC-JP (LF) uim-1.8.8/scm/wnn-custom.scm EUC-JP (LF) uim-1.8.8/scm/wnn.scm EUC-JP (LF) uim-1.8.8/scm/yahoo-jp-custom.scm EUC-JP (LF) uim-1.8.8/scm/yahoo-jp.scm I found that if these files are not listed in POTFILES.in as a test case, it succeeds to build uim.pot. I'm not sure how above files should be handled to fix this FTBFS, so want to hear maintainer's opinion. (Is it okay just convert into UTF-8?) > Notes: > > - Many packages may be fixed by using this in configure.in: > > AM_GNU_GETTEXT_REQUIRE_VERSION([0.21]) In this case, I think it has nothing to do with it. Regards,

