Your message dated Thu, 25 Jul 2024 18:58:29 +0200 with message-id <87f547c4-7e17-4bb3-83bb-6a16d97e2...@debian.org> has caused the report #1077059, regarding gettext: xgettext complains about missing charset header when using the exclude option to be marked as having been forwarded to the upstream software author(s) bug-gett...@gnu.org
(NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 1077059: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077059 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Hello. I received the following report from the Debian BTS. -------- Mensaje reenviado -------- Asunto: Bug#1077059: gettext: xgettext complains about missing charset header when using the exclude option Fecha: Thu, 25 Jul 2024 18:44:28 +0200 De: Nicolas Peugnet <n.peug...@free.fr> Para: Debian Bug Tracking System <sub...@bugs.debian.org> Package: gettext Version: 0.22.5-1 Severity: normal Dear Maintainer, After upgrading gettext to the latest version from testing (0.22.5-1) I I can not use xgettext to extract messages from a .pot files in conjuction with the exclude option. xgettext complains about a missing header entry with charset specification, but is is there, and it worked with the previous version from Debian stable (0.21-12). Here is a demonstration of the problem: $ ls exclude.po messages.po $ head -n30 * ==> exclude.po <== msgid "" msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" msgid "API" msgstr "" msgid "Atom" msgstr "" msgid "BibTeX" msgstr "" msgid "CLI" msgstr "" msgid "CalDAV" msgstr "" msgid "CardDAV" msgstr "" ==> messages.pot <== # SOME DESCRIPTIVE TITLE. # Copyright (C) 2022-2024, Membres de CLUB1 # This file is distributed under the same license as the CLUB1 package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: CLUB1 main\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-07-25 18:30+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <l...@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../../_templates/404.html:2 #: ../../_templates/404.html:5 msgid "404 Non trouvé" msgstr "" #: ../../_templates/404.html:6 msgid "La page demandée n'existe pas ou plus, elle a peut-être été renommée." msgstr "" #: ../../_templates/breadcrumbs.html:9 msgid "Traduire sur Weblate" msgstr "" $ xgettext -x exclude.po messages.pot Warning: program compiled against libxml 212 using older 209 xgettext: messages.pot: input file doesn't contain a header entry with a charset specification I tried to compile the upstream project from source in order to bisect the issue, but I had to much problems compiling the example, which I didn't even need. It should probably be forwarded upstream. [...]
--- End Message ---