From unknown Mon Aug 18 00:07:14 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#51048 <51048@debbugs.gnu.org> To: bug#51048 <51048@debbugs.gnu.org> Subject: Status: No license in crate - guix import Reply-To: bug#51048 <51048@debbugs.gnu.org> Date: Mon, 18 Aug 2025 07:07:14 +0000 retitle 51048 No license in crate - guix import reassign 51048 guix submitter 51048 Michael Zappa severity 51048 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 05 19:15:27 2021 Received: (at submit) by debbugs.gnu.org; 5 Oct 2021 23:15:27 +0000 Received: from localhost ([127.0.0.1]:42077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXtee-0001cu-QO for submit@debbugs.gnu.org; Tue, 05 Oct 2021 19:15:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:41856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXsyU-0000XY-3P for submit@debbugs.gnu.org; Tue, 05 Oct 2021 18:31:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXsyT-0006ET-T3 for bug-guix@gnu.org; Tue, 05 Oct 2021 18:31:49 -0400 Received: from mail.michzappa.com ([147.182.174.148]:51988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXsyS-0004df-5M for bug-guix@gnu.org; Tue, 05 Oct 2021 18:31:49 -0400 From: Michael Zappa DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=michzappa.com; s=mail; t=1633473075; bh=8s3aSup6yLD4+oAN0CVg+4MHJa4dAvO3TTQfLU/GbXM=; h=From:To:Subject:Date; b=EZTjqO1g97AIyJPbe1eshuDqrrm8pkTC2pmjc8GzxQXgV73CymlSlUXEFWyjC8njC iAdLAyLIXLG8fnEN4oHfI9SLapjfdipeGFzVq8bY3Ty8W010ole5fQVDTvzMZf09UY mRRM4I1nCrEOaPrbRea72jvtKT0KnVEHOmG+9Hsg= To: bug-guix@gnu.org Subject: No license in crate - guix import Date: Tue, 05 Oct 2021 18:31:08 -0400 Message-ID: <87h7dvnlxv.fsf@michzappa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=147.182.174.148; envelope-from=me@michzappa.com; helo=mail.michzappa.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 05 Oct 2021 19:15:23 -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: -2.4 (--) Hello all, I have been playing around with the 'guix import' tools to see how easily I can get some package definitions. In the process of trying to package https://github.com/Spotifyd/spotifyd with 'guix import crate spotifyd -r' I found that one of the nested dependencies, libpulse-sys@0.0.0 did not work with the automatic importer because it does not have a license in its crate https://crates.io/crates/libpulse-sys/0.0.0. Obviously it would be ideal to get whoever is using this out-of-date library in their package to update their dependencies so this is entirely avoided, but short of that has there ever been discussion on how to handle 'license-less' packages? I haven't seen any in my short time lurking on this list. It seems to be a rigid requirement for the crate importer. Backtrace: michael@ordenagailua ~ $ guix import crate libpulse-sys@0.0.0 -r ./pre-inst-env: line 33: cd: @abs_top_srcdir@: No such file or directory ./pre-inst-env: line 34: cd: @abs_top_builddir@: No such file or directory Backtrace: 10 (primitive-load "/home/michael/.config/guix/current/bin=E2=80= =A6") In guix/ui.scm: 2185:7 9 (run-guix . _) 2148:10 8 (run-guix-command _ . _) In guix/scripts/import.scm: 124:11 7 (guix-import . _) In guix/import/utils.scm: 495:27 6 (recursive-import _ #:repo->guix-package _ #:guix-name _ =E2= =80=A6) 485:33 5 (lookup-node "libpulse-sys" "0.0.0") In guix/memoization.scm: 98:0 4 (mproc "libpulse-sys" #:version "0.0.0" #:repo #f # #t) In unknown file: 3 (_ # =E2=80=A6) In guix/import/crate.scm: 316:37 2 (crate->guix-package "libpulse-sys" #:version _ # _ # _) 213:14 1 (string->license _) In unknown file: 0 (string-split null #) ERROR: In procedure string-split: In procedure string-split: Wrong type argument in position 1 (expecting str= ing): null Thank you, Michael From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 06 02:21:06 2021 Received: (at 51048) by debbugs.gnu.org; 6 Oct 2021 06:21:06 +0000 Received: from localhost ([127.0.0.1]:42297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY0Ic-0008T2-GJ for submit@debbugs.gnu.org; Wed, 06 Oct 2021 02:21:06 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:45626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY0IX-0008SD-4Y for 51048@debbugs.gnu.org; Wed, 06 Oct 2021 02:21:05 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by albert.telenet-ops.be with bizsmtp id 2WLy2600V0mfAB406WLzcN; Wed, 06 Oct 2021 08:20:59 +0200 Message-ID: <7580ba1ecf974cfc08391d8b62e1fbbc796350bb.camel@telenet.be> Subject: Re: bug#51048: No license in crate - guix import From: Maxime Devos To: Michael Zappa , 51048@debbugs.gnu.org Date: Wed, 06 Oct 2021 08:20:58 +0200 In-Reply-To: <87h7dvnlxv.fsf@michzappa.com> References: <87h7dvnlxv.fsf@michzappa.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-aApYFubVHwBzqt3wgpFx" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1633501259; bh=ahk9lhSVwULwSioS0hfiSFOb87hhFr5kLi5hpW6z+Rk=; h=Subject:From:To:Date:In-Reply-To:References; b=DiR2+XMfH1bRUr4mNxrtqDiWlgXZTObbFMv9VMxAbj10s3S9Dtwg6sK14zqAHRc9M DoBiRXdm13RLixZbavHYpntq1toWXaBdkIggpYmQFyLf+jWM8cFjHIruUDT/R8t6Yz 3tEbtwYX1XJG8eNK5WWxvgvSqvcceKnnXwJbWmF7epE0MuKQz0h9t19hOjhB1F1nrb RHkOaJoNBCss0yMbK/OmAUSi2WGuAWB6jZe8LmMF9isgxekLAISpQSSvZMATkaGeWT Duz+2obsgZFba+qBszKZlrOwp/XPZw6R62HLz+TW9r32wzeCA56lUZHThr/afQ2xOL T+6BVaskSEPng== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 51048 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 (-) --=-aApYFubVHwBzqt3wgpFx Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Michael Zappa schreef op di 05-10-2021 om 18:31 [-0400]: > Hello all, > I have been playing around with the 'guix import' tools to > see how easily I can get some package definitions. In the process of > trying to package https://github.com/Spotifyd/spotifyd with 'guix import > crate spotifyd -r' I found that one of the nested dependencies, > libpulse-sys@0.0.0 did not work with the automatic importer because it > does not have a license in its crate > https://crates.io/crates/libpulse-sys/0.0.0. >=20 > Obviously it would be ideal to get whoever is using this out-of-date > library in their package to update their dependencies so this is > entirely avoided, but short of that has there ever been discussion on > how to handle 'license-less' packages? I haven't seen any in my short > time lurking on this list. It seems to be a rigid requirement for the > crate importer. I don't now if there has been a discussion, but other importers (at least the minetest importer) set the license field to #f if no license information was unavailable. Modifying such that 'license' is set to #f if it has=20 'null' as value in the JSON might be sufficient I think? Greetings, Maxime --=-aApYFubVHwBzqt3wgpFx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYV1AShccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7rIVAQCNx1n9P1O0KosBAOjyGmcL5lAW PPnIWGG7bUN6mt464gD+Jo0zvr9tB3aLvXNFN4iPN0dozQYMeLJYyOBWq8xklwI= =9Vqs -----END PGP SIGNATURE----- --=-aApYFubVHwBzqt3wgpFx-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 07 04:52:25 2021 Received: (at 51048-done) by debbugs.gnu.org; 7 Oct 2021 08:52:25 +0000 Received: from localhost ([127.0.0.1]:45999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYP8b-0007Cx-6K for submit@debbugs.gnu.org; Thu, 07 Oct 2021 04:52:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYP8X-0007Ci-A2 for 51048-done@debbugs.gnu.org; Thu, 07 Oct 2021 04:52:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57324) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYP8R-0001Iw-7T; Thu, 07 Oct 2021 04:52:15 -0400 Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:59156 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYP8Q-0002ER-TH; Thu, 07 Oct 2021 04:52:15 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxime Devos Subject: Re: bug#51048: No license in crate - guix import References: <87h7dvnlxv.fsf@michzappa.com> <7580ba1ecf974cfc08391d8b62e1fbbc796350bb.camel@telenet.be> Date: Thu, 07 Oct 2021 10:52:12 +0200 In-Reply-To: <7580ba1ecf974cfc08391d8b62e1fbbc796350bb.camel@telenet.be> (Maxime Devos's message of "Wed, 06 Oct 2021 08:20:58 +0200") Message-ID: <87ily9fc8z.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) 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: 51048-done Cc: Michael Zappa , 51048-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 (---) Hi, Maxime Devos skribis: > Michael Zappa schreef op di 05-10-2021 om 18:31 [-0400]: >> Hello all, >> I have been playing around with the 'guix import' tools to >> see how easily I can get some package definitions. In the process of >> trying to package https://github.com/Spotifyd/spotifyd with 'guix import >> crate spotifyd -r' I found that one of the nested dependencies, >> libpulse-sys@0.0.0 did not work with the automatic importer because it >> does not have a license in its crate >> https://crates.io/crates/libpulse-sys/0.0.0. >>=20 >> Obviously it would be ideal to get whoever is using this out-of-date >> library in their package to update their dependencies so this is >> entirely avoided, but short of that has there ever been discussion on >> how to handle 'license-less' packages? I haven't seen any in my short >> time lurking on this list. It seems to be a rigid requirement for the >> crate importer. > > I don't now if there has been a discussion, > but other importers (at least the minetest importer) set the license > field to #f if no license information was unavailable. > > Modifying such that 'license' is set to #f if it has=20 > 'null' as value in the JSON might be sufficient I think? Indeed. Fixed in 1327ec822fa6dd396e979efd8d4e1f7479f1d5b3. Thanks! Ludo=E2=80=99. From unknown Mon Aug 18 00:07:14 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, 04 Nov 2021 11:24:04 +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