tags 395034 -patch
Thankyou

On Wed, Jan 10, 2007 at 01:36:20PM +1100, Paul TBBle Hampson wrote:
> According to packages.debian.org, every arch except i386 has
> this bug.

> The bug is really that install_text is being run which puts
> stuff in /usr/share/doc/4Suite.

Actually, the bug is just exposed by doing that.

Here's the relevant chunk from the buildd:

dh_installchangelogs -a
dh_link -a

And here's the failure my patched caused on a local build:
dh_installchangelogs -i
for pkgname in python-4suite-xml python-4suite-rdf python-4suite-server; do \
                cat "debian/${pkgname}/usr/share/doc/4Suite/COPYRIGHT" 
>>"debian/${pkgname}/usr/share/doc/${pkgname}/copyright"; \
                rm "debian/${pkgname}/usr/share/doc/4Suite/COPYRIGHT"; \
                mv "debian/${pkgname}/usr/share/doc/4Suite/"* 
"debian/${pkgname}/usr/share/doc/${pkgname}" 2>/dev/null; \
                rm -r "debian/${pkgname}/usr/share/doc/4Suite"; \
        done
cat: debian/python-4suite-xml/usr/share/doc/4Suite/COPYRIGHT: No such file or 
directory
rm: cannot remove `debian/python-4suite-xml/usr/share/doc/4Suite/COPYRIGHT': No 
such file or directory
rm: cannot remove `debian/python-4suite-xml/usr/share/doc/4Suite': No such file 
or directory
cat: debian/python-4suite-rdf/usr/share/doc/4Suite/COPYRIGHT: No such file or 
directory
rm: cannot remove `debian/python-4suite-rdf/usr/share/doc/4Suite/COPYRIGHT': No 
such file or directory
rm: cannot remove `debian/python-4suite-rdf/usr/share/doc/4Suite': No such file 
or directory
cat: debian/python-4suite-server/usr/share/doc/4Suite/COPYRIGHT: No such file 
or directory
rm: cannot remove `debian/python-4suite-server/usr/share/doc/4Suite/COPYRIGHT': 
No such file or directory
rm: cannot remove `debian/python-4suite-server/usr/share/doc/4Suite': No such 
file or directory
make: *** [binary-indep] Error 1

So the fix is to move the for pkgname.... lines from the
binary-indep rule to the binary-arch rule in debian/rules,
as they operate on the Arch: any packages.

So that's an easy fix. ^_^

-- 
Paul "TBBle" Hampson, [EMAIL PROTECTED]

Shorter .sig for a more eco-friendly paperless office.

Attachment: pgpV7gipgl4ab.pgp
Description: PGP signature

Reply via email to