From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EF74JdbEDWXCjwAA9RJhRA:P1 (envelope-from ) for ; Fri, 22 Sep 2023 18:46:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EF74JdbEDWXCjwAA9RJhRA (envelope-from ) for ; Fri, 22 Sep 2023 18:46:14 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6668432D42 for ; Fri, 22 Sep 2023 18:46:14 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=lznwp9RO; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695401174; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=bRCYY/zaosWy2Xa3riZuXFhWEOonLQfeDS7UQOV1P+k=; b=QS58FYM75MrEwgKqxsCWyLjTo9R9bAyi+f6kOlwiC3ttjs4iEGIP1z241Yjs9dE3bYMdG8 9c7WJnFdkaxJNzKMb6ynNYvW6w0IFy7MEldv4F5b0j9MZZVIRthmiM1VXwe6vM7ffLkVm2 YRuNBjYwo8NUURXCGlIovoe4DJ/trYxng+vmkcAeKWcPJAobmibBkq88q1RvlmuHRdY5gr zsbH6l3QMMpY5ggL2p3ot8/CSsj7KpvBHFve1m25hOZcWIC0Pmx8wvPw89nEgJC04YC1zV sLlZdupI6sbmfIpv6gonMf9gnnSbhCDUgM23mE013qI/Ym2Mj2+uexh9LQp7oA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=lznwp9RO; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695401174; a=rsa-sha256; cv=none; b=jdkN2LvrUoB3gpZc4fJlOuXrQK7MjhtcGjAqTos7su5axKLCmhjI8NfUjdSpoK6RzTqd1G tJkXQGMw4kNpyd5AG3RZ52LjgS3ORGp/Zzp4LcCLZnv/Rws1KdJceZxXHRULXje4pGR3lM pXF7jnz9ojeq/jS1q+iQ0x3O6j9LRTQwosBhzQ56qEex2qf08oa82dAm2x8pWt5S0YU7x5 FuXsOgDXGfHGYt6oeH0juFmCJM5JMDwoQXMZxAlMMa+DfQHK4VaBBpi8IKLkpJckROVxHj OM2CDRxALZkWxUz1W9+ZGpZlfiMdVt76iIU3jqEXtYgDAghlxIAiLmmW2XR8nw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjjHv-0006lV-Az; Fri, 22 Sep 2023 12:45:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjjHr-0006jJ-MG for bug-guix@gnu.org; Fri, 22 Sep 2023 12:45:51 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjjHr-0007T5-ED for bug-guix@gnu.org; Fri, 22 Sep 2023 12:45:51 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjjI1-0006O8-SH for bug-guix@gnu.org; Fri, 22 Sep 2023 12:46:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#34850: ghc compiling error Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 22 Sep 2023 16:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34850 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: mikadoZero Cc: Tobias Geerinckx-Rice , 34850@debbugs.gnu.org Received: via spool by 34850-submit@debbugs.gnu.org id=B34850.169540115924547 (code B ref 34850); Fri, 22 Sep 2023 16:46:01 +0000 Received: (at 34850) by debbugs.gnu.org; 22 Sep 2023 16:45:59 +0000 Received: from localhost ([127.0.0.1]:37222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjjHz-0006Nm-Ct for submit@debbugs.gnu.org; Fri, 22 Sep 2023 12:45:59 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:38161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjjHt-0006Mt-GV for 34850@debbugs.gnu.org; Fri, 22 Sep 2023 12:45:57 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4047ef37f55so7641975e9.1 for <34850@debbugs.gnu.org>; Fri, 22 Sep 2023 09:45:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695401137; x=1696005937; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=bRCYY/zaosWy2Xa3riZuXFhWEOonLQfeDS7UQOV1P+k=; b=lznwp9ROuYhKodwCETwPCDV3fDesyz3NGAKiBzwcAIUq1/D/fdueF1b6NiFehuo6Es QRnC0a2bm13k+ianUcvNBwHWmXHQLkgPg2+QHQsMlo01M+ZyOenyt/8/g2MaOktZAlzP pijunnBrJru0mlF2f7ZcH4SYcFxMXG4nkivX0LjMQccPzJHo4zzRbEVUmWJIoPWu/2Bp NeCzuFk47Ir+cczts67h30W/ESx+6WgknBVELN92skH3oxAHQm5w+VaXk078ttGQkfBz n0lvGfDFJuLFkoReC5UQttnMZsuKQM0mYhjsYMpYdyIzFMqto4DLui7X36fYryXZzVYx opAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695401137; x=1696005937; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=bRCYY/zaosWy2Xa3riZuXFhWEOonLQfeDS7UQOV1P+k=; b=dO4vzdOTlJAVp10qwGDGGWUO6t2jlw6v1QXiwec/J3Tr9tJfI8NCEg37TQxpwHwq/U snDUSTJsAgoG4c5Zg3sGBNx6Co6I59+54r5s6nByUijqeCsEMvsfskY0SA6Q+zPo8cqu mAt3bcNofp1c+ROd0HtYkseZ9WesZnqMuNIPwJ0Ae1agTzOSk2tvskP3nlITYRBlVPwV x/luKfXAL7bk3I2/S7n9iBiVI+mTD9hMWiCxkHB1Eab6E3hBYmL5+jluCcH35osMkHBK Fj5huIp+wBlBT4HhF/gdNBb8Av1NguO71URbCowX/O9z4D+vMBF3sKPwPzXpQr8jJPqZ odEQ== X-Gm-Message-State: AOJu0YyKSL5m8L8Ii0IvGXQR2m6onaZsm8bmsErCZx3q7XL8dWPmQ4qX gf1qQonUmun5jz5Yn6Y4FUgw3FJw65o= X-Google-Smtp-Source: AGHT+IGVJOBNFNYRLRspsBEb+VcACHS966q1dTZR8wD+1p12QpRU0YqwPOtsjzBOYmmeIavi0mdgbQ== X-Received: by 2002:a05:600c:358d:b0:3fe:d46a:ef4b with SMTP id p13-20020a05600c358d00b003fed46aef4bmr8249850wmq.1.1695401136576; Fri, 22 Sep 2023 09:45:36 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id n6-20020a1c7206000000b003fe4ca8decdsm7962856wmc.31.2023.09.22.09.45.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 09:45:36 -0700 (PDT) From: Simon Tournier References: <87tvg64chq.fsf@nckx> Date: Fri, 22 Sep 2023 18:09:53 +0200 In-Reply-To: (mikadozero@yandex.com's message of "Wed, 13 Mar 2019 21:27:54 -0400") Message-ID: <87bkdu8a0e.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.10 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 6668432D42 X-Spam-Score: -5.10 X-TUID: IVhkR3f0TD7S Hi, It is about this old bug #34850 [1]. 1: https://issues.guix.gnu.org/issue/34850 On Wed, 13 Mar 2019 at 21:27, mikadoZero wrote: >>> `guix describe` >>> guix fd4c7a0 >>> repository URL: https://git.savannah.gnu.org/git/guix.git >>> branch: master >>> commit: fd4c7a098a508c1de7a8513c0f3d88d5a0df12e7 [...] >>> ```haskell >>> main = putStrLn "hello, world" >>> ``` >>> >>> Then I tried to compile it with ghc. I get this error. >>> >>> `ghc Main` [1 of 1] Compiling Main >>> ( Main.hs, Main.o ) >>> gcc: error trying to exec 'as': execvp: No such file or directory >>> `gcc' failed in phase `Assembler'. (Exit code: 1) Using recent Guix, I get: --8<---------------cut here---------------start------------->8--- $ guix describe Generation 28 Sep 06 2023 14:54:50 (current) guix 6113e05 repository URL: https://git.savannah.gnu.org/git/guix.git commit: 6113e0529d61df7425f64e30a6bf77f7cfdfe5a5 $ echo 'main = putStrLn "hello, world"' > foo.hs $ cat foo.hs main = putStrLn "hello, world" $ guix shell -C ghc gcc-toolchain -- ghc foo.hs [1 of 1] Compiling Main ( foo.hs, foo.o ) Linking foo ... $ ./foo hello, world --8<---------------cut here---------------end--------------->8--- Can we close this bug report? Do you still have that issue? Cheers, simon