please export the data for the elf package metadata in the env

Bug #2072635 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
New
Undecided
Unassigned

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 post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.