GNU bug report logs - #48352
Haskell cabal new-build fails

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: Bone Baboon <bone.baboon@HIDDEN>; dated Tue, 11 May 2021 14:26:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 48352) by debbugs.gnu.org; 10 Jun 2021 11:17:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 10 07:17:51 2021
Received: from localhost ([127.0.0.1]:35578 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lrIh5-0007La-Gm
	for submit <at> debbugs.gnu.org; Thu, 10 Jun 2021 07:17:51 -0400
Received: from mail-wm1-f49.google.com ([209.85.128.49]:56295)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1lrIh3-0007LM-2h
 for 48352 <at> debbugs.gnu.org; Thu, 10 Jun 2021 07:17:49 -0400
Received: by mail-wm1-f49.google.com with SMTP id g204so5923495wmf.5
 for <48352 <at> debbugs.gnu.org>; Thu, 10 Jun 2021 04:17:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-transfer-encoding;
 bh=8k8xsHM5PRI3mG2rm8vbm0hOTMDEM3abtn3e8u6kT8I=;
 b=cpaux3VLO4KMrh7TNtkM5FMphi3nQYDX3xJDCzQBgHYWTfCdguSb6ALilUomYKpXZS
 aSbxdaFsfhFmDvs8bOtCkOla2+kY0ULOOwYxMGXW7XCmVjwydcbZabXsERzIA+jz6TVf
 4ixSMfPvaeyQw8jZlymlzfk2ZWAcVMXMZLVh4XxTG9yAnvHXGrEHo48J5Q4duf3LbIkZ
 6LaUyDkIWM62JZt3JMmB/fF1fNFwnAgzKr5OaS9HMQsKrfz6RNt5b0kNuos0KptlGjzM
 oME1NZMyfXjbIMNrXj7wRJCfYtMLyDPDob+oGmBiw9rzdzlALzeI53J+ORF5l6E58poS
 RDHA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=8k8xsHM5PRI3mG2rm8vbm0hOTMDEM3abtn3e8u6kT8I=;
 b=oveV+4Sq6D6fv4oaOHMYuqRLkGL8p0c7yRihvZbo6CJZf7m852/5VI9op7o37WnHKM
 zQYEFgT8+RMqht94WcDbcOxYOmGTsxYkKVWkpDiIQiAJ/OZvckAawRu57GiLeJb17YZe
 QDh/KofzLvZcDDB+WWggpF3ZNY6jTEz3eWpcM3PbS4zOCu6wQtJTqQh2UKvCWf33xH3L
 WR8pGEXyaEkXkkCTbizSpFChBMZRqqJpukawbafZt+h7BqWIjQGL3RxBF3/H/9SXc98w
 MJh+6Uzlsbcxr5RvVOHJsxfQEWdnyUqk2lP5FVMvs4sGBYE98k6L33t/K6FLh3eyT5qg
 IQrQ==
X-Gm-Message-State: AOAM530P1/c8qi3J3P5eFQ6Wj88SJpD9tHJUtd6TxP28cbyAVFxdc3Zq
 D6NTXgdGvSG00YYgaGnKM7uwSoZWrzc=
X-Google-Smtp-Source: ABdhPJxfM1Zu9o35cNiCU5UrcYBs/XhBaW27+JE+tc2iY8uWWuQIjgqr4n37Hmm7r7rjVyL4T6V7zg==
X-Received: by 2002:a05:600c:290:: with SMTP id
 16mr4621993wmk.162.1623323863188; 
 Thu, 10 Jun 2021 04:17:43 -0700 (PDT)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
 by smtp.gmail.com with ESMTPSA id m23sm10886874wml.27.2021.06.10.04.17.42
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 10 Jun 2021 04:17:42 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
To: Bone Baboon <bone.baboon@HIDDEN>
Subject: Re: bug#48352: Haskell cabal new-build fails
References: <87cztxfix7.fsf@HIDDEN>
Date: Thu, 10 Jun 2021 13:10:34 +0200
In-Reply-To: <87cztxfix7.fsf@HIDDEN> (Bone Baboon's message of "Tue, 11
 May 2021 10:23:48 -0400")
Message-ID: <86czsuj7px.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 48352
Cc: 48352 <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: -1.0 (-)

Hi,

On Tue, 11 May 2021 at 10:23, Bone Baboon <bone.baboon@HIDDEN> wrote:
> I am experiencing an error when I try to compile a Haskell program with
> Cabal a Haskell build tool.
>
> Previously I had Cabal working and was able to compile Haskell
> programs.
> https://lists.gnu.org/archive/html/help-guix/2021-04/msg00096.html
>
> Now when I try to build a Haskell program with `cabal new-build` I get
> an error.

Does the John=E2=80=99s message fix the issue?

<https://lists.gnu.org/archive/html/help-guix/2021-04/msg00090.html>

All the best,
simon




Information forwarded to bug-guix@HIDDEN:
bug#48352; Package guix. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 11 May 2021 14:25:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 11 10:25:37 2021
Received: from localhost ([127.0.0.1]:37037 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lgTKL-0006ZX-NV
	for submit <at> debbugs.gnu.org; Tue, 11 May 2021 10:25:37 -0400
Received: from lists.gnu.org ([209.51.188.17]:50338)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bone.baboon@HIDDEN>) id 1lgTKJ-0006ZP-6V
 for submit <at> debbugs.gnu.org; Tue, 11 May 2021 10:25:35 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45962)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bone.baboon@HIDDEN>)
 id 1lgTKI-0004Za-Tw
 for bug-guix@HIDDEN; Tue, 11 May 2021 10:25:34 -0400
Received: from knopi.disroot.org ([178.21.23.139]:45866)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bone.baboon@HIDDEN>)
 id 1lgTKF-0001xZ-I7
 for bug-guix@HIDDEN; Tue, 11 May 2021 10:25:34 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 409C353017
 for <bug-guix@HIDDEN>; Tue, 11 May 2021 16:25:29 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id IwH0JJrHMKYQ for <bug-guix@HIDDEN>;
 Tue, 11 May 2021 16:25:27 +0200 (CEST)
From: Bone Baboon <bone.baboon@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1620743127; bh=IS+QL+JbVANXm4H3yS2dSwW0jsIKaF/OZSdJusNyae0=;
 h=From:To:Subject:Date;
 b=OwvN02nBdl57DUZ4xZvC+AueogE0pga6HytifV8cBGrAPFM+nW2nk0RomzPhf+3d8
 5zx173COhLoGT6bNsOuGs237KzCagMtuFO9KU9raNsciEtnAvsgM3NHgj8mwBuezBt
 WoWs4+V0P7hjuXn82HaKe+3nEZMGUAvojGC6TVkLl4uWg1hF5QuO99A9XQbvKrUaf3
 mom+ZdBtiWqgn0hP45Gn+VYX1jCHG9k3/h14UPM57gxOfPbsGyT9t3w15pTLAeClP1
 YZMfpz8p4R+WyyevEHnyH85EEnjm2wVZ1RbVqN2BELIAtnX3hhLk5rCjvv8TBdCuAl
 4gCubLvrQLZ6w==
To: bug-guix@HIDDEN
Subject: Haskell cabal new-build fails
Date: Tue, 11 May 2021 10:23:48 -0400
Message-ID: <87cztxfix7.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=178.21.23.139;
 envelope-from=bone.baboon@HIDDEN; helo=knopi.disroot.org
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, 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 (--)

I am experiencing an error when I try to compile a Haskell program with
Cabal a Haskell build tool.

Previously I had Cabal working and was able to compile Haskell
programs.
https://lists.gnu.org/archive/html/help-guix/2021-04/msg00096.html

Now when I try to build a Haskell program with `cabal new-build` I get
an error.

`guix describe` outputs:

```
Generation 14   May 11 2021 08:06:01    (current)
  guix bddad00
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: bddad00bffc5837e89942756fa5b7234f63f1f47
```

The error message:

```
Build profile: -w ghc-8.6.5 -O1
In order, the following will be built (use -v for more details):
 - <program>-0.1.0.0 (exe:<program>) (first run)
Preprocessing executable '<program>' for <program>-0.1.0.0..
Building executable '<program>' for <program>-0.1.0.0..
Linking <program-source-code-directory>/dist-newstyle/build/x86_64-linux/ghc-8.6.5/<program>-0.1.0.0/x/<program>/build/<program>/<program> ...

In file included from /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/include/errno.h:28:0: error:
    0,
                     from /gnu/store/5i95kk1qdfvl6ld3hf6a4q7kxw6sgpkv-ghc-8.6.5/lib/ghc-8.6.5/include/rts/OSThreads.h:28,
                     from /gnu/store/5i95kk1qdfvl6ld3hf6a4q7kxw6sgpkv-ghc-8.6.5/lib/ghc-8.6.5/include/Rts.h:168,
                     from /tmp/ghc8802_0/ghc_1.c:1:

/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/include/bits/errno.h:26:11: error:
     fatal error: linux/errno.h: No such file or directory
     # include <linux/errno.h>
               ^~~~~~~~~~~~~~~
   |
26 | # include <linux/errno.h>
   |           ^
compilation terminated.
`gcc' failed in phase `C Compiler'. (Exit code: 1)
```




Acknowledgement sent to Bone Baboon <bone.baboon@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#48352; 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: Thu, 10 Jun 2021 11:30:02 UTC

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