Bug#971402: vboot-utils: FTBFS when fixfilepath is enabled from dpkg-buildflags

Vagrant Cascadian vagrant at reproducible-builds.org
Tue Sep 29 23:18:01 BST 2020


Source: vboot-utils
Severity: normal
Version: 0~R81-12871.B-1
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: fixfilepath ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

When the dpkg-buildflags "fixfilepath" is enabled, vboot-utils FTBFS, as
clang does not support the -ffile-prefix-map argument:

  clang: clang: error: error: unknown argument: '-ffile-prefix-map=/<<PKGBUILDDIR>>=.'unknown argument: '-ffile-prefix-map=/<<PKGBUILDDIR\>>=.'


This can be tested by passing the following DEB_BUILD_OPTIONS:

  DEB_BUILD_OPTIONS=reproducible=+fixfilepath

The "fixfilepath" is not currently enabled by dpkg-buildflags by
default, but might become the default at some point in the future.

The attached patch disables use of this feature in debian/rules and
enables the remaining reproducibility related build flags.


Thanks for maintaining vboot-utils!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Disable-use-of-fixfilepath-with-DEB_BUI.patch
Type: text/x-diff
Size: 1040 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20200929/223e38e2/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/reproducible-bugs/attachments/20200929/223e38e2/attachment.sig>


More information about the Reproducible-bugs mailing list