From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 22 21:15:09 2021 Received: (at submit) by debbugs.gnu.org; 23 Mar 2021 01:15:09 +0000 Received: from localhost ([127.0.0.1]:59182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOVdU-0005OU-Tu for submit@debbugs.gnu.org; Mon, 22 Mar 2021 21:15:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:56202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOUgD-0003wW-TF for submit@debbugs.gnu.org; Mon, 22 Mar 2021 20:13:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOUgD-0006ah-MP for bug-guix@gnu.org; Mon, 22 Mar 2021 20:13:53 -0400 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]:33421) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOUgB-0008Uv-Jy for bug-guix@gnu.org; Mon, 22 Mar 2021 20:13:53 -0400 Received: by mail-ej1-x62b.google.com with SMTP id k10so24198721ejg.0 for ; Mon, 22 Mar 2021 17:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=AiiYZwTH3oSem0JzmfUMSLtoUzYuDF1hT7mLle3YtOQ=; b=KsNLayAC1uFWnWKVfx4mNfFay0zK/4K8DPm0FkIP+BOSnp3a0I6RCz2E6k5Eeo/HTq Kqtr3qDR9B/refH12XTKOsSja1dJRe4N56rH28qzb+Q3YF7eump1ooJNrDVbsu/MbPhG WSjACdF0LHcQ6Gn01tFsM9eJRx/ybPgMAEUHRhv/o66M/6B8Yo6/GXVVIABEE+PHG9Hx MWHaVtVsO7+DQoPHsprHiBwyrK/8WaSbgL++je/nNjNIJAwu+CFGxdbGx8Yt7eZD8Mn7 mWCgOCbaF7J7ZZdQUsTOHGd/HGyMtcmm1kJyZkVtxpQ9PBB5IcuTpG5v5rLZ3V3f/hZE 7BTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=AiiYZwTH3oSem0JzmfUMSLtoUzYuDF1hT7mLle3YtOQ=; b=stzOgKf3wWZ5NPhxE3f2Ua7hCa17SOl5Vw0WBGohvOh9nG3dBhHzBniq9RekuUQb7y Q/g8x2qGlLMQqgtwtaRPvORckfAFHUSANtHWCfuW3p9EaYjGFaZFSt9yBH4dYe+LAKJ/ Fa+LDQvtx0/dVEtvPGp0ue/GMMCUI3smxxVWllpARRdVHPN1xoJQKsFlQky2thLlSXh8 Geikiox8g45Ofw37q7ecbd76Wz/DDKo/b2Rp4RrRsw2m07deDCh03lPlhh/NWIl19Sjb djZd7cpaAbi9Y4JCMmVMPt7nDbofYaQ3TaIh8GYiuAs/xmdR2vMEqgAW8mpTcoWZsPRi HXAg== X-Gm-Message-State: AOAM531CFStEw0GUyioTtLHAjhmm3WlED7ULc2PdS/faQDu15faq5jU1 HAdVN6HhqqEU1xqDLFbPZiD3iKo9p5W8iSBtLKkIg1e9+5M= X-Google-Smtp-Source: ABdhPJwX/1fLWomSFZiaqVNTTYwhn/+39yGZGYyi0vwKMRmxZMVVt6WkOsFu+FBV7YETji/GKkdZIv4WZtTdCV39+gk= X-Received: by 2002:a17:906:3ac3:: with SMTP id z3mr2303203ejd.106.1616458426802; Mon, 22 Mar 2021 17:13:46 -0700 (PDT) MIME-Version: 1.0 From: Charlie Ruppe Date: Tue, 23 Mar 2021 00:13:36 +0000 Message-ID: Subject: xmonad fails to recompile on guix system To: bug-guix@gnu.org Content-Type: multipart/alternative; boundary="00000000000052e7bc05be290e1b" Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=ruppe.charlie@gmail.com; helo=mail-ej1-x62b.google.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 22 Mar 2021 21:15:07 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --00000000000052e7bc05be290e1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Package: guix Version: 1.2.0-17.ec7fb6 I am trying to recompile xmonad with a fairly simple xmonad.hs The package itself builds, installs, and runs correctly, but it throws errors when recompiling my configuration. Configuration is very short but is pasted here: http://paste.debian.net/1190543/ The same error is thrown when attempting to compile xmonad with ghc directly, and inside and out of xmonad's build environment. The following is the error that is printed when attempting to recompile xmonad from within the build environment for xmonad within the directory ~/.xmonad/ containing xmonad.hs [env]$ xmonad --recompile XMonad will use ghc to recompile, because "/home/fever/.xmonad/build" does not exist. Error detected while loading xmonad configuration file: /home/fever/.xmonad/xmonad.hs xmonad.hs:1:1: error: Could not find module =E2=80=98XMonad=E2=80=99 Perhaps you meant DsMonad (needs flag -package-key ghc-8.6.5) Use -v to see a list of the files searched for. | 1 | import XMonad | ^^^^^^^^^^^^^ xmonad.hs:2:1: error: Could not find module =E2=80=98XMonad.Config.Desktop=E2=80=99 Use -v to see a list of the files searched for. | 2 | import XMonad.Config.Desktop | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Please check the file for errors. xmonad: xmessage: executeFile: does not exist (No such file or directory) --00000000000052e7bc05be290e1b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Package: guix
Version: 1.2.0-17.ec7fb6

I am trying to recompile xmonad with a fairly simple x= monad.hs
The package itself builds, installs, and runs correctly,= but it throws errors when recompiling my configuration. Configuration is v= ery short but is pasted here: = http://paste.debian.net/1190543/

The same = error is thrown when attempting to compile xmonad with ghc directly, and in= side and out of xmonad's build environment.

The following is the error that is printed when attempting to recompile = xmonad from within the build environment for xmonad within the directory ~/= .xmonad/ containing xmonad.hs

[env]$ xmonad --= recompile
XMonad will use ghc to recompile, because "/home/fever/.x= monad/build" does not exist.
Error detected while loading xmonad co= nfiguration file: /home/fever/.xmonad/xmonad.hs=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0

xmonad.hs:1:1: error:
=C2=A0=C2=A0=C2=A0 Coul= d not find module =E2=80=98XMonad=E2=80=99
=C2=A0=C2=A0=C2=A0 Perhaps yo= u meant DsMonad (needs flag -package-key ghc-8.6.5)
=C2=A0=C2=A0=C2=A0 U= se -v to see a list of the files searched for.
=C2=A0 |
1 | import XM= onad
=C2=A0 | ^^^^^^^^^^^^^

xmonad.hs:2:1: error:
=C2=A0=C2=A0= =C2=A0 Could not find module =E2=80=98XMonad.Config.Desktop=E2=80=99
=C2= =A0=C2=A0=C2=A0 Use -v to see a list of the files searched for.
=C2=A0 |=
2 | import XMonad.Config.Desktop
=C2=A0 | ^^^^^^^^^^^^^^^^^^^^^^^^^^= ^^

Please check the file for errors.

xmonad: xmessage: execut= eFile: does not exist (No such file or directory)
--00000000000052e7bc05be290e1b-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 26 02:48:09 2021 Received: (at 47335) by debbugs.gnu.org; 26 Jul 2021 06:48:09 +0000 Received: from localhost ([127.0.0.1]:49793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7uPJ-0006BA-68 for submit@debbugs.gnu.org; Mon, 26 Jul 2021 02:48:09 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:25006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7uPE-0006Aa-RX for 47335@debbugs.gnu.org; Mon, 26 Jul 2021 02:48:07 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4GY9V63j9rzQk90; Mon, 26 Jul 2021 08:47:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1627282076; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nc/pdtSZw09o3oC+4Yfb/oQkYoAMRVYweZm4UCnB/P0=; b=UcYFmlePOXvRJaDmU06c5mpVfenvaD0XpYqCojVlLggP+KsgIglEYi7jznPCJ57pWbjxFQ SlRuW0PW234Txl4e7Fyxbm6wMG0za9QTYLRvff/9GPE7BfAMS6Qvm3FX80Ig82Tu00eJQ/ 3Ddi5znHTY15wxgOOK//kejaTJ5O8y0CPHIEXCJIKwGUsO7BAYahvJPCg176UNdsSUl8RN PJVO8YdgGeclJz+b/Y73PBAw7D+/vV33u5r/8DhM690fLAg/L82AH53iyHMLp4asiHPscU /rrORtqGRL7JbqWWyo3IIQ1ykXlwsDkantsj2tQXdHzejk/zS7vF2499lxyCOQ== Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id yFvJilX-vjs9; Mon, 26 Jul 2021 08:47:55 +0200 (CEST) Date: Mon, 26 Jul 2021 08:47:53 +0200 From: Lars-Dominik Braun To: Charlie Ruppe Subject: Re: xmonad fails to recompile on guix system Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: A5786189C X-Rspamd-UID: 0953cc X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47335 Cc: 47335@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, I’m seeing the same issue, but it works when explicitly installing ghc@8.6. Looking at haskell-build-system all Haskell libraries are currently built with version 8.6, whereas the newest GHC version available (and thus installed by `guix install`) is 8.8. I feel that either xmonad should depend on the correct GHC or all GHC versions not used to build libraries should be hidden to avoid this situation. Lars From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 01 14:09:28 2021 Received: (at 47335) by debbugs.gnu.org; 1 Aug 2021 18:09:28 +0000 Received: from localhost ([127.0.0.1]:36946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAFtw-0007Jb-MS for submit@debbugs.gnu.org; Sun, 01 Aug 2021 14:09:28 -0400 Received: from mx1.riseup.net ([198.252.153.129]:46478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAFtt-0007JL-OV for 47335@debbugs.gnu.org; Sun, 01 Aug 2021 14:09:27 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4Gd8KX0XtVzDq7d; Sun, 1 Aug 2021 11:09:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1627841360; bh=WLmC5EhQd1Ua/MXKfpftYQG1B0+oDDNMcrllOM/1Wus=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=XcuHhhJPn0kjQbxTbK6qWUEHP85YD6bsFLbSu0g917tXrWSnnZ9MySsjh3tu9yC5U AbB4XnGUeYEQyLbZKVg/P8H2jBnn1a8eMkCC5saBodCHLFXnL9XT5fcUTDmScR2cXL ghDyfnoAP8K13R+X7M/GZ4FOgr3DTg6CJ3MHImyQ= X-Riseup-User-ID: 24D6A490ED8582E3A448ABA3D0423A33F8E13F49A40567BA5DABC3A48E34E12A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4Gd8KT6qgPz5vY8; Sun, 1 Aug 2021 11:09:17 -0700 (PDT) Date: Sun, 1 Aug 2021 19:51:35 +0200 From: raingloom To: Lars-Dominik Braun Subject: Re: bug#47335: Hide GHC not used for building Was: xmonad fails to recompile on guix system Message-ID: <20210801195135.49063b16@riseup.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47335 Cc: Charlie Ruppe , 47335@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Mon, 26 Jul 2021 08:47:53 +0200 Lars-Dominik Braun wrote: > Hi, >=20 > I=E2=80=99m seeing the same issue, but it works when explicitly installing > ghc@8.6. Looking at haskell-build-system all Haskell libraries are > currently built with version 8.6, whereas the newest GHC version > available (and thus installed by `guix install`) is 8.8. >=20 > I feel that either xmonad should depend on the correct GHC or all > GHC versions not used to build libraries should be hidden to avoid > this situation. >=20 > Lars >=20 >=20 >=20 >=20 I'd be very much in favor of the latter, or maybe rename it to ghc-next. I have some profiles ghc pinned to a version and upgrading those is always a mess because Guix tries to build the old version from source instead of using the next version. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 15 03:42:53 2021 Received: (at 47335-done) by debbugs.gnu.org; 15 Sep 2021 07:42:53 +0000 Received: from localhost ([127.0.0.1]:50745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQPZF-0007kr-9b for submit@debbugs.gnu.org; Wed, 15 Sep 2021 03:42:53 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]:63944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQPZD-0007kd-D1 for 47335-done@debbugs.gnu.org; Wed, 15 Sep 2021 03:42:52 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [80.241.60.233]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4H8XHm6JcFzQkBD; Wed, 15 Sep 2021 09:42:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1631691763; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZnN6OoW6hzd+vgkS+G+lWv36cGg3obLVOTK6YkCha3U=; b=A58fPlgSoUsUQRh/xMrwlwlWbppvh9n+UzdTU5Y/cfDs3S1D3sK88cGCTqqhmPtdtMBCsm c+Mr1ppT7HwFc77cGFc6whLoVFIhGkt2JjyGuGYQCLIElGmRzDIj4yWTT8ZtnWRabu+5yd gS83SPZoIvV1eHMeMGAPojPfph48YvDjIvCWro5S9WQB97PZjFIrL1l/NtFolg5CdQnMu8 X6HakjSqSmVw6dwEDmwdLwFzAHyt3xMrVX/zhuow85RCyGtpyoc1yCFdT6slRY/r3bv9cz hYwycK6191MZ8DaoFTmxyvDCHva77w8WOFQGfwglRDS0kHlKklMw1zGwwv5Vhg== Date: Wed, 15 Sep 2021 09:42:39 +0200 From: Lars-Dominik Braun To: raingloom Subject: Re: bug#47335: Hide GHC not used for building Was: xmonad fails to recompile on guix system Message-ID: References: <20210801195135.49063b16@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210801195135.49063b16@riseup.net> X-Rspamd-Queue-Id: B197C2A7 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47335-done Cc: Charlie Ruppe , 47335-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, > I'd be very much in favor of the latter, or maybe rename it to ghc-next. > I have some profiles ghc pinned to a version and upgrading those is > always a mess because Guix tries to build the old version from source > instead of using the next version. I renamed ghc@8.8 to ghc-next in commit 39b43d0d0428474a1d0bf58779d0135163b9c6e3. Cheers, Lars From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 15 04:59:09 2021 Received: (at 47335) by debbugs.gnu.org; 15 Sep 2021 08:59:09 +0000 Received: from localhost ([127.0.0.1]:50856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQQl3-0001GQ-LI for submit@debbugs.gnu.org; Wed, 15 Sep 2021 04:59:09 -0400 Received: from mail-qv1-f46.google.com ([209.85.219.46]:46006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQQl2-0001G8-Ah; Wed, 15 Sep 2021 04:59:08 -0400 Received: by mail-qv1-f46.google.com with SMTP id w9so1406834qvs.12; Wed, 15 Sep 2021 01:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+7vtm2CcQ2DAB1mH+RTkzIDAilKTy4pQ0+jjUfUs7iM=; b=Qd9xKdj0+r9w3he0DNvJT6RX9aYEXEaJnC53vUWohU4UjueZ24EjL9umEvyk8wx5yF imnbqrjw/FF/AjPGzOPHWOxI8M83NxFKxrQGSDl4X3S+UDChZL7ZQcIjVnS3klgCLOct S4Gh/aSrJGG/L+sJc9DGCpyTzlLQRuMi4W3rpc9KwmSSUX++HCUCFBDaHAcXfxadetcy 1OWmmmANM4075wY8E0oDpPdSZtaCNTTt3gdehiFZ/surSP6a/fvo45kvwML6pmWRA2BD 8wmM3KdXIXnSmk8XSSM+WwKGNVfSWL4A2o3L5sQKvIa/yG6DjIisWgu2HLNXT81fwIiu XIBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+7vtm2CcQ2DAB1mH+RTkzIDAilKTy4pQ0+jjUfUs7iM=; b=XOkfq0hrcHAg7HotNyNq5t34m6p9TsHR9BWo3oM2/FgLbtgPz2COuA7AoxON6xNFNY pRHiZqNCP16ugQVTFHRyN5a/r+SkzR0aCnj/lZKUcRNsXgQ0C2MN/ub2zoILhDntWrCx L29zAq1WvDPFv6tc+C56uFXqopVorzMwQ1omuiuNLqWpxFqhIWytWM+FdRAJ3dDGZ9Jc CeTFeeIIT6W4dPAJ3CZYpYSJNfmLTPo5v2Sxz445a5YHK0bvXSSuposzLdHxioHssQhd 2ptfLNHUqBgYfj3cTvwcxOh7g2PZ14OCHorehK29hwcdUYVtQSR1h7HT9tFfrLOXaBjM 16OA== X-Gm-Message-State: AOAM532OT+2gR+m5byT6qG0rzbszjSKKqZjNP+1Qu5G/lCKg3o0/Y0ty GaVCBOUDgeQ8ngkIjlqDgHMWllfwauDyaDV43KKJ+bbO X-Google-Smtp-Source: ABdhPJxjkbge9wOKWYZdSPXcGL1W0Pli9l+R1ad4eycoQwN8mNE+U/GNqrKK7JKCPVHPiOKWkPB+kBEEWZ//5jXLI7Y= X-Received: by 2002:a0c:8d0f:: with SMTP id r15mr9692710qvb.1.1631696342564; Wed, 15 Sep 2021 01:59:02 -0700 (PDT) MIME-Version: 1.0 References: <20210801195135.49063b16@riseup.net> In-Reply-To: From: zimoun Date: Wed, 15 Sep 2021 10:58:51 +0200 Message-ID: Subject: Re: bug#47335: Hide GHC not used for building Was: xmonad fails to recompile on guix system To: 47335@debbugs.gnu.org, Lars-Dominik Braun , ruppe.charlie@gmail.com Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47335 Cc: raingloom , 47335-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Wed, 15 Sept 2021 at 09:43, Lars-Dominik Braun wrote: > > I'd be very much in favor of the latter, or maybe rename it to ghc-next. > > I have some profiles ghc pinned to a version and upgrading those is > > always a mess because Guix tries to build the old version from source > > instead of using the next version. > > I renamed ghc@8.8 to ghc-next in commit > 39b43d0d0428474a1d0bf58779d0135163b9c6e3. Well, I am late to the party and probably out of point but I think this '-next' is not something we should introduce and generalize. Well, who knows if these '-next' will be the real next. ;-) My comment is also about guile-next, emacs-next and python-next. Noting that gcc-toolchain does not have a '-next'; packages are built using 7.5.0 but "guix install gcc-toolchain" will install 11.2.0 and then it could lead to the same issue as the one reported with GHC, I guess. Instead of this '-next' trick, we should find a better mechanism where "guix install ghc" would install the default GHC used by the Haskell build-system. Idem for the others guile-next, python-next etc.. And any other version should be installed using the explicit mention, i.e., "guix install ghc@8.8", IMHO. Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 15 07:03:04 2021 Received: (at 47335) by debbugs.gnu.org; 15 Sep 2021 11:03:04 +0000 Received: from localhost ([127.0.0.1]:50990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQSgy-0004en-86 for submit@debbugs.gnu.org; Wed, 15 Sep 2021 07:03:04 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:54132 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQSgu-0004eA-Ff; Wed, 15 Sep 2021 07:03:02 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1631703770; bh=+s8JoRCg81wa3CgvVrQLW3cnI6kniUt2pvmn97+hCvg=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=UrVBlfzVQNzjajR6qAczyaYsudV3vg3siTBfHUJYQWOBEgQLEOuTjc3O+679UDsBO ixegImB/xU4ts83Ng/VX+HT9IuMXqevjSHvJAlsQCMApaOY+PeOhvOpn3CiX9t3ma4 DBtl/x7QDzyRZL4lEiCKDh0diePop1L1ziDwpBaI= To: zimoun , 47335@debbugs.gnu.org, Lars-Dominik Braun , ruppe.charlie@gmail.com Subject: Re: bug#47335: Hide GHC not used for building Was: xmonad fails to recompile on guix system In-Reply-To: References: <20210801195135.49063b16@riseup.net> Date: Wed, 15 Sep 2021 13:02:47 +0200 Message-ID: <87v932rtig.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Wed, Sep 15 2021, zimoun wrote: > Hi, > > On Wed, 15 Sept 2021 at 09:43, Lars-Dominik Braun wrote: > >> > I'd be very much in favor of the latter, or maybe rename it to ghc-next. >> > I have some profiles ghc pinned t [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps X-Debbugs-Envelope-To: 47335 Cc: 47335-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Wed, Sep 15 2021, zimoun wrote: > Hi, > > On Wed, 15 Sept 2021 at 09:43, Lars-Dominik Braun wrote: > >> > I'd be very much in favor of the latter, or maybe rename it to ghc-next. >> > I have some profiles ghc pinned t [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, Sep 15 2021, zimoun wrote: > Hi, > > On Wed, 15 Sept 2021 at 09:43, Lars-Dominik Braun wrote: > >> > I'd be very much in favor of the latter, or maybe rename it to ghc-nex= t. >> > I have some profiles ghc pinned to a version and upgrading those is >> > always a mess because Guix tries to build the old version from source >> > instead of using the next version. >> >> I renamed ghc@8.8 to ghc-next in commit >> 39b43d0d0428474a1d0bf58779d0135163b9c6e3. > > Well, I am late to the party and probably out of point but I think > this '-next' is not something we should introduce and generalize. > Well, who knows if these '-next' will be the real next. ;-) My > comment is also about guile-next, emacs-next and python-next. Noting > that gcc-toolchain does not have a '-next'; packages are built using > 7.5.0 but "guix install gcc-toolchain" will install 11.2.0 and then it > could lead to the same issue as the one reported with GHC, I guess. > > Instead of this '-next' trick, we should find a better mechanism where > "guix install ghc" would install the default GHC used by the Haskell > build-system. Idem for the others guile-next, python-next etc.. And > any other version should be installed using the explicit mention, > i.e., "guix install ghc@8.8", IMHO. Agreed, but I guess using the =E2=80=98-next=E2=80=99 suffix was be the eas= iest workaround for now. Maybe running =E2=80=98guix install ghc=E2=80=99 should install the GHC pac= kage that the =E2=80=98ghc=E2=80=99 variable refers to. Then this would not only apply t= o language ecosystems, but all packages in general. Right now running =E2=80=98guix install rsync=E2=80=99 installs the =E2=80=98rsync-next=E2=80=99 package, b= ut I would expect it to install the package that the =E2=80=98rsync=E2=80=99 variable is bound t= o. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmFB0tcVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5DvgP/jHDAgzWeOjfRQ8hYqc+ULnmRRv5 a5Ycmo3ACmJrLbH5ZiM5WV6dKPO5CnB0f6KIxz2VESPvM7MNmMZSJn2AIR1MdTch O49LUmzcOxlbzQY4TP6onuAVcLgT6gqXWCquho3QAzEm1t1WQ0JMZzKj6ZRpqCnw TkIrnMUOdoa00M7a2TR/JxF2FCRyKdwrskpyWAdmfLFjs2jNWhZDphHcc19+pWSy PyTQY+5gvFhizNxke8QIMULMMbOOZ99MpzF7G9pL6QhgQjeAlgvL36v0SfLT6946 vF5/7K8a6JeBqp6BG5boXb+mjxIboAqrfUfY7YbTQeIAZMFIvxcBhnpiHIO55+/9 uyssZ0WVS62ePdN1guSUuobBiYp9nmIapwdSI8To0fR8RS7eTnsROxW4plZi1dBX F0wP0WYkp1P3WGsQXoNYrfz8kAwWdGipsyUmNPYbEpmrztBMYDvlJAw3zOiseBDB Evn9e6XBX9VGmLN7W0aUzM4qucOeqhGXmVjrFfd+qXX2v4GYxWyhTZe6tEniW4/G czNC37MG3eyJG00YGHKQVcynbfAjsTIEg2hzHh9NKypa1cxzbN+/ozPzalMHSs9Z NutFy9n7MghKWBLwoO20ojG/i72voBVk3jxXDjZUpxvT7Ee6lBLVErfnADcJ2Tvo +Etjqf7vnFI+o/BH =v3eC -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 15 10:02:38 2021 Received: (at 47335) by debbugs.gnu.org; 15 Sep 2021 14:02:38 +0000 Received: from localhost ([127.0.0.1]:52777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQVUk-0005Sv-9T for submit@debbugs.gnu.org; Wed, 15 Sep 2021 10:02:38 -0400 Received: from mail-qk1-f173.google.com ([209.85.222.173]:33590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQVUg-0005Sd-MU; Wed, 15 Sep 2021 10:02:36 -0400 Received: by mail-qk1-f173.google.com with SMTP id b64so3571803qkg.0; Wed, 15 Sep 2021 07:02:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=JW8d1uAXho5eLxadVegRCDy+nPG3bLrzixdb1RNjQLs=; b=cHyEfeRPmd8cwXTyoi/ShErMKaEFPTClozxaz+KD1cnCJpAHg4Gb31Udhpp/OkDuzR cfoFKlLkz9L9uxE6n8gHOl96UTFfrjJuITHlcatw0XTw327tpq7gNNjCglPzKexB8Cw8 2mL+rUMh9j1S6STIrLn52blA8Nffpxvo880FoEBTerW8hVjlfyRpJYNRJ/AXjeyfISVU TzMZrZ9dtikpS2c0dhZg0BMTTvUc7eqbJKUdW0u1IbeITwdoUcK6TnPlrjPau+jnGpb+ DdUB+j9TLsVcYhx/DNqPmSVcP/UBKdcPYEiIldtf6ILIn34QF3MB/ghbNC3I7B2O4k1T 9XBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=JW8d1uAXho5eLxadVegRCDy+nPG3bLrzixdb1RNjQLs=; b=fgYmdMSeOvFu3FLt1dozdsqUHpC9pdrnhn+kFF6KIIP22VSkejKzorJIWSJP6QZUxc NFU2vyAu1xgFjaBePq4+3WqXb1BSOeZwAbW5t5uyXNXBET2gNBGbiN9CzWS19vd1CLXk yGSQzhyLWJZWUovAsbbVbmt9UywsnqtfuQIQ+/GKncUoUhqHozq7Nn2j699sH0jFTQBx dKeNpW+NrBgq1U6bwjI4SoKKXtPbdowrdXbs9S4LFQMil8pvbqI9dVLyBJE5pbD3mr6H MK0LUVJrCVP8MTxDaqTL2MaqCfy8UUnn6ztIggIrpph/9Enyo7wG9esEIznfftpS0CiX GXGA== X-Gm-Message-State: AOAM531Dgk4qjR0KKPPrRNjEB4ruE4m2jLeGV+0oos2i+7QlPcghI0Qg GGdJP/yg2t41HujDBoPkt07MzM8EVb44H7O6rTE= X-Google-Smtp-Source: ABdhPJwvoRAvpE868DEUzlv0BiAqyq5bVw0ZZvv5Wqg9hguFbG1PDqz0L7ADAk6haYL7mOtIBYdWWVDnxQl3kAeM65I= X-Received: by 2002:a37:652:: with SMTP id 79mr56052qkg.197.1631714549164; Wed, 15 Sep 2021 07:02:29 -0700 (PDT) MIME-Version: 1.0 References: <20210801195135.49063b16@riseup.net> <87v932rtig.fsf@yoctocell.xyz> In-Reply-To: <87v932rtig.fsf@yoctocell.xyz> From: zimoun Date: Wed, 15 Sep 2021 10:08:45 +0200 Message-ID: Subject: Re: bug#47335: Hide GHC not used for building Was: xmonad fails to recompile on guix system To: Xinglu Chen Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 3.1 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, On Wed, 15 Sept 2021 at 13:02, Xinglu Chen wrote: > Agreed, but I guess using the ‘-next’ suffix was be the easiest > workaround for now. Content analysis details: (3.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zimon.toutoune[at]gmail.com) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.222.173 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.222.173 listed in list.dnswl.org] X-Debbugs-Envelope-To: 47335 Cc: ruppe.charlie@gmail.com, Lars-Dominik Braun , 47335@debbugs.gnu.org, 47335-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, On Wed, 15 Sept 2021 at 13:02, Xinglu Chen wrote: > Agreed, but I guess using the ‘-next’ suffix was be the easiest > workaround for now. Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.222.173 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.222.173 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zimon.toutoune[at]gmail.com) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Hi, On Wed, 15 Sept 2021 at 13:02, Xinglu Chen wrote: > Agreed, but I guess using the =E2=80=98-next=E2=80=99 suffix was be the e= asiest > workaround for now. Yeah but more than often, the workarounds remain longer than expected and thus they cannot be considered as workaround. ;-) > Maybe running =E2=80=98guix install ghc=E2=80=99 should install the GHC p= ackage that the > =E2=80=98ghc=E2=80=99 variable refers to. Then this would not only apply= to language > ecosystems, but all packages in general. Right now running =E2=80=98guix > install rsync=E2=80=99 installs the =E2=80=98rsync-next=E2=80=99 package,= but I would expect it > to install the package that the =E2=80=98rsync=E2=80=99 variable is bound= to. Well, the name has to be distinguished from the symbol. The symbol name does not matter from a CLI point of view; and usually not so much from a regular user perspective. What really matters, IMHO, is the name and the version. Basically, "guix install foo" will install the latest version of the package 'foo'. To avoid this, the trick is to tweak to the name of the latest version. It is what happens with 'rsync'; so to be in agreement with the '-next' approach, the name should be 'rsync-next' and not 'rsync'. Anyway, we all agree that something is odd. :-) Cheers, simon From unknown Sat Jun 21 03:28:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 14 Oct 2021 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator