From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EGHeCiEMt2NJ+wAAbAwnHQ (envelope-from ) for ; Thu, 05 Jan 2023 18:42:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4HP3CSEMt2OETgAAG6o9tA (envelope-from ) for ; Thu, 05 Jan 2023 18:42:57 +0100 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 C4027A432 for ; Thu, 5 Jan 2023 18:42:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDTU8-0007Jq-Fa; Thu, 05 Jan 2023 11:52:56 -0500 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 1pDTU1-0007EC-AX for help-guix@gnu.org; Thu, 05 Jan 2023 11:52:50 -0500 Received: from lepiller.eu ([2a00:5884:8208::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDTTy-0003WH-Tb for help-guix@gnu.org; Thu, 05 Jan 2023 11:52:48 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 2b2b97e6; Thu, 5 Jan 2023 16:52:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=0w4msjXR1Rpg SyMXtZsRQ2rUfcZ180OU4Cn7wPqN4YI=; b=W4jXz0lyFg//Cn8V9hkbDsl1AAPR nlYSPNHiFtq9y/cwyizjFs4xXAid0LoJABiGNXYFf2Ee+akqcuLBWp1UJuyIsRuh ypdeEVAhYUTTN4D4acUEnfQe4G+HQGv5hkIoTJWK2J2IxqEXr49fnUodvCHp7Hxa I8Cxt/Q2cebM47J3hn+MnOnheHP8CbIlugsPeJ9PHO7/XVDwzn8gSJ7Urh5lkJDL NtWM9d5rjqLwtdw9yL3+rcneVYbx2JLV6zJdEn6IQYdDfboF21wwudzpQE8eB4fm 3rur3F9HBMXvtWXzVxZG2pl2tab1vpfG76QWV1w/xcRXKWdMa+IPY0kiVQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 38f81093 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 5 Jan 2023 16:52:40 +0000 (UTC) Date: Thu, 05 Jan 2023 17:52:37 +0100 From: Julien Lepiller To: help-guix@gnu.org, Reza Housseini Subject: Re: Strange error when adding module gnu/packages/engineering User-Agent: K-9 Mail for Android In-Reply-To: <2f4c5155-c382-4126-83e9-466cb4110aae@gmail.com> References: <2f4c5155-c382-4126-83e9-466cb4110aae@gmail.com> Message-ID: <87371E38-B546-4F91-BEC7-0BCA73E7823B@lepiller.eu> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu 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, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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=1672940576; a=rsa-sha256; cv=none; b=tMJKfNncXUMV2rtJlpq9K17PyKbn9XklFooBj/MWbplRWyoBSNO4B6mx85cQjlX6kPLdtv rEbHBSRXnFzwVciDeSj7XZr3d7pl4V7mrHL8YAZx5sf3Wzw0iWbkmb8Tq3nsZCTUxrzCln zlEzHeNLkcQ7uNWbDbbCaR5zeRUD6sdGNmXSMxCeJRnhYLrowomSUnidMPIHevwuVrME6V qQmUwn2B4mPrxw2JTSP7qdZA/Xsp2YpHZRtX0b/Sl5jjNo1ESAjkFf487H9Jf/OejgFwJK XqnhXIEDtjtbCbjwG5siopo99h9AfebYwPcuI4/BB8xD2iUbuvdVWlVjCSuxSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=W4jXz0ly; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672940576; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=EIqap0GSsykWqFOjD4JnVScvKG4fapo2MY2ZALyZiaM=; b=IAeYvRO0lQyv5PVFiNJ/NdaA/M3z7fI0912tnwJ7XLS8/nggGcSaQe7xsXcM3j+fb86/vr piDTZrMf3h0RR2k6ei+Fsq7vW3zxOl9wAI/J5MWhKtGFBXF9wydqWarzQDE6Iai43MEMUv wYTSvEdchZhSy7vgQgl3tLiCAgl5138ZEkVW7dTGsR6ueCI50kQjPEfbDlqromx+hPJd7Q mWRbHBTD5Qh60jjbp76IsCebvt+TBubG6d/2AnzM2YRTrIhS2FH6imxF0SemrBuyKfgPvp CrNERLZ6YwU0fDnLOyWdSW2eMVyp7w7s5prspX3rLZRi0O0G636Y/JRo98/Fag== X-Spam-Score: -0.56 X-Migadu-Queue-Id: C4027A432 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=W4jXz0ly; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -0.56 X-TUID: KL9Vy1GH+exE Hi Reza, It's a bit hidden, but there's usually another error message on the line b= efore the first unbound variable error=2E Hopefully, it should give you a b= etter clue :) Le 4 janvier 2023 15:38:45 GMT+01:00, Reza Housseini a =C3=A9crit=C2=A0: >Hello Guixers > >I'm in the process of adding a package to guix=2E When starting the build= with =2E/pre-inst-env guix build openfoam-org I get the error: > >error: tcc: unbound variable >hint: Did you forget a `use-modules' form? > >error: googletest: unbound variable >hint: Did you forget a `use-modules' form? > >error: bzip2: unbound variable >hint: Did you forget a `use-modules' form? > >error: binutils: unbound variable >hint: Did you forget a `use-modules' form? > >error: gcc-4=2E9: unbound variable >hint: Did you forget a `use-modules' form? > >error: gnutls: unbound variable >hint: Did you forget a `use-modules' form? > >error: xz: unbound variable >hint: Did you forget a `use-modules' form? > >error: gnu-make: unbound variable >hint: Did you forget a `use-modules' form? > >error: binutils: unbound variable >hint: Did you forget a `use-modules' form? > >error: ffmpeg-5: unbound variable >hint: Did you forget a `use-modules' form? > >Throw to key `unbound-variable' with args `("resolve-interface" "no bindi= ng `~A' in module ~A" (shared-mime-info (gnu packages gnome)) #f)'=2E >Backtrace: >In guix/store=2Escm: > 661:37 19 (thunk) > 1300:8 18 (call-with-build-handler # =E2=80=A6) >In guix/scripts/build=2Escm: > 587:2 17 (_) >In srfi/srfi-1=2Escm: > 673:15 16 (append-map _ _ =2E _) > 586:17 15 (map1 ((argument =2E "openfoam-org") (build-mode =2E 0) # = =E2=80=A6)) >In guix/scripts/build=2Escm: > 607:31 14 (_ _) >In gnu/packages=2Escm: > 479:2 13 (%find-package "openfoam-org" "openfoam-org" #f) > 364:6 12 (find-best-packages-by-name _ _) > 294:56 11 (_ "openfoam-org" _) >In unknown file: > 10 (force #) >In gnu/packages=2Escm: > 241:33 9 (fold-packages # =E2=80=A6) >In guix/discovery=2Escm: > 159:11 8 (all-modules _ #:warn _) >In srfi/srfi-1=2Escm: > 460:18 7 (fold # =E2=80=A6) >In guix/discovery=2Escm: > 149:19 6 (_ _ ()) > 116:5 5 (scheme-modules _ _ #:warn _) >In srfi/srfi-1=2Escm: > 691:23 4 (filter-map # =2E #) >In guix/discovery=2Escm: > 124:24 3 (_ =2E _) >In guix/ui=2Escm: > 321:2 2 (report-unbound-variable-error _ #:frame _) >In ice-9/boot-9=2Escm: > 1685:16 1 (raise-exception _ #:continuable? _) > 1685:16 0 (raise-exception _ #:continuable? _) > >ice-9/boot-9=2Escm:1685:16: In procedure raise-exception: >Throw to key `match-error' with args `("match" "no matching pattern" (unb= ound-variable "resolve-interface" "no binding `~A' in module ~A" (shared-mi= me-info (gnu packages gnome)) #f))'=2E > >when removing the module gnu/packages/engineering=2Escm from the use-modu= les list the error disappears but I can't obviously not build the package w= ithout this dependency (cgns)=2E > >The package builds fine otherwise (inside another channel)=2E > >What I am doing wrong here? > >Cheers, >Reza > >--=20 >Reza Housseini > >This message is signed with my GnuPG key: > > C0F3 0812 9AF2 80F4 0830 C2C1 C375 C6AF 0512 5C52