Comment 0 for bug 2054741

Revision history for this message
Luca Boccassi (bluca) wrote :

DEB_BUILD_PROFILES= can be used in Debian to specify a build profile to use with dpkg-buildpackage. We want to use it in the systemd project to build the upstream packages for the Ubuntu autopkgtest cloud CI on Github. But in the Ubuntu's fork of dpkg, DEB_BUILD_PROFILES's value is ignored and unconditionally swapped with 'noudeb'. This makes it impossible to use package-specific profiles, and it's a regression w.r.t Debian.

To reproduce it, simply print the content of DEB_BUILD_PROFILES in d/rules in any package and build with DEB_BUILD_PROFILES=foo dpkg-buildpackage.