Bug#644370: dpkg/sid FTBFS on squeeze: The 'deb.5' master file does not exist
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: 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: *** [man.stamp] Error 9
> | make: 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-0919) 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!