Thank you!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054741
Title:
dpkg-buildpackage ignores DEB_BUILD_PROFILES
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/
This bug was fixed in the package dpkg - 1.21.1ubuntu2.3
---
dpkg (1.21.1ubuntu2.3) jammy; urgency=medium
[ Luca Boccassi ]
* Fix dpkg-buildpackage ignoring DEB_BUILD_PROFILES (LP: #2054741)
-- Gianfranco Costamagna Fri, 23 Feb 2024
15:53:39 +0100
** Changed in: dpkg (Ubuntu
This bug was fixed in the package dpkg - 1.22.0ubuntu1.1
---
dpkg (1.22.0ubuntu1.1) mantic; urgency=medium
[ Luca Boccassi ]
* Fix dpkg-buildpackage ignoring DEB_BUILD_PROFILES (LP: #2054741)
-- Gianfranco Costamagna Fri, 23 Feb 2024
15:56:43 +0100
** Changed in: dpkg (Ubuntu
Mantic verification
Reproducing the bug with 1.22.0ubuntu1:
$ apt-cache policy dpkg-dev
dpkg-dev:
Installed: 1.22.0ubuntu1
Candidate: 1.22.0ubuntu1
Version table:
*** 1.22.0ubuntu1 500
500 http://br.archive.ubuntu.com/ubuntu mantic/main amd64 Packages
100 /var/lib/dpkg/statu
Ah, my mistake. I installed only the new dpkg, and dpkg-dev stayed at
the previous version. It doesn't upgrade together.
With dpkg-dev also updated to 1.21.1ubuntu2.3, it worked:
$ DEB_BUILD_PROFILES=foo dpkg-buildpackage -uc -us 2>&1 | grep -A 1
DEB_BUILD_PROFILES
echo $DEB_BUILD_PROFILES
noudeb
So I launched a jammy container, grabbed the source of base-files (a
quick build package), and applied this change:
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,7 @@ VENDORFILE = ubuntu
DESTDIR = debian/base-files
%:
+ echo $$DEB_BUILD_PROFILES
dh $@
locale-check:
With
Pick any package and add to debian/rules:
execute_before_dh_auto_clean:
echo $(DEB_BUILD_PROFILES)
exit 1
root@jammy:/tmp/s# dpkg-buildpackage -uc -us -b
dpkg-buildpackage: info: source package systemd
dpkg-buildpackage: info: source version 255.4-1
dpkg-buildpackage: info: source
The autopkgtests look good now, but the test plan execution is very
vague:
> Verified that the packages in proposed work and solve the bug. Thanks!
Which versions? I would have to check what was in jammy and mantic
proposed on the day of this comment, assuming the test and the comment
were writte
Also mantic autopkgtests are good.
Autopkgtests for SRUs are not blocking release, a manual accept is needed form
ubuntu-sru
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054741
Title:
dpkg-buildp
The autopkgtest failures are unrelated, one is some patch fuzz:
15200s == Unapplying the patch ==
15200s patching file solenv/gbuild/UITest.mk
15200s Hunk #1 succeeded at 34 with fuzz 1.
15200s Hunk #2 succeeded at 71 with fuzz 2 (offset 6 lines).
15200s Hunk #3 succeeded at 92 (offset -3
Verified that the packages in proposed work and solve the bug. Thanks!
** Tags removed: verification-needed verification-needed-jammy
verification-needed-mantic
** Tags added: verification-done verification-done-jammy
verification-done-mantic
--
You received this bug notification because you a
Hello Luca, or anyone else affected,
Accepted dpkg into jammy-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/dpkg/1.21.1ubuntu2.3
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubun
Hello Luca, or anyone else affected,
Accepted dpkg into mantic-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/dpkg/1.22.0ubuntu1.1
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubu
** Description changed:
+ [Impact]
+
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,
This bug was fixed in the package dpkg - 1.22.4ubuntu5
---
dpkg (1.22.4ubuntu5) noble; urgency=medium
[ Luca Boccassi ]
* Fix dpkg-buildpackage ignoring DEB_BUILD_PROFILES (LP: #2054741)
-- Gianfranco Costamagna Fri, 23 Feb 2024
10:52:26 +0100
** Changed in: dpkg (Ubuntu Nobl
15 matches
Mail list logo