[Debian-med-packaging] Bug#971408: simde: FTBFS when dpkg-buildflags passes -ffile-prefix-map
Vagrant Cascadian
vagrant at reproducible-builds.org
Wed Sep 30 02:26:40 BST 2020
Package: simde
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: fixfilepath ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
When run with DEB_BUILD_OPTIONS=reproducible=+fixfilepath, simde FTBFS:
clang: error: unknown argument: '-ffile-prefix-map=/<<PKGBUILDDIR>>=.'
This is because clang 10 is the first version to support
-ffile-prefix-map, and simde is building with the default clang version
9.
The attached patch updates to clang-10 to fix this issue.
Alternately, you could stick with the default gcc, setting in
debian/rules:
# Remove when switching to clang 10 or newer.
export DEB_BUILD_MAINT_OPTIONS=reproducible=-fixfilepath+fixdebugpath
The "fixfilepath" feature is not yet enabled by default in
dpkg-buildflags, but it is used in the tests.reproducible-builds.org
infrastructure for unstable and experimental, and might be enabled by
default for dpkg-buildflags in the future.
Thanks for maintaining simde!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Update-to-clang-10-to-add-support-for-ffile-prefix-m.patch
Type: text/x-diff
Size: 1898 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20200929/9204b328/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20200929/9204b328/attachment.sig>
More information about the Debian-med-packaging
mailing list