pdebuild-internal broken when XSBC-Orig-Maintainer used because of faulty sed command

Bug #157867 reported by John Dong
4
Affects Status Importance Assigned to Milestone
pbuilder (Debian)
Fix Released
Unknown
pbuilder (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Gutsy by John Dong

Bug Description

Binary package hint: pbuilder

When using pdebuild --use-pdebuild-internal, building a package with an XSBC-Original-Maintainer field yields an error at the end of the build like:

 cp: cannot stat `../<email address hidden>': No such file or directory

Upon investigation this is due to the sed statement looking for the output files from a buiild, accidentally matching the Original-Maintainer field.

The attached debdiff for Gutsy fixes this by having sed ignore lines that are not indented in by a space.

This bug should also affect Hardy's pbuilder, and Debian too.

Revision history for this message
John Dong (jdong) wrote :
Revision history for this message
Soren Hansen (soren) wrote :

Mangled the debdiff to be against hardy, and uploaded it. I cleverly forgot to put (LP: #blah) magic in there, so marking as fixed released manually.
 pbuilder (0.174ubuntu2) hardy; urgency=low
 .
   * Fix sed for pdebuild-internal to stop matching Original-Maintainer
     field as an output file name.

Changed in pbuilder:
status: New → Fix Released
Changed in pbuilder:
status: Unknown → New
Revision history for this message
John Dong (jdong) wrote :

Nominating this bug for Gutsy -- it doesn't seem like Hardy's pbuilder is usable in gutsy, and this breaks prevu/backports testing across the board for Gutsy users, and this patch is trivial enough that an SRU is worth it IMO.

Changed in pbuilder:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.