Am 11.11.2017 um 17:18 schrieb Adrian Bunk:
I found what causes the problem:

The failing tests use the following for finding the path to test files:
QDir::addSearchPath(prefix, 
QFileInfo(QString::fromUtf8(__FILE__)).dir().absoluteFilePath(prefix));

In unstable reproducible builds the build path is varied,
and gcc patched to accept setting __FILE__ to a fixed
(reproducible) location.

In other words, when Debian will start changing __FILE__ also on the
buildds this will become a FTBFS also there.

Hm, I understand the benefit of reproducible builds. But does this really need to extend to test binaries which do not get packaged? These tests need to be as much stand-alone as possible and work out of the box in any context (host OS, target OS).

I didn't find a recommendation how to solve the issue. I hope a custom macro is okay.

Kai
(upstream)

Reply via email to