dh_gencontrol wrapper breaks kernel dbgsym generation

Bug #1450464 reported by Martin Pitt
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pkg-create-dbgsym (Ubuntu)
Fix Released
High
Martin Pitt
Precise
Fix Released
High
Unassigned
Trusty
Fix Released
High
Unassigned
Utopic
Fix Released
High
Unassigned
Vivid
Fix Released
High
Martin Pitt
Wily
Fix Released
High
Martin Pitt

Bug Description

https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/7372132 fails with

dpkg-gencontrol: warning: Depends field of package linux-image-3.19.0-16-generic: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_gencontrol debug symbol wrapper: all non-arch-all packages for this build platform ppc64el: linux-libc-dev linux-tools-3.19.0-16 linux-image-3.19.0-16-generic linux-image-extra-3.19.0-16-generic linux-headers-3.19.0-16-generic linux-image-3.19.0-16-generic-dbgsym linux-tools-3.19.0-16-generic linux-cloud-tools-3.19.0-16-generic linux-udebs-generic kernel-image-3.19.0-16-generic-di nic-modules-3.19.0-16-generic-di nic-shared-modules-3.19.0-16-generic-di ppp-modules-3.19.0-16-generic-di scsi-modules-3.19.0-16-generic-di plip-modules-3.19.0-16-generic-di floppy-modules-3.19.0-16-generic-di nfs-modules-3.19.0-16-generic-di md-modules-3.19.0-16-generic-di multipath-modules-3.19.0-16-generic-di fb-modules-3.19.0-16-generic-di input-modules-3.19.0-16-generic-di parport-modules-3.19.0-16-generic-di nic-usb-modules-3.19.0-16-generic-di sata-modules-3.19.0-16-generic-di crypto-modules-3.19.0-16-generic-di squashfs-modules-3.19.0-16-generic-di virtio-modules-3.19.0-16-generic-di fs-core-modules-3.19.0-16-generic-di fs-secondary-modules-3.19.0-16-generic-di storage-core-modules-3.19.0-16-generic-di block-modules-3.19.0-16-generic-di message-modules-3.19.0-16-generic-di vlan-modules-3.19.0-16-generic-di ipmi-modules-3.19.0-16-generic-di
dh_gencontrol debug symbol wrapper: packages to act on: linux-image-3.19.0-16-generic
dh_gencontrol debug symbol wrapper: ignored packages:
dh_gencontrol debug symbol wrapper: processing package linux-image-3.19.0-16-generic (pkgdir debian/linux-image-3.19.0-16-generic, ddeb package dir debian/linux-image-3.19.0-16-generic-dbgsym)
sed: can't read debian/linux-image-3.19.0-16-generic-dbgsym/DEBIAN/control: No such file or directory
debian/rules.d/2-binary-arch.mk:407: recipe for target 'binary-generic' failed
make: *** [binary-generic] Error 2

Martin Pitt (pitti)
Changed in pkg-create-dbgsym (Ubuntu Vivid):
importance: Undecided → High
Changed in pkg-create-dbgsym (Ubuntu Utopic):
importance: Undecided → High
Changed in pkg-create-dbgsym (Ubuntu Trusty):
importance: Undecided → Critical
importance: Critical → High
Changed in pkg-create-dbgsym (Ubuntu Precise):
importance: Undecided → High
Changed in pkg-create-dbgsym (Ubuntu Vivid):
status: New → In Progress
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Martin Pitt (pitti) wrote :

Reproducing test case:
  http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/pkg-create-dbgsym/vivid/revision/242
Fix:
  http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/pkg-create-dbgsym/vivid/revision/243
  http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/pkg-create-dbgsym/vivid/revision/244 (that second one isn't strictly necessary for the kernel, but it showed up with the test case above, so let's fix it)

https://launchpad.net/~ubuntu-core-dev/+archive/ubuntu/ddeb-test/+packages now has pkg-create-dbgsym 0.66pitti1 which I intend to upload as 0.67 to vivid/utopic/trusty, and backport the fixes to precise. I copied the vivid kernel into the PPA, once it built successfully the SRUs can be accepted.

Changed in pkg-create-dbgsym (Ubuntu Vivid):
status: In Progress → Fix Committed
Changed in pkg-create-dbgsym (Ubuntu Utopic):
status: New → Fix Committed
Changed in pkg-create-dbgsym (Ubuntu Trusty):
status: New → Fix Committed
Changed in pkg-create-dbgsym (Ubuntu Precise):
status: New → In Progress
Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Martin, or anyone else affected,

Accepted pkg-create-dbgsym into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/pkg-create-dbgsym/0.67 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Adam Conrad (adconrad) wrote :

Hello Martin, or anyone else affected,

Accepted pkg-create-dbgsym into utopic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/pkg-create-dbgsym/0.67~utopic in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Adam Conrad (adconrad) wrote :

Hello Martin, or anyone else affected,

Accepted pkg-create-dbgsym into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/pkg-create-dbgsym/0.67~trusty in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Martin Pitt (pitti)
Changed in pkg-create-dbgsym (Ubuntu Precise):
status: In Progress → Fix Committed
Revision history for this message
Adam Conrad (adconrad) wrote :

Hello Martin, or anyone else affected,

Accepted pkg-create-dbgsym into precise-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/pkg-create-dbgsym/0.50.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Martin Pitt (pitti) wrote :

The kernel which previously failed to build now built fine:
https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/7372132

The build log shows that this used pkg-create-dbgsym 0.67.

The precise kernel in https://launchpad.net/~ubuntu-core-dev/+archive/ubuntu/ddeb-test/+packages also built fine.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pkg-create-dbgsym - 0.50.2

---------------
pkg-create-dbgsym (0.50.2) precise-proposed; urgency=medium

  * testsuite: Add dhtest.customdbgsym for a package that produces its own
    -dbgsym package, like our "linux" source package. Reproduces LP #1450464.
  * pkg_create_dbgsym: When called with -B (i. e. from dh_strip), create a
    marker for dh_gencontrol, so that the latter does not try to process
    custom -dbgsym binaries. (LP: #1450464)
  * dh_strip: Don't try to process *-dbgsym binaries.

 -- Martin Pitt <email address hidden> Thu, 30 Apr 2015 16:45:12 +0200

Changed in pkg-create-dbgsym (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of the Stable Release Update for pkg-create-dbgsym has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pkg-create-dbgsym - 0.67~trusty

---------------
pkg-create-dbgsym (0.67~trusty) trusty; urgency=medium

  * Backport to trusty.

pkg-create-dbgsym (0.67) vivid; urgency=medium

  * testsuite: Add dhtest.customdbgsym for a package that produces its own
    -dbgsym package, like our "linux" source package. Reproduces LP #1450464.
  * pkg_create_dbgsym: When called with -B (i. e. from dh_strip), create a
    marker for dh_gencontrol, so that the latter does not try to process
    custom -dbgsym binaries. (LP: #1450464)
  * dh_strip: Don't try to process *-dbgsym binaries.

 -- Martin Pitt <email address hidden> Thu, 30 Apr 2015 16:12:16 +0200

Changed in pkg-create-dbgsym (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pkg-create-dbgsym - 0.67~utopic

---------------
pkg-create-dbgsym (0.67~utopic) utopic; urgency=medium

  * Backport to utopic.

pkg-create-dbgsym (0.67) vivid; urgency=medium

  * testsuite: Add dhtest.customdbgsym for a package that produces its own
    -dbgsym package, like our "linux" source package. Reproduces LP #1450464.
  * pkg_create_dbgsym: When called with -B (i. e. from dh_strip), create a
    marker for dh_gencontrol, so that the latter does not try to process
    custom -dbgsym binaries. (LP: #1450464)
  * dh_strip: Don't try to process *-dbgsym binaries.

 -- Martin Pitt <email address hidden> Thu, 30 Apr 2015 16:12:16 +0200

Changed in pkg-create-dbgsym (Ubuntu Utopic):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pkg-create-dbgsym - 0.67

---------------
pkg-create-dbgsym (0.67) vivid; urgency=medium

  * testsuite: Add dhtest.customdbgsym for a package that produces its own
    -dbgsym package, like our "linux" source package. Reproduces LP #1450464.
  * pkg_create_dbgsym: When called with -B (i. e. from dh_strip), create a
    marker for dh_gencontrol, so that the latter does not try to process
    custom -dbgsym binaries. (LP: #1450464)
  * dh_strip: Don't try to process *-dbgsym binaries.

 -- Martin Pitt <email address hidden> Thu, 30 Apr 2015 16:12:05 +0200

Changed in pkg-create-dbgsym (Ubuntu Vivid):
status: Fix Committed → Fix Released
Changed in pkg-create-dbgsym (Ubuntu Wily):
status: Fix Committed → 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.