GNU bug report logs - #34227
Non-deterministic GHC build errors

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; Reported by: Ludovic Courtès <ludo@HIDDEN>; dated Sun, 27 Jan 2019 21:54:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 27 Jan 2019 21:53:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 27 16:53:14 2019
Received: from localhost ([127.0.0.1]:48022 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gnsMb-0002Y5-7U
	for submit <at> debbugs.gnu.org; Sun, 27 Jan 2019 16:53:14 -0500
Received: from eggs.gnu.org ([209.51.188.92]:54853)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1gnsMX-0002Xr-RK
 for submit <at> debbugs.gnu.org; Sun, 27 Jan 2019 16:53:10 -0500
Received: from lists.gnu.org ([209.51.188.17]:48601)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1gnsMS-0000U5-Iy
 for submit <at> debbugs.gnu.org; Sun, 27 Jan 2019 16:53:04 -0500
Received: from eggs.gnu.org ([209.51.188.92]:36767)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1gnsMR-0003IA-5M
 for bug-guix@HIDDEN; Sun, 27 Jan 2019 16:53:04 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1gnsMP-0000PL-T9
 for bug-guix@HIDDEN; Sun, 27 Jan 2019 16:53:03 -0500
Received: from hera.aquilenet.fr ([2a0c:e300::1]:36164)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1gnsML-0000NU-G5
 for bug-guix@HIDDEN; Sun, 27 Jan 2019 16:53:01 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 2E5D58058
 for <bug-guix@HIDDEN>; Sun, 27 Jan 2019 22:52:54 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id AMToWuysVev8 for <bug-guix@HIDDEN>;
 Sun, 27 Jan 2019 22:52:53 +0100 (CET)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 560638050
 for <bug-guix@HIDDEN>; Sun, 27 Jan 2019 22:52:53 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Bug Guix <bug-guix@HIDDEN>
Subject: Non-deterministic GHC build errors
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 8 =?utf-8?Q?Pluvi=C3=B4se?= an 227 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Sun, 27 Jan 2019 22:52:52 +0100
Message-ID: <87y375epjf.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a0c:e300::1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: -0.0 (/)
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: -1.0 (-)

Hello,

I=E2=80=99ve noticed something really unexpected: take a Haskell package, s=
ay
=E2=80=98ghc-libmpd=E2=80=99, build it several times (with --rounds or --ch=
eck), and
notice that sometimes it will build successfully, and other times,
you=E2=80=99ll get a compiler error like this:

--8<---------------cut here---------------start------------->8---
Configuring libmpd-0.9.0.9...
phase `configure' succeeded after 0.9 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
running "runhaskell Setup.hs" with command "build" and parameters ()
Preprocessing library for libmpd-0.9.0.9..
Building library for libmpd-0.9.0.9..
[ 1 of 36] Compiling Network.MPD.Core.Error ( src/Network/MPD/Core/Error.hs=
, dist/build/Network/MPD/Core/Error.o )

src/Network/MPD/Core/Error.hs:18:1: warning: [-Wdeprecations]
    Module =E2=80=98Control.Monad.Error=E2=80=99 is deprecated:
      Use "Control.Monad.Except" instead
   |
18 | import           Control.Monad.Error (Error(..))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Network/MPD/Core/Error.hs:48:10: warning: [-Wdeprecations]
    In the use of type constructor or class =E2=80=98Error=E2=80=99
    (imported from Control.Monad.Error, but defined in transformers-0.5.5.0=
:Control.Monad.Trans.Error):
    Deprecated: "Use Control.Monad.Trans.Except instead"
   |
48 | instance Error MPDError where
   |          ^^^^^

src/Network/MPD/Core/Error.hs:48:10: warning: [-Wdeprecations]
    In the use of type constructor or class =E2=80=98Error=E2=80=99
    (imported from Control.Monad.Error, but defined in transformers-0.5.5.0=
:Control.Monad.Trans.Error):
    Deprecated: "Use Control.Monad.Trans.Except instead"
   |
48 | instance Error MPDError where
   |          ^^^^^
[ 2 of 36] Compiling Network.MPD.Core.Class ( src/Network/MPD/Core/Class.hs=
, dist/build/Network/MPD/Core/Class.o )

src/Network/MPD/Core/Class.hs:17:1: warning: [-Wdeprecations]
    Module =E2=80=98Control.Monad.Error=E2=80=99 is deprecated:
      Use "Control.Monad.Except" instead
   |
17 | import           Control.Monad.Error (MonadError)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 3 of 36] Compiling Network.MPD.Util ( src/Network/MPD/Util.hs, dist/build=
/Network/MPD/Util.o )
--8<---------------cut here---------------end--------------->8---

That seems surreal to me.

Thoughts?

Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#34227; 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, 25 Nov 2019 12:00:02 UTC

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