Debian Bug report logs - #778486
Translations not inserted correctly

version graph

Package: src:debian-history; Maintainer for src:debian-history is Debian publicity team <debian-publicity@lists.debian.org>;

Reported by: Reiner Herrmann <reiner@reiner-h.de>

Date: Sun, 15 Feb 2015 18:09:01 UTC

Severity: normal

Found in version debian-history/2.19

Fixed in version debian-history/2.22

Done: Osamu Aoki <osamu@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, Bdale Garbee <bdale@gag.com>:
Bug#778486; Package src:debian-history. (Sun, 15 Feb 2015 18:09:06 GMT) (full text, mbox, link).


Acknowledgement sent to Reiner Herrmann <reiner@reiner-h.de>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, Bdale Garbee <bdale@gag.com>. (Sun, 15 Feb 2015 18:09:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Reiner Herrmann <reiner@reiner-h.de>
To: submit@bugs.debian.org
Subject: Translations not inserted correctly
Date: Sun, 15 Feb 2015 19:05:13 +0100
[Message part 1 (text/plain, inline)]
Source: debian-history
Version: 2.19

Hi!

While working on Debian's “reproducible builds” effort [1], we have
noticed that debian-history doesn't build reproducibly [2].

Some paragraphs in the generated HTML files sometimes don't contain
the correct translation, but the original untranslated text.

It looks like this is always the case when the paragraph contains
a link.  Links in the SGML files are in the format:
  <url id="http://..." name="some name">
But after calling po4a, the attributes in the <url> tag can be
reordered in the po files, so they look like:
  <url name="some name" id="http://...">.
I assume that the translation then no longer matches the original
text and the translation is not inserted.

Regards,
 Reiner


[1]: https://wiki.debian.org/ReproducibleBuilds
[2]: https://reproducible.debian.net/debian-history

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Bdale Garbee <bdale@gag.com>:
Bug#778486; Package src:debian-history. (Mon, 16 Feb 2015 14:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to Osamu Aoki <osamu@debian.org>:
Extra info received and forwarded to list. Copy sent to Bdale Garbee <bdale@gag.com>. (Mon, 16 Feb 2015 14:03:04 GMT) (full text, mbox, link).


Message #10 received at 778486@bugs.debian.org (full text, mbox, reply):

From: Osamu Aoki <osamu@debian.org>
To: Reiner Herrmann <reiner@reiner-h.de>, 778486@bugs.debian.org
Cc: 725931-maintonly@bugs.debian.org, David Prévot <taffit@debian.org>
Subject: Re: Bug#778486: Translations not inserted correctly
Date: Mon, 16 Feb 2015 23:02:23 +0900
Control: block -1 by 725931

Hi,

On Sun, Feb 15, 2015 at 07:05:13PM +0100, Reiner Herrmann wrote:
> Source: debian-history
> Version: 2.19
> 
> Hi!
> 
> While working on Debian's “reproducible builds” effort [1], we have
> noticed that debian-history doesn't build reproducibly [2].
> 
> Some paragraphs in the generated HTML files sometimes don't contain
> the correct translation, but the original untranslated text.
> 
> It looks like this is always the case when the paragraph contains
> a link.  Links in the SGML files are in the format:
>   <url id="http://..." name="some name">
> But after calling po4a, the attributes in the <url> tag can be
> reordered in the po files, so they look like:
>   <url name="some name" id="http://...">.
> I assume that the translation then no longer matches the original
> text and the translation is not inserted.

Very interesting.  But this seems to be the 725931 bug for the po4a.

FYI: work around seems to be:

> Please have a look at
>   http://perldoc.perl.org/perlsec.html#Algorithmic-Complexity-Attacks
> I suggest to run po4a with
>   PERL_PERTURB_KEYS=0 PERL_HASH_SEED=0
> it should give the same output as before.

Osamu



Added blocking bug(s) of 778486: 725931 Request was from Osamu Aoki <osamu@debian.org> to 778486-submit@bugs.debian.org. (Mon, 16 Feb 2015 14:03:04 GMT) (full text, mbox, link).


Reply sent to Osamu Aoki <osamu@debian.org>:
You have taken responsibility. (Sun, 23 Sep 2018 13:09:14 GMT) (full text, mbox, link).


Notification sent to Reiner Herrmann <reiner@reiner-h.de>:
Bug acknowledged by developer. (Sun, 23 Sep 2018 13:09:14 GMT) (full text, mbox, link).


Message #17 received at 778486-done@bugs.debian.org (full text, mbox, reply):

From: Osamu Aoki <osamu@debian.org>
To: 579955-done@bugs.debian.org, 778486-done@bugs.debian.org, 612994-done@bugs.debian.org, 666650-done@bugs.debian.org, 203031-done@bugs.debian.org
Subject: debian-history is built from DocBook XML/po4a now
Date: Sun, 23 Sep 2018 22:05:52 +0900
Package: debian-history
Version: 2.22

Now, debian-history is converted to DocBook XML with po4a.
It also build PDF/text/epub/html but no PS.
It handles perl sorting issue.
As for /usr/share/doc/Debian, it is not bug.

Considering these new situation, these bugs should be closed.

Osamu



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 27 Oct 2018 07:28:29 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Aug 19 15:08:20 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.