[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
immediately.)


-- 
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

Hi,

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.


KiBi.

--- 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
attached.

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
pp.
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)


-----BEGIN PGP SIGNED MESSAGE-----
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>
Description:
 choose-mirror - Choose mirror to install from (menu item) (udeb)
 choose-mirror-bin - Choose mirror to install from (program) (udeb)
Closes: 857545
Changes:
 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
Checksums-Sha1:
 b98fe11a455285fb729c78035d2dffb462ba5431 1842 choose-mirror_2.77.dsc
 23892f6f349e3e78d0a03e7f7fe7a2e3373a2820 185940 choose-mirror_2.77.tar.xz
Checksums-Sha256:
 e4fe0c32bec760c246611d669aae5a64c4f99231c1258618dfc2cb37410bba99 1842 choose-mirror_2.77.dsc
 985f180c0efb15f17d6de7519c5ec5c9ca316e2246e3c6cb2b75370c57f5c310 185940 choose-mirror_2.77.tar.xz
Files:
 1e7491993b16c46713bd0455ea4b03f3 1842 debian-installer extra choose-mirror_2.77.dsc
 4ab833a51151d02d4bae57520b441396 185940 debian-installer extra choose-mirror_2.77.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJYyxCEAAoJEP+RSvDCs1UgdkgQAL6kSlX6m55j2ShN6p/yNyDi
NMrO4wEB1EMRw57eDOyBwZQa3xX+7TNwOVP3yalbiDRxN7GQDDkVoHb9o+QbZt/7
WubQbQFUISbGUpwNAmmASsIZ7wXiK8S2SLHB9UoIs+fAept8EXY5G1jbVFql2fcR
yDf8pmAD+jaGDQj6B7n8G58lBw44ZAPepGhzNhRZzBAXV9Y3/Ai0VJWykyfZ2EUz
afSDuGnvGSXMjaNaZ4xIo5gTvqDiWcA+cymhzs1UX0zWmnj3Qt6YOJzCVHPo0KAJ
CSSEfVOt73GMVhHyiW5q/Ra3FbiqcCF+Y4rVgBrCZFTWQqbXCIP4FZTLw/okRQyS
U8A6Ay3CnmBl8pdZOh1+WXg0i8DcQwIgcIasuT5oRk83XO9ghtY23bWtGUZJ8tqg
zhk7lQxfkVh40RcvoYT/mS0u1fd8WZSi9HUJ+ZFLieL33pZSYxaVg9dO8al4eQk2
7L9v1QWxjZeVdDIETZ39aFv3WNtqJZdt15FXL0jh3x/DNi2pzL+JiAabaPjMzB+T
1hyLR0JxwaBQxgpI6hU9WsbUXqif28hDB4441jGlBlg8BmaM85BIdbfFiVusMyJz
8t7brmd37R7MhjjRzkFj9HGSjPX0xFSUR1zY2N+X2V6eDEjC2yciyvLDMpv+fV0T
tQ84juwthT21UnULl98S
=fwnr
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: