From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id SBR9Da3AMWQaiAAASxT56A (envelope-from ) for ; Sat, 08 Apr 2023 21:29:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QHZfDa3AMWQs0gAAauVa8A (envelope-from ) for ; Sat, 08 Apr 2023 21:29:49 +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 D36042F0B2 for ; Sat, 8 Apr 2023 21:29:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1plEFS-0002IU-On; Sat, 08 Apr 2023 15:29:18 -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 1plEFR-0002II-3y for help-guix@gnu.org; Sat, 08 Apr 2023 15:29:17 -0400 Received: from mail-qv1-xf2e.google.com ([2607:f8b0:4864:20::f2e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1plEFP-0007qQ-HJ for help-guix@gnu.org; Sat, 08 Apr 2023 15:29:16 -0400 Received: by mail-qv1-xf2e.google.com with SMTP id ly9so4464729qvb.5 for ; Sat, 08 Apr 2023 12:29:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680982154; x=1683574154; 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=97sHIqd/iTZbt72MnIxMVDQtV9n+GNzlkN4/ShB8MXE=; b=OknkimxntTTZVML5iTCcO8/Hf36sOuzNQrT9OT6d7fw/JvxgT8qCtYCXK0QQqs2U+m Nf659Py/jy9zA8BtcKFQjbbC/8qMOwKuRjOkyaOhnXAV4+Pt0kVAFKAkYsDgE19p9WbD DRZ6JExN2gp5DuwF+D2WeCzTTBhiPXXbp1nhcAwQy+QVkd/IK0AtBs+AVqzKxzlyvGkB ElR6/TiMI9FfK6ZO8yDUXhMumzOet4TNyWW/cGsgQnOV0cZydl47Ci9A/yKg8EKkO4Ig NPM8RQI/1+SifJ6G16GrXqzD0s2ebyZHPRGIHAV1b6g9NpZwSDBRGNy8nCCyl0QIAX70 8Itg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680982154; x=1683574154; 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=97sHIqd/iTZbt72MnIxMVDQtV9n+GNzlkN4/ShB8MXE=; b=V7iZ/NK8eYrMirSRBsBNjhns9fQPAH23++V/+kgFSw4vsIe/qq6OyHKI/+sU0/MqDC x5s6O4ywQ74vySNs7a9/2zFTHekz22Si/0VlP+Xr2AXYOx6/3C0UeafXCiwo3fSjCVPy 6l0DHx5b5GjTzz3/VCKhY1cKrXLp9JFWbQpJGVt3WVK+C/HYOC+nhBnyz/WQNw8nCiqK zlPEUdQrtd6eX9ngWR4KkevQPQtcQESR00Q1geuQcxgU5hYYnCFhg9BP+oV7Fgz3mb3g GZSdiXUQqGw04y2DgCS/xtBcWkYWMnVmun8FsXlSgVFCgDqiyh7ZfdIrpKDuUFxbjSzE A41g== X-Gm-Message-State: AAQBX9cMbhiOVQYMycg9lyxvWMGp0jLTI8Cl7POjU8wCvZUikx7hJahL CD7oexI6SyI08p0htIUUxe2fkph8j4s= X-Google-Smtp-Source: AKy350aonpOMzIu66D1iVkW91VixHMHuN8nbnbEe/0ODG6AQdtwA+6LllA4i/b/aMunZnxFl3CaNtw== X-Received: by 2002:a05:6214:27c5:b0:5ba:168d:d3fc with SMTP id ge5-20020a05621427c500b005ba168dd3fcmr10375886qvb.4.1680982154258; Sat, 08 Apr 2023 12:29:14 -0700 (PDT) Received: from hurd (dsl-205-233-125-210.b2b2c.ca. [205.233.125.210]) by smtp.gmail.com with ESMTPSA id lr2-20020a0562145bc200b005dd8b9345b4sm2247316qvb.76.2023.04.08.12.29.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Apr 2023 12:29:13 -0700 (PDT) From: Maxim Cournoyer To: Reza Housseini Cc: help-guix@gnu.org Subject: Re: Strange error when adding module gnu/packages/engineering References: <2f4c5155-c382-4126-83e9-466cb4110aae@gmail.com> <878rihotpp.fsf@gmail.com> <1569ff4e-8437-dc7a-7204-4ad149d322ac@gmail.com> <87v8ljmuf4.fsf@gmail.com> <8a28046e-196c-d68f-6408-cd5adce3b7f8@gmail.com> Date: Sat, 08 Apr 2023 15:29:12 -0400 In-Reply-To: <8a28046e-196c-d68f-6408-cd5adce3b7f8@gmail.com> (Reza Housseini's message of "Wed, 22 Mar 2023 21:36:27 +0100") Message-ID: <87r0surx4n.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f2e; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf2e.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, 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-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680982188; a=rsa-sha256; cv=none; b=ovnEJL1NXVq9p7rwnHDTqgSiA2HTxLgQiVJXuGoB7TvzTVDQEdUjcEoS3NuGqB8Q+G+JwI M2ZLmFCdRxWo9RW5DrXy+fmywq6sc8hb9nbEW/HkT2czXO5vdk4u/3wkoraEFT3k1GVwpx gij0Rj7JB97LGsoTjTR0O7ixoBqdb0rw04cBo+VXJemTAuysXhtBgDoBNOjJxO+EuCfjc8 CQmwNDQXNgEqg+4abunqrOotmv156rX3BzH7s4jcI37pA36d8/umYyk8LMrz0ywTktD/ue Ygsu76d2FgA/pRiB16zsN+DQRjwWXtpWIq2lVxK/ENOU7G7aaKzlqOkhMcgbUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Oknkimxn; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680982188; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=97sHIqd/iTZbt72MnIxMVDQtV9n+GNzlkN4/ShB8MXE=; b=C+Rq76XMzSXWKxtniXaJ/2/so8ETF92UXCQvN6wdynK1uFDTTP/lBpYmtDD3AIoa5prYtj AcaBuAgVzKVwCY/klxvzv8W+kY7P3qTqsfVq+Ehj+8HD77Fm7bFHN7HCKEahM1RB++2gaL jfp7/2QJ3D+6JnNquBYVkbYIxXpjKxzTMCR3Avx9thGkHW2Hwm7Hm4ZYV/BXFABxH5JuR8 /pJT3jEPnbX/L72CyDY5RxhKu8YA2165VFNXnDkJiHHjAVuvYStA47HCCqXMkGjOkVB6hr BTGtbFkNhxv2i7dn+JZng2t31iaFMPUTDMHab4Vk/Q0fT5JLbSK/CRg6IoMLxg== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Oknkimxn; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.95 X-Spam-Score: -4.95 X-Migadu-Queue-Id: D36042F0B2 X-TUID: txRL1tV1Qbl2 Hi Reza, Reza Housseini writes: >> Thinking more about it, since this a new module, there shouldn't be any >> recursive dependency problem. >> Probably you are missing some #:use-module at the top of your new >> module. I'd start minimal and see what works, and evaluate the package >> at the REPL for more accurate messages perhaps. > > I could boil it down a bit: when commenting out `#:use-module (gnu > packages commencement)` in gnu/packages/engineering.scm the error > vanishes but the freehdl package in module engineering does not build > anymore (due to gcc-toolchain missing). > Is there a cycle inside module commencement? Seems really strange to me? That's a tell sign of a Guile module top-level circular dependency. I think the usual way to work around that is usually to resort to use (@ (gnu packages toolchain) gcc-toolchain) in place of the input, so that importing it at the top level is not necessary (the evaluation of inputs is delayed, eliminating the cycle). I hope that helps, -- Thanks, Maxim