From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uPcZGEHJX2ePkwAAqHPOHw:P1 (envelope-from ) for ; Mon, 16 Dec 2024 06:31:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id uPcZGEHJX2ePkwAAqHPOHw (envelope-from ) for ; Mon, 16 Dec 2024 07:31:29 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="W0A8e0/a"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="O8/BPH00"; 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), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734330689; 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=PGtLOcOvkoAUgrQpD81B7l1n+dGLaLautWqFpgZ4850=; b=MpxeK01k7iDgx0b0F6xh5AZMtKvqEwtoYPo/H8maBnCC5ii2a8QYsvx6F+HHWBd2pIrLZw 5absODHHvHegUbfijp0mj7qAbOhR9QW0ViZKJI+lqa5pHjsXzpzmCgXuunIwf00TlXBPuu u1f0k2sHGVU4gFNq9bnPMlkll0/3Qv+/BoHky8Z3GW8C1y3hu0/awDRAzA8V/AiG4rgorF mjiipLjSaV4TZXDrXt+6QY6hECuY466NG2bkNr5qaQ/9CNI6WHYzuGd7dFVfWBMbViMhXe EDq3fW4c5NPQY7kFzdjHL1NgptKXIHoMOr1UNfqSTC1qdzcEEE6ElttctZ9plg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734330689; a=rsa-sha256; cv=none; b=KS37Wz6WDdCSqjiLI5oIlmC3V1JT528SnYfepxgRCG/TsfrHwAzbV1q38TThbxWThErAS0 8H722YdMkaQDzRQ6ftQIo+ZRVbEPVz/KuNCoIrVLf1RXw5uUegCx6c/AS56RePETjgYoxu Ci+OOM+lhIl3v51LK9sQi92bosM6aqLgGsGuNzHZ3XK3boYfei+hg4ecRzURi+fk9aKzT0 m2e2FHpPbM0GLkX5E+L3Ud787G1la3UeIeSn5PdwxNJIsZuKnJn8cn7lijDArxRyxpO3w/ 8mjN8sw90QQ31IGzhuzGBHbyIbLxhSjMc7gFVAAxKwb/zMd0RW3WecPBsObFNQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="W0A8e0/a"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="O8/BPH00"; 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), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) 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 2BC1E7A474 for ; Mon, 16 Dec 2024 07:31:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tN4dJ-00084p-CJ; Mon, 16 Dec 2024 01:31: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 1tN4dE-00084E-Sk for guix-patches@gnu.org; Mon, 16 Dec 2024 01:31:04 -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 1tN4dE-0006Yi-DK for guix-patches@gnu.org; Mon, 16 Dec 2024 01:31:04 -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:References:In-Reply-To:Date:From:To:Subject; bh=PGtLOcOvkoAUgrQpD81B7l1n+dGLaLautWqFpgZ4850=; b=W0A8e0/aOsY98Zo1ArS/G3lPKgS4g2XacfnC4b2ObevsTJyTY/Ytq0m9mOj1+UA3fvaKb+OvfTPOQrAz4T4fsHIamUFx2NcY/OwGdD4/q05hdMhIeHvRlt9wmJVIpxsNYzWiiDWjEsoIGigHV53pfwl7wcrS+eSRbbWp6leN5h69TaBv2Xdt6yK/ARC/Hgy/HIQ2KThXqL8XxGlVP2vzq5wlwkSDcHt8Kdhxh+PF7uXUU3Cpxj01cttQZoYzdx4TPydz3PUdwnTx7KVsI00g2V0pKhd/luiKct75EPxkSgdT8ehAFT5l4dmKMLhCUlJWKKJpyJQ3BLcWCSa4VQvz3Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tN4dD-0005D9-17; Mon, 16 Dec 2024 01:31:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74909] [PATCH 3/3] build/guile-build-system: Fix byte-compilation warnings. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Mon, 16 Dec 2024 06:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74909 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74909@debbugs.gnu.org Cc: Maxim Cournoyer , Maxim Cournoyer X-Debbugs-Original-Xcc: Maxim Cournoyer Received: via spool by 74909-submit@debbugs.gnu.org id=B74909.173433061019711 (code B ref 74909); Mon, 16 Dec 2024 06:31:02 +0000 Received: (at 74909) by debbugs.gnu.org; 16 Dec 2024 06:30:10 +0000 Received: from localhost ([127.0.0.1]:53228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tN4cL-00057D-Cd for submit@debbugs.gnu.org; Mon, 16 Dec 2024 01:30:09 -0500 Received: from mail-pf1-f175.google.com ([209.85.210.175]:42113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tN4c8-00052r-53 for 74909@debbugs.gnu.org; Mon, 16 Dec 2024 01:30:03 -0500 Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-728e78c4d7bso2628766b3a.0 for <74909@debbugs.gnu.org>; Sun, 15 Dec 2024 22:29:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734330535; x=1734935335; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PGtLOcOvkoAUgrQpD81B7l1n+dGLaLautWqFpgZ4850=; b=O8/BPH00vmfKHzPq5P438d/DbflPapDfbLAvyZORWwefSFB1q2yl4nphK0jSDNcdMk dSIr7hYhxIqA21CP3ohf2W+pJtzjGBrw/haipJsWDObUSeQzTsWCxDlYNApmXKES/3x2 T7f9sbAirziSbR5B7NkH4gwbTjxJtknKqqSI/AT7bLCbWX9ekZGYwMJLrK021M5C/puz 7Le+FPZI7daDxtzMlT5S1S2dq4vcLSXi21dpcUC16iYwPA7u6lQBgP3fbRlLB1Avk6Hh G1wYc4tDqdxymQZz3cKa14sfIxW2GR2A1gf3rCP99VMOkukQGrdiwCaohvFwO0fmgIaO 3ZKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734330535; x=1734935335; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PGtLOcOvkoAUgrQpD81B7l1n+dGLaLautWqFpgZ4850=; b=pS4F5bVV2r7xIlH0Eh6HeIp8VFdV8ggnWLc9jky2vVE6unGo+/h5yX7gH7BiJB1sQI kX67Ujgs/17tSBjnlQdTl4VHL0Q+4EezPi0s3uj3I9jn/hDev1oa/sAhLUfv1N9WExhP vgYWTdV7Wygz9CJpba3j9MP884HeJyN3X9E1oa9DRFE4TXJI3+kBsfRlomQ+iIXt6dgn XwnS9+iqi/2Lbq2N45KVbwvdm49mBzF39YgNvTcqsPIDXDGqkHGio/ZnupPMAPcxJHYm N9tVemEidtsrEwpuA20lr0cJWsqLokFIPX7acve5EfhnxmFyD5X3VF6OhQg3LIE6Ca9G tobw== X-Gm-Message-State: AOJu0YxsRxnsD49a5CMuWYQOWJT+xk0dON+th5PwQwA32BQGlAI6oW66 zDP6SsyKYKQ8f4vcOURh7JQmGTprhTIHYp/oV5eegNODllwBOFDi/EoUag== X-Gm-Gg: ASbGncuWj3iEKjZ3NugAJFTrcjr2AXLo7odTvCB1sRpy2Q/5vWRgTVeRtVhd64kSya+ 4jmZJ4t/its0vjTh7QhEPbJo+0/4HByecWoIJHA0siCAMgv8+1d6T5FtTsujHU0xBWwouDEaxno B1MFZQ5JObz7Jitzcn5hy+L1qT1qXMInjTniNvfWcePU7gXib2zohtjBM/b2KpMgykLokDihIxQ 0tEIj+mcaaYzQWO8fB/ibv0sp0J3smO5R4OVG9E+6CE+cQSCvTY37FLYGW0GNActnbPItdip6c= X-Google-Smtp-Source: AGHT+IGFMNQvl81WbHH3ucrEFD/Ja7f03pJ24GqGtw9s1qpYLME7wolYYlb5xEbGI0TT7yBg40mLKQ== X-Received: by 2002:a05:6a21:b8d:b0:1e1:adcd:eadb with SMTP id adf61e73a8af0-1e1e000c365mr14143519637.11.1734330534894; Sun, 15 Dec 2024 22:28:54 -0800 (PST) Received: from localhost.localdomain ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72918b788d1sm3948509b3a.110.2024.12.15.22.28.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Dec 2024 22:28:54 -0800 (PST) From: Maxim Cournoyer Date: Mon, 16 Dec 2024 15:28:05 +0900 Message-ID: <212e93c9b6e20be25a0479b3fee8af8ad633df32.1734329084.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.46.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.34 X-Spam-Score: -4.34 X-Migadu-Queue-Id: 2BC1E7A474 X-Migadu-Scanner: mx11.migadu.com X-TUID: 5oJidPYZXi9d * guix/build/guile-build-system.scm: Hide 'delete' from (guix build utils), to avoid shadowing the builtin. (invoke-each): Replace current-processor-count with parallel-job-count. The former would require importing (ice-9 threads). Change-Id: I7cde3305b9017bfec52ffe50ed124e21cbdceb25 --- guix/build/guile-build-system.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guix/build/guile-build-system.scm b/guix/build/guile-build-system.scm index b497573c0a..d2198b6715 100644 --- a/guix/build/guile-build-system.scm +++ b/guix/build/guile-build-system.scm @@ -18,7 +18,7 @@ (define-module (guix build guile-build-system) #:use-module ((guix build gnu-build-system) #:prefix gnu:) - #:use-module (guix build utils) + #:use-module ((guix build utils) #:hide (delete)) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (ice-9 match) @@ -79,7 +79,7 @@ (define* (set-locale-path #:key inputs native-inputs (setenv "GUIX_LOCPATH" (string-append locales "/lib/locale"))))) (define* (invoke-each commands - #:key (max-processes (current-processor-count)) + #:key (max-processes (parallel-job-count)) report-progress) "Run each command in COMMANDS in a separate process, using up to MAX-PROCESSES processes in parallel. Call REPORT-PROGRESS at each step. -- 2.46.0