From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UD2TB7lxMGLUBAAAgWs5BA (envelope-from ) for ; Tue, 15 Mar 2022 12:00:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yIgnBblxMGJFJQEA9RJhRA (envelope-from ) for ; Tue, 15 Mar 2022 12:00:09 +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 524E724D9B for ; Tue, 15 Mar 2022 12:00:08 +0100 (CET) Received: from localhost ([::1]:43670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nU4uL-0004pp-O9 for larch@yhetil.org; Tue, 15 Mar 2022 07:00:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nU4tK-00041u-Jb for guix-patches@gnu.org; Tue, 15 Mar 2022 06:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53836) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nU4tK-0003BP-8n for guix-patches@gnu.org; Tue, 15 Mar 2022 06:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nU4tK-00027A-4j for guix-patches@gnu.org; Tue, 15 Mar 2022 06:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54396] [PATCH] [WIP] gnu: python-notmuch2: Fix build. Resent-From: Tanguy LE CARROUR Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Mar 2022 10:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54396 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54396@debbugs.gnu.org, Liliana Marie Prikler Received: via spool by 54396-submit@debbugs.gnu.org id=B54396.16473419268099 (code B ref 54396); Tue, 15 Mar 2022 10:59:02 +0000 Received: (at 54396) by debbugs.gnu.org; 15 Mar 2022 10:58:46 +0000 Received: from localhost ([127.0.0.1]:47733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nU4t4-00026Z-Di for submit@debbugs.gnu.org; Tue, 15 Mar 2022 06:58:46 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:33605) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nU4t3-00026H-7k for 54396@debbugs.gnu.org; Tue, 15 Mar 2022 06:58:45 -0400 Received: (Authenticated sender: tanguy@bioneland.org) by mail.gandi.net (Postfix) with ESMTPSA id 44692E0010; Tue, 15 Mar 2022 10:58:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable References: <20220315093814.25033-1-tanguy@bioneland.org> <97379de8137ad4430b239b9325f578b9d6219240.camel@ist.tugraz.at> From: Tanguy LE CARROUR In-Reply-To: <97379de8137ad4430b239b9325f578b9d6219240.camel@ist.tugraz.at> Date: Tue, 15 Mar 2022 11:58:37 +0100 Message-ID: <164734191721.3943.14425181671520502632@localhost> User-Agent: alot/0.10 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647342008; 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: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; bh=DQatDVGFgrz8N0Zp1Oe8K/lOInNJAXr414BJo7Sb8ro=; b=kBK1MJNNBhoy9vAoREVkHNnEEWb7CXRHRinSXwpKTic+luQ1lmOvmcD1xuHKVCQ2TDr8ZZ ORUxWcB1Vsx6F1iSbUXJ3+Pe7jyExlT5+q8LC1hkjbHxbzHIyFEhjP6c5Rf8S4HuoIl1pd ygsMNzarlZ+3yFm4EtTivA9r/o09IlpVC5C+iWmhRXnO3DAlQ6cBIjPUE0dSO9fNi384bQ TptCUZ2VGGyDnUZ3hb9eahGBf9vCRyzv48VcI9q0/kR3CmDV3vZyyp/S+Phsz1dK9VaWEr /i3hpM5v7Szl/sf5EK11ceQMZf8W0JrYdEj2W/p8raheDaHcCw47xdtelntBoA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647342008; a=rsa-sha256; cv=none; b=FYWzc8ajY4+z5MpSjgJI54jviSBwsDg6/1sB9cWQZLN9H9NNXpzGJPK+BWV4nnNm2I/KKj 3OpsAEc8iRolL8VpyUv5dg0yKG/G7A/+21V4au+z5OyZvPu2tDfYRpaoTnbF5ZFc6VJ4I0 /BdwXD4C9iloZcYE2eHEc1CBSPClXs7SVnlhIHlNXkBhKN3gVQPQpbKch0mBaWXOHV5oO1 s6CyvYCG7mZkIQMH5DOs0c4DGifjUAWQoYOTliS4tQEIZSDf5R3I/ZdetxVq4ytSeKJzvj sHOUhujzsstgHUURzNkQjuVzQaGAFXf7eOd/eU+scZtn7YRgTrcN8evogcFvpQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.27 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 524E724D9B X-Spam-Score: -3.27 X-Migadu-Scanner: scn0.migadu.com X-TUID: ohIRQtjtM5aI Hi Liliana, Thanks for reviewing! Quoting Liliana Marie Prikler (2022-03-15 11:11:14) > Am Dienstag, dem 15.03.2022 um 10:38 +0100 schrieb Tanguy Le Carrour: > > I'm (still) trying to fix a build failure I (unsuccessfully) reported > > here: > > > > . > >=20 > > I've tried and produced a patch, but, somehow, I cannot make it work! > > :-( > >=20 > > ``` > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 (setenv "SHELL" (which "sh")) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 (setenv "CONFIG_SHELL" (which "sh")) > > ``` > >=20 > > I'm not sure those lines are required, but at this point I've just > > copied/pasted code I found in an other package definition. > >=20 > >=20 > > ``` > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 ;(invoke "./configure" (string-append "--prefix=3D" > > out))))) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 (invoke "bash" "./configure" (string-append "-- > > prefix=3D" out))))) > > ``` > >=20 > > If I "just" invoke `./configure` I get an error code, but no error > > message. I had to prepend `bash` to get the error message telling me > > that `cc` and `gcc` were missing. > Instead of running configure, I suggest generating the > _notmuch_config.py on your own. There are three variables you need to > define at the moment: NOTMUCH_INCLUDE_DIR and NOTMUCH_LIB_DIR need to > point to the already built notmuch, not the one being currently > unpacked, and NOTMUCH_VERSION_FILE can also point to an installed file > if possible; otherwise generate a dummy. Oh=E2=80=A6 oh=E2=80=A6 that's a brilliant idea, actually! How stupid of me= not to have thought about it right away!! ^_^' Thaaaanks! I'll do that! > > ``` > > +=C2=A0 #:use-module (gnu packages commencement) > > ; [=E2=80=A6] > > +=C2=A0=C2=A0=C2=A0 (native-inputs (list gcc-toolchain)) > > ``` > >=20 > > When I add `#:use-module (gnu packages commencement)` I get the > > following error > > message I cannot decipher: > >=20 > > ``` > > error: tcc: unbound variable > > hint: Did you forget a `use-modules' form? > >=20 > > error: googletest: unbound variable > > hint: Did you forget a `use-modules' form? > Such cascading error chains typically happen when a package is > malformed and the module it's in can't be compiled. I'm not sure if > that's your fault or someone messed with the python module, but either > way, you shouldn't use gcc-toolchain for package definitions regardless > of whether it causes an error or not. It is solely meant for users to > not complain that "gcc doesn't work!!!111!1!einself!" when installing > it into their profiles. Ok, good to know. Thanks! Regards, --=20 Tanguy