From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EC5NLuOqGmWodgEAG6o9tA:P1 (envelope-from ) for ; Mon, 02 Oct 2023 13:34:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EC5NLuOqGmWodgEAG6o9tA (envelope-from ) for ; Mon, 02 Oct 2023 13:34:59 +0200 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 1F3955BA20 for ; Mon, 2 Oct 2023 13:34:59 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Vn1zR8IM; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696246499; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=aNyfmqSQlMwteFMtIZa/am0n9DR0NcrNhYE1coUC9Y0=; b=kLR986JJdpsNBRYDLEgDXhBq/b2dHTmzWzHc3fvIGKoqeU1rW79F5hlqb95DHa4/OtNhd/ 7BWG9HkWn7Bhy3Uh0p/+7e6ie0hBl59425zpMgLDVnU4BHC3bvbthkIhWhAakKPLCsDDJC S4sNxlZvKgsvvDyHv5M4oCS2MxYPiJCl4XEo5BkYJq82zVSZM8Mn76HRbScZF73oSgj+/W vwkMEME6tV6BI6EQVlce9xGc00YuFZOC5iQ4SqVEPTabHyaL0144zTEGeP5TdQngmGQa3g NORbXY5YFZlXzvudFyv76y921Y1MjzfNaZ2irEPR8igqyTQMRLJSovd4i7L76A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Vn1zR8IM; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696246499; a=rsa-sha256; cv=none; b=EH9+KO5uuvoB2sdcMdY4GnhoW1YNvp71k6q+TSm4bFAmHDYLaAjzw86CW1d7JSW/R5UE87 Fr6nx7hKGZ6WxQytN+MQG8NU/Eon42LDE1C4WECr3QX2nt1t3YaRXETZ0C54s57s/1S5Rk 6EXRMN6O/jbSQBJc3CWCWeiHrDVRJvi3jwCJMKxWcFETW/mTY0lcHd3gTItUOhOrLs/yw1 3lEnKOAqK3fsdn+vbDatisoU/sj0UmbYNBb+LHfOiD9LOjER5PdnHxK67+pKZueTba0rTF NiBQwZytUWE/+n67kfP2eoYNi14iB3i2STbLlQY30xlNpmIdpJyLTmiMhGc0rQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnHCM-0006A0-Bg; Mon, 02 Oct 2023 07:34:50 -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 1qnHCJ-00069k-CZ for bug-guix@gnu.org; Mon, 02 Oct 2023 07:34:47 -0400 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 1qnHCI-0006qh-VR for bug-guix@gnu.org; Mon, 02 Oct 2023 07:34:47 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qnHCY-0002Va-8v for bug-guix@gnu.org; Mon, 02 Oct 2023 07:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66305: Error with recursive git checkout Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 02 Oct 2023 11:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66305 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66305@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16962464719592 (code B ref -1); Mon, 02 Oct 2023 11:35:02 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.40 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 1F3955BA20 X-Spam-Score: -6.40 X-TUID: E/r4fK3ZkmL1 --==-=-= 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----- --==-=-=--