From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 MDnfG96pUGefPQEAqHPOHw:P1 (envelope-from ) for ; Wed, 04 Dec 2024 19:13:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MDnfG96pUGefPQEAqHPOHw (envelope-from ) for ; Wed, 04 Dec 2024 20:13:34 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Mb+oQi8q; dkim=fail ("headers rsa verify failed") header.d=ditigal.xyz header.s=20240917 header.b=rIk4tTPK; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733339614; a=rsa-sha256; cv=none; b=j6g1u+AvvKQ1Z9p6Vm97+lsXdBMHZxU1NvJpG2dhPcBAbaZoLR5dWBzou6mNJBhfQ1w+GS K2XVkunNkLPNoCMgNoaImBhrdgy4YllCDg2sPOpTEGKczSEYk1Eszm3fSREyFKrersE+6q l4+KpooZsMChIj8CocPKs4lXkYb3B6LWQt9joxhnRIArlLDAP6DQHikcGjUpH5PkqYoOzM J20vJpKmcEjZCzIwxTyJ7QUequzM6WDM7LwxDY+d4ZfKE76hDXAPCeMAHJ6zwjM0og+bIh G7i+ZdbiHTFmbaMxmBx7h4DKvN0qiJlk042HNVJU7r21R+rzEqkLK3NOYdysnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Mb+oQi8q; dkim=fail ("headers rsa verify failed") header.d=ditigal.xyz header.s=20240917 header.b=rIk4tTPK; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733339614; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=fs3pE0yctiUgAgkgtb4K9BuiomZaasLcsw6f21lantc=; b=GwZewTe8oSqJAuVruvSfIbBkbPgmXA8c3A+VK0WHs6lHr7uQKnjSNsY58l2mx4heezVc3T NKCzw8fHLVvrH2tcC98pgofc5R3dF/u0fWTJZQi/8f1gl807TWBwbdAnZ5CM+LhHJhgnoQ bMXILFL+7WzoRJlqNsUa6ZYsBOedv8aTk+2aoykAP08+pLjydlWvZVhRLHsp3/WCDD/gMi qJT4f9JquJMiFyFq3gNe+wCE+IaJVPUy1UwU43LL58EZdjJj30SZ4pCrpe7zhJ5mlrXWxs BEUYZcj3HZh0oRCsqxyTAKWJ7VqYWqlgpNnCsI1Ll0C8KfJ/OIelynkh2RCjKA== 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 1E27C19503 for ; Wed, 04 Dec 2024 20:13:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIuo9-0006MJ-HR; Wed, 04 Dec 2024 14:13: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 1tIuo7-0006Dk-00 for guix-patches@gnu.org; Wed, 04 Dec 2024 14:13:07 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIuo6-0006B1-MJ for guix-patches@gnu.org; Wed, 04 Dec 2024 14:13:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=fs3pE0yctiUgAgkgtb4K9BuiomZaasLcsw6f21lantc=; b=Mb+oQi8q0+Owp/IjQH/55bG7l1aSX5ZbxPg8jgTJyOYQZA59tRewkg87/tLy65A5dMTYx1mgFPLgw8TSbDxTu1yKQvciAmnjlprBfEWO3nYE8dQfuZ+hL7J7sDyA0ytih8RGFtNtaCWhwyy9HBPMeihPFd7TMnjuziQr/s0yIk90PoY5gCeBYNWjd777VMKYjBFppFbqDsDGxi+hcZWb2RE+VUoU95WqZB9eOUYAKh80NpjU0CtmFszj7zCpFzt4ZQ5M2GisQBQ3TvLmY7u5ovXQy+hVevqNi7CaEHv4MCiFFbKAcIBF+hLrZ6gLZ2ssvhRus2bnh4hJnrKZtj4MSQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIuo2-00028o-KV; Wed, 04 Dec 2024 14:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74405] [PATCH 0/1] qt-build-system: Wrap with build variables to allow %outputs in arguments References: In-Reply-To: Resent-From: Rutherther Original-Sender: "Debbugs-submit" Resent-CC: rutherther@ditigal.xyz, maxim.cournoyer@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Wed, 04 Dec 2024 19:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74405 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74405@debbugs.gnu.org Cc: Rutherther , Rutherther , Maxim Cournoyer , =?UTF-8?Q?=C3=A5=C2=AE=C2=8B=C3=A6=C2=96=C2=87=C3=A6=C2=AD=C2=A6?= X-Debbugs-Original-Xcc: Rutherther , Maxim Cournoyer , =?UTF-8?Q?=C3=A5=C2=AE=C2=8B=C3=A6=C2=96=C2=87=C3=A6=C2=AD=C2=A6?= Received: via spool by 74405-submit@debbugs.gnu.org id=B74405.17333395528172 (code B ref 74405); Wed, 04 Dec 2024 19:13:02 +0000 Received: (at 74405) by debbugs.gnu.org; 4 Dec 2024 19:12:32 +0000 Received: from localhost ([127.0.0.1]:36880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIunY-00027k-G7 for submit@debbugs.gnu.org; Wed, 04 Dec 2024 14:12:32 -0500 Received: from ditigal.xyz ([78.46.201.50]:51970 helo=mail.ditigal.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIunW-00027J-B2 for 74405@debbugs.gnu.org; Wed, 04 Dec 2024 14:12:31 -0500 Received: by cerebrum (OpenSMTPD) with ESMTPSA id ad45d707 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Wed, 4 Dec 2024 19:12:21 +0000 (UTC) Date: Wed, 4 Dec 2024 20:12:17 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 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=1733339541; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : from; bh=mPY3TwIbkF9b1G8YmrgFaTaO79WsMkRpl1OmUCRqO+w=; b=rIk4tTPKvSYsIhDayrp6qxbE4VwMNbhpvikqewA2DnauS84GYhNcEUjphuMhRuo1OaRC6 Rxptuc8PhvJOPUimoNmns8+0SEDpXAE4NchtLQI6zTWLgmFdxmhzuBmV03UqNY1Ietyqk/l 4EFuQLZElvjYwRRpDhUf85lB3SfAtZE= 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: , Reply-to: Rutherther X-ACL-Warn: , Rutherther via Guix-patches From: Rutherther via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.43 X-Spam-Score: -4.43 X-Migadu-Queue-Id: 1E27C19503 X-Migadu-Scanner: mx10.migadu.com X-TUID: p3zkSqnLZ+ve 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 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