[Bug 2054741] [NEW] dpkg-buildpackage ignores DEB_BUILD_PROFILES
Luca Boccassi
2054741 at bugs.launchpad.net
Thu Feb 22 22:36:50 UTC 2024
Public bug reported:
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.
** Affects: dpkg (Ubuntu)
Importance: Undecided
Status: New
** Affects: dpkg (Ubuntu Jammy)
Importance: Undecided
Status: New
** Affects: dpkg (Ubuntu Mantic)
Importance: Undecided
Status: New
** Affects: dpkg (Ubuntu Noble)
Importance: Undecided
Status: New
** Also affects: dpkg (Ubuntu Mantic)
Importance: Undecided
Status: New
** Also affects: dpkg (Ubuntu Jammy)
Importance: Undecided
Status: New
** Also affects: dpkg (Ubuntu Noble)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/2054741
Title:
dpkg-buildpackage ignores DEB_BUILD_PROFILES
Status in dpkg package in Ubuntu:
New
Status in dpkg source package in Jammy:
New
Status in dpkg source package in Mantic:
New
Status in dpkg source package in Noble:
New
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/2054741/+subscriptions
More information about the foundations-bugs
mailing list