Package: devscripts
Version: 2.11.1
Severity: normal

When using debcheckout's DESTDIR feature the rename fails
iff the package tracks debian/ only in VCS and the rest of
the package is retrieved via apt-source.

An example for such a package is collectd:

,---- [ demo ]
| % debcheckout collectd source
| declared git repository at git://git.tokkee.org/pkg-collectd.git
| git clone git://git.tokkee.org/pkg-collectd.git source ...
| Cloning into 'source'...
| remote: Counting objects: 3271, done.
| remote: Compressing objects: 100% (2228/2228), done.
| remote: Total 3271 (delta 1763), reused 725 (delta 384)
| Receiving objects: 100% (3271/3271), 434.61 KiB | 754 KiB/s, done.
| Resolving deltas: 100% (1763/1763), done.
| repository only contains the debian directory, using apt-get source
| Reading package lists... Done
| Building dependency tree
| Reading state information... Done
| NOTICE: 'collectd' packaging is maintained in the 'Git' version control 
system at:
| git://git.tokkee.org/pkg-collectd.git
| Need to get 1,794 kB of source archives.
| Get:1 http://cdn.debian.net/debian/ sid/main collectd 4.10.1-2.1 (dsc) [2,501 
B]
| Get:2 http://cdn.debian.net/debian/ sid/main collectd 4.10.1-2.1 (tar) [1,733 
kB]
| Get:3 http://cdn.debian.net/debian/ sid/main collectd 4.10.1-2.1 (diff) [58.5 
kB]
| Fetched 1,794 kB in 2s (616 kB/s)
| dpkg-source: info: extracting collectd in collectd-4.10.1
| dpkg-source: info: unpacking collectd_4.10.1.orig.tar.gz
| dpkg-source: info: applying collectd_4.10.1-2.1.diff.gz
| rename dkaH5pemOe/collectd-4.10.1/Makefile.am collectd/Makefile.am: No such 
file or directory at /usr/bin/debcheckout line 857.
`----

I've a patch which addresses this issue and works for me.
I'll attach it to this bugreport once I've the bug number.
Please review and consider it for inclusion then.

regards,
-mika-




-- 
To unsubscribe, send mail to [email protected].

Reply via email to