Category Archives: Debhelper

“debhelper-compat (= 12)” is now released

A few days ago, we released debhelper/12 and yesterday uploaded it to stretch-backports (as debhelper/12~bpo9+1).  We deliberately released debhelper/12 so it would be included in buster for the people, who backport their packages to older releases via stable-backports.  That said, … Continue reading

Posted in Debhelper, Debian | Leave a comment

Build system changes in debhelper

Since debhelper/11.2.1[1], we now support using cmake for configure and ninja for build + test as an alternative to cmake for configure and make for build + test.  This change was proposed by Kyle Edwards in Debian bug #895044. You … Continue reading

Posted in Debhelper, Debian | Leave a comment

Prototyping a new packaging papercut fix – DRY for the debhelper compat level

Have you ever looked at packaging and felt it is a long exercise in repeating yourself?  If you have, you are certainly not alone.  You can find examples of this on the Debian mailing lists (among other places).  Such as … Continue reading

Posted in Debhelper, Debian | 1 Comment

Building packages without (fake)root

Turns out that it is surprisingly easy to build most packages without (fake)root.  You just need to basic changes: A way to set ownership to “root:root” of paths when dpkg-deb –build constructs the binary. A way to have debhelper not … Continue reading

Posted in Debhelper, Debian | Leave a comment

Introducing the debhelper buildlabel prototype for multi-building packages

For most packages, the “dh” short-hand rules (possibly with a few overrides) work great.  It can often auto-detect the buildsystem and handle all the trivial parts. With one notably exception: What if you need to compile the upstream code twice … Continue reading

Posted in Debhelper, Debian | Leave a comment

Improving bulk performance in debhelper

Since debhelper/10.3, there has been a number of performance related changes.  The vast majority primarily improves bulk performance or only have visible effects at larger “input” sizes. Most visible cases are: dh + dh_* now scales a lot better for … Continue reading

Posted in Debhelper, Debian | 1 Comment

Approaching the exclusive “sub-minute” build time club

For the first time in at least two years (and probably even longer), debhelper with the 10.6.2 upload broke the 1 minute milestone for build time (by mere 2 seconds – look for “Build needed 00:00:58, […]”).  Sadly, the result … Continue reading

Posted in Debhelper, Debian | 8 Comments