From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 02 07:34:31 2023 Received: (at submit) by debbugs.gnu.org; 2 Oct 2023 11:34:31 +0000 Received: from localhost ([127.0.0.1]:36159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnHC3-0002Ud-03 for submit@debbugs.gnu.org; Mon, 02 Oct 2023 07:34:31 -0400 Received: from lists.gnu.org ([2001:470:142::17]:35688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnHC1-0002UP-1P for submit@debbugs.gnu.org; Mon, 02 Oct 2023 07:34:29 -0400 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 1qnHBe-00063k-H0 for bug-guix@gnu.org; Mon, 02 Oct 2023 07:34:06 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qnHBc-0006kf-34 for bug-guix@gnu.org; Mon, 02 Oct 2023 07:34:06 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C03A2240101 for ; Mon, 2 Oct 2023 13:34:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1696246440; bh=H8G4ear2ZCZpc8Lve2vzcBry+5QlhqXOkqVliSEy7cE=; h=From:To:Subject:Date:Message-ID:MIME-Version:From; b=Vn1zR8IM0UB61B3M+okwxrwC98Yb1MpSh+RUGNqNbg0IpUaoo094eviBpACZlKirV osEem1nmPj2YUmyiqi039cYoF8X18jDIQy1uriJukiWNDe8l6XBzrprpejohfL/e4n 1PgFOgOorScEqjiEyHmH4kJdfTYISg83on8FWcDIKxXxv1xmFzxIzgkf2cwGj1KDpE LgYokr3PDgDzaP5FAcjPe8c7FwZWzcUJdXetYzDRnvB5LyQ81Xdd7rl5fVLzE4AP79 tpx5w0dWb6qAF9m3Pgcz+znzdJDxiVa1SpxZjSqAvFWJkLuQga84IPUyuwdzuoOzYi KBio2ogLMmGBg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Rzf3r0xGSz6twZ for ; Mon, 2 Oct 2023 13:34:00 +0200 (CEST) From: Guillaume Le Vaillant To: bug-guix@gnu.org Subject: Error with recursive git checkout Date: Mon, 02 Oct 2023 11:17:16 +0000 Message-ID: <87msx1qmvs.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.66; envelope-from=glv@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi. With Guix at 47d0346553fdad9795c9390a60944ccaad7e5255, I'm unable to build a package (see attached patch) requiring a recursive git-fetch to get the sources: =2D-8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build bladerf The following derivations will be built: /gnu/store/982zz7z94va89fxn79hpjil5wp0v49pn-bladerf-2023.02.drv /gnu/store/5rlqf4srlnnymsv93ydxkgxwgfszkszw-bladerf-2023.02-checkout.drv building /gnu/store/5rlqf4srlnnymsv93ydxkgxwgfszkszw-bladerf-2023.02-checko= ut.drv... Initialized empty Git repository in /gnu/store/fhlm9zxs4r4cgapbngckpzrs8rnz= f1l2-bladerf-2023.02-checkout/.git/ From=20https://github.com/Nuand/bladeRF * tag 2023.02 -> FETCH_HEAD Note: switching to 'FETCH_HEAD'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 41ef634 Revert "libbladeRF: update compatibility for FPGA v0= .15.0 from libbladeRF 2.4.0 to 2.5.0" /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/git-= core/git-submodule: line 7: basename: command not found /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/git-= core/git-submodule: line 7: sed: command not found /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/git-= core/git-sh-setup: line 77: basename: command not found /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/git-= core/git-sh-setup: line 77: sed: command not found /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/git-= core/git-sh-setup: line 292: uname: command not found /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/git-= core/git-submodule: line 613: sed: command not found /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/git-= core/git-submodule: line 613: cmd_: command not found git-fetch: '/gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/= bin/git submodule update --init --recursive' failed with exit code 127 =2D-8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-bladerf.patch Content-Transfer-Encoding: quoted-printable From=20ac6fc0fdf16187c4e0c61916c52ced35a031fd76 Mon Sep 17 00:00:00 2001 Message-ID: From: Guillaume Le Vaillant Date: Sat, 30 Sep 2023 11:17:40 +0200 Subject: [PATCH 1/8] gnu: Add bladerf. * gnu/packages/radio.scm (bladerf): New variable. =2D-- gnu/packages/radio.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 2e4e9db4cc..aa26c04db2 100644 =2D-- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -69,10 +69,12 @@ (define-module (gnu packages radio) #:use-module (gnu packages image) #:use-module (gnu packages image-processing) #:use-module (gnu packages javascript) + #:use-module (gnu packages libedit) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) #:use-module (gnu packages logging) #:use-module (gnu packages lua) + #:use-module (gnu packages man) #:use-module (gnu packages maths) #:use-module (gnu packages mp3) #:use-module (gnu packages multiprecision) @@ -1416,6 +1418,43 @@ (define-public hackrf @code{(udev-rules-service 'hackrf hackrf #:groups '(\"dialout\"))}.") (license license:gpl2))) =20 +(define-public bladerf + (package + (name "bladerf") + (version "2023.02") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Nuand/bladeRF") + (commit version) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 "038v9qdmrwx9mxsrq4l36bap0bsypyg4i8hs7l7srv4b0c2s7ynp")))) + (build-system cmake-build-system) + (native-inputs (list doxygen help2man pkg-config)) + (inputs (list libedit libusb)) + (arguments + (list #:configure-flags #~(list "-DTAGGED_RELEASE=3DON" + (string-append "-DUDEV_RULES_PATH=3D" + #$output + "/lib/udev/rules.d") + "-DBLADERF_GROUP=3Ddialout" + "-DBUILD_DOCUMENTATION=3DON") + #:tests? #f)) ; No test suite + (home-page "https://www.nuand.com/") + (synopsis "User-space library and utilities for BladeRF SDR") + (description + "This package contains a library and command line utilities for +controlling the BladeRF Software Defined Radio (SDR) over USB. To install= the +hackrf udev rules, you must extend 'udev-service-type' with this package. +E.g.: @code{(udev-rules-service 'bladerf bladerf)}.") + (license (list license:bsd-3 + license:expat + license:gpl2+ + license:lgpl2.1+)))) + (define-public hamlib (package (name "hamlib") base-commit: 47d0346553fdad9795c9390a60944ccaad7e5255 =2D-=20 2.41.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCZRqqpw8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j/ENAD+O1LI9XimLMc0L4YqAZfGUw7C/jxgiJKx0QUS ix8KAv0A/3vZn1hKC0ZDt+28kZcgC/I0H7GQwxNQfZHv7gyytB2j =ZflY -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 02 13:45:22 2023 Received: (at 66305) by debbugs.gnu.org; 2 Oct 2023 17:45:22 +0000 Received: from localhost ([127.0.0.1]:37891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnMyv-0001kU-QL for submit@debbugs.gnu.org; Mon, 02 Oct 2023 13:45:22 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnMyt-0001kC-Hx for 66305@debbugs.gnu.org; Mon, 02 Oct 2023 13:45:20 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 859E5240101 for <66305@debbugs.gnu.org>; Mon, 2 Oct 2023 19:44:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1696268696; bh=p37iJ4l0k1NA0qkB/8Cv8Rmjan6Cx7HDYIsZ0pJgLsM=; h=From:To:Subject:Date:Message-ID:MIME-Version:From; b=ltt9YFmeG25/Z8xJyYzqT+hA7Fj/91aGFoqmfPBBsvtBjit40w2JSJKAfGWiYDLV1 GXVoLZ4Lu9n2tlilnbUq5QECXZuwpY3DLl/ENzeW1PeqfDNZx8mZ1d48+EeXg3SxbC +PZTR1ASPpwvNubNOmhvJqQGcDOV5SF1q0wwcEHxPMGf/ihQfbA3wZ4huOPEAwDZG5 d9MjBeJUW0djN5M5z7SdFYK8Pzz+a83DSxcvkbJnFMXUlpn06RhgwoDguOnmxwCgzk q9WyeCgVTi3nWy2WONzkUHyHEfCr9Y3QpWD4iwxWSbIr5ieH1AQxhwLGmy1fNpFxoa mYiOdHGD0xYvg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RzpHr0W0rz6txK for <66305@debbugs.gnu.org>; Mon, 2 Oct 2023 19:44:55 +0200 (CEST) References: <87msx1qmvs.fsf@kitej> From: Guillaume Le Vaillant To: 66305@debbugs.gnu.org Subject: Re: Error with recursive git checkout Date: Mon, 02 Oct 2023 17:37:28 +0000 In-reply-to: <87msx1qmvs.fsf@kitej> Message-ID: <878r8kyl4j.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66305 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Workaround: by rebooting the machine to an older generation (and therefore an older guix-daemon, with Guix at 4f35ff1275e05be31f5d41464ccf147e9dbfd016), the recursive git-fetch works. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCZRsBjA8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j/4nwD8Cqas1KobHRno6EbybzfqEgxwO7IzDF3feFvt K+QkbicA/RcLObnfiin35r8zgeTEPZSZof4vOhJzACmIAMgByr/A =f9n0 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 03 15:30:02 2023 Received: (at 66305) by debbugs.gnu.org; 3 Oct 2023 19:30:02 +0000 Received: from localhost ([127.0.0.1]:40739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnl5l-0003Rn-D4 for submit@debbugs.gnu.org; Tue, 03 Oct 2023 15:30:02 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:41410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnl5j-0003RK-8T for 66305@debbugs.gnu.org; Tue, 03 Oct 2023 15:30:00 -0400 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-40651b22977so2714065e9.1 for <66305@debbugs.gnu.org>; Tue, 03 Oct 2023 12:29:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696361376; x=1696966176; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=yl6f1VzKZmK9CLJuAw5yQyV/D4YMI8Sx0/IB8/Lag7Q=; b=mZlrBP7+t9Z/1hQXpWEtbMBols8Hife7uwbIx8RLYxPre39qfjcDujsp6/6EennS11 /7tpdIe1rvBWLyYy01dWIK+cbUrTt4t/xys5TNiju6YQv7A7fnMcf09ETu7/bk3dWY/Z kVjQZR2xOwFtO4nD978K+heYFELcKAUEZTzor9v6jhOWXPZLUhJxmzVmFey9Pv99AMq7 9jn2z0kJ2MwgYohJzcYkrWyJhRGLinikpsMcw9sHq3J6RwM/JSOANoOc7LnK7HsRJDl5 9gqFZlLFun4kFWTXynMJvF4KgZ4Ff6B64dOmMxdMAzDEv5Fa6N39Kr31oGw3O5U7Pq1I C1vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696361376; x=1696966176; h=content-transfer-encoding:mime-version:message-id:date:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=yl6f1VzKZmK9CLJuAw5yQyV/D4YMI8Sx0/IB8/Lag7Q=; b=JEEgFIVcG97C4byvxeiS85yEE005PGaIYdYxRG8ycZ3UE95aAWO12cxZ1tp7VeBEol uR8UPVgQFXTTD1gDpMUSez+lVlKEklZv95xPQXFtbI0Dk1FyXxY4Gw40hpGvS+7/RP17 8I/2q6SP9kzQWxd1KJkKY08qQAxEuLRRHHmH46OF+xVmOKKWU0gz3ZJUZDctui7ONJo5 2egd2ziRGq4DScbZak6W4qXrSHv+OW7E8kFhxigmVXaElkXD2legiXe3ombi8pbZ5yiu FWJNYlNJUsm3itd4BTIe79RjhnvkEtE0cH+OaP5cSoT/ZcVBKRWAOhOZpnlu3nTMIvjq 3V/w== X-Gm-Message-State: AOJu0YyjC/Q225LgI6C9deDpHVg8aw6B/J4Q6Ym4cw2BDXN2nXkb2+Rv gnaqIpknboxEk1N66JYuwWw= X-Google-Smtp-Source: AGHT+IEHzE0msm+C9Kank395vGdCdmKHG46ihWWpPDC78ahediL+oguOFQ7FvyY5ItWk3nn+dgkitA== X-Received: by 2002:a05:600c:1d18:b0:404:72f9:d59a with SMTP id l24-20020a05600c1d1800b0040472f9d59amr422970wms.0.1696361375913; Tue, 03 Oct 2023 12:29:35 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id p25-20020a7bcc99000000b004063ea92492sm1949314wma.22.2023.10.03.12.29.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 12:29:35 -0700 (PDT) From: Simon Tournier To: Guillaume Le Vaillant , 66305@debbugs.gnu.org Subject: Re: bug#66305: Error with recursive git checkout In-Reply-To: <87msx1qmvs.fsf@kitej> Date: Tue, 03 Oct 2023 21:26:53 +0200 Message-ID: <877co34ide.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66305 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Guillaume, On Mon, 02 Oct 2023 at 11:17, Guillaume Le Vaillant wrote: > With Guix at 47d0346553fdad9795c9390a60944ccaad7e5255, I'm unable to > build a package (see attached patch) requiring a recursive git-fetch to > get the sources: [...] > HEAD is now at 41ef634 Revert "libbladeRF: update compatibility for FPGA = v0.15.0 from libbladeRF 2.4.0 to 2.5.0" > /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/gi= t-core/git-submodule: line 7: basename: command not found > /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/gi= t-core/git-submodule: line 7: sed: command not found > /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/gi= t-core/git-sh-setup: line 77: basename: command not found > /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/gi= t-core/git-sh-setup: line 77: sed: command not found > /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/gi= t-core/git-sh-setup: line 292: uname: command not found > /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/gi= t-core/git-submodule: line 613: sed: command not found > /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/gi= t-core/git-submodule: line 613: cmd_: command not found > git-fetch: '/gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.= 0/bin/git submodule update --init --recursive' failed with exit code 127 It looks very similar as bug#65924: bug#65924: git searches coreutils and util-linux commands in PATH Maxim Cournoyer Wed, 13 Sep 2023 14:00:09 -0400 id:87fs3iuf6e.fsf@gmail.com https://issues.guix.gnu.org//65924 https://issues.guix.gnu.org/msgid/87fs3iuf6e.fsf@gmail.com https://yhetil.org/guix/87fs3iuf6e.fsf@gmail.com I think it is a corollary from: bug#65866: [PATCH 0/8] Add built-in builder for Git checkouts Ludovic Court=C3=A8s Tue, 26 Sep 2023 17:44:22 +0200 id:87fs312b3d.fsf_-_@gnu.org https://issues.guix.gnu.org//65866 https://issues.guix.gnu.org/msgid/87fs312b3d.fsf_-_@gnu.org https://yhetil.org/guix/87fs312b3d.fsf_-_@gnu.org and if I am correct, such potential issue had been pointed by: Re: hard dependency on Git? (was bug#65866: [PATCH 0/8] Add built-i= n builder for Git checkouts) Simon Tournier Thu, 14 Sep 2023 19:28:06 +0200 id:CAJ3okZ0hzimVNtTcSsJKR-x=3DWKpPVtHYxshznGzecqxNHFWC5Q@mail.gmail= .com https://lists.gnu.org/archive/html/guix-devel/2023-09 https://yhetil.org/guix/CAJ3okZ0hzimVNtTcSsJKR-x=3DWKpPVtHYxshznGze= cqxNHFWC5Q@mail.gmail.com Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 04 12:06:33 2023 Received: (at control) by debbugs.gnu.org; 4 Oct 2023 16:06:33 +0000 Received: from localhost ([127.0.0.1]:45149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo4OP-0001QS-6f for submit@debbugs.gnu.org; Wed, 04 Oct 2023 12:06:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo4OM-0001QA-OA for control@debbugs.gnu.org; Wed, 04 Oct 2023 12:06:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qo4Nx-0000YM-AU for control@debbugs.gnu.org; Wed, 04 Oct 2023 12:06:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=OpcxGVft4Pq0DrvEO/BUC6scls7jFUbZYQjN2uwnOWs=; b=dWUL2/g5vFQ0Gv a6LLnhCw9xODKv4Nyxtox2jgz9i9GaeMXwRhuNzdYsqe0YV6/BCUXDxh6JEsi8KUsYyYxx6gD8l2Z a1i7tmKY86rN+mrYwxUzQPQ5NXpDyp+VAocD23w5HoczLNwHPFe0UWgtvEDgML9ZwcaBY6Lz5dhjd UUaDro+ptSA3HDGbqj2dww7a1KgG0hYEBm3jx0V/DO2wtudyMqSUxV+k83I0AOiISk+m9Zj+Dy2RK d1zAb5o9Z9iEwO+G3F2TtVsHRNEW7zuNqIsrR8OojIho6psgK2fvD0MMjDLPfH2m7qHfU0D+i1y2Z QgveYSxjjBQ7MFy6X8Og==; Date: Wed, 04 Oct 2023 18:05:46 +0200 Message-Id: <87mswybcf9.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #66305 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) severity 66305 important quit From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 04 12:06:58 2023 Received: (at control) by debbugs.gnu.org; 4 Oct 2023 16:06:58 +0000 Received: from localhost ([127.0.0.1]:45161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo4On-0001Rj-VQ for submit@debbugs.gnu.org; Wed, 04 Oct 2023 12:06:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo4Om-0001RQ-Ph for control@debbugs.gnu.org; Wed, 04 Oct 2023 12:06:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qo4OP-0000cX-Py for control@debbugs.gnu.org; Wed, 04 Oct 2023 12:06:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=zi3uxx8sLodvCIsvQGhS9mlSnjo36E0HOcc6BiSM9fM=; b=p8gYiJfP62Fb0q oMhRzL+vQekvLh8un1C7/Ck1qyhTV4avt5suwsJUCwBuWhBrohdxsA7yroL7Jxq6rJ7nPfon6Y0MO B7ixzGG9h53Fble3ckKsbMtl/z4XIdeJKS5v9GGsKy4SR9ZWBn0hhYo3BKf/CaYP41Nb0nFh1LmlD crZuStMghyAU1h4efufQx4GLCCKISOjBoBxizNkSj5x0ab8v5jrXQE84s4q8mCP6wj7v8PiLmAaSw aZhjTQRCykMFWfK/ualez3QTZZBYsxSoKxcwjBEkjKAJE/x3uYjd/wxtX7xkGNdIwnCIIpyF8nHjq n7KvK8CfkGkIPZeK0ctQ==; Date: Wed, 04 Oct 2023 18:06:32 +0200 Message-Id: <87il7mbcdz.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #65924 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) merge 65924 66305 quit From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 04 12:13:41 2023 Received: (at control) by debbugs.gnu.org; 4 Oct 2023 16:13:41 +0000 Received: from localhost ([127.0.0.1]:45169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo4VI-0001ml-Rk for submit@debbugs.gnu.org; Wed, 04 Oct 2023 12:13:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo4VH-0001mE-09 for control@debbugs.gnu.org; Wed, 04 Oct 2023 12:13:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qo4Ut-0001YN-Ek for control@debbugs.gnu.org; Wed, 04 Oct 2023 12:13:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=1iKSDMx0iYvWVkWkveWK+2WIvxyACa4O5QOaQzEbxl8=; b=PK3t9ybym7bpP7 oijxIzvNjVnGugh+sTX0rfC5dVVWQRDflL6Q9eJwtz4cphw7nsGPhklyQE19Ye/3dazL6ZwrW3Kwj tw6XEm2OxmglhQ79ySqUwU7P+paUxyKH3hr1ofkfOX1hig9o3PP6ruMjbtl2sc/X/MkwkzXN6QD7h dgTM+RH5SnPQd7VYWsJOqV5gUQnCG7S/q+4J+APDwkoTtlWG2QxhWsfdbh82cztw3Nz6Td9mT15Nr yL5kX3gzij9Hdmfobe3m4aJXTxFNGxalCVaQZGu+UPrNdaeG9XY4+gSaqkgJ1PO3HELX8jlww1g5a QG3UGtrGqEoqBpZ214jg==; Date: Wed, 04 Oct 2023 18:13:05 +0200 Message-Id: <87bkdebc32.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #65924 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) unmerge 65924 quit From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 04 12:26:35 2023 Received: (at 66305) by debbugs.gnu.org; 4 Oct 2023 16:26:35 +0000 Received: from localhost ([127.0.0.1]:45184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo4hn-00056I-9T for submit@debbugs.gnu.org; Wed, 04 Oct 2023 12:26:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo4hk-000562-Ii for 66305@debbugs.gnu.org; Wed, 04 Oct 2023 12:26:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qo4hM-0006V9-C7; Wed, 04 Oct 2023 12:26:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=SQoTH37yHJ8y7JD4mNWUny3u6dkGCVLnVbIdIzDq6QM=; b=rdiC+m/P4++tx7wq9ywY VgS1DnIfr+vp7oh39vZ63CrfkpINO7OOfbwx8AU/LM/gU6/sHt9A3OpywmsEaXbn2/t+WTx5DVGti 4pAy2//8IKO80D87MyHpZC637Gc1nAy4OTUVjzHA9KApT3+NllI6iWJdbC6raUC/PUqgcDr9oCWPc AD1e2LhSAV0/mqn9uTiF6/k9Gb56MGARFUXkmTNMF0/SoECjaDgcCqzoNprnqR2ZyR1+uI87KH0b+ YudJJDK08WZnPRRgClhNlha37dim4gc3k2IC5Q6ngNOsGn/ENKcVEl6ZW8ONbCAotsMkey5Sh1KZl 0aM32DL4x2xbIw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Tournier Subject: Re: bug#66305: Error with recursive git checkout In-Reply-To: <877co34ide.fsf@gmail.com> (Simon Tournier's message of "Tue, 03 Oct 2023 21:26:53 +0200") References: <877co34ide.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Tridi 13 =?utf-8?Q?Vend=C3=A9miaire?= an 232 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Potiron X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 04 Oct 2023 18:25:56 +0200 Message-ID: <87v8bm9wx7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66305 Cc: Guillaume Le Vaillant , 66305@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Simon Tournier skribis: > On Mon, 02 Oct 2023 at 11:17, Guillaume Le Vaillant wrot= e: > >> With Guix at 47d0346553fdad9795c9390a60944ccaad7e5255, I'm unable to >> build a package (see attached patch) requiring a recursive git-fetch to >> get the sources: > > [...] > >> HEAD is now at 41ef634 Revert "libbladeRF: update compatibility for FPGA= v0.15.0 from libbladeRF 2.4.0 to 2.5.0" >> /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/g= it-core/git-submodule: line 7: basename: command not found >> /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/g= it-core/git-submodule: line 7: sed: command not found >> /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/g= it-core/git-sh-setup: line 77: basename: command not found >> /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/g= it-core/git-sh-setup: line 77: sed: command not found >> /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/g= it-core/git-sh-setup: line 292: uname: command not found >> /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/g= it-core/git-submodule: line 613: sed: command not found >> /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/g= it-core/git-submodule: line 613: cmd_: command not found >> git-fetch: '/gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41= .0/bin/git submodule update --init --recursive' failed with exit code 127 > > It looks very similar as bug#65924: > > bug#65924: git searches coreutils and util-linux commands in PATH > Maxim Cournoyer D=E2=80=99oh! Thanks Simon and Guillaume for the heads-up (I had totally overlooked that you raised this during the review, Simon; my bad). Here=E2=80=99s a patch that fixes it for me: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/guix/scripts/perform-download.scm b/guix/scripts/perform-download.scm index 045dd84ad6..c869f19502 100644 --- a/guix/scripts/perform-download.scm +++ b/guix/scripts/perform-download.scm @@ -108,6 +108,10 @@ (define* (perform-git-download drv output (drv-output (assoc-ref (derivation-outputs drv) "out")) (algo (derivation-output-hash-algo drv-output)) (hash (derivation-output-hash drv-output))) + ;; Commands such as 'git submodule' expect Coreutils and sed (among + ;; others) to be in $PATH. + (setenv "PATH" "/run/current-system/profile/bin:/bin:/usr/bin") + (git-fetch-with-fallback url commit output #:recursive? recursive? #:git-command %git)))) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable To test it, you need to run the daemon from your checkout, with something like: sudo herd stop guix-daemon sudo -E ./pre-inst-env guix-daemon --build-users-group=3Dguixbuild & (Once we=E2=80=99ve applied the fix, we=E2=80=99ll have to update the =E2= =80=98guix=E2=80=99 package.) I think we should eventually our =E2=80=98git=E2=80=99 package as discussed= in , but that won=E2=80=99t help on foreign distros anyway, hence the fix above. WDYT? Ludo=E2=80=99. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 04 14:16:37 2023 Received: (at 66305) by debbugs.gnu.org; 4 Oct 2023 18:16:37 +0000 Received: from localhost ([127.0.0.1]:45303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo6QH-00050W-0z for submit@debbugs.gnu.org; Wed, 04 Oct 2023 14:16:37 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:40409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo6QF-000501-1V for 66305@debbugs.gnu.org; Wed, 04 Oct 2023 14:16:36 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4053e6e8ca7so203725e9.1 for <66305@debbugs.gnu.org>; Wed, 04 Oct 2023 11:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696443371; x=1697048171; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=5PF7tw7fVU6zDp0rDSNpWzXdsCwSGLIR1H9YHyQO+OQ=; b=d15pDfKSIm1WaGZQ+cW9GGu4FeD7jJ0gpJ84yQHvMwXBAzTpGYPgH2UusNkZao1j94 J5Q3hdmSSWZyScF0v/TikUm57FEdsW3C1QYE7BGebpaQ6PU8taxtVnrC9XxF+9y5KKBn l/Ooa++1U/bjPXc1VDtPyT3Z2RsJ0jeGVHXvy/ikT0Yr8EZ9VODbB9LYnIK+bFTA8Zzk 1siBJUAlo03Qq0kabUxt8JOOkTuKj4yIc+Pa6PNxpsoX9Dq6zKLaglLDxnU8jrBmbVkh H3/ka0v+q1bPLYVt7n0C+aTVD05sC6u0KMRvURu+1yoGObc35E5DJrW5UsgakdSAltwl pcpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696443371; x=1697048171; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5PF7tw7fVU6zDp0rDSNpWzXdsCwSGLIR1H9YHyQO+OQ=; b=U9AHcejag9MvmfMv0zTYTExhMIQtjKc3KSUCcpxiP0dL2yjbSOTZITBiRO8HuC08pr F/auuQ4QHxegFTDyTqFqiVpzlI1br7AldMAqUqXxP/eTkUF+Odzt3HAqQquM4isjLXrj AY1c1ud71CyjrPcINYHlo01xY/z1BilYgZViV1DtfT9x+PSt3Ektq3889GoOV4hND9ae Fx6xjE14LDZ2ToWjtiy7KcUS38DdGHSBehLktbKf5FMD2PsSlz3kdt7g4T07sLjqW5Mr h7Zvti388LmP/di7nt+rA40/8f44LRQo222/rGohe8KkhikBYAUTtjIuq/nZ/CNuXoil IMTw== X-Gm-Message-State: AOJu0YylBWA/RjmFEH9NE6YFSep+kw9kCNVgXn7NcW6Tgo0XiXbCKQz3 HbKkstOSRXGF4arhy3lIxLEpc2xrH5I= X-Google-Smtp-Source: AGHT+IHwchow0mGNCWcjXioDt8OvHTQUkkuIkKr4YJMNFF9lQ7KiaBofqYDu2/tLzSiVRqHo1EF20w== X-Received: by 2002:a05:600c:450f:b0:405:358c:ba75 with SMTP id t15-20020a05600c450f00b00405358cba75mr3117175wmo.0.1696443371178; Wed, 04 Oct 2023 11:16:11 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id az11-20020a05600c600b00b003fbe791a0e8sm2163825wmb.0.2023.10.04.11.16.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 11:16:10 -0700 (PDT) From: Simon Tournier To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#66305: Error with recursive git checkout In-Reply-To: <87v8bm9wx7.fsf@gnu.org> References: <877co34ide.fsf@gmail.com> <87v8bm9wx7.fsf@gnu.org> Date: Wed, 04 Oct 2023 20:16:06 +0200 Message-ID: <87r0maz21l.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66305 Cc: Guillaume Le Vaillant , 66305@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludo, On Wed, 04 Oct 2023 at 18:25, Ludovic Court=C3=A8s wrote: > diff --git a/guix/scripts/perform-download.scm b/guix/scripts/perform-dow= nload.scm > index 045dd84ad6..c869f19502 100644 > --- a/guix/scripts/perform-download.scm > +++ b/guix/scripts/perform-download.scm > @@ -108,6 +108,10 @@ (define* (perform-git-download drv output > (drv-output (assoc-ref (derivation-outputs drv) "out")) > (algo (derivation-output-hash-algo drv-output)) > (hash (derivation-output-hash drv-output))) > + ;; Commands such as 'git submodule' expect Coreutils and sed (among > + ;; others) to be in $PATH. > + (setenv "PATH" "/run/current-system/profile/bin:/bin:/usr/bin") > + > (git-fetch-with-fallback url commit output > #:recursive? recursive? > #:git-command %git)))) LGTM. Well, I would add a comment explicitly mentioning that=E2=80=99s a temporar= y fix pointing this issue #66305. And I have tested with: --8<---------------cut here---------------start------------->8--- $ guix build ocaml-ansiterminal -S --no-substitutes $ guix build volk --no-substitutes --check -S --8<---------------cut here---------------end--------------->8--- Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 04 14:19:00 2023 Received: (at 66305) by debbugs.gnu.org; 4 Oct 2023 18:19:00 +0000 Received: from localhost ([127.0.0.1]:45314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo6SZ-00054s-UV for submit@debbugs.gnu.org; Wed, 04 Oct 2023 14:19:00 -0400 Received: from mail-qv1-xf30.google.com ([2607:f8b0:4864:20::f30]:38162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo6SL-00054H-FB for 66305@debbugs.gnu.org; Wed, 04 Oct 2023 14:18:57 -0400 Received: by mail-qv1-xf30.google.com with SMTP id 6a1803df08f44-65b20c37916so59466d6.1 for <66305@debbugs.gnu.org>; Wed, 04 Oct 2023 11:18:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696443502; x=1697048302; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=fP0rWNr0qWDF5GRz7Z87VeckR75PdeH2urg28QPspgs=; b=CoH5NO6GSBZsBBO6eASutNLTDCD6i4zFpZsZ5Y8CFhL1nygl8czuOz8QxkG3aJNQ4+ qmj0Jg8egRyNmjUcYB5G8NhkFvhh73UvP/O0x/rsgalgh+rNMeEkuZ7DH2+meoNhlCa6 H1cE/RAaMkgtroGR/Ixg1t/R014iYyFaEt3cQ95QhKI16bPHANvVSO7BZiapZPeJOkzO ptxjRqTO0pCsqIBV/OcdnjVZswdh89qksfDIhW/JbG+n3bdiVirdgIXcNinfb1Q0efhQ oCSF5w/jAxdrWDrjj04nUFROqDy9d50mCZqfXV+/Qxn6NOSBebyE524cflx3zJxP2utG q3fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696443502; x=1697048302; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fP0rWNr0qWDF5GRz7Z87VeckR75PdeH2urg28QPspgs=; b=X6qIm5hRb4KhLKPrp0o4mi4ZfqErbCNC6eeWMkd6mNkqFh4QwXWFjz5FHSER6GHtLS eclbu8xDSvbh6b9xt01vAT1Y7b7bnkWAqP6/xobv2CmjraAahXVgvMiI8y6qU0F6C9iJ 0nLxJOqFb2eixVoJaIiPOJMCdY26rIX2k3SXGdxv45tmYRWeWH7u69b3YwWBuhR0eN1r nBNe/wHuC3i3A4XMN0GH+XGOY57PXOy2WqzKQ9PwSvr3k1e0QIAZEhXe6YbaYYxheCMZ Wmu/nCV0Wj/ByeL67E9RbTFCYAz80R4hSOIeIbvx1MG7yvkIiVHBIN1NBsNjAsQhaCIS 94bA== X-Gm-Message-State: AOJu0YxfxBNyqkQ82yojCuqlwJfDXQMpSJI9/31hE3gsv2lp1ETy3qm5 0HymWgocsRFZp77chxJMnvKJJMWP1IQdcCX18EY= X-Google-Smtp-Source: AGHT+IFGkTtPTKu4ZOQWXrcm2pFPH5YbRTSG1qy2OFCkMK6Od+syBH4zz6P0ylj1dk5wsOiBOH4DBsz+dVLLmQFXb1I= X-Received: by 2002:ad4:5f88:0:b0:651:8b27:f1f5 with SMTP id jp8-20020ad45f88000000b006518b27f1f5mr3140412qvb.6.1696443501790; Wed, 04 Oct 2023 11:18:21 -0700 (PDT) MIME-Version: 1.0 References: <877co34ide.fsf@gmail.com> <87v8bm9wx7.fsf@gnu.org> <87r0maz21l.fsf@gmail.com> In-Reply-To: <87r0maz21l.fsf@gmail.com> From: Simon Tournier Date: Wed, 4 Oct 2023 20:18:10 +0200 Message-ID: Subject: Re: bug#66305: Error with recursive git checkout To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66305 Cc: Guillaume Le Vaillant , 66305@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, 4 Oct 2023 at 20:16, Simon Tournier wrote: > And I have tested with: On foreign distro I mean :-) From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 05 05:29:31 2023 Received: (at 66305) by debbugs.gnu.org; 5 Oct 2023 09:29:31 +0000 Received: from localhost ([127.0.0.1]:46018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoKfj-0008TR-Ft for submit@debbugs.gnu.org; Thu, 05 Oct 2023 05:29:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoKfh-0008TE-Ep for 66305@debbugs.gnu.org; Thu, 05 Oct 2023 05:29:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoKfJ-0005IY-J1; Thu, 05 Oct 2023 05:29:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=m4lAuSzVEh1/xw7ktIRAPk7Aq56T6VK2Boc/LUM1Pnc=; b=mooBo+oHyl9pigGOLS12 y/IPWsp54WWxcoSehqbhoKxehFscxY9FTOECu7wgVuZt5kd0fk525mPPWdxY5vVXPU+POLrQUn83E AC9msqn25aonnOLAmNYd1BhTE4n7mKDAjCh5XnPVJMst7rcUapsf+xG9rbo8YHxI0hNRRNKylSqf5 g3QRBkzrUg/hzQ+Dd7DVU5v2SAL+61y+TbdDBwfAcJGluIChGhW3XXqjEPq6VWwNq3YdDNF/abViM 35xU/K1J2/TUuH4hQLvL4MHSxwDNRUzbAKU+cjTyZtHlBzqrgNU8z7j3nneAuzg0EIxVcOajhBy9U /CLr5LHzh7sBJg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Tournier Subject: Re: bug#66305: Error with recursive git checkout In-Reply-To: <87r0maz21l.fsf@gmail.com> (Simon Tournier's message of "Wed, 04 Oct 2023 20:16:06 +0200") References: <877co34ide.fsf@gmail.com> <87v8bm9wx7.fsf@gnu.org> <87r0maz21l.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 14 =?utf-8?Q?Vend=C3=A9miaire?= an 232 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du =?utf-8?B?UsOpc8OpZGE=?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 05 Oct 2023 11:28:58 +0200 Message-ID: <87sf6p8lk5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66305 Cc: Guillaume Le Vaillant , 66305@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Simon Tournier skribis: > On Wed, 04 Oct 2023 at 18:25, Ludovic Court=C3=A8s wrote: > >> diff --git a/guix/scripts/perform-download.scm b/guix/scripts/perform-do= wnload.scm >> index 045dd84ad6..c869f19502 100644 >> --- a/guix/scripts/perform-download.scm >> +++ b/guix/scripts/perform-download.scm >> @@ -108,6 +108,10 @@ (define* (perform-git-download drv output >> (drv-output (assoc-ref (derivation-outputs drv) "out")) >> (algo (derivation-output-hash-algo drv-output)) >> (hash (derivation-output-hash drv-output))) >> + ;; Commands such as 'git submodule' expect Coreutils and sed (amo= ng >> + ;; others) to be in $PATH. >> + (setenv "PATH" "/run/current-system/profile/bin:/bin:/usr/bin") >> + >> (git-fetch-with-fallback url commit output >> #:recursive? recursive? >> #:git-command %git)))) > > LGTM. > > Well, I would add a comment explicitly mentioning that=E2=80=99s a tempor= ary fix > pointing this issue #66305. It=E2=80=99s not temporary in that it will still be needed for example by t= he Debian package of Guix. But yeah, I=E2=80=99ll clarify that in the comment. > And I have tested with: > > $ guix build ocaml-ansiterminal -S --no-substitutes > $ guix build volk --no-substitutes --check -S Awesome, thanks for checking! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 05 17:32:13 2023 Received: (at 66305) by debbugs.gnu.org; 5 Oct 2023 21:32:13 +0000 Received: from localhost ([127.0.0.1]:48670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoVx7-0002OK-5e for submit@debbugs.gnu.org; Thu, 05 Oct 2023 17:32:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoVx6-0002O6-2i for 66305@debbugs.gnu.org; Thu, 05 Oct 2023 17:32:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoVwh-00022W-Fh; Thu, 05 Oct 2023 17:31:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=TefRb+/x8hsfEkt6TAnoY06IGwijTq0ShCdrLCz4K9E=; b=fi+1Cuo35qQRL9mP1wSW eZqrt1Zy69kMHp+A5QE2J+nE8mvC/H1kIbaO1ey7+jpZ76ITAYr7Qdz7Y265ZSy8X9UDUQWKnYOJN lCoBIXXeBq40Z7SNYYO87xLLemGGfcifJmLXm4ngm5GTqoaPy1Ny/c965mGWin6Fj25oHrsfx/tho iNnMO/6Ho3GE5F+lb4whcDxBPHfBpf4P8BnvadNtBq3MpqNTFFMkAwdaw8zUe1HCoAtG/sM1RNDPl ntPCZSC1g92E8MlL5MtGMcS+dMY1hqfQp0bWORXzxNqHXM0D6cqITASmmxto36My1bY8YZl+SyJ+D aEjPyODFtm50qw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Tournier Subject: Re: bug#66305: Error with recursive git checkout In-Reply-To: <87sf6p8lk5.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Thu, 05 Oct 2023 11:28:58 +0200") References: <877co34ide.fsf@gmail.com> <87v8bm9wx7.fsf@gnu.org> <87r0maz21l.fsf@gmail.com> <87sf6p8lk5.fsf@gnu.org> Date: Thu, 05 Oct 2023 23:31:45 +0200 Message-ID: <87cyxs21tq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66305 Cc: Guillaume Le Vaillant , 66305@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! Pushed as 762fdbdef52b4c17df578478cadc8655d56171a4. Now to update =E2=80=98guix=E2=80=99=E2=80=A6 Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 10:43:50 2023 Received: (at 66305-done) by debbugs.gnu.org; 12 Oct 2023 14:43:50 +0000 Received: from localhost ([127.0.0.1]:44045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqwuj-0004zs-L3 for submit@debbugs.gnu.org; Thu, 12 Oct 2023 10:43:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqwuU-0004zE-LI for 66305-done@debbugs.gnu.org; Thu, 12 Oct 2023 10:43:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqwu2-0006bC-LA; Thu, 12 Oct 2023 10:43:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=aM+EYcfGKkJvNBds0MsSQsPb82U9BtUQYZPiUZZpWmA=; b=gSUjxhY3cE/bChRIr682 k9iOF0Nlw9Carj6outj44A7/ODz+f/oDhj+zfdrGHCvM1AF/71+cSI6cj8EEMq3clxFXbXdjUgjbh d6nFA/ItKFnTVpOVe5mzjIpTDj+S7xEAGl7NsoaSgpaL2d/SoWXpwmKYS0PlZ7SAWKtiwxAC0p4LC 7sYoeIc+GQpyfAIh9dTaFB3BnV9y13+DpLsePlnZ3WMVASSWlyExuTSEOhCTJuU5ZWF4FuUOZIDx3 ieTZjaKuQCaMS+5jgVJq6DLiBIgPAiPeoOeTcHYcWA5prsUNiTXtVUurFUH19fRToGHpPhiXhuO9h HdrSGk5BLLhWHw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Tournier Subject: Re: bug#66305: Error with recursive git checkout In-Reply-To: <87cyxs21tq.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Thu, 05 Oct 2023 23:31:45 +0200") References: <877co34ide.fsf@gmail.com> <87v8bm9wx7.fsf@gnu.org> <87r0maz21l.fsf@gmail.com> <87sf6p8lk5.fsf@gnu.org> <87cyxs21tq.fsf@gnu.org> Date: Thu, 12 Oct 2023 16:42:58 +0200 Message-ID: <87pm1jlx59.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 66305-done Cc: Guillaume Le Vaillant , 66305-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s skribis: > Pushed as 762fdbdef52b4c17df578478cadc8655d56171a4. > > Now to update =E2=80=98guix=E2=80=99=E2=80=A6 Done last week in 16fd9d6e3d626fc624c38cb3096331905a4161e4. Closing! From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 25 03:24:58 2023 Received: (at 66305) by debbugs.gnu.org; 25 Oct 2023 07:24:58 +0000 Received: from localhost ([127.0.0.1]:57191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvYG8-0001Eu-S9 for submit@debbugs.gnu.org; Wed, 25 Oct 2023 03:24:57 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:59448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvVuh-00038U-R1 for 66305@debbugs.gnu.org; Wed, 25 Oct 2023 00:54:41 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qvVu3-000tfN-SJ for 66305@debbugs.gnu.org; Wed, 25 Oct 2023 06:53:59 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:Content-Type:From:Subject:To: MIME-Version:Date:Message-ID; bh=Et1EroH2Jq+488yGzzk9fXPa+qxjINtClFBJjFb6vpc= ; b=BKIyiLz9uDUnfxWgCR+EYfohAdhdi851y50T7gts5GRqTe/5gwvyEWYJHONTgN8nXHtBXxK95 rXhPkZx6OYfdeNtz17B40f5tnws7cjQX60F+SHo8fk9z/3FbPhe94qDluyN3ErR8FI3W1ZMxiDL/5 nr1Gd9F0DXLV4gVL+gOYVkYQZ7zvS65FlhUKPtqKGzLovV26DZd82MIze7g7UErz4en2Jn8d2o1UE 6N1wL2VwSDSqJ4xjDiSNFIDeBf5pk7LqjQXgrLHQadNzTqSL2XHfmivAgJBuGAyrn7xUiip7EZP3o i09vG8wAynvu0+b2mkKr8ERzTaOVVks7DFXrfw==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qvVu3-00008o-Gp for 66305@debbugs.gnu.org; Wed, 25 Oct 2023 06:53:59 +0200 Received: by submission01.runbox with esmtpsa [Authenticated ID (1174703)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qvVtj-007c9M-C4 for 66305@debbugs.gnu.org; Wed, 25 Oct 2023 06:53:39 +0200 Message-ID: <1f7a9c28-602c-42ac-bf3b-1b8534b4982e@runbox.com> Date: Tue, 24 Oct 2023 21:53:35 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: 66305@debbugs.gnu.org Subject: Error with recursive git checkout Content-Language: en-US From: Alexis Simon Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 66305 X-Mailman-Approved-At: Wed, 25 Oct 2023 03:24:52 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, I think I'm hitting this bug trying to git-fetch with submodules. I am on a foreign distro. --8<---------------cut here---------------start------------->8--- /gnu/store/pmv37cxc4cg1s7x8yg8dkhikkwmwpncr-git-minimal-2.41.0/libexec/git-core/git-submodule: line 7: /bin/basename: Permission denied /gnu/store/pmv37cxc4cg1s7x8yg8dkhikkwmwpncr-git-minimal-2.41.0/libexec/git-core/git-submodule: line 7: /bin/sed: Permission denied /gnu/store/pmv37cxc4cg1s7x8yg8dkhikkwmwpncr-git-minimal-2.41.0/libexec/git-core/git-sh-setup: line 77: /bin/basename: Permission denied /gnu/store/pmv37cxc4cg1s7x8yg8dkhikkwmwpncr-git-minimal-2.41.0/libexec/git-core/git-sh-setup: line 77: /bin/sed: Permission denied /gnu/store/pmv37cxc4cg1s7x8yg8dkhikkwmwpncr-git-minimal-2.41.0/libexec/git-core/git-sh-setup: line 292: /bin/uname: Permission denied /gnu/store/pmv37cxc4cg1s7x8yg8dkhikkwmwpncr-git-minimal-2.41.0/libexec/git-core/git-submodule: line 613: /bin/sed: Permission denied /gnu/store/pmv37cxc4cg1s7x8yg8dkhikkwmwpncr-git-minimal-2.41.0/libexec/git-core/git-submodule: line 613 : cmd_: command not found git-fetch: '/gnu/store/pmv37cxc4cg1s7x8yg8dkhikkwmwpncr-git-minimal-2.41.0/bin/git submodule update --init --recursive' failed with exit code 127 --8<---------------cut here---------------end--------------->8--- This is with a recent guix I think --8<---------------cut here---------------start------------->8--- ❯ guix describe Generation 8 oct. 24 2023 21:31:58 (current) guix 0074731 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 00747316ee0e1a7962ffe226c727776ba7a8163b --8<---------------cut here---------------end--------------->8--- Alexis From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 25 13:50:19 2023 Received: (at 66305) by debbugs.gnu.org; 25 Oct 2023 17:50:19 +0000 Received: from localhost ([127.0.0.1]:59990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvi1K-0006iS-UT for submit@debbugs.gnu.org; Wed, 25 Oct 2023 13:50:19 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:54046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvh7T-000593-Td for 66305@debbugs.gnu.org; Wed, 25 Oct 2023 12:52:39 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qvh6r-002HUS-C8 for 66305@debbugs.gnu.org; Wed, 25 Oct 2023 18:51:57 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:Content-Type:From:Subject:To: MIME-Version:Date:Message-ID; bh=qQjXcfdq4QeUvRZabiEUPhEXHkGy3e0Ghyy4HnLi3mg= ; b=B3BA46213d/xzcXVR2jKFTtSzf6elumMxcGA05uIQHSgOZJcvYqtNpvWNdiPEvvY6dugVqTsk jGUXqxGwRXIrzkpBcrC/DfQwMbcSWjDuWs7LBuIvoNeRBQdVcPT6jGpoizuWnCyJq15HX29utuaKE RYQgONf17w/SgCrlEhUomWzdY1h8+vuuNHsOZR3/VlDpFPr1SM4uN4lF1+TQ+iuXxtJTwC6egbJTz aCjNO+tgghmVVBL3KfQTa7EVnrZ1s1J2a0ou1maISw65SOvgTQSzs9pvdZd1WaHixBCHAdwjGNp3A yTzT93gw4iRObpvfVxTSUDoLLjTd0klVNzTfTQ==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qvh6q-0006Vr-Rb for 66305@debbugs.gnu.org; Wed, 25 Oct 2023 18:51:57 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (1174703)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qvh6b-009Tlh-HG for 66305@debbugs.gnu.org; Wed, 25 Oct 2023 18:51:41 +0200 Message-ID: Date: Wed, 25 Oct 2023 09:51:37 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: 66305@debbugs.gnu.org Subject: Error with recursive git checkout Content-Language: en-US From: Alexis Simon Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 66305 X-Mailman-Approved-At: Wed, 25 Oct 2023 13:50:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) ah well it seems this is due to a selinux policy error --8<---------------cut here---------------start------------->8--- SELinux is preventing git-submodule from execute access on the file /usr/bin/sed. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that git-submodule should be allowed execute access on the sed file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # ausearch -c 'git-submodule' --raw | audit2allow -M my-gitsubmodule # semodule -X 300 -i my-gitsubmodule.pp Additional Information: Source Context system_u:system_r:guix_daemon.guix_daemon_t:s0 Target Context system_u:object_r:bin_t:s0 Target Objects /usr/bin/sed [ file ] Source git-submodule Source Path git-submodule Port Host xps13 Source RPM Packages Target RPM Packages sed-4.8-12.fc38.x86_64 SELinux Policy RPM selinux-policy-targeted-38.29-1.fc38.noarch Local Policy RPM Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name xps13 Platform Linux xps13 6.5.7-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 11 04:07:58 UTC 2023 x86_64 Alert Count 460 First Seen 2023-10-24 20:20:26 PDT Last Seen 2023-10-25 09:44:31 PDT Local ID fa57086c-6738-4eec-8252-3abb66a9e249 Raw Audit Messages type=AVC msg=audit(1698252271.150:513): avc: denied { execute } for pid=10644 comm="git-submodule" name="sed" dev="dm-0" ino=261979 scontext=system_u:system_r:guix_daemon.guix_daemon_t:s0 tcontext=system_u:object_r:bin_t:s0 tclass=file permissive=0 Hash: git-submodule,guix_daemon.guix_daemon_t,bin_t,file,execute --8<---------------cut here---------------end--------------->8--- But trying to fix it does not seem to have any effect. I've added this to the guix-daemon.cil and re-applied --8<---------------cut here---------------start------------->8--- (allow guix_daemon_t bin_t (file (execute))) --8<---------------cut here---------------end--------------->8--- Alexis From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 25 13:50:19 2023 Received: (at 66305) by debbugs.gnu.org; 25 Oct 2023 17:50:19 +0000 Received: from localhost ([127.0.0.1]:59992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvi1L-0006iU-Hm for submit@debbugs.gnu.org; Wed, 25 Oct 2023 13:50:19 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:45260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvhz7-0006YX-Ef for 66305@debbugs.gnu.org; Wed, 25 Oct 2023 13:48:03 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qvhyU-002OE3-Ur for 66305@debbugs.gnu.org; Wed, 25 Oct 2023 19:47:22 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:Content-Type:From:Subject:To: MIME-Version:Date:Message-ID; bh=s1zUOXg7UU7FIH9+QJ0e3/A6bEGeKQqQQW/tTu1Elr0= ; b=SRO/4NRnIX/DCJ2oK+1EzVVYyaZboDs0mtW/GguK6270feZjCYHQEZitYARPdU48h1nN3ZZk1 o8njLD9F5NHgoVTUq2d8JgcsRq4fbiqZvobPPW4ZI3u+/lOCpzW3sn/FAnXxsrjJfcwOvv2sP5iPl 9Ba/Pv0CYsylNTTQLyp2Kf0x/Kk9EQKRaBJLaYB5di6lAZn9wnWrADb6FofypqX4qmj9jN4i/bBwN gc5bM1ipdl0VwBVpU0/Kx15N44WtduPBIKTt8JJmwDq3qrtNObS4MSocDTLjG6qOMjg2zkY8cFWyg kXTAI+H1GpuifffIwSKD6taWuo7OuA5fpy9gyQ==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qvhyU-0000kC-Fb for 66305@debbugs.gnu.org; Wed, 25 Oct 2023 19:47:22 +0200 Received: by submission01.runbox with esmtpsa [Authenticated ID (1174703)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qvhyG-0099Ix-6h for 66305@debbugs.gnu.org; Wed, 25 Oct 2023 19:47:08 +0200 Message-ID: <59ba31b7-42a5-4b54-a617-b4a6102c3581@runbox.com> Date: Wed, 25 Oct 2023 10:47:04 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: 66305@debbugs.gnu.org Subject: Error with recursive git checkout Content-Language: en-US From: Alexis Simon Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 66305 X-Mailman-Approved-At: Wed, 25 Oct 2023 13:50:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This is what was needed in the selinux policy to fix the errors --8<---------------cut here---------------start------------->8--- (allow guix_daemon_t bin_t (file (execute execute_no_trans map))) --8<---------------cut here---------------end--------------->8--- Alexis From unknown Sat Aug 09 05:04:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 23 Nov 2023 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator