cvs FTBFS in artful: dpkg-deb: error: invalid compressor parameters: unknown compression strategy

Bug #1691078 reported by Balint Reczey
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cvs (Ubuntu)
Invalid
Undecided
Unassigned
debhelper (Ubuntu)
Fix Released
Undecided
Adam Conrad

Bug Description

cvs package fails to build in Artful:

https://launchpadlibrarian.net/317615278/buildlog_ubuntu-artful-amd64.cvs_2%3A1.12.13+real-23_BUILDING.txt.gz :

...
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb -- -Zgzip -z9
INFO: pkgstriptranslations version 131
pkgstriptranslations: processing cvs-dbgsym (in debian/.debhelper/cvs/dbgsym-root); do_strip: 1, oemstrip:
pkgstriptranslations: cvs-dbgsym does not contain translations, skipping
pkgstriptranslations: no translation files, not creating tarball
pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers <email address hidden>"
pkgstripfiles: processing control file: debian/.debhelper/cvs/dbgsym-root/DEBIAN/control, package cvs-dbgsym, directory debian/.debhelper/cvs/dbgsym-root
pkgstripfiles: Running PNG optimization (using 4 cpus) for package cvs-dbgsym ...
pkgstripfiles: No PNG files.
dpkg-deb: error: invalid compressor parameters: unknown compression strategy

Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --help for help about installing and deinstalling packages.
dh_builddeb.pkgbinarymangler: dpkg-deb -z1 -Zxz -Sextreme -Zgzip -z9 --build debian/.debhelper/cvs/dbgsym-root debian/.debhelper/scratch-space/build-cvs returned exit code 2
 dpkg-genbuildinfo --build=binary
dpkg-genbuildinfo: error: cannot fstat file ../cvs-dbgsym_1.12.13+real-23_amd64.ddeb: No such file or directory
dpkg-buildpackage: error: dpkg-genbuildinfo --build=binary gave error exit status 2
--------------------------------------------------------------------------------
Build finished at 20170429-2353
...

Tags: ftbfs
Balint Reczey (rbalint)
Changed in cvs (Ubuntu):
assignee: nobody → Balint Reczey (rbalint)
Revision history for this message
Balint Reczey (rbalint) wrote :

Patch fixing the issue, please upload.

Changed in cvs (Ubuntu):
assignee: Balint Reczey (rbalint) → nobody
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "cvs_1.12.13+real-23ubuntu1.patch" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
Thorsten Glaser (mirabilos) wrote :

I’d rather you introduce no delta against Debian and instead just teach dpkg to drop the -Sextreme when gzip is selected (i.e. fix your xz patch to dpkg).

tags: removed: patch
Balint Reczey (rbalint)
summary: - FTBFS in artful
+ cvs FTBFS in artful: dpkg-deb: error: invalid compressor parameters:
+ unknown compression strategy
Revision history for this message
Balint Reczey (rbalint) wrote :

I was about to forward the change to BTS to drop the delta soon, but thanks for following up on the issue here.
The problem is in debhelper indedeed and also breaks other builds like groff's one.

Please see the fix for debhelper attached, but i think cvs could also drop the compression override.

Revision history for this message
Thorsten Glaser (mirabilos) wrote :

>I was about to forward the change to BTS to drop the delta soon

I’d have answered there just the same ;)

>but thanks for following up on the issue here.

Sure, I do follow derivates-bugs in the BTS.

I do not wish to drop the compression override because I use this in an extremely uncommon way for something else as well (basically, I extract the .deb in other environments to get the PDFs which require a full Teχlive to build when it’s not feasible to port Teχ to the other environment).

I don’t know dpkg/perl well enough to comment on that patch unfortunately, but thanks anyway.

Adam Conrad (adconrad)
Changed in cvs (Ubuntu):
status: New → Invalid
Changed in debhelper (Ubuntu):
status: New → Fix Committed
assignee: nobody → Adam Conrad (adconrad)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package debhelper - 10.2.5ubuntu3

---------------
debhelper (10.2.5ubuntu3) artful; urgency=medium

  * Restore maintainer ability to override ddeb compression (LP: #1691078)

 -- Adam Conrad <email address hidden> Wed, 17 May 2017 10:03:45 -0600

Changed in debhelper (Ubuntu):
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.