dpkg-source does not create .pc without quilt

Bug #522719 reported by Stefan Ebner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg
Invalid
Undecided
Unassigned
dpkg (Debian)
Fix Released
Unknown
dpkg (Ubuntu)
Fix Released
Undecided
Michael Vogt

Bug Description

Trying to sync alien-arena we stumbled over this error:

[Updating] alien-arena (7.0-1build1 [Ubuntu] < 7.33-2 [Debian])
 * Trying to add alien-arena...
  - <alien-arena_7.33.orig.tar.gz: downloading from http://ftp.debian.org/debian/>
  - <alien-arena_7.33-2.dsc: downloading from http://ftp.debian.org/debian/>
  - <alien-arena_7.33-2.debian.tar.gz: downloading from http://ftp.debian.org/debian/>
I: alien-arena [multiverse] -> alien-arena_7.0-1build1 [multiverse].
I: alien-arena [multiverse] -> alien-arena-server_7.0-1build1 [multiverse].
 * command was 'dpkg-source -sn -x /home/lp_archive/syncs/alien-arena_7.33-2.dsc'
 [dpkg-source output:] dpkg-source: warning: -sn is not a valid option for Dpkg::Source::Package::V3::quilt
 [dpkg-source output:] gpgv: Signature made Mon Jan 25 17:24:54 2010 GMT using DSA key ID 7A5A6CC7
 [dpkg-source output:] gpgv: Can't check signature: public key not found
 [dpkg-source output:] dpkg-source: warning: failed to verify signature on /home/lp_archive/syncs/alien-arena_7.33-2.dsc
 [dpkg-source output:] dpkg-source: info: extracting alien-arena in alien-arena-7.33
 [dpkg-source output:] dpkg-source: info: unpacking alien-arena_7.33.orig.tar.gz
 [dpkg-source output:] dpkg-source: info: unpacking alien-arena_7.33-2.debian.tar.gz
 [dpkg-source output:] dpkg-source: info: applying launch-server_tool_debianization.patch
 [dpkg-source output:] dpkg-source: error: remove patch backup file alien-arena-7.33/LinuxScripts/launch-server~.dpkg-orig: No such file or directory
E: 'dpkg-source -x' failed for /home/lp_archive/syncs/alien-arena_7.33-2.dsc [return code: 512].

---------------------------------------------------------

The log for a PPA upload looks like:

Rejected:
dpkg-source failed for alien-arena_7.33-2ubuntu1.dsc [return: 2]
[dpkg-source output: dpkg-source: info: extracting alien-arena in alien-arena-7.33
  dpkg-source: info: unpacking alien-arena_7.33.orig.tar.gz
  dpkg-source: info: unpacking alien-arena_7.33-2ubuntu1.debian.tar.gz
  dpkg-source: info: applying launch-server_tool_debianization.patch]

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This issue got fixed in dpkg 1.15.5.6[1] which got already merged into Lucid but the fix needs to be backported to the sync hosts.

[1]:
 dpkg (1.15.5.6) unstable; urgency=low

   * dpkg-source: with format "3.0 (quilt)" ensure quilt's .pc directory is
     created before trying to register a new patch in .pc/applied-patches.
     Thanks to Tommi Vainikainen <email address hidden> for the report and the
     patch. Closes: #561237
   * Fix dpkg-buildpackage to set "parallel=" in DEB_BUILD_OPTIONS instead of
     the invalid "parallel=-1" when option "-j" is given. Closes: #562038
   * Clarify how dpkg-source --print-format works and display messages on
     STDERR when the requested format is discarded. Closes: #560391
   * Add ${misc:Depends} in all Depends fields.

 -- Raphael Hertzog <email address hidden> Fri, 08 Jan 2010 17:57:43 +0100

Stefan Ebner (sebner)
description: updated
Stefan Ebner (sebner)
Changed in launchpad:
status: New → Confirmed
Curtis Hovey (sinzui)
affects: launchpad → soyuz
affects: soyuz → dpkg
Revision history for this message
Colin Watson (cjwatson) wrote :

I'm told (by lamont) that mvo is taking care of backporting this.

Changed in dpkg:
status: Confirmed → Invalid
Changed in dpkg (Ubuntu):
status: New → Confirmed
assignee: nobody → Michael Vogt (mvo)
Revision history for this message
LaMont Jones (lamont) wrote :

Fixed by rolling the hardy diff forward to lucid's dpkg. tested and deployed.

Changed in dpkg (Ubuntu):
status: Confirmed → Fix Released
Changed in dpkg (Debian):
status: Unknown → 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.