From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas Schmitt" Subject: bug#33639: ISO installer image is broken on i686 Date: Mon, 15 Apr 2019 10:16:03 +0200 Message-ID: <3082867220863987596@scdbackup.webframe.org> References: <87h8b0i7ol.fsf@gnu.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFwlb-0004L1-Ji for bug-guix@gnu.org; Mon, 15 Apr 2019 04:15:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFwla-0001qa-IS for bug-guix@gnu.org; Mon, 15 Apr 2019 04:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48726) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hFwla-0001qO-FH for bug-guix@gnu.org; Mon, 15 Apr 2019 04:15:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87h8b0i7ol.fsf@gnu.org> 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: bug-xorriso@gnu.org Cc: 33639@debbugs.gnu.org Hi, I wrote: > > If all files and directories have the same names and the same content, > > then xorriso runs with the same arguments and the same SOURCE_DATE_EPO= CH > > value are supposed to create byte-identical result ISOs. Ludovic Court=C3=A8s wrote: > I=E2=80=99ve tried setting it but that doesn=E2=80=99t make any differen= ce. We should investigate this ... ... yes, there is some problem. But not always. Timestamps of the root directory differ after mapping to an address that is not the ISO root directory (here: /x): xorriso -outdev test.iso -map x /x xorriso -outdev test2.iso -map x /x but not after mapping to the root directory: xorriso -outdev test.iso -map x / xorriso -outdev test2.iso -map x / This would explain why my tests for Debian ISOs do not show this problem. Do i get it right that gnu/build/vm.scm maps no files to "/" but all to deeper paths: "etc=3D/tmp/root/etc" "var=3D/tmp/root/var" "run=3D/tmp/root/run" I am unsure about "-path-list" "-" I will now dig into the source to find the reason and maybe a preliminary remedy. > How did you visualize differences, Florian? (I'm aware that i am not Florian.) I made myself a little program "hxd" for combined hex-cleartext-decimal du= mp, positional diff, and (not to be focused too much) CD-Text decoding. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D $ export SOURCE_DATE_EPOCH=3D$(date +%s) $ xorriso -outdev test.iso -map x /x ... xorriso : NOTE : Environment variable SOURCE_DATE_EPOCH encountered with v= alue 1555311212 ... $ xorriso -outdev test2.iso -map x /x ... xorriso : NOTE : Environment variable SOURCE_DATE_EPOCH encountered with v= alue 1555311212 ... $ hxd -diff test.iso test2.iso 32944 : 15 7 38 43 0 2 0 0 1 0 0 1 1 0 32 = 32 & + 000080b0 : 0f 07 26 2b 00 02 00 00 01 00 00 01 01 00 20 = 20 ### 000080b0 : 0f 07 26 36 00 02 00 00 01 00 00 01 01 00 20 = 20 & 6 32944 : 15 7 38 54 0 2 0 0 1 0 0 1 1 0 32 = 32 ... more differences ... =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D It looks like the root directory got the current timestamp. The other differences are with the ".." directory entries of the directories in the first level under "/". The source of "hxd" is pure C, no special dependencies, 8141 bytes. Shall i upload it somewhere ? Have a nice day :) Thomas