Bug#1117999: dpkg-buildflags: enable ELF package note metadata
Matthias Klose <[email protected]>
| Newsgroups | gmane.linux.debian.devel.dpkg.bugs |
|---|---|
| Message-ID | <195e5f04-c8f9-4cc6-864b-7ec5d3b14e80__29242.4414817773$1765803684$gmane$org@debian.org> |
I don't like the approach that is taken here. - If the build system of a package misses passing flags, then you don't embed that info into the binaries. - The four linkers (BFD ld, gold, mold and lld) also take that data from the environment, and there is also precedence for taking such data from the environment, like the TIMESTAMP for the build. - dpkg-buildflags with the proposed implementation causes autopkg test regressions with the additional stderr output (already six regressions with the tests triggered by dpkg). There will be a lot more ... So please set that in the environment instead, it seems to be the more robust approach. Matthias