From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id AB9nKd3q2GWGDAEAe85BDQ:P1 (envelope-from ) for ; Fri, 23 Feb 2024 19:58:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id AB9nKd3q2GWGDAEAe85BDQ (envelope-from ) for ; Fri, 23 Feb 2024 19:58:37 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b="oigb/v0E"; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=cns4HHdR; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wolfsden.cz (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708714717; 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: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=3X4dxt8olZgpZaDidOgjY/36L6qUL9Te2nCQEGZ673g=; b=h9Tjd++iaHnYEgq9TnnusU7MXNaReaMMouqTsDjXY7uLJZj/XK5uyGxMBkj4d6NNYUujL3 06aIY0FvBLRdU46Y+DucXLObL1QY7BELVrO1+GCQqFkhJ6Ongck9duyRbxRJ9pAZZfMvjc VDNyE9Fv0hmdo34dnW2K9Xg/ekB/9bFpK/FkuDwPX66nnApjTJjRqtLnnuT4lunKYy2a25 KIcUvb/A/WyFblMudlRRpc6f+FBmRPEyyi5eaYA0EoeIct+7jxrlxCqDnMJMbVXtlScTvc ewfqTzNVZ1vKhtgFLHctW0zAVGg59mspYnkMZ1/zr/rupWpRbB9jXFI7I9mHQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b="oigb/v0E"; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=cns4HHdR; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wolfsden.cz (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708714717; a=rsa-sha256; cv=none; b=guH+wzLufJli0XIZzqhR0lkvy8iIKZKfO0gQ8Dmtb6DeOhKv6kmqKCSlqTQ0CvyhNQNcSV v7hwTxjWvEdOsKPru2eB0T45hPbUqGsRnzFcbr8jY1k50iFyLUSs4S9VgFPWtagDJ7UwKd qQ21jg3Ycmvd/1rZhfTZspNhHu3p7QVaukDQe6s15FeZdFpPocK8yA3bseH2XwjOIkg5RJ 3aP/QskVPkqXweOjYBZhH9WbJO8egNGpCxCAR4BT5F+PgBTbmg1kM4sfDT10dvGWtbodzV 4xZvt5FToBMj5pY8NgivD/d3V8kPrssIoO93YfC5B+vhMgkqEKGnTjTVfiyfQg== 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 8019112DCA for ; Fri, 23 Feb 2024 19:58:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdaka-00026u-SE; Fri, 23 Feb 2024 13:58:25 -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 1rdaDv-0000OS-T3 for guix-patches@gnu.org; Fri, 23 Feb 2024 13:24:39 -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 1rdaDv-0002aD-2Q for guix-patches@gnu.org; Fri, 23 Feb 2024 13:24:39 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rdaEI-000494-BR for guix-patches@gnu.org; Fri, 23 Feb 2024 13:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69337] [PATCH 2/2] build-system/guile: Install .scm files first. Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Feb 2024 18:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69337 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69337@debbugs.gnu.org Cc: Tomas Volf <~@wolfsden.cz> Received: via spool by 69337-submit@debbugs.gnu.org id=B69337.170871268115869 (code B ref 69337); Fri, 23 Feb 2024 18:25:02 +0000 Received: (at 69337) by debbugs.gnu.org; 23 Feb 2024 18:24:41 +0000 Received: from localhost ([127.0.0.1]:60067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdaDx-00047t-Ci for submit@debbugs.gnu.org; Fri, 23 Feb 2024 13:24:41 -0500 Received: from wolfsden.cz ([37.205.8.62]:38764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1rdaDv-00047b-1h for 69337@debbugs.gnu.org; Fri, 23 Feb 2024 13:24:40 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 31AAC2567E9; Fri, 23 Feb 2024 18:18:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1708712305; bh=iHLYDWxV77klRsX0lu6K8AvSW44elEkhSf4EbvxO7lo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=oigb/v0ERUb1eyZkTaR43Z9FxttarzcnzSz/w8GwIFOfTBy6gRPa/8QxHBnq4S5WP wNnC1KueI45G8bwiPFeNH4Ywwq03ooeaC9f4FOOd+QUkc/C1dkRRMiPKbCS5d98AnP vZ9V6XjpbmiMfz6gBTj57HxfieUSch+DWSpDHpNb/r0XoH8W4u4iBlZc0y3rljx3hn 39bEWKtz5Zs/W8D7N+F8LUxmomIbuGS79GBBDxzj7Iza+wtfVzvG0tDp9x/Oid+QNe TvhjJRDKGyShPbqOeF+J76ZBHw0BGImz3XmBy1pLlG0HDCGsSsnPpvxGZPvU1ik7Ia QSWieCbr7fGGyhn+PEzo3G796jTR7jiEu77N8FIvFl+BAKiccu5azjUrDtc4sbZb98 o88cRVoaBUaUdS0l7z3OGWchtdmcHcYphvrR/T5hlrJ9D8PBBFP+ppm7UIAs0JV4C/ ohsALAXlidzxJ+rfELEVVHTTb/CkXuif4Xi39EhQDgLmsYCOxT0fvZi42bIB9tTvPo zPlmJS+33/6sLMmqbOyp/xndQ2cST2Wv1rz0KFkzlqQ3g75J0dQcQizFj+NecU5Leb 6EzcYwJ3ONgQUrdE+8dj88NeAY9Ir5UM4fGnTlBGxW04WsV7j5xhQ1rZEPqTktqSP6 +6WlMZQRTr4eq2GOQzeoVLOw= Received: from localhost (unknown [193.32.127.159]) by wolfsden.cz (Postfix) with ESMTPSA id CEA82256E24; Fri, 23 Feb 2024 18:18:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1708712304; bh=iHLYDWxV77klRsX0lu6K8AvSW44elEkhSf4EbvxO7lo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=cns4HHdR2raJQRFKYY2YOJzKxAPXND1+UUvsfpwByX14ZbQP3wM2VDsdJ5WVjrH5E UNCMPr3Ldo/CMrOIAYoIHsWF6cO8Lc+aXF/2JYOMFSO7NpU3xznOTZHdlFd9767biR j4XD7jdpV8Q138O6UznzNe+x5qsXAIGPDtPVO9SLBvktY3t4UnA9spS6xNaShYoxmp wvhoGUoiQtQamWA/ChHHJ718M0Xu4cDApMF9Mr+MHk+8SSc+LnoeAt1Lpl5vNdO7tB VSTjcbMT3AwopquRnvSKGVsvvm0tUV/qNR88tf5gGeiunAHXcgMk9lBP6WNgDj0ka/ Ldnu3GGn/ed0Pma/FJCSCfC2CxgmzFW8lNQt4brkynJQUpBAMWVTvKqqPj1oQyRRaW FZBMMFn+HVV2i1vpmfQPZXQzVzv/iJOrKiopHCYRsxCe79AHYskWez3UaWnqKdo8YM O7D79vife+7MiQAyEYdhOT0lLeR7/aDkmNWR/n+e7UG3yQ8Tl3crnpp+/eUIydL0ne U297u7hS+1OTUmCf7ipo2wvrSgvU7eAez88/ZWK0py0id1qZ9BqZiB8dxeXjDAb8zG 3z+QtRCsqym9tUn4oSaHKaYJCTc3oUteZuETgVjqWf5/QX/nMHM5IH72yoVyaxTjXd ezZx/bbKtCziJv/1OdD2CGV0= From: Tomas Volf <~@wolfsden.cz> Date: Fri, 23 Feb 2024 19:18:14 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 5.73 X-Spam-Score: 5.73 X-Migadu-Queue-Id: 8019112DCA X-TUID: DXFnuABWlq4i Until now the .go files were generated first, and only after that the .scm files were installed into the target location. That led to a lot of messages about `source file ... newer than compiled' if the custom 'check phase tried to load the compiled files. Swapping the order of the actions resolves the issue allowing the tests to be written without lot of noise in the build log. For final artifacts it was not a problem, since daemon resets the timestamps. * guix/build/guile-build-system.scm (build): Install .scm before producing .go. Change-Id: I3428d144fcbaa6c904ee662193c3bca82589e344 --- guix/build/guile-build-system.scm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/guix/build/guile-build-system.scm b/guix/build/guile-build-system.scm index 90a9ee182b..ceda4c1f4c 100644 --- a/guix/build/guile-build-system.scm +++ b/guix/build/guile-build-system.scm @@ -187,6 +187,12 @@ (define* (build #:key outputs inputs native-inputs (let ((source-files (with-directory-excursion source-directory (find-files "." scheme-file-regexp)))) + (for-each + (lambda (file) + (install-file (string-append source-directory "/" file) + (string-append module-dir + "/" (dirname file)))) + source-files) (invoke-each (filter-map (lambda (file) (and (or (not not-compiled-file-regexp) @@ -202,14 +208,7 @@ (define* (build #:key outputs inputs native-inputs flags))) source-files) #:max-processes (parallel-job-count) - #:report-progress report-build-progress) - - (for-each - (lambda (file) - (install-file (string-append source-directory "/" file) - (string-append module-dir - "/" (dirname file)))) - source-files)) + #:report-progress report-build-progress)) #t)) (define* (install-documentation #:key outputs -- 2.41.0