Bug#912099: gnumeric: FTBFS with itstool 2.0.4: 'ascii' codec can't decode byte 0xc2

2018-12-07 Thread Tanguy Ortolo

Hello,

Niko Tyni, 2018-10-28 11:05+0200:

gnumeric fails to build on current sid/amd64. It seems to have broken
with itstool 2.0.4 in early October or so. From the build log:

 Warning: Could not merge cs translation for msgid:
 The chapters of this version of the Gnumeric manual are 
organized as follows: <_:itemizedlist-1/>
[...]
 Error: Could not merge translations:
 'ascii' codec can't decode byte 0xc2 in position 97: ordinal not in range(128)


I am investigating this, and this seems to be at least linked to the 
fact that the Czech translation is buggy, with several errors in XML 
tags (not closed, opened twice instead of closed…).


I am still checking this, but it does not sound abnormal for itstool to 
fail on invalid XML, in which case I would reassign this bug to Gnumeric 
and provide you with a patch to fix it.


--
 ,--.
: /` )   Tanguy Ortolo  
| `-'Debian Developer   
 \_


signature.asc
Description: PGP signature


Bug#912099: gnumeric: FTBFS with itstool 2.0.4: 'ascii' codec can't decode byte 0xc2

2018-11-30 Thread Adrian Bunk
Control: reassign -1 itstool 2.0.4-2
Control: forwarded -1 https://github.com/itstool/itstool/issues/22
Control: affects -1 src:gnumeric

On Sun, Oct 28, 2018 at 11:05:47AM +0200, Niko Tyni wrote:
> Source: gnumeric
> Version: 1.12.43-1 
> Severity: serious
> Tags: ftbfs
> Control: block 902557 with -1
> X-Debbugs-Cc: itst...@packages.debian.org
> 
> As seen at
> 
>   
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/gnumeric.html
> 
> gnumeric fails to build on current sid/amd64. It seems to have broken
> with itstool 2.0.4 in early October or so. From the build log:
> 
>   if test -f "${mo}"; then mo="../${mo}"; else 
> mo="/build/1st/gnumeric-1.12.43/doc/${mo}"; fi; \
>   (cd "cs/" && itstool -m "${mo}" ${d}/C/gnumeric.xml) && \
>   touch "cs/cs.stamp"
>   Warning: Could not merge cs translation for msgid:
>   The chapters of this version of the Gnumeric 
> manual are organized as follows: <_:itemizedlist-1/>
> [...]
>   Error: Could not merge translations:
>   'ascii' codec can't decode byte 0xc2 in position 97: ordinal not in 
> range(128)
>   make[3]: *** [Makefile:1414: cs/cs.stamp] Error 1
>   
> This seems to be the same issue as
> 
>   https://bugzilla.redhat.com/show_bug.cgi?id=1604169
> 
>   https://github.com/itstool/itstool/issues/22
> 
>   https://gitlab.gnome.org/GNOME/gnumeric/issues/331

The agrrement seems to be that this is a regression in itstool and 
should be fixed there.

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#912099: gnumeric: FTBFS with itstool 2.0.4: 'ascii' codec can't decode byte 0xc2

2018-10-28 Thread Niko Tyni
Source: gnumeric
Version: 1.12.43-1 
Severity: serious
Tags: ftbfs
Control: block 902557 with -1
X-Debbugs-Cc: itst...@packages.debian.org

As seen at

  
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/gnumeric.html

gnumeric fails to build on current sid/amd64. It seems to have broken
with itstool 2.0.4 in early October or so. From the build log:

  if test -f "${mo}"; then mo="../${mo}"; else 
mo="/build/1st/gnumeric-1.12.43/doc/${mo}"; fi; \
  (cd "cs/" && itstool -m "${mo}" ${d}/C/gnumeric.xml) && \
  touch "cs/cs.stamp"
  Warning: Could not merge cs translation for msgid:
  The chapters of this version of the Gnumeric 
manual are organized as follows: <_:itemizedlist-1/>
[...]
  Error: Could not merge translations:
  'ascii' codec can't decode byte 0xc2 in position 97: ordinal not in range(128)
  make[3]: *** [Makefile:1414: cs/cs.stamp] Error 1
  
This seems to be the same issue as

  https://bugzilla.redhat.com/show_bug.cgi?id=1604169

  https://github.com/itstool/itstool/issues/22

  https://gitlab.gnome.org/GNOME/gnumeric/issues/331

-- 
Niko Tyni   nt...@debian.org