From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UKEKItrgXGHyeQEAgWs5BA (envelope-from ) for ; Wed, 06 Oct 2021 01:33:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +ESbHdrgXGE7PwAAbx9fmQ (envelope-from ) for ; Tue, 05 Oct 2021 23:33:46 +0000 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 062A32F414 for ; Wed, 6 Oct 2021 01:33:46 +0200 (CEST) Received: from localhost ([::1]:50828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXtwP-00012a-0I for larch@yhetil.org; Tue, 05 Oct 2021 19:33:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXtfG-00087w-OB for bug-guix@gnu.org; Tue, 05 Oct 2021 19:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58764) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXtfG-0003ay-Gl for bug-guix@gnu.org; Tue, 05 Oct 2021 19:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXtfG-0001dm-7R for bug-guix@gnu.org; Tue, 05 Oct 2021 19:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#51048: No license in crate - guix import Resent-From: Michael Zappa Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 05 Oct 2021 23:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51048 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 51048@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16334757276264 (code B ref -1); Tue, 05 Oct 2021 23:16:02 +0000 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= 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-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 X-Mailman-Approved-At: Tue, 05 Oct 2021 19:33:28 -0400 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633476826; 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: 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=Qs3P8i6pPRcklauOiQ1KVlBHj1AXMDTUY4CY+lBKhOA=; b=lSnXPoXbftzsHLSdITGP5ftAFbJLp5zZmKdbS281NzBoNke9TngqDfSoBHrMLWHkSjdheT UeJVphBl7DaH0o6gdVs2Dodn0N1aU57myoJTyXzJCSUoVSaH340/eDiYQ4EYpZsqxQPHPx QjnGxuf/RqwM5m1cees5/z1rvohK0LR/Er2zNT10LB7FHYL26HuW80gdsYOSwfutbIw3n4 rQ3xxcD0xRJNmTbTZsGDn/qxRN1Lsj9tT2hXdfjwZWp43yBunlNyG/Vc70/hwgH/6l0Bm6 iyKfnj8hJ3JPPxUpxZyDYsFlGVUIoCrJKBHgXK0WI6kWnpZXxhdHgJHvczc60Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633476826; a=rsa-sha256; cv=none; b=qJ7seajY6ACKCtK1D0YxI5ToMwtAg8L90Kb1LBwlfso57mOFeqje9goXYJJ6BlnXuHKa2h JlgcWW0aMmf9rBkScqDgwwW9U+NlZ35y+rfacN44lOZvU36DWsNBNWeIMbSnmDJZ88eQ8E jgCgRTfh8LGyy8BE112ANTLe4FhEf4tWi/7uflKqIu5Ysw+8FRw7zOJnFZNsBNvKnPTBRN iEYF6I+OIUHNtIsjJ5t6ipLWTgsAA6kRu1JkiRvMC5O6genaIK5UQ0Aej8UAoCNBdhqJKv UbFT9g35pDNDFffgWxjZvhpEm3vh0BuctHTlH9Q0CMXCMaxY03vvnN56dPwnmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=michzappa.com header.s=mail header.b=EZTjqO1g; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=michzappa.com header.s=mail header.b=EZTjqO1g; dmarc=fail reason="SPF not aligned (relaxed)" header.from=michzappa.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 062A32F414 X-Spam-Score: -1.91 X-Migadu-Scanner: scn1.migadu.com X-TUID: 275USPCsn8te 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