[Build-common-hackers] Re: Bug#220748: debhelper: dh_installdocs doesn't handle paths with more than one component
Joey Hess
joeyh@debian.org
Mon, 17 Nov 2003 20:53:23 -0500
--25rOlkxR6a4U87uN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Robert Millan wrote:
> When a path passed to dh_installdocs has more than one component, it will
> strip the basename instead of using the full path. This breaks CDBS when =
being
> used as tar-in-tar mode, which invokes dh_installdocs in that particular =
way.
>=20
> For example, if debian/docs includes "README", this is how CDBS will invo=
ke
> dh_installdocs (I added the -v):
>=20
> $ LC_ALL=3DC dh_installdocs -v -pgrub2 build-tree/pupa-0.6+20031114/README
> cp -a README debian/grub2/usr/share/doc/grub2
> cp: cannot stat `README': No such file or directory
> dh_installdocs: command returned error code 256
I'm not able to reproduce it:
joey@dragon:~/src/debhelper>mkdir -p build-tree/pupa-0.6+20031114/
joey@dragon:~/src/debhelper>touch build-tree/pupa-0.6+20031114/README
joey@dragon:~/src/debhelper>fakeroot ./dh_installdocs -v build-tree/pupa-0.=
6+20031114/README
cp -a build-tree/pupa-0.6\+20031114/README debian/debhelper/usr/sha=
re/doc/debhelper
chown -R 0:0 debian/debhelper/usr/share/doc
chmod -R go=3DrX debian/debhelper/usr/share/doc
chmod -R u\+rw debian/debhelper/usr/share/doc
install -g 0 -o 0 -m 644 -p debian/copyright debian/debhelper/usr/s=
hare/doc/debhelper/copyright
Can you help me reproduce it, preferably outside the context of
cdbs and at the command line?
--=20
see shy jo
--25rOlkxR6a4U87uN
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/uXuTd8HHehbQuO8RAiMWAKDlgNqQ1hbwlfsDD+b5Kob4tMvTGwCgla8h
w4AWgxi8pLTmb3nTpEuoxb0=
=d73I
-----END PGP SIGNATURE-----
--25rOlkxR6a4U87uN--