Builing the -dbgsym packages for cpl-plugin-* fails

Bug #1457038 reported by Michael Bienia on 2015-05-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pkg-create-dbgsym (Ubuntu)
High
Martin Pitt

Bug Description

   debian/rules override_dh_gencontrol-indep
make[1]: Entering directory '/build/buildd/cpl-plugin-amber-4.3.3+dfsg'
dh_gencontrol
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dpkg-gencontrol: warning: package cpl-plugin-amber-doc: unused substitution variable ${sphinxdoc: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 amd64: cpl-plugin-amber
dh_gencontrol debug symbol wrapper: packages to act on: cpl-plugin-amber
dh_gencontrol debug symbol wrapper: ignored packages:
dh_gencontrol debug symbol wrapper: processing package cpl-plugin-amber (pkgdir debian/cpl-plugin-amber, ddeb package dir debian/cpl-plugin-amber-dbgsym)
grep: debian/cpl-plugin-amber/DEBIAN/control: No such file or directory
dh_gencontrol debug symbol wrapper: building cpl-plugin-amber-dbgsym__amd64.ddeb
dpkg-deb: error: parsing file 'debian/cpl-plugin-amber-dbgsym/DEBIAN/control' near line 3 package 'cpl-plugin-amber-dbgsym':
 error in 'Version' field string '': version string is empty
debian/rules:75: recipe for target 'override_dh_gencontrol-indep' failed
make[1]: *** [override_dh_gencontrol-indep] Error 2

https://launchpadlibrarian.net/205906374/buildlog_ubuntu-wily-amd64.cpl-plugin-amber_4.3.3%2Bdfsg-2_BUILDING.txt.gz

The other cpl-plugin-* have the same problem.

Martin Pitt (pitti) on 2015-05-20
Changed in pkg-create-dbgsym (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: New → Triaged
importance: Undecided → High
Martin Pitt (pitti) on 2015-06-01
Changed in pkg-create-dbgsym (Ubuntu):
status: Triaged → In Progress
Martin Pitt (pitti) wrote :

This is a packaging bug in cpl-plugin-*:

override_dh_gencontrol-indep:
        dh_gencontrol
        [...]

If you want to do that (-indep), you also have to call dh_gencontrol with -i.

Anyway, I'll add a workaround into p-c-d.

Launchpad Janitor (janitor) wrote :

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

---------------
pkg-create-dbgsym (0.68) wily; urgency=medium

  * dh_gencontrol: If the binary package's DEBIAN/control does not exist, skip
    the binary package version adjustment instead of setting an empty
    Version:. This fixes the FTBFS of cpl-plugin-* which have
    "override_dh_gencontrol-indep:" without calling dh_gencontrol with "-i".
    (LP: #1457038)

 -- Martin Pitt <email address hidden> Mon, 01 Jun 2015 13:39:22 +0200

Changed in pkg-create-dbgsym (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers