[Debian-med-packaging] Bug#972752: seqan2: FTBFS with DEB_BUILD_OPTIONS=reproducible=+fixfilepath

Vagrant Cascadian vagrant at reproducible-builds.org
Fri Oct 23 07:23:10 BST 2020


Package: seqan2
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 the reproducible=+fixfilepath feature is enabled (either through
DEB_BUILD_OPTIONS, or using a dpkg that enables this by default),
seqan2 fails to build from source:

  http://qa-logs.debian.net/2020/09/26.fixfilepath/seqan2_2.4.0+dfsg-12_unstable_fixfilepath.log

While the "fixfilepath" feature is not currently enabled in
dpkg-buildflags by default, it may become the default at some point in
the future, and can by triggered manually by setting
DEB_BUILD_OPTIONS=reproducible=+fixfilepath in the build environment.

More information about this issue is available at:

  https://tests.reproducible-builds.org/debian/issues/unstable/ftbfs_due_to_f-file-prefix-map_issue.html

I have not identified the exact cause of this issue for
seqan2, but a common triggering issue is test suites
expecting __FILE__ to resolve to an absolute path.

The first patch fixes a typo using DEB_BUILD_MAINT_OPTIONS, and the
second patch works around the fixfilepath issue by disabling the
fixfilepath feature in debian/rules using
DEB_BUILD_MAINT_OPTIONS=-fixfilepath.

Thanks for maintaining seqan2!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Fix-typo-when-setting-DEB_BUILD_MAINT_O.patch
Type: text/x-diff
Size: 695 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20201022/c6a1a659/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Disable-fixfilepath-feature-as-it-trigg.patch
Type: text/x-diff
Size: 947 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20201022/c6a1a659/attachment-0003.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/20201022/c6a1a659/attachment-0001.sig>


More information about the Debian-med-packaging mailing list