GNU bug report logs - #50031
gcc-core-mesboot1 may not be deterministic

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Thiago Jung Bauermann <bauermann@HIDDEN>; merged with #45962; dated Thu, 12 Aug 2021 19:20:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 50031 <at> debbugs.gnu.org:


Received: (at 50031) by debbugs.gnu.org; 20 Sep 2021 07:11:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 20 03:11:24 2021
Received: from localhost ([127.0.0.1]:40861 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mSDSW-0002Re-3H
	for submit <at> debbugs.gnu.org; Mon, 20 Sep 2021 03:11:24 -0400
Received: from eggs.gnu.org ([209.51.188.92]:49532)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1mSDST-0002RN-NL
 for 50031 <at> debbugs.gnu.org; Mon, 20 Sep 2021 03:11:22 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:51562)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1mSDSO-0004dS-7J; Mon, 20 Sep 2021 03:11:16 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35878 helo=ribbon)
 by fencepost.gnu.org with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1mSDSN-0007LO-V4; Mon, 20 Sep 2021 03:11:16 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Thiago Jung Bauermann <bauermann@HIDDEN>
Subject: Re: bug#50031: gcc-core-mesboot1 may not be deterministic
References: <3505331.lUEJ2uQ5fA@popigai>
Date: Mon, 20 Sep 2021 09:11:13 +0200
In-Reply-To: <3505331.lUEJ2uQ5fA@popigai> (Thiago Jung Bauermann's message of
 "Thu, 12 Aug 2021 16:19:37 -0300")
Message-ID: <87k0jbrab2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50031
Cc: 50031 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Thiago,

Thiago Jung Bauermann <bauermann@HIDDEN> skribis:

> Using Guix from both the =E2=80=98master=E2=80=99 branch=C2=B9 and from t=
he =E2=80=98core-updates-frozen=E2=80=99
> branch=C2=B2, the following command fails:
>
> $ guix build --check \
>     -e '(@@ (gnu packages commencement) gcc-core-mesboot1)=E2=80=99
>     =E2=8B=AE
> guix build: erro: derivation `/gnu/store/qbnxfv7v7288iisl44kccz68k0pv9qdi=
-gcc-core-mesboot1-4.6.4.drv' may not be deterministic: output `/gnu/store/=
rn3qvn67nraicabvlrx1rhw6nsjrpgpx-gcc-core-mesboot1-4.6.4' differs
>
>
> During the stripping phase, there are many of these warnings, which may be
> related:
>
> starting phase `strip'
> stripping binaries in "/gnu/store/rn3qvn67nraicabvlrx1rhw6nsjrpgpx-gcc-co=
re-mesboot1-4.6.4/lib" with "strip" and flags ("--strip-debug" "--enable-de=
terministic-archives")
> strip: unrecognized option `--enable-deterministic-archives'

This was discussed in <https://issues.guix.gnu.org/45962>.  There=E2=80=99s=
 the
beginning of a patch there that needs to be adapted to avoid depending
on xz at this early stage, I think.

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#50031; Package guix. Full text available.
Merged 45962 50031. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Aug 2021 19:19:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 12 15:19:58 2021
Received: from localhost ([127.0.0.1]:39927 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mEGFC-00076T-1X
	for submit <at> debbugs.gnu.org; Thu, 12 Aug 2021 15:19:58 -0400
Received: from lists.gnu.org ([209.51.188.17]:59684)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bauermann@HIDDEN>) id 1mEGF9-00076G-7e
 for submit <at> debbugs.gnu.org; Thu, 12 Aug 2021 15:19:57 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55930)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bauermann@HIDDEN>)
 id 1mEGF7-00072b-Fz
 for bug-guix@HIDDEN; Thu, 12 Aug 2021 15:19:54 -0400
Received: from mx.kolabnow.com ([95.128.36.40]:16394)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bauermann@HIDDEN>)
 id 1mEGF4-0001d4-HA
 for bug-guix@HIDDEN; Thu, 12 Aug 2021 15:19:52 -0400
Received: from localhost (unknown [127.0.0.1])
 by ext-mx-out003.mykolab.com (Postfix) with ESMTP id 3BE1341889
 for <bug-guix@HIDDEN>; Thu, 12 Aug 2021 21:19:46 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h=
 content-type:content-type:content-transfer-encoding:mime-version
 :message-id:date:date:subject:subject:from:from:received
 :received:received; s=dkim20160331; t=1628795985; x=1630610386;
 bh=pQp0f0HiLN/9ZejzTrCLQYYRMWSnjtyUC2jrr3ReM4s=; b=6BNTwbucF1qW
 QkjV8GIv17zXdmf1Iw6z8BBNbGcBVHnVhmM/aJcNR9SFhAVVp7RyXg8bbQ7BIl40
 U5+ygNeXojZkPC5K4MBxbDgrNuJT9ZbwRO6KCS9o6Nh9Kqwp6x5rvQsrw+7UzVX6
 P4lY73jSRPB424nUSuSeI7f5FlFt3QQCmawwEioNkAfX7JzxJ0kbwX2NvZgWHwt/
 VEj7jfldGDJExUjfB8dwJw/rJDF/Uwq8Ki0VL6NmLfn65MeFNoj6JkMyxu5OppNj
 dXiITSxkOaYiazP8DUPL68fcFD5+Ddp1JGEhTCNquTZYXGkknW+BHLeLDZj+loxT
 aIZLLB0otQ502PTNQF1kF/112iiuerYPnPQhjmGyMGOnT1RAEz40ys6GR5c3oJWa
 WIMJKBzccisz9PV8v4ecgo6hjrhFKQuFtFGAwZLgO5bG6uM0ia5kMbU6QSWUdC11
 2SNIgwSvCVJ28LKmh5FBhf6NYPdSX3kc68I3t7CtdcJ5a2TtB06gAzwqRwecypo1
 46JKdDIYGTruI4p/F0WbQ3MBcPu2D/1UQhT4BpevjeGli9jjLXn6tIAajZiOVNhQ
 ibbwjou04EDiUYtF6jJZEUR4JjFTSLRoYZIvo+ww4NNh1CvXDE2DLEW2YcaHJS23
 8yfgNLA5UqNxo4JC15gjv3Oek3dGx+8=
X-Virus-Scanned: amavisd-new at mykolab.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5
 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
Received: from mx.kolabnow.com ([127.0.0.1])
 by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id zBHIh3XQIY5I for <bug-guix@HIDDEN>;
 Thu, 12 Aug 2021 21:19:45 +0200 (CEST)
Received: from int-mx001.mykolab.com (unknown [10.9.13.1])
 by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id B0B3540F55
 for <bug-guix@HIDDEN>; Thu, 12 Aug 2021 21:19:45 +0200 (CEST)
Received: from ext-subm002.mykolab.com (unknown [10.9.6.2])
 by int-mx001.mykolab.com (Postfix) with ESMTPS id 87FBA80C
 for <bug-guix@HIDDEN>; Thu, 12 Aug 2021 21:19:43 +0200 (CEST)
From: Thiago Jung Bauermann <bauermann@HIDDEN>
To: Bug Guix <bug-guix@HIDDEN>
Subject: gcc-core-mesboot1 may not be deterministic
Date: Thu, 12 Aug 2021 16:19:37 -0300
Message-ID: <3505331.lUEJ2uQ5fA@popigai>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=95.128.36.40; envelope-from=bauermann@HIDDEN;
 helo=mx.kolabnow.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Hello,

Using Guix from both the =E2=80=98master=E2=80=99 branch=C2=B9 and from the=
 =E2=80=98core-updates-frozen=E2=80=99
branch=C2=B2, the following command fails:

=2D-8<---------------cut here---------------start------------->8---
$ guix build --check \
    -e '(@@ (gnu packages commencement) gcc-core-mesboot1)=E2=80=99
    =E2=8B=AE
guix build: erro: derivation `/gnu/store/qbnxfv7v7288iisl44kccz68k0pv9qdi-g=
cc-core-mesboot1-4.6.4.drv' may not be deterministic: output `/gnu/store/rn=
3qvn67nraicabvlrx1rhw6nsjrpgpx-gcc-core-mesboot1-4.6.4' differs
=2D-8<---------------cut here---------------end--------------->8---

During the stripping phase, there are many of these warnings, which may be
related:

=2D-8<---------------cut here---------------start------------->8---
starting phase `strip'
stripping binaries in "/gnu/store/rn3qvn67nraicabvlrx1rhw6nsjrpgpx-gcc-core=
=2Dmesboot1-4.6.4/lib" with "strip" and flags ("--strip-debug" "--enable-de=
terministic-archives")
strip: unrecognized option `--enable-deterministic-archives'
Usage: strip <option(s)> in-file(s)
 Removes symbols and sections from files
 The options are:
  -I --input-target=3D<bfdname>      Assume input file is in format <bfdnam=
e>
  -O --output-target=3D<bfdname>     Create an output file in format <bfdna=
me>
  -F --target=3D<bfdname>            Set both input and output format to <b=
fdname>
  -p --preserve-dates              Copy modified/access timestamps to the o=
utput
  -R --remove-section=3D<name>       Remove section <name> from the output
  -s --strip-all                   Remove all symbol and relocation informa=
tion
  -g -S -d --strip-debug           Remove all debugging symbols
     --strip-unneeded              Remove all symbols not needed by relocat=
ions
  -N --strip-symbol=3D<name>         Do not copy symbol <name>
  -K --keep-symbol=3D<name>          Only copy symbol <name>
  -x --discard-all                 Remove all non-global symbols
  -X --discard-locals              Remove any compiler-generated symbols
  -v --verbose                     List all object files modified
  -V --version                     Display this program's version number
  -h --help                        Display this output
     --info                        List object formats & architectures supp=
orted
  -o <file>                        Place stripped output into <file>
strip: supported targets: elf32-i386 a.out-i386-linux efi-app-ia32 elf32-li=
ttle elf32-big srec symbolsrec tekhex binary ihex trad-core
=2D-8<---------------cut here---------------end--------------->8---

=2D-=20
Thanks,
Thiago


=C2=B9 commit eb0abba3877c0caeac24d0f9c71f31420dba8d6b
=C2=B2 commit a3fc64e4f159b601c18d091713f9c76c01b010aa






Acknowledgement sent to Thiago Jung Bauermann <bauermann@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#50031; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 20 Sep 2021 07:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.