From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +NxfB1LVUGcHeAAAe85BDQ:P1 (envelope-from ) for ; Wed, 04 Dec 2024 22:18:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id +NxfB1LVUGcHeAAAe85BDQ (envelope-from ) for ; Wed, 04 Dec 2024 23:18:58 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ditigal.xyz header.s=20240917 header.b=i9Ntgzah; dmarc=pass (policy=reject) header.from=ditigal.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733350737; a=rsa-sha256; cv=none; b=NKwHc6ab+NQCL/B/2VGmDAF1DPGvhgTeQQPonG0hHlUNxI1XJaUSSj5amUw3zUbAvBGrow CINaXRak5yGukO/PTJRwplKKSiFCkmR0yf1nSSWPeKN9Er93bP9yGaTfyvNcM7bp6uXao/ B2gvkBbCn2+0AmoonI0ztphi3FEuKkVCmXGmcPgOPmtmm3QXQKI2GEL/XMQhZtfnG2sNjq 0QzyWoHlqIJCXS2A4mteBd25NTO5mFcahlSYVpc8BSLADzk+fLLwV4Ny4WWQRfsHezd7GC HyPuMY1uZXH7KIv63eu1FB5mRCT5TxtRycKjPG3FRLTTICUmJ68WfUJLQSw7Rw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ditigal.xyz header.s=20240917 header.b=i9Ntgzah; dmarc=pass (policy=reject) header.from=ditigal.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733350737; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=fs3pE0yctiUgAgkgtb4K9BuiomZaasLcsw6f21lantc=; b=GwXlJ1GrCjobBPAvZQfYaJg/bThmY123ruDVAZ3ZT1ZRF2brrf54WdLPgqpAes3iF8zWYN LLogOtsQHqBb2HGvmZQIFTcFbL8P4tiIFdNTiT+PqddR4piwrFPCmMl9v+gy2l1VeNbXdu LSUsyVDU4ReNojgEHa54oJSdLPrWlY8UVSJZKrNKL1UsLD8qt/+Ffz+NqEMJDUC+0RmWhH EncaFRBOeMj9KzS6+Ojly73jn31+BSrbOsXkNFhQHfUJWb0x3Szp9t51uPSL4jKOp4MCJZ PikTyrVpWZNN5/nav8RqTORl6QkgI+SaPCn8q6qyX3q8UXREHqegHjOB6JGbEg== 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 C0C56789AE for ; Wed, 04 Dec 2024 23:18:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIxhB-0003oN-Ak; Wed, 04 Dec 2024 17:18:09 -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 1tIxhA-0003oC-66 for guix-devel@gnu.org; Wed, 04 Dec 2024 17:18:08 -0500 Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::] helo=mail.ditigal.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tIxh8-0006Q4-Le for guix-devel@gnu.org; Wed, 04 Dec 2024 17:18:07 -0500 Received: by cerebrum (OpenSMTPD) with ESMTPSA id aef02288 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Wed, 4 Dec 2024 22:18:03 +0000 (UTC) From: Rutherther To: guix-devel@gnu.org Cc: Rutherther Subject: [PATCH 0/1] qt-build-system: Wrap with build variables to allow %outputs in arguments Date: Wed, 4 Dec 2024 23:17:47 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-Debbugs-CC: guix-devel@gnu.org X-Debbugs-Cc: =?utf-8?b?TWF4aW0gQ291cm5veWVyIDxtYXhpbS5jb3Vybm95ZXJAZ21haWwuY29tPiwgw6XCrsKLw6bClsKHw6bCrcKmIDxpeXpzb25nQGVudnMubmV0Pg==?= Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1733350683; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : from; bh=mPY3TwIbkF9b1G8YmrgFaTaO79WsMkRpl1OmUCRqO+w=; b=i9NtgzahMD6Ks7b4lW9E0BdVm5m6O5JwcBDqwr49PY3IE/vluTU30hudbTePCHrSN7PXi yNutC01obGrTZO5ZEUiiK40nGiHoSAVEqvfzAvTjQDUcSCZKN95PLh+CJvnTffB+XbO1qWA K4Jb09d7VXfbmGRWK8on91eVUHdZhzY= Received-SPF: pass client-ip=2a01:4f8:1c1b:6a1c::; envelope-from=rutherther@ditigal.xyz; helo=mail.ditigal.xyz 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.43 X-Spam-Score: -0.43 X-Migadu-Queue-Id: C0C56789AE X-Migadu-Scanner: mx10.migadu.com X-TUID: F7ZWVawNFmKM It is impossible to refer to %outputs in arguments like #:configure-flags (ie. `(assoc-ref %outputs "out")` leads to unbound-variable %outputs). I think the issue is in qt using different system than build systems such as cmake or gnu. Since I am unsure about the reason for qt not having the same structure, I am submitting this to guix devel for discussion, as well as opening a patch in case this is fine to be merged. If not, could someone please explain what the reason behind not adding inputs and outputs is, and what is the alternative? Regards, Rutherther Rutherther (1): guix: qt: add inputs and outputs build variables in qt-build guix/build-system/qt.scm | 54 +++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 26 deletions(-) base-commit: 006679d1e6ca7acea0629b4f019c8cf89cde08be -- 2.46.0