From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#24136: libgcrypt 1.7.0 is not bit-reproducible Date: Wed, 03 Aug 2016 02:50:00 +0200 Message-ID: <878twe7k1z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUkOo-0003hy-IY for bug-guix@gnu.org; Tue, 02 Aug 2016 20:51:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUkOk-0000kq-Cx for bug-guix@gnu.org; Tue, 02 Aug 2016 20:51:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUkOk-0000kj-AF for bug-guix@gnu.org; Tue, 02 Aug 2016 20:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bUkOk-0005Rk-0g for bug-guix@gnu.org; Tue, 02 Aug 2016 20:51:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUkNt-0003dJ-2f for bug-guix@gnu.org; Tue, 02 Aug 2016 20:50:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUkNo-0000Qz-TO for bug-guix@gnu.org; Tue, 02 Aug 2016 20:50:08 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUkNo-0000QZ-Q7 for bug-guix@gnu.org; Tue, 02 Aug 2016 20:50:04 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:58606 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1bUkNm-0005Oe-VW for bug-guix@gnu.org; Tue, 02 Aug 2016 20:50:03 -0400 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 24136@debbugs.gnu.org --8<---------------cut here---------------start------------->8--- $ diff -ru --no-dereference /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-lib= gcrypt-1.7.0{,-check} Binary files /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-libgcrypt-1.7.0/li= b/libgcrypt.so.20.1.0 and /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-libgc= rypt-1.7.0-check/lib/libgcrypt.so.20.1.0 differ Binary files /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-libgcrypt-1.7.0/sh= are/man/man1/hmac256.1.gz and /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-l= ibgcrypt-1.7.0-check/share/man/man1/hmac256.1.gz differ $ git describe v0.11.0-1-g4420940 --8<---------------cut here---------------end--------------->8--- For the .so file, the difference is in the file name that appears in the .gnu_debuglink section (created by the =E2=80=98strip=E2=80=99 phase): --8<---------------cut here---------------start------------->8--- $ diffoscope /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-libgcrypt-1.7.0/l= ib/libgcrypt.so.20.1.0 /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-libgcry= pt-1.7.0-check/lib/libgcrypt.so.20.1.0=20 --- /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-libgcrypt-1.7.0/lib/libgcry= pt.so.20.1.0 +++ /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-libgcrypt-1.7.0-check/lib/l= ibgcrypt.so.20.1.0 =E2=94=9C=E2=94=80=E2=94=80 readelf --wide --sections {} =E2=94=82 @@ -24,15 +24,15 @@ =E2=94=82 [19] .data.rel.ro PROGBITS 0000000000303040 103040= 001140 00 WA 0 0 64 =E2=94=82 [20] .dynamic DYNAMIC 0000000000304180 104180= 000220 10 WA 3 0 8 =E2=94=82 [21] .got PROGBITS 00000000003043a0 1043a0= 000038 08 WA 0 0 8 =E2=94=82 [22] .got.plt PROGBITS 00000000003043d8 1043d8= 000230 08 WA 0 0 8 =E2=94=82 [23] .data PROGBITS 0000000000304640 104640= 006243 00 WA 0 0 64 =E2=94=82 [24] .bss NOBITS 000000000030a8c0 10a883= 0004a0 00 WA 0 0 64 =E2=94=82 [25] .comment PROGBITS 0000000000000000 10a883= 000011 01 MS 0 0 1 =E2=94=82 - [26] .gnu_debuglink PROGBITS 0000000000000000 10a894= 000018 00 0 0 1 =E2=94=82 - [27] .shstrtab STRTAB 0000000000000000 10a8ac= 000106 00 0 0 1 =E2=94=82 + [26] .gnu_debuglink PROGBITS 0000000000000000 10a894= 00001c 00 0 0 1 =E2=94=82 + [27] .shstrtab STRTAB 0000000000000000 10a8b0= 000106 00 0 0 1 =E2=94=82 [28] .symtab SYMTAB 0000000000000000 10a9b8= 00b9b8 18 29 1706 8 =E2=94=82 [29] .strtab STRTAB 0000000000000000 116370= 008ba2 00 0 0 1 =E2=94=82 Key to Flags: =E2=94=82 W (write), A (alloc), X (execute), M (merge), S (strings), l (= large) =E2=94=82 I (info), L (link order), G (group), T (TLS), E (exclude), x (= unknown) =E2=94=82 O (extra OS processing required) o (OS specific), p (processor= specific) =E2=94=9C=E2=94=80=E2=94=80 readelf --wide --hex-dump=3D.gnu_debuglink {} =E2=94=82 @@ -1,5 +1,5 @@ =E2=94=82=20=20 =E2=94=82 Hex dump of section '.gnu_debuglink': =E2=94=82 - 0x00000000 6c696267 63727970 742e736f 2e646562 libgcrypt.so.deb =E2=94=82 - 0x00000010 75670000 ae3c353d ug...<5=3D =E2=94=82 + 0x00000000 6c696267 63727970 742e736f 2e32302e libgcrypt.so.20. =E2=94=82 + 0x00000010 64656275 67000000 ae3c353d debug....<5=3D =E2=94=82=20=20 --8<---------------cut here---------------end--------------->8--- Most likely this is because =E2=80=98strip-dir=E2=80=99 in gnu-build-system= .scm traverses files in unsorted order, and thus can pick one or the other. The other file has a timestamp issue: --8<---------------cut here---------------start------------->8--- $ diffoscope /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-libgcrypt-1.7.0{,-= check}/share/man/man1/hmac256.1.gz --- /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-libgcrypt-1.7.0/share/man/m= an1/hmac256.1.gz +++ /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-libgcrypt-1.7.0-check/share= /man/man1/hmac256.1.gz =E2=94=9C=E2=94=80=E2=94=80 hmac256.1 =E2=94=82 @@ -1,9 +1,9 @@ =E2=94=82 .\" Created from Texinfo source by yat2m 1.0 =E2=94=82 -.TH HMAC256 1 2016-06-13 "Libgcrypt 1.7.0" "Libgcrypt" =E2=94=82 +.TH HMAC256 1 2016-08-03 "Libgcrypt 1.7.0" "Libgcrypt" =E2=94=82 .SH NAME =E2=94=82 .B hmac256 =E2=94=82 \- Compute an HMAC-SHA-256 MAC =E2=94=82 .SH SYNOPSIS =E2=94=82 .B hmac256 =E2=94=82 .RB [ \-\-binary ] =E2=94=82 .I key --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99.