From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kEaPKxfFDWWKjwAAG6o9tA:P1 (envelope-from ) for ; Fri, 22 Sep 2023 18:47:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kEaPKxfFDWWKjwAAG6o9tA (envelope-from ) for ; Fri, 22 Sep 2023 18:47:19 +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 1ECB95D1B1 for ; Fri, 22 Sep 2023 18:47:19 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=gE4uEnuQ; 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=1695401239; 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-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=i4X+1EcPJpfFkuIB1QY46dS43vxMzkFK6QMuUJyoo1U=; b=Jpnhn663M/ZVqntICptYTcfQ4izGpebANHdoeNpaNy7UZuVcO9pul47q1z5dgW0iKqhgNT jPH3GZF+Hxy1UwWGGDzpVhU+GZKczh12+jz+VPgBycwVmkujhSsZZLzUpmLAkBQBn7qf/C sVnOHPiBLzbtQOCwh6J1FxxjAA1ei25+JkpEQfG3YFJlDftduf7IUDSkRGychNKmg/LXbg BraUnTkgClw9T7NkchCzTK1bVkVTRJ65K0FKUZh6xx/9P0QqTPQ7Ng0JpZmb/tN58Y6DXx pQDv54WKzBnisBZN/dTDRn9sfVUkUy/P0/+NPdq52zOGvI9oCWVB9B+t0ZIXEQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695401239; a=rsa-sha256; cv=none; b=kmoudR7bVM3csxVY9PMd6aMKPcRstLsAqFYIWCuuFyQQOodnCSKMZ7PrVwtxjm92xO1yn/ W80jBDOdUB4GSTwP2a65Er3AnxbUzoP+dMPDNV2OmkOcQtJik/VoujFlELNFW89jZzIS3r jaYcEr4qjUYbJANdB4m6M/2BWESOgGSU1Q0Kxx7bXhW1vC/D0QvblD11HqC9TQyFbXYxoz jjpuIPcDnBb4kpRs4Y24aeP5ml3cdWKpTsthozNsVi7wk/NC/IhOUSZH+wI0hhFOAaKbx6 2Vp6PKgIWa4ddH5aY+XnHdwnXrTCezGRzcT+pIM259YzsnsRu1j32oq8YDq/ug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=gE4uEnuQ; 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 1qjjIv-0008D3-Si; Fri, 22 Sep 2023 12:46:57 -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 1qjjIq-0008AP-Pj for bug-guix@gnu.org; Fri, 22 Sep 2023 12:46: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 1qjjIq-0007el-GW for bug-guix@gnu.org; Fri, 22 Sep 2023 12:46:52 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjjJ1-0006R3-53 for bug-guix@gnu.org; Fri, 22 Sep 2023 12:47:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55178: ghc cannot find libraries of ghc-comonad Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 22 Sep 2023 16:47:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55178 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Lars-Dominik Braun Cc: 55178@debbugs.gnu.org, christoph.schumacher@mathematik.tu-dortmund.de Received: via spool by 55178-submit@debbugs.gnu.org id=B55178.169540116924623 (code B ref 55178); Fri, 22 Sep 2023 16:47:03 +0000 Received: (at 55178) by debbugs.gnu.org; 22 Sep 2023 16:46:09 +0000 Received: from localhost ([127.0.0.1]:37231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjjI8-0006Oz-Hl for submit@debbugs.gnu.org; Fri, 22 Sep 2023 12:46:08 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:39077) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjjHx-0006N3-Ld for 55178@debbugs.gnu.org; Fri, 22 Sep 2023 12:45:58 -0400 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-3224c229d31so343649f8f.0 for <55178@debbugs.gnu.org>; Fri, 22 Sep 2023 09:45:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695401141; x=1696005941; 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=i4X+1EcPJpfFkuIB1QY46dS43vxMzkFK6QMuUJyoo1U=; b=gE4uEnuQVVyTMvz1nApFoSlm55bBKKi3EHjgP6pxEH886tenVs15NdoR5LP6PdvT6H oJ6aV8BrZGMuTo5JObCcOOQ/dkxzRSfPSdB8YAh0oz8vThY44WcoFVUVNYe6Sup6whDS nkCMGAS+O2M9nIaET+dm8hKLusWBel1A74KbePtneeX5pjV/vN23zYTTltldziOYAz48 unyROwIrZWhPoRHLcp6KO3cOTanVRvq21EXlP7yq3eTY4spjD7QlWzZLkouDRi5sjNXo eXw95CbTJvUArudZc+G4Ke2n9fIdm8qRi0fcCwqfk2cHUeZuWhNU8AwYu8kTUJ37B7Ka SOsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695401141; x=1696005941; 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=i4X+1EcPJpfFkuIB1QY46dS43vxMzkFK6QMuUJyoo1U=; b=JfE8d+p3/DHaNFkGvdW3qtVIyLxSQ/6xrHkljW6MHBM0Q9G4KncdUX6p8jtxY0YT2P 4oPbjWRIxt4KuIvkit6p4KHOyt0/OqbLHFJfxt/ixBSz6KkHYkKBYVDH1gS2TAPW5wOL 2fsyU2VYmARpyBYq3BAffqjPtpvSN/tbcdkLtbrc/OCFGMG0l/6cbYLLAXTJuFOcL+hl UVhXDBJHgJA8SsZriyqSuwPyC/bu605I5IlOSzg8U2ezOs2NZEeB1dZyLBQwMOXpKkvT 9JKDZy7cyuiyDsgpGD8K+rB10H9L9XRJz7J2bMdweoA4EF0sm7BvnYeXMTWbx+ybj+3o SZtQ== X-Gm-Message-State: AOJu0YwxYHSLZoB5Lfwdwitds9HWcT+kodx71Kege5m4cVjTp48mqBZJ o4NlAbNoZO175MERzGuOsTslJa2I8EQ= X-Google-Smtp-Source: AGHT+IFtaU63EsLyePFtM6TiSJmDsFwhardOmC02PsKoQosU3/DnIDZseqD1qeNiWx1W7b78jJpz0w== X-Received: by 2002:adf:d087:0:b0:320:b1e:7e6c with SMTP id y7-20020adfd087000000b003200b1e7e6cmr155934wrh.3.1695401141176; Fri, 22 Sep 2023 09:45:41 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id y7-20020adfd087000000b00317f70240afsm4801881wrh.27.2023.09.22.09.45.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 09:45:40 -0700 (PDT) From: Simon Tournier References: <27d96a4a345b1d66cb4108dbfa27e79e@mathematik.tu-dortmund.de> Date: Fri, 22 Sep 2023 18:45:04 +0200 In-Reply-To: (Lars-Dominik Braun's message of "Sat, 21 Jan 2023 13:49:29 +0100") Message-ID: <87wmwi6ttb.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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 2.72 X-Migadu-Spam-Score: 2.72 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Queue-Id: 1ECB95D1B1 X-TUID: IJdC+N/1dxoh Hi Christoph, On Sat, 21 Jan 2023 at 13:49, Lars-Dominik Braun wrote: >> guix shell --pure ghc ghc-comonad gcc-toolchain -- ghc LinkMe.hs >> [1 of 1] Compiling Main ( LinkMe.hs, LinkMe.o ) >> Linking LinkMe ... >> ld: cannot find -lHScomonad-5.0.8-KDPzf2kORSz9Qeif8nQH6d >> ld: cannot find -lHStransformers-compat-0.6.6-9ADqfwGTALm8Nq2ZeUpa4p >> ld: cannot find -lHSindexed-traversable-0.1.1-Dfr00dUbJtB3rFEVdhtcE9 >> ld: cannot find -lHSdistributive-0.6.2.1-L7rr3EplzD03NITUnJxmCO >> ld: cannot find -lHStagged-0.8.6.1-EiQY3za6Q5HE9cdvqupke2 >> ld: cannot find -lHSbase-orphans-0.8.5-Iz1X6ZIULaHC76vf03czEu >> collect2: error: ld returned 1 exit status >> `gcc' failed in phase `Linker'. (Exit code: 1) > > the problem here is that in Guix we link Haskell executables dynamically > and sometimes move static libraries to a separate output without updating > the config file (because otherwise it would create a reference, which > we=E2=80=99re trying to avoid to save space). > > It works fine for me using > > guix shell --pure ghc ghc-comonad gcc-toolchain@10 -- ghc --make -dynami= c -v LinkMe.hs Does it fix your issue report in #55178? https://issues.guix.gnu.org/issue/55178 Closing? Cheers, simon