-- >8 --
Subject: Bump advertised po4a requirement to 0.41
The po4a --srcdir and --destdir options were introduced in version
0.36.4, but attempts to point --srcdir to a different directory than
the cwd when running po4a produced the message “master file was not
found” instead of doing something useful until version 0.41 (r2317,
2010-11-03).
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
Hi,
Squeeze i386 system. Building dpkg master (but I assume the last
uploaded sid version would behave similarly):
The upstream changelog for po4a in sid tells me that this is a known
problem --- versions before 0.41 would neglect to chdir to $srcdir at
the appropriate moment, making the --srcdir option mostly useless.
Building dpkg with "./configure --prefix=$HOME/opt/dpkg && make" so
$(srcdir) is . indeed avoids trouble.
Reverting commits 966a4f6b, 0ed90da7, and 822ea85c (build: Use po4a
--srcdir and --builddir, 2011-09*19) avoids trouble, too, and that is
what I did locally. Short of that, how about this patch?
diff --git a/README b/README
index 21957047..d03c21ad 100644
--- a/README
+++ b/README
@@ -69,7 +69,7 @@ To enable optional functionality or programs, this software might be needed:
To enable translated or additional («make doc») documentation this
software will be needed:
- po4a >= 0.36.4
+ po4a >= 0.36.4 (>= 0.41 for VPATH builds)
pod2man
doxygen
dot
diff --git a/debian/changelog b/debian/changelog
index 5c752625..43114e00 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,10 @@ dpkg (1.16.2) UNRELEASED; urgency=low
- Reduces the amount of work performed, including loading and parsing
unnecessary table files or calling either of gcc or dpkg programs.
+ [ Jonathan Nieder ]
+ * Bump po4a version in Build-Depends to 0.41, since earlier versions do
+ not handle --srcdir correctly.
+
[ Updated man page translations ]
* German (Helge Kreutzmann).
--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111005094326.GA19712@elie">http://lists.debian.org/20111005094326.GA19712@elie
10-05-2011, 01:26 PM
Jonathan Nieder
Bug#644370: dpkg/sid FTBFS on squeeze: The 'deb.5' master file does not exist
Hi,
The message this is a reply to was forwarded to the debian-dpkg@ list.
It should not have been --- dpkg bugs only go to the debian-dpkg-bugs@
list.
Thanks for keeping the bts running well,
Jonathan
--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111005132606.GA10763@elie">http://lists.debian.org/20111005132606.GA10763@elie
10-05-2011, 07:16 PM
Guillem Jover
Bug#644370: dpkg/sid FTBFS on squeeze: The 'deb.5' master file does not exist
Hi!
On Wed, 2011-10-05 at 04:43:26 -0500, Jonathan Nieder wrote:
> Squeeze i386 system. Building dpkg master (but I assume the last
> uploaded sid version would behave similarly):
>
> | $ dpkg-query -W po4a
> | po4a 0.40.2-1
> | $ debian/rules build
> [...]
> | make[3]: Entering directory `/home/jrn/src/dpkg/build-tree/man'
> | po4a --previous --srcdir ../../man --destdir /home/jrn/src/dpkg/build-tree/man --no-backups ../../man/po/po4a.cfg
> | ../../man/po/po4a.cfg:17: The 'deb.5' master file does not exist.
> | make[3]: *** [man.stamp] Error 9
> | make[3]: Leaving directory `/home/jrn/src/dpkg/build-tree/man'
>
> The upstream changelog for po4a in sid tells me that this is a known
> problem --- versions before 0.41 would neglect to chdir to $srcdir at
> the appropriate moment, making the --srcdir option mostly useless.
> Building dpkg with "./configure --prefix=$HOME/opt/dpkg && make" so
> $(srcdir) is . indeed avoids trouble.
>
> Reverting commits 966a4f6b, 0ed90da7, and 822ea85c (build: Use po4a
> --srcdir and --builddir, 2011-09*19) avoids trouble, too, and that is
> what I did locally. Short of that, how about this patch?
Hmmm, it's unfortunate that squeeze does not have the needed po4a
version, but oh well. Patch looks good, applied locally, will be on my
next push. Thanks!
regards,
guillem
--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111005191606.GA24192@gaara.hadrons.org">http://lists.debian.org/20111005191606.GA24192@gaara.hadrons.org
10-05-2011, 07:17 PM
Guillem Jover
Bug#644370: dpkg/sid FTBFS on squeeze: The 'deb.5' master file does not exist
Hi!
On Wed, 2011-10-05 at 08:26:06 -0500, Jonathan Nieder wrote:
> The message this is a reply to was forwarded to the debian-dpkg@ list.
> It should not have been --- dpkg bugs only go to the debian-dpkg-bugs@
> list.
This is actually a list.d.o problem, as Raphal mentioned in
<http://lists.debian.org/debian-dpkg/2011/10/msg00009.html>.
thanks,
guillem
--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111005191757.GB24192@gaara.hadrons.org">http://lists.debian.org/20111005191757.GB24192@gaara.hadrons.org