[Bug 2072635] [NEW] please export the data for the elf package metadata in the env
Matthias Klose
2072635 at bugs.launchpad.net
Wed Jul 10 09:04:00 UTC 2024
Public bug reported:
starting with 24.10, dpkg now passes in dpkg-buildflags
-specs=/usr/share/dpkg/elf-package-metadata.specs
and specifying the package metadata json string in the specs file. This
currently only works with GCC and not other compilers. To have quicker
adoption for more binaries, please also export that preformatted string
in an environment variable ELF_PACKAGE_METADATA, that can be picked up
by other linkers and compilers.
choosing a deb-packaging neutral name for that enivronment variable,
because it potentionally could be useful to embed such information into
snap builds as well.
** Affects: dpkg (Ubuntu)
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/2072635
Title:
please export the data for the elf package metadata in the env
Status in dpkg package in Ubuntu:
New
Bug description:
starting with 24.10, dpkg now passes in dpkg-buildflags
-specs=/usr/share/dpkg/elf-package-metadata.specs
and specifying the package metadata json string in the specs file.
This currently only works with GCC and not other compilers. To have
quicker adoption for more binaries, please also export that
preformatted string in an environment variable ELF_PACKAGE_METADATA,
that can be picked up by other linkers and compilers.
choosing a deb-packaging neutral name for that enivronment variable,
because it potentionally could be useful to embed such information
into snap builds as well.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/2072635/+subscriptions
More information about the foundations-bugs
mailing list