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: Fri, 09 Sep 2016 16:30:50 +0200 Message-ID: <87k2el5en9.fsf@gnu.org> References: <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]:51458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biMqZ-0002W1-24 for bug-guix@gnu.org; Fri, 09 Sep 2016 10:32:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biMqY-0004LV-1M for bug-guix@gnu.org; Fri, 09 Sep 2016 10:32:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biMqX-0004LR-V1 for bug-guix@gnu.org; Fri, 09 Sep 2016 10:32:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1biMqX-0003Qh-O6 for bug-guix@gnu.org; Fri, 09 Sep 2016 10:32:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <878twe7k1z.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 03 Aug 2016 02:50:00 +0200") 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 ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > 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): > > $ diffoscope /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-libgcrypt-1.7.0= /lib/libgcrypt.so.20.1.0 /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-libgc= rypt-1.7.0-check/lib/libgcrypt.so.20.1.0=20 > --- /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-libgcrypt-1.7.0/lib/libgc= rypt.so.20.1.0 > +++ /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-libgcrypt-1.7.0-check/lib= /libgcrypt.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 1030= 40 001140 00 WA 0 0 64 > =E2=94=82 [20] .dynamic DYNAMIC 0000000000304180 1041= 80 000220 10 WA 3 0 8 > =E2=94=82 [21] .got PROGBITS 00000000003043a0 1043= a0 000038 08 WA 0 0 8 > =E2=94=82 [22] .got.plt PROGBITS 00000000003043d8 1043= d8 000230 08 WA 0 0 8 > =E2=94=82 [23] .data PROGBITS 0000000000304640 1046= 40 006243 00 WA 0 0 64 > =E2=94=82 [24] .bss NOBITS 000000000030a8c0 10a8= 83 0004a0 00 WA 0 0 64 > =E2=94=82 [25] .comment PROGBITS 0000000000000000 10a8= 83 000011 01 MS 0 0 1 > =E2=94=82 - [26] .gnu_debuglink PROGBITS 0000000000000000 10a8= 94 000018 00 0 0 1 > =E2=94=82 - [27] .shstrtab STRTAB 0000000000000000 10a8= ac 000106 00 0 0 1 > =E2=94=82 + [26] .gnu_debuglink PROGBITS 0000000000000000 10a8= 94 00001c 00 0 0 1 > =E2=94=82 + [27] .shstrtab STRTAB 0000000000000000 10a8= b0 000106 00 0 0 1 > =E2=94=82 [28] .symtab SYMTAB 0000000000000000 10a9= b8 00b9b8 18 29 1706 8 > =E2=94=82 [29] .strtab STRTAB 0000000000000000 1163= 70 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 (process= or 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 > > Most likely this is because =E2=80=98strip-dir=E2=80=99 in gnu-build-syst= em.scm > traverses files in unsorted order, and thus can pick one or the other. This issue was fixed in =E2=80=98core-updates=E2=80=99, commit ff43e353a1920a47a763024cd0682f2dc805964b. Ludo=E2=80=99.