|Anonymous | Login | Signup for a new account||2019-06-26 11:59 UTC|
|My View | View Issues | Change Log | Roadmap | Doomseeker Issue Support Ranking | Rules | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003256||Doomseeker||[All Projects] Bug||public||2017-09-07 21:55||2019-06-12 00:23|
|Assigned To||Pol M|
|Platform||x86_64||OS||Debian GNU/Linux||OS Version||buster/sid|
|Target Version||Fixed in Version|
|Summary||0003256: Failure to reproduce builds with variations in build path|
|Description||The build system is not entirely deterministic, or the build environment of officially released binaries is not recorded or pre-defined.|
Variations in build path create different binary results.
|Steps To Reproduce||To keep this simple, I have to abstract this a little bit. On the high level, consider two paths: "1st" and "2nd".|
To make sure my build environment was clean, I always extracted from the source distribution to a path and did not exercise running make clean.
"1st" and "2nd" binaries differ. "2nd.orig" and "2nd" binaries are identical.
dpkg.log has the full list of packages in the environment.
|Additional Information||CMake's -C option for initial cache was not used. I ignored the differences in CMake's output and error logs as out of scope.|
Doomseeker and libwadseeker have no special documentation about reproducible builds.
|Attached Files|| dpkg.log [^] (152,943 bytes) 2017-09-07 21:55|
doomseeker-diff.log [^] (21,211 bytes) 2017-09-07 21:55
libwadseeker-diff.log [^] (3,326 bytes) 2017-09-07 21:56
CMakeCache.diff [^] (658 bytes) 2017-09-07 22:06 [Show Content]
doomseeker-2nd-2nd_orig.diff [^] (258 bytes) 2017-09-07 22:21 [Show Content]
libwadseeker-2nd-2nd_orig.diff [^] (266 bytes) 2017-09-07 22:21 [Show Content]
diffoscope-v86.log.gz [^] (333,690 bytes) 2017-09-08 00:41
diffoscope-deb.log.gz [^] (13,319 bytes) 2017-09-08 01:32
For clarification: I followed only the instructions provided in COMPILE.txt:
mkdir build cd build cmake .. make
edited on: 2017-09-08 00:46
The underlying cause seems to be RPATH or RUNPATH: 0003239
|Uploaded a diffoscope v86 from .deb builds, it's a bit cleaner.|
|Needs to be tested with 0003239.|
Per comments in 0003239, – though I did not explicitly test this – I believe this is still unresolved because the resulting Doomseeker executable gets a RUNPATH pre-install.
One step closer now, however.
Pol M (developer)
Compared sha512 of two compilations with variations of path and without using QT_HASH_SEED, the binaries are equal. What is left to do? I don't quite get what you mean with:
Quote from Wub
Maybe you could elavorate? is there something more apart from binaries being the same?
|I will have to revisit this later.|
|Only registered users can voice their support. Click here to register, or here to log in.|
|Supporters:||No one explicitly supports this issue yet.|
|Opponents:||No one explicitly opposes this issue yet.|
|2017-09-07 21:55||WubTheCaptain||New Issue|
|2017-09-07 21:55||WubTheCaptain||File Added: dpkg.log|
|2017-09-07 21:55||WubTheCaptain||File Added: doomseeker-diff.log|
|2017-09-07 21:56||WubTheCaptain||File Added: libwadseeker-diff.log|
|2017-09-07 21:57||WubTheCaptain||Note Added: 0018239|
|2017-09-07 22:06||WubTheCaptain||File Added: CMakeCache.diff|
|2017-09-07 22:21||WubTheCaptain||File Added: doomseeker-2nd-2nd_orig.diff|
|2017-09-07 22:21||WubTheCaptain||File Added: libwadseeker-2nd-2nd_orig.diff|
|2017-09-08 00:41||WubTheCaptain||File Added: diffoscope-v86.log.gz|
|2017-09-08 00:45||WubTheCaptain||Note Added: 0018243|
|2017-09-08 00:46||WubTheCaptain||Note Edited: 0018243||View Revisions|
|2017-09-08 01:32||WubTheCaptain||File Added: diffoscope-deb.log.gz|
|2017-09-08 01:33||WubTheCaptain||Note Added: 0018245|
|2017-09-08 01:53||Blzut3||Relationship added||child of 0003255|
|2017-09-09 01:56||Blzut3||Relationship added||related to 0003239|
|2017-10-05 01:52||WubTheCaptain||Note Added: 0018446|
|2017-10-05 01:52||WubTheCaptain||Status||new => needs testing|
|2017-10-07 11:56||WubTheCaptain||Note Added: 0018468|
|2017-10-07 11:56||WubTheCaptain||Status||needs testing => new|
|2018-10-05 06:36||WubTheCaptain||Priority||normal => low|
|2019-06-05 19:11||Pol M||Note Added: 0020730|
|2019-06-12 00:23||WubTheCaptain||Note Added: 0020744|
|2019-06-12 00:23||WubTheCaptain||Assigned To||=> Pol M|
|2019-06-12 00:23||WubTheCaptain||Status||new => feedback|
Questions or other issues? Contact Us.
|Copyright © 2000 - 2019 MantisBT Team|