[Bug 2147987] Re: LDFLAGS --package-metadata breaks mingw builds
Ravi Kant Sharma
2147987 at bugs.launchpad.net
Mon Apr 13 11:11:17 UTC 2026
Please export DEB_BUILD_MAINT_OPTIONS=qa=-elfpackagemetadata in dxvk
debian/rules file to disable the package-metadata. It is not supported
in w64-mingw.
--
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/2147987
Title:
LDFLAGS --package-metadata breaks mingw builds
Status in dpkg package in Ubuntu:
New
Status in dxvk package in Ubuntu:
New
Bug description:
dxvk FTBFS in resolute because /usr/bin/x86_64-w64-mingw32-ld.bfd does
not understand the `--package-metadata` argument that was added to
LDFLAGS in Ubuntu.
The build error is somewhat cryptic because `ld --version
--unknownflagxxxxxxxx` succeeds by ignoring the unknown flag, so meson
thinks we have a working linker and yet we don't.
https://launchpadlibrarian.net/852132987/buildlog_ubuntu-resolute-
amd64v3.dxvk_2.7.1-2_BUILDING.txt.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/2147987/+subscriptions
More information about the foundations-bugs
mailing list