Control: reopen -1
Control: notfixed -1 0.59-1
Hi,
Debian Bug Tracking System wrote:
> - po4a tool: Fix --srcdir handling. This bug was breaking the build
>of several packages, including dpkg. (Closes: #960892)
I'm sorry to report, but this is not fixed for aptitude.
> previously when building aptitude's documentation, it sufficed to
> declare
>
> [po_directory] po4a/po
>
> in doc/po4a/po4a.cfg and then calling from the out-of-tree build
> directory in e.g. "build/doc/de/"
>
> /usr/bin/po4a --translate-only=de/manpage.xml --srcdir=../../../doc
> --destdir=../../doc ../../../doc/po4a/po4a.cfg
>
> but since recently, this fails with the IMHO not very helpful error
> message:
>
> ../../../doc/po4a/po4a.cfg:1: no PO files found in po4a/po
The error now looks slightly different, though:
../../../doc/po4a/po4a.cfg:1: no PO files found in ../../doc/po4a/po
So for me it looks as this "../../doc/po4a/po" is now prefixed with
what I gave as --destdir, but it should have been what I gave as
--srcdir.
Here's the requested run with more verbose settings:
[…]ptitude/build/doc/de → /usr/bin/po4a -d -v --translate-only=de/manpage.xml
--srcdir=../../../doc --destdir=../../doc ../../../doc/po4a/po4a.cfg
cmd=[po_directory]; po4a/po /
../../../doc/po4a/po4a.cfg:1: no PO files found in ../../doc/po4a/po
cmd=[po4a_alias:docbook]; docbook / opt:"-M utf-8 -o
untranslated="
cmd=[po4a_alias:svg]; xml / opt:"-M utf-8 -k 0"
cmd=[type: docbook]; en/aptitude.xml / $lang:$lang/aptitude.xml opt:"-k 0"
cmd=[type: docbook]; en/manpage.xml / $lang:$lang/manpage.xml opt:"-k 0"
cmd=[type: svg]; en/images/safety-cost-level-diagram.svg /
$lang:$lang/images/safety-cost-level-diagram.svg
'po4a_paths' is not defined in the configuration file. Where are the POT and PO
files?
HTH!
Regards, Axel
--
,''`. | Axel Beckert , https://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`-| 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE