[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#972306: analitza: FTBFS with DEB_BUILD_OPTIONS=reproducible=+fixfilepath



Dear Vagrant,

On Thu, 15 Oct 2020 17:10:39 -0700 Vagrant Cascadian <vagrant@reproducible-
builds.org> wrote:
> Package: analitza
> Severity: normal
> Tags: patch
> User: reproducible-builds@lists.alioth.debian.org
> Usertags: fixfilepath ftbfs
> X-Debbugs-Cc: reproducible-bugs@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),
> analitza fails to build from source:

[…]

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

The topic has now been discussed in more details on d-devel and elsewhere and 
is due to the fact that some build-time tests use the QTESTDATA Qt macro which 
relies on __FILE__ expanding to the full path of the source file where it’s 
used.

> The attached patch works around this issue by disabling the fixfilepath
> feature in debian/rules using DEB_BUILD_MAINT_OPTIONS=-fixfilepath.

We (the maintainers)’d prefer that kind of change be discussed and resolved 
upstream instead of having to revert it in every package that fails, but, oh 
well…

Thanks for the patch.
Applied and uploaded.


Happy hacking !
--
Aurélien


Reply to: