Bug#843811: strip-nondeterminism: does not strip nondeterminism from /SYM64/ ar entries
Ximin Luo
infinity0 at debian.org
Mon Feb 13 13:42:00 UTC 2017
Chris Lamb:
> Chris Lamb wrote:
>
>> Hi Ximin,
>>
>>> does not strip nondeterminism from /SYM64/ ar entries
>>
>> Can you clarify whether the attachments to the report are testcases; are
>> the two files meant to be an input+expected pair, or… ?
>
> I've just noticed #781262 too FYI :)
>
>
I can't remember exactly now, but possibly they were outputs of the glibc build process, when my build machine was being affected by #843210.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843210
My thinking was that strip-nondeterminism should have automatically fixed this, but perhaps it's best to leave it out, so that we catch non-deterministic upstream tools.
The attached files can still be used as test cases in case we want to add this behaviour in the future:
$ PYTHONPATH=. python3 -m diffoscope.main ~/ext/misc/libBrokenLocale.a.*
|#########################################################################################################################################################################| 100% Time: 0:00:00
--- /home/infinity0/ext/misc/libBrokenLocale.a.0
+++ /home/infinity0/ext/misc/libBrokenLocale.a.1
├── file list
│ @@ -1,3 +1,3 @@
│ -?--------- 0 0 0 72 2016-11-09 14:44:21.000000 /SYM64/
│ +?--------- 0 0 0 72 2016-11-09 16:25:53.000000 /SYM64/
│ ---------- 0 0 0 0 1970-01-01 00:00:00.000000 //
│ ?rw-r--r-- 0 0 0 1184 1970-01-01 00:00:00.000000 broken_cur_max.o
1
After processing with strip-nondeterminism (if we want to add this behaviour) the diff should be 0.
X
--
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git
More information about the Reproducible-builds
mailing list