From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 2Eg1CVjvTmfUcgEA62LTzQ:P1 (envelope-from ) for ; Tue, 03 Dec 2024 11:45:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 2Eg1CVjvTmfUcgEA62LTzQ (envelope-from ) for ; Tue, 03 Dec 2024 12:45:28 +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=Uu0egnpy; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=bz3yZOkR; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733226327; a=rsa-sha256; cv=none; b=SI9V28rFxG0OLjEfngY7/XXFlbgYbeD1MQjdIQtLK5z8Pfa1J/uxocLUxBUcJ/cTgmh+Zf ue4hQZwCvCTc82Eyme6fdYEOQ9HZUkh7sVG4ZCyTzC6aFJ4m1MGjlQTYLyl26kewKxAetB /OPAr1hxBjDQRJuaJ4e0vC2jLUWOklLQ1twpQkYmCdRmGEz+YPV0WreTVsgcnI1VsiZ8Q8 V6u/8uQT3uWmdAbnsT0CdjnPiA3itRv2eZH9FXah3ZINPJ2Yw40dPD1laMiaKzZM7RSdVb NSYpO7tOrwc5dVdoH2TSQartOHzFANyPuhAcNvl7a6gz1M+bqNfNlUiYOCZepA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Uu0egnpy; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=bz3yZOkR; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733226327; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=lkpXsAcho3ONphu67OM4bk0pUSAZGqHYtTgDoGToMuU=; b=U1PZg/Sh/CgVxPjEyHPlFu5leIzEDZ6GTogZQXfEKe/Nl27KaP8fNIm4srw8oCMgcyBb7Y tyrLTaKfS482ZgD6FKwFXAlUX6yAHeSZ4X6gnBc1+Mo5bIS81JzQjFY+wxqr8qRRZMjQNT P8LwHbVeE1D8XzHrQBBSAdYU5qhK/ZuGONEqKu56ojL+IAfL8gkTO3STS6AJD4+S1lp/u9 72A+fab0l+vCx3StK18EQU+fAh8SkAsu+mvVmftNQqkfnYHz2UyS2gLbO3BgPJMeuqsxTw jfh2vEmBtfAOO00wPGLBvAtkOXeYUiWrXK0w/i1DtxBkgtoUX+JQI0yrYSxC0w== 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 E126776F64 for ; Tue, 03 Dec 2024 12:45:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIRL0-0001eJ-1x; Tue, 03 Dec 2024 06:45:06 -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 1tIRKw-0001dU-TY for guix-patches@gnu.org; Tue, 03 Dec 2024 06:45:02 -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 1tIRKw-0001eB-FG for guix-patches@gnu.org; Tue, 03 Dec 2024 06:45:02 -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:Subject; bh=lkpXsAcho3ONphu67OM4bk0pUSAZGqHYtTgDoGToMuU=; b=Uu0egnpy/rmqAufPZbPw319DwdsJ5ptjy0eZ7GZEhIJyZOvax2pyXfnxywOEiTIL4ZTSjcKCFrtWJWgpTyh0bUwCnInCA2OpHxCh7OUkvCJvP+pIOEaBO2OuPhKKMISpCmwKbXCOqVRgo1Msyem/JkADlab4U458BTlaQLXfV7c7qm5PEQf2Z+Pq3piAqyWFyTEhGeG32W4APhN9sqp+IFoFZZvKOo6mipbR1rP2hYTEqBszEDpaBvRxxUlxpfZFhIiAKdlQH+RbZCZ32I0722qnwvQVrXK7KfmeL8Se9cTZkL+X8p4HV1dSt+Za8IMhFEhE2bEmqW+gRQpnZJqQbg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIRKv-0001Ky-W0; Tue, 03 Dec 2024 06:45:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74668] [PATCH 0/2] Golang build-system adjustments. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: cox.katherine.e+guix@gmail.com, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Tue, 03 Dec 2024 11:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74668 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74668@debbugs.gnu.org Cc: Sharlatan Hellseher , Maxim Cournoyer , Katherine Cox-Buday , Sharlatan Hellseher X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Katherine Cox-Buday , Sharlatan Hellseher Received: via spool by submit@debbugs.gnu.org id=B.17332263005113 (code B ref -1); Tue, 03 Dec 2024 11:45:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Dec 2024 11:45:00 +0000 Received: from localhost ([127.0.0.1]:58464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIRKu-0001KO-6c for submit@debbugs.gnu.org; Tue, 03 Dec 2024 06:45:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:49632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIRKp-0001KC-M5 for submit@debbugs.gnu.org; Tue, 03 Dec 2024 06:44:59 -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 1tIRKo-0001Zg-Dg for guix-patches@gnu.org; Tue, 03 Dec 2024 06:44:55 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIRKl-0001dI-QM for guix-patches@gnu.org; Tue, 03 Dec 2024 06:44:53 -0500 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-434a0fd9778so49977205e9.0 for ; Tue, 03 Dec 2024 03:44:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733226290; x=1733831090; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lkpXsAcho3ONphu67OM4bk0pUSAZGqHYtTgDoGToMuU=; b=bz3yZOkRBrXoxtW6E+tP6t3yu3f/tfvKm61vGi7tbtIPV89jrciHuLg/c0S5CwuDlM mdhdAHC/YHjDgcECBz0enxfv7rBCOsZaRWuhGD+1G4QezFuPu8QGRT5iPdcs7sjBERCs m0f9x4HfE2nG8C7aqU2NcsvGLfjKywhRbEuhxAXCe1oOv64Ze0x552ileCj80Eq3o8kb A7Xvv4voh5HubYFnaDkkDSfb8PjmbS1CkCT0p0kSAMOPj41m4z66jaKMnhreto9gdFsI IRcxJygYTKeKoNaoNwQCxlxRqCe/bX6lRwaIBnCSjJ+9qZDJlJzxcBQY2R4jrlAyCLDq FirA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733226290; x=1733831090; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lkpXsAcho3ONphu67OM4bk0pUSAZGqHYtTgDoGToMuU=; b=RMrpscNtXRo4FKXjQUF+PceMICbeVpQM03ayE04QljRjE1q2n9NIGEq9B23g/57Ssh XuY7RvCbdtlfOgTOym6etOYpGnqm7ugQGdPM4fpUt+f/k0kzzmDRSqbHCRkYv4IGDxDT rx1z60sfJeKQV6vYHRCCQj3klWv0rNfCG0hqJ3jSdnaOInUqtdDY3a3CK9U2MyIUqPEV UIbboh0MEcCBzw2c6+P40xLXA8rBW6nf02ilzRbJsF93euCDpxfyL48BtViVCenII3qj R0ha/abzsbGB4GHYRcb1HbrQJOS95yUdggPN7oBsz+2/VnwRXsIpN3LVGSPYWRudxEPG Pn8A== X-Gm-Message-State: AOJu0Yxze6rx0vlSvFX0qr0CnnETMBnN057JfyhkFGe9BKKSgXHgxPx1 aVphKkEasooqs8zxzI0RE2LCpuwwGkQ3LX2H7kJ6uKooz54kGzVr+I3/8AlROhY= X-Gm-Gg: ASbGncsQAP6GJSiDce80/jfd2Cyt73HJogaWQBTgaMn9G+vbwlitHRYCyTm6BeKYTzW aUXN5nrao6TUtdpc30az8Y260XUKlyZ+EOzJTWw29fKakz6SSrQEus59/qjtZpNaPP+SmeK4UvU nWvk/0Gg3dCOJUBOj/vqJKvTZIQddMJwHjf1zJq53uwklDuQymTkivFKI2AS1SdQt0busOW9oAl DHjONJUbWhikyzVYkIq9uEHS5mO2wwh9HzZFxmw0kS5emV6ZpfJNwmJ9xtrAi0p7L1OvTTK0btw reEAHgh9d9xlRgRngtQnVQirsimedNY9y2cGLSAcUw== X-Google-Smtp-Source: AGHT+IHEmZX9BFpMW6Qqa8Ci/Ua9OwVHDBrYB9zo+mgNhSoN+zrBwtiXPzGVtWdRI4gsTKgtviuO3A== X-Received: by 2002:a05:600c:4fc9:b0:434:a0bf:98ea with SMTP id 5b1f17b1804b1-434d09c0b88mr19320355e9.9.1733226289627; Tue, 03 Dec 2024 03:44:49 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434b0dc6352sm186479695e9.21.2024.12.03.03.44.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Dec 2024 03:44:49 -0800 (PST) From: Sharlatan Hellseher Date: Tue, 3 Dec 2024 11:44:45 +0000 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=sharlatanus@gmail.com; helo=mail-wm1-x32d.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Spam-Score: 0.40 X-Spam-Score: 0.40 X-Migadu-Queue-Id: E126776F64 X-Migadu-Scanner: mx10.migadu.com X-TUID: uIvLX/6GVYLR Hi Guixers! While working on golang refresh and shift tasks I've faced with cases when all tests files are located in subdirs and can't be run with current implementation - #:test-subdirs provides missing option to bypass that limitation, it set to "..." by default allowing to run all available tests, and accepts a list of directories to resolve cicles or failinng tests in sbubdirs. It simplifies pacakges by removing customr check phases this:o --8<---------------cut here---------------start------------->8--- ... (replace 'check (lambda* (#:key tests? import-path #:allow-other-keys) (when tests? (with-directory-excursion (string-append "src/" import-path) (invoke "go" "test" "-v" "./...")))))))) ... --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- (replace 'check (lambda* (#:key tests? import-path #:allow-other-keys) (when tests? (with-directory-excursion (string-append "src/" import-path) (invoke "go" "test" "-v" ;; acme - cycle with go-golang-org-x-net "./argon2/..." "./bcrypt/..." "./blake2b/..." "./blake2s/..." "./blowfish/..." "./bn256/..." "./cast5/..." "./chacha20/..." "./chacha20poly1305/..." "./cryptobyte/..." "./curve25519/..." "./ed25519/..." "./hkdf/..." "./internal/..." "./md4/..." "./nacl/..." "./ocsp/..." "./openpgp/..." "./otr/..." "./pbkdf2/..." "./pkcs12/..." "./poly1305/..." "./ripemd160/..." "./salsa20/..." "./scrypt/..." "./sha3/..." "./ssh/..." "./tea/..." "./twofish/..." "./x509roots/..." "./xtea/..." "./xts/...")))))))) --8<---------------cut here---------------end--------------->8--- I've applied it on go-team branch locally and started resolving missing inputs where required. The second adjustments is to make "-x" build flag optional which does not help to resolve build fails and produces a massive log output in most of my cases not helping at all. Unfortunatly, go-team contains not too many active members. CC: Maxim Cournoyer , Efraim Flashner Sharlatan Hellseher (2): build: go-build-system: Relax build verbosity. build-system/go: Add test-subdirs option key. guix/build-system/go.scm | 4 +++ guix/build/go-build-system.scm | 58 +++++++++++++++++++++++++++------- 2 files changed, 50 insertions(+), 12 deletions(-) base-commit: d97a67d41de142c0fbdba55e96bfc147482bfae2 prerequisite-patch-id: 7c60aacd825ea1fd299462d1ae31beb34902fbaf prerequisite-patch-id: 5136c6924ea61be099691eb9b0c227936a08954a prerequisite-patch-id: 47fb416de83dc133d647e3e07a5c398391336eb1 prerequisite-patch-id: 760115bac637e5f39738d82ed16232c8792a8f82 prerequisite-patch-id: f8b63ec4ec753bcc2c3a6022abaf47146e454a72 prerequisite-patch-id: 2d5e20587944fe26b277509396dabd362bf8105c prerequisite-patch-id: 016a80d28a5a0135ebed61b6b5acc460f6c43b32 prerequisite-patch-id: e5f81823c9ea1b93abf1f3fec60e695d16909a06 prerequisite-patch-id: 8badae173015a65a237c45b42241e36355e9f2c1 prerequisite-patch-id: af090660b016e08b3612bee7ca2125bb0e1d00b2 prerequisite-patch-id: 294de506884b2b150eba248b4a1731de95d50176 prerequisite-patch-id: 8ed8c96cf2383811b66abe15f6fa9af73689b94c prerequisite-patch-id: 6dd547d424e4eeb99715847136b3fad7f566d9fa prerequisite-patch-id: ff3892aa0acc89208f4eba1f0866f8da01d1cb21 prerequisite-patch-id: 3a9c1b8c45bb320815892e512fdf3271ea9c8f0f prerequisite-patch-id: 526f9ea0e83f7479ac37679b69f9ad18c38e9234 prerequisite-patch-id: ad91b786810c1a4c13d2d39e0eb51d0932f1060c prerequisite-patch-id: e74404537a20ed352985299432056116f2d8881b prerequisite-patch-id: 0aae6b4b352a367bd8770075b16547c060262e34 prerequisite-patch-id: 0b485c3a7c266118cdafc3b30aebd704b1018af7 prerequisite-patch-id: add3eb95e39cd65a47e86d74909f822e4fcbd542 prerequisite-patch-id: 98487d900da05e0a4f39bb28036918afa76e1d9a prerequisite-patch-id: dedc1426c51db76f30ddd92a8ed04e1793f7839c prerequisite-patch-id: e7606e328c545a4db40d37ca3aa5f99c0b4287f8 prerequisite-patch-id: 63fa87ba5ddf33561784e25199d605aa0b18133e prerequisite-patch-id: 04fe1403ea43cfbeeabbd87ee9b6707c64101c07 prerequisite-patch-id: 3f7cf90125fd223507087c94a92aa16dba2662f2 prerequisite-patch-id: e763a43853180ad952fc5eaeb60e4ef2762f6d3f prerequisite-patch-id: 284d08f1257d7e6c69e46b9e7fee165fa1aa5b07 prerequisite-patch-id: 0ebe96fd52cc9140b53b17046b2aa2b6969a6e2c prerequisite-patch-id: 87339b708e38828f9a1769b3f2740f328a9bb59b prerequisite-patch-id: f3698965b06dbb73c6b702c22830a7e400b8b765 prerequisite-patch-id: 6d464271ac1083b7f303d3ac75963a7bf91e8ce0 prerequisite-patch-id: 93d8965a1a7a4110eb7348d43df9fb39899df5cc prerequisite-patch-id: 1bb520f9ad8cc64b07041ccea8ffb6ad51fea4a7 prerequisite-patch-id: d6c45d0b7fd5a8a744f560c1ee24e90e63546196 prerequisite-patch-id: d11dbd6a272b78c06b2373196897bd02da491e66 prerequisite-patch-id: aa2d3d94d3cebd23780c0785098e728080a25063 prerequisite-patch-id: 5e76884b7109e88da98532ec66c469b39335c14d prerequisite-patch-id: dfaa606ac8721e076b9870eca03721b731e3cc65 prerequisite-patch-id: 26a9585f84c5be0cf6ac60eeab3f62e2c1b59a32 prerequisite-patch-id: 790109ae7b8db35051f0532fb9820cc794f6e90e prerequisite-patch-id: cdcb8df8b8060543aeb46727c6097640784c5f77 prerequisite-patch-id: cef60c111cfd4c7c77b8402196710a334ed4244a prerequisite-patch-id: 6801272b174236af0bb5a94be1e105887f525660 prerequisite-patch-id: 3d03b39da9fcc5961b7672ea82784d68512cc9ef prerequisite-patch-id: 56410b64255826975d87f89c6bca96d96b3bddfa prerequisite-patch-id: 455428488cdc812b099c8a0aed3763632dbdc60c prerequisite-patch-id: 66d83739e60670e4a0bd3db34199da0346e84062 prerequisite-patch-id: cb91e8091b251ad54b16ab0c26145ec1e3207cd9 prerequisite-patch-id: 2b1d8e54b873c0c373a5c1fd3117a73c5c9df7a5 prerequisite-patch-id: 4a31a50b43fa9275f7f7801e658d593fe48798a4 prerequisite-patch-id: 43d9065cfb585329af82ff9b7510896ed5be6ea5 prerequisite-patch-id: 0742f873787eafc96b5bf2711e1ff19bc2c55970 prerequisite-patch-id: 0620608a1dfe736dc00327ee00b8bc9b24d374ae -- 2.46.0