This bug was fixed in the package dpkg - 1.22.6ubuntu14
---
dpkg (1.22.6ubuntu14) oracular; urgency=medium
* Export environment variables DEB_BUILD_OS_RELEASE_ID, DEB_HOST_ARCH,
DEB_SOURCE, and DEB_VERSION when including buildflags.mk (LP: #2070015)
* buildflags: document RUST
** Merge proposal linked:
https://code.launchpad.net/~aleasto/ubuntu/+source/graphite2/+git/graphite2/+merge/467970
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2069722
Title:
dpkg: ELF package
Is it expected to require such changes to autopkgtests now?
https://code.launchpad.net/~aleasto/ubuntu/+source/graphite2/+git/graphite2/+merge/467970
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2069
** Changed in: dpkg (Ubuntu)
Status: Triaged => In Progress
** Changed in: dpkg (Ubuntu)
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2069722
Title
** Merge proposal linked:
https://code.launchpad.net/~bdrung/ubuntu/+source/dpkg/+git/dpkg/+merge/467817
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2069722
Title:
dpkg: ELF package metadata p
Pushed proposed fix to
https://code.launchpad.net/~bdrung/ubuntu/+source/dpkg/+git/dpkg/+ref/ubuntu/devel
Now the env variable names to not match. I suggest renaming them from
DPKG_BUILDPACKAGE_* to DEB_BUILD_* instead.
--
You received this bug notification because you are a member of Ubuntu
Bug
** Changed in: dpkg (Ubuntu)
Importance: Undecided => High
** Changed in: dpkg (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2069722
Title:
dpkg: ELF packa
Based on autopkgtests, at least these packages are impacted: asymptote,
golang-logrus, graphite2, gsequencer, mosh, python-cmake-build-
extension, rust-libc, seqan3, slt.
Based on my own experience, camitk is also impacted.
--
You received this bug notification because you are a member of Ubuntu
** Description changed:
Some packages do not build anymore, citing a missing environment
- variable.
+ variable. This can be reproduced by not using dpkg-buildpackage. For
+ example build chaos-marmosets:
+
+ ```
+ $ debian/rules binary
+ [...]
+ cc: fatal error: environment variable ‘DPKG_BUIL