Bug#491990: pbuilder should make sure the expected file is really a .dsc and not anything else (i.e. changes)

Raphael Geissert atomo64 at gmail.com
Wed Jul 23 02:34:47 UTC 2008


Package: pbuilder
Version: 0.181
Severity: wishlist

...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
ccache is already the newest version.
fakeroot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Copying source file
    -> copying [le_1.13.7-2_source.changes]
    -> copying [./editors]
cp: cannot stat `./editors': No such file or directory
 -> Aborting with an error
...


+ echo 'Copying source file'
Copying source file
+ copydsc 
le_1.13.7-2_source.changes /var/cache/pbuilder/build//20388/tmp/buildd
+ local DSCFILE=le_1.13.7-2_source.changes
+ local TARGET=/var/cache/pbuilder/build//20388/tmp/buildd
++ cat le_1.13.7-2_source.changes
+++ dirname le_1.13.7-2_source.changes
++ awk 'BEGIN{p=0} /^$/ {p=0} /^.*:/ {p=0} {if (p){print "./" 
$3}} /^Files:/{p=1}'
+ for FILE in '"$DSCFILE"' '$(cat "$DSCFILE" |  awk '\''BEGIN{p=0} /^$/ 
{p=0} /^.*:/ {p=0} {if (p){print "'\''$(dirname "$DSCFILE")'\''/" 
$3}} /^Files:/{p=1}'\'' )'
+ echo '    -> copying [le_1.13.7-2_source.changes]'
    -> copying [le_1.13.7-2_source.changes]
+ cp -p le_1.13.7-2_source.changes /var/cache/pbuilder/build//20388/tmp/buildd
+ for FILE in '"$DSCFILE"' '$(cat "$DSCFILE" |  awk '\''BEGIN{p=0} /^$/ 
{p=0} /^.*:/ {p=0} {if (p){print "'\''$(dirname "$DSCFILE")'\''/" 
$3}} /^Files:/{p=1}'\'' )'
+ echo '    -> copying [./editors]'
    -> copying [./editors]
+ cp -p ./editors /var/cache/pbuilder/build//20388/tmp/buildd
cp: cannot stat `./editors': No such file or directory
+ umountproc_cleanbuildplace_trap
+ umountproc_cleanbuildplace
+ '[' 1 -ne 0 ']'
+ echo ' -> Aborting with an error'
 -> Aborting with an error

Took me some time to realise that I gave the name of the .changes file instead 
of the .dsc. Would be nice if pbuilder screamed out loud under those 
circumstances or actually support taking a .changes file as a parameter.

Regards,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20080722/890af574/attachment.pgp 


More information about the Pbuilder-maint mailing list