Bug#876901: QFINDTESTDATA uses __FILE__

Ximin Luo infinity0 at debian.org
Mon Nov 13 20:20:00 UTC 2017

Pino Toscano:
> [..]
> A better approach here is to work on removing the invalid & abusing
> usages of __FILE__ from packages, just like it was done for __DATE__.

We in fact did not do the latter because it was easier to implement SOURCE_DATE_EPOCH to fix the expansion of __DATE__, rather than patch 400 packages.

With __FILE__ I believe the number is similar, but I didn't yet count exactly how many. (Our BUILD_PATH_PREFIX_MAP patch fixes 1800 packages, but only some of these are due to __FILE__.)


GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE

More information about the Reproducible-builds mailing list