Am 13.11.2017 um 20:15 schrieb Adrian Bunk:
I didn't find a recommendation how to solve the issue. I hope a custom macro
is okay.
Based on the discussion in #876901 [1] it is still unclear how this
should be resolved in general.

One more remark:

Replacing __FILE__ with an individual macro makes it much harder to detect embedded build paths in source code review. Proliferation of individual macros could become worse than __FILE__ IMO.


I see the discussion on debian-qt-kde. The proposal in https://lists.debian.org/debian-qt-kde/2017/11/msg00110.html:

> If all the test files reside underneath the same directory, like tests/, you could:

> 4. export BUILD_PATH_PREFIX_MAP="$BUILD_PATH_PREFIX_MAP=tests=$BASEDIR/tests".

will probably worked for this package (old versions). But such information needs to be in documentation, at the time such a change is introduced. In addition, there needs to be much better correlation of changes in the environment and changes in reproducibility build success. It seems there are two variations tested, but __FILE__ vs. not __FILE__ is not included.

I remember that I spent time studying changelogs of gcc and Qt packages in Debian when this bug was opened, but I was unaware of the particularities of the gcc in reproducible builds. The rbuild log that I find online does not contain the exact c++ compiler package name and version. What an irony, the reproducible-builds logs do not provide enough information to consider them reproducible. Even Debian package build logs on build.opensuse.org offer more details. We could have solved this much earlier, and without wasting CPU cycles and developer time.

Regards,
Kai.

Reply via email to