From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iGI8GtfEDWWKHQAAG6o9tA:P1 (envelope-from ) for ; Fri, 22 Sep 2023 18:46:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iGI8GtfEDWWKHQAAG6o9tA (envelope-from ) for ; Fri, 22 Sep 2023 18:46:15 +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 1B0DB46933 for ; Fri, 22 Sep 2023 18:46:15 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=W8CQ+vT8; 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=1695401175; 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: content-transfer-encoding:content-transfer-encoding:resent-to: 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=/DalDzy4ynbfucJ1yGggNUnUQ2XLRLENTveFShMqT0s=; b=mD/BlaYpErnkwAV6RGSWUHJPUa9AZcdknzoASemqCmveLWEi5Lh+cNK+zmAfggQnjhU/0H IQvg98vB4dR1znq9VNynvIZOkz+PhIxmR8xvbM+u/XPdunrhUlcWnMQzYgDXQ3Lsnuax6N nsgTf28Ia/mblythfsb8fiJoonU+b0G8vvE+yaG/7TsMw/pPN5l95ojqpvMowVYJztZyJA Fwwo8fvZdUJeFknp4lRmYHABw97OwbE/yziptl216OVKsvgpTGTEfKShrdIwE7DLhyB5E1 4nqxa8D33HGIqn67utEIcaX1JMzy0dVEMkSaYSkRYdiv4xjBpodSOUxSRSnOsg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695401175; a=rsa-sha256; cv=none; b=hMWPhnbIpweArQTqdUoiqtxOaI8BJiADPNC+O202YY5mN4SxB/mD7px4e3r8yCgo9/uIHx 3ZFLFQ7HyuJZpiJ4QAB0mibmmGZFY24nL1FR64q5aXQILm1GqbNeb/0oKRxYZ8G1ghufmz aES0QYWbh3p6wQ77SCJ/QksdrgYnF/GFt28ZaFjDj6ylDqNQdu3YdKVG+b3pbNJIn5VQEo xC9CoGz1GiBsgxaDCeIOZ888NvhC1KIw6rLQJj5X0zULvqP1trkoQ4nEmgDlgwVBOdoB1Q dwiG7jOPOtjKHadQoZW9UAXrB6t2SDSLwkTZ30sU+rao/C1/FRvRoV4TajvQzQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=W8CQ+vT8; 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) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjjHv-0006m4-VQ; 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 1qjjHs-0006kb-Ps for bug-guix@gnu.org; Fri, 22 Sep 2023 12:45:52 -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-0007TG-Pb for bug-guix@gnu.org; Fri, 22 Sep 2023 12:45:52 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjjI2-0006OI-EY for bug-guix@gnu.org; Fri, 22 Sep 2023 12:46:02 -0400 Subject: bug#32131: ghc fails to compile packages when installed into profile Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Fri, 22 Sep 2023 16:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 32131 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Anonymous Cc: 32131-done@debbugs.gnu.org Mail-Followup-To: 32131@debbugs.gnu.org, zimon.toutoune@gmail.com, mcrfan96@cock.li Received: via spool by 32131-done@debbugs.gnu.org id=D32131.169540115924541 (code D ref 32131); Fri, 22 Sep 2023 16:46:02 +0000 Received: (at 32131-done) by debbugs.gnu.org; 22 Sep 2023 16:45:59 +0000 Received: from localhost ([127.0.0.1]:37220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjjHy-0006NO-9I for submit@debbugs.gnu.org; Fri, 22 Sep 2023 12:45:59 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:41312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjjHu-0006Mu-2K for 32131-done@debbugs.gnu.org; Fri, 22 Sep 2023 12:45:56 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-405101a02bcso8112775e9.1 for <32131-done@debbugs.gnu.org>; Fri, 22 Sep 2023 09:45:43 -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=content-transfer-encoding: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=/DalDzy4ynbfucJ1yGggNUnUQ2XLRLENTveFShMqT0s=; b=W8CQ+vT88SXVo44Uo7sEV9JeIMxfgbsJYsl4bLAJ51n43agEWIL8EbqK5MaR56vSLD oJ0FxvcL5IXLhfwn6QmExg0e3J2quRJqc5q1BuwPxAHQ3Od/fXBie+Pn0JKS3EAvCQSB q4y4HkPOIwq96OOLVAJjAxSH7yu0SkqUOOit2VNJvltFUJTe9q8xs2uj5j3meTGCeIoQ iK0J9uZuBvMUwZv7Hkc14k/N+aSbTlWLRBLMm2JTTd7WY1lH+IOv35PH96Al/GvWTlo7 W3J37C91+w4OgLMDIkbLKozTEn0CJAftRBtZK6GLc33XOMaZeK/29t68Cq8ynYiIB0Hh R7SQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695401137; x=1696005937; h=content-transfer-encoding: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=/DalDzy4ynbfucJ1yGggNUnUQ2XLRLENTveFShMqT0s=; b=SeKional82MCKP0CQSxZarJIFhNzhYMbDRVlUtnaXgwN2oNhy5sdnNN60n8D6XZJXs 9kGcNHzFGD//6o9p+mm8zBoSNC+5+JKFJe0gDsxoFErv3AZw2BzdA23liFH04SlCEpTe 8rlf4Nw5v5iI7auHiIXoz7aVvy2/xmKEvH/Q6ilwRaDUtaaIG3dmWPsCErDWkGL/6s3o bhG4lYtLAisoZmHCP4RAiORku/MILg/AXGkJ4kVp7Ng9miyKpphmqvaKFQ5g44ooJbOB zYHZji5ME59PHlxBhQutjhByxCarS1yS136Y2QVWyow6bFZhW/eGoVyWEgRiYxt2OcXC AG9Q== X-Gm-Message-State: AOJu0Yzz77ftvMBDE7qWSVBdn9pDcNSP+vqqyyw4MnSArJX6tPrGsR70 QzJWabyULZ5pO9Peyh1F3vyJPrkgKbA= X-Google-Smtp-Source: AGHT+IFCfESwR5QgXiVnQ120e+whqx/yjr7P/Gi8TPR73PKP1L8q12T1YiK5S4NF/KnOUE/eta82AQ== X-Received: by 2002:a05:600c:1c20:b0:3fe:21a6:a18 with SMTP id j32-20020a05600c1c2000b003fe21a60a18mr8392521wms.3.1695401137332; Fri, 22 Sep 2023 09:45:37 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id n15-20020a7bcbcf000000b003ff013a4fd9sm5125900wmi.7.2023.09.22.09.45.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 09:45:37 -0700 (PDT) From: Simon Tournier References: <48f7e837-be75-66b2-8535-636f40c62327@cock.li> Date: Fri, 22 Sep 2023 18:13:33 +0200 In-Reply-To: <48f7e837-be75-66b2-8535-636f40c62327@cock.li> (Anonymous's message of "Wed, 11 Jul 2018 22:12:54 -0700") Message-ID: <878r8y89ua.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.14 X-Spam-Score: -5.14 X-Migadu-Queue-Id: 1B0DB46933 X-TUID: 3+QxksjQ7W2w Hi, This old bug #32131, https://issues.guix.gnu.org/issue/32131 is not a bug. It is because gcc-toolchain is missing. On Wed, 11 Jul 2018 at 22:12, Anonymous wrote: > This bug can be reproduced by doing > > =C2=A0=C2=A0=C2=A0 guix package -i ghc > =C2=A0=C2=A0=C2=A0 echo 'main=3Dreturn()' > test.hs > =C2=A0=C2=A0=C2=A0 ghc test.hs > > The expected output is that the program will be compiled, but instead we = get > the error message --8<---------------cut here---------------start------------->8--- $ echo 'main=3Dreturn()' > test.hs $ guix shell -C ghc gcc-toolchain -- ghc test.hs [1 of 1] Compiling Main ( test.hs, test.o ) Linking test ... $ ./test --8<---------------cut here---------------end--------------->8--- Closing. Let me know if I am missing something. Cheers, simon