[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#857545: marked as done (choose-mirror: FTBFS due to encoding issues)

Your message dated Fri, 17 Mar 2017 03:09:42 +0000
with message-id <E1coiGs-000ALz-Li@fasolo.debian.org>
and subject line Bug#857545: fixed in choose-mirror 2.77
has caused the Debian Bug report #857545,
regarding choose-mirror: FTBFS due to encoding issues
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(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 owner@bugs.debian.org

857545: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857545
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: choose-mirror
Version: 2.76
Severity: normal
Tags: patch l10n


I only noticed choose-mirror was FTBFSing right after pushing the 2.76
tag, so I cancelled the upload to avoid wasting resources. The failure
is due to a mirror's getting added for RE Réunion in Mirrors.masterlist;
I've first tried to strip the acute accent from the list, but that's not
sufficient since the mapping is done through iso-codes, where Réunion is
spelled with this accent.

The FTBFS looks like this:
| # Build the templates
| ./mktemplates debian/choose-mirror-bin.templates-in debian/choose-mirror-bin.templates.http-in debian/choose-mirror-bin.templates.https-in debian/choose-mirror-bin.templates.ftp.base-in debian/choose-mirror-bin.templates.both-in
| Creating the list of countries for HTTP mirrors... Done.
| Creating the list of countries for HTTPS mirrors... Done.
| Creating the list of countries for FTP mirrors... Done.
| Insert the lists of choices into the templates file... Done.
| ERROR: xgettext failed to generate PO template file because there is non-ASCII
|        string marked for translation. Please make sure that all strings marked
|        for translation are in uniform encoding (say UTF-8), then *prepend* the
|        following line to POTFILES.in and rerun intltool-update:
|            [encoding: UTF-8]
| Makefile:90: recipe for target 'debian/choose-mirror-bin.templates' failed
| make[2]: *** [debian/choose-mirror-bin.templates] Error 1

So I've tried this:
| diff --git a/mktemplates b/mktemplates
| index 6b60866..8240550 100755
| --- a/mktemplates
| +++ b/mktemplates
| @@ -58,6 +58,7 @@ mkdir debian/pobuild
|  # Create the appropriate POTFILES.in file there
|  cat >debian/pobuild/POTFILES.in <<EOF
| +[encoding: UTF-8]
|  [type: gettext/rfc822deb] templates.tmp
|  EOF

That seems to do the trick, but it would be great to have a confirmation
that it's OK to have non-ASCII characters in Choices field of templates.


--- End Message ---
--- Begin Message ---
Source: choose-mirror
Source-Version: 2.77

We believe that the bug you reported is fixed in the latest version of
choose-mirror, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 857545@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Cyril Brulebois <kibi@debian.org> (supplier of updated choose-mirror package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)

Hash: SHA256

Format: 1.8
Date: Thu, 16 Mar 2017 23:21:13 +0100
Source: choose-mirror
Binary: choose-mirror choose-mirror-bin
Architecture: source
Version: 2.77
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Cyril Brulebois <kibi@debian.org>
 choose-mirror - Choose mirror to install from (menu item) (udeb)
 choose-mirror-bin - Choose mirror to install from (program) (udeb)
Closes: 857545
 choose-mirror (2.77) unstable; urgency=medium
   * Fix FTBFS by adding [encoding: UTF-8] to POTFILES.in, which is needed
     since RE Réunion popped up in Mirrors.masterlist with the last update
     (Closes: #857545).
   * Update Mirrors.masterlist
 b98fe11a455285fb729c78035d2dffb462ba5431 1842 choose-mirror_2.77.dsc
 23892f6f349e3e78d0a03e7f7fe7a2e3373a2820 185940 choose-mirror_2.77.tar.xz
 e4fe0c32bec760c246611d669aae5a64c4f99231c1258618dfc2cb37410bba99 1842 choose-mirror_2.77.dsc
 985f180c0efb15f17d6de7519c5ec5c9ca316e2246e3c6cb2b75370c57f5c310 185940 choose-mirror_2.77.tar.xz
 1e7491993b16c46713bd0455ea4b03f3 1842 debian-installer extra choose-mirror_2.77.dsc
 4ab833a51151d02d4bae57520b441396 185940 debian-installer extra choose-mirror_2.77.tar.xz

Version: GnuPG v1


--- End Message ---

Reply to: