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 ms0.migadu.com with LMTPS id gN8uIURxMGIwggEAgWs5BA (envelope-from ) for ; Tue, 15 Mar 2022 11:58:12 +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 CDXRGURxMGIXpAAAG6o9tA (envelope-from ) for ; Tue, 15 Mar 2022 11:58:12 +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 110BD24A7A for ; Tue, 15 Mar 2022 11:58:11 +0100 (CET) Received: from localhost ([::1]:41196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nU4sU-000386-Ir for larch@yhetil.org; Tue, 15 Mar 2022 06:58:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nU49q-0008Ix-5h for guix-patches@gnu.org; Tue, 15 Mar 2022 06:12:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53707) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nU49p-0002Vt-TX for guix-patches@gnu.org; Tue, 15 Mar 2022 06:12:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nU49p-0000bG-Hy for guix-patches@gnu.org; Tue, 15 Mar 2022 06:12:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54396] [PATCH] [WIP] gnu: python-notmuch2: Fix build. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Mar 2022 10:12:01 +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: Tanguy Le Carrour , 54396@debbugs.gnu.org Received: via spool by 54396-submit@debbugs.gnu.org id=B54396.16473390842255 (code B ref 54396); Tue, 15 Mar 2022 10:12:01 +0000 Received: (at 54396) by debbugs.gnu.org; 15 Mar 2022 10:11:24 +0000 Received: from localhost ([127.0.0.1]:47604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nU49E-0000aI-08 for submit@debbugs.gnu.org; Tue, 15 Mar 2022 06:11:24 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:3629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nU49B-0000a8-Ol for 54396@debbugs.gnu.org; Tue, 15 Mar 2022 06:11:22 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4KHq1b0CGYz1LLyW; Tue, 15 Mar 2022 11:11:14 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4KHq1b0CGYz1LLyW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1647339075; bh=AmB9J+wwuWdIco5dUjPk7tW+YTPiIrph7WpS0qHQk50=; h=Subject:From:To:Date:In-Reply-To:References:From; b=lb/tr+n+KVBbAez9eRTE+Zbr5fuiGL4a0rnJhriUWnS5b9NQzRC9VRxvaVzL9AQPn dVwxDPMSTjtfXZsFvSmp+wKCmrrqi8V4u98sqSJOf0+Wk+t3uQLl+ctUyxWAxO0K1z Foe2otb0RQR/GQGR69a7KAa+414zdoqbmQSkt4YM= Message-ID: <97379de8137ad4430b239b9325f578b9d6219240.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Tue, 15 Mar 2022 11:11:14 +0100 In-Reply-To: <20220315093814.25033-1-tanguy@bioneland.org> References: <20220315093814.25033-1-tanguy@bioneland.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 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=1647341892; 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:dkim-signature; bh=AmB9J+wwuWdIco5dUjPk7tW+YTPiIrph7WpS0qHQk50=; b=kHXQrD0JRPNl+AMVmU9fkRLuMKz8NPTwDLFWRQc1a0cd0X+wlNCZRxqq4ZaTC294RXq72e 9GYt8pYao7dJqpLGMtyytAyvnr55I/S5MGK3XLO1g8KTlWR57WhaYTQuafBknS1INr077b H3FGNb/vxP0cfyt4jWWY+IBwhbO7rHoKq7WQFI8wscz1rYbYrMykNVdtnZhu68jBnXR4/x maBKi3eKcdNcZn2TpOm2A7e+cxsrYc/fsoskA/2Eoc7AdKjBHybdpXaep84wQd6FjZuOoJ 7l9yhszs4vescOQ0x1eB02bVyv6CYUIlfOd5CjIUaXtZtoJXWrcEGxVPSsp37A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647341892; a=rsa-sha256; cv=none; b=m4cS2lBl6GLKJnF4WH6WOqx2pZXvfuZF7vnFE0BX9e1JEMN8pTBUy+0A9gmYLVQIHGo71C HTF3eYu4zASJu5LixYp6ixqDtwefvdJ7FA/dJPn42fuDyAjqADfUXRRvACrR44+CMqmP8Q qYBAW6g4u5TsVCusJV4dBqcp4e9LGIOFzeJ2z/HVn4Yli1MoU3n+SRoXNxVORNp6q32viD UgC+mOvnibf/DvOdwmpwhBQnDqgaIr8kR5cVj9MkEFiXJn7AthLvR7rvJ7rdiAraCVGOu1 A0OG1FEUtVGlTFULerGbASQmtN8x9+N/6Rd6XMlaPB0irIs/klGcZdmz7G17Ew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b="lb/tr+n+"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=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: 4.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b="lb/tr+n+"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=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: 110BD24A7A X-Spam-Score: 4.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: YAozDs11H+9p Hi Tanguy, Am Dienstag, dem 15.03.2022 um 10:38 +0100 schrieb Tanguy Le Carrour: > Hi Guix, > > I'm (still) trying to fix a build failure I (unsuccessfully) reported > here: > > . > > I've tried and produced a patch, but, somehow, I cannot make it work! > :-( > > ``` > +               (setenv "SHELL" (which "sh")) > +               (setenv "CONFIG_SHELL" (which "sh")) > ``` > > 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. > > > ``` > +               ;(invoke "./configure" (string-append "--prefix=" > out))))) > +               (invoke "bash" "./configure" (string-append "-- > prefix=" out))))) > ``` > > 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. > ``` > +  #:use-module (gnu packages commencement) > ; […] > +    (native-inputs (list gcc-toolchain)) > ``` > > When I add `#:use-module (gnu packages commencement)` I get the > following error > message I cannot decipher: > > ``` > error: tcc: unbound variable > hint: Did you forget a `use-modules' form? > > 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. Cheers