From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wAhoM206R2NyagEAbAwnHQ (envelope-from ) for ; Thu, 13 Oct 2022 00:06:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mEOCM206R2NhUQAA9RJhRA (envelope-from ) for ; Thu, 13 Oct 2022 00:06:37 +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 601182F547 for ; Thu, 13 Oct 2022 00:06:37 +0200 (CEST) Received: from localhost ([::1]:36532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oijs4-0003oY-Gh for larch@yhetil.org; Wed, 12 Oct 2022 18:06:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oijpc-0008UA-Q1 for guix-devel@gnu.org; Wed, 12 Oct 2022 18:04:10 -0400 Received: from mx1.riseup.net ([198.252.153.129]:49460) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oijpX-0001DX-Ae for guix-devel@gnu.org; Wed, 12 Oct 2022 18:04:01 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4MnmrY6BMLzDqKv; Wed, 12 Oct 2022 22:03:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1665612237; bh=J+YSNsxddPwAKSR3MfkBUtsGqhWfg48kO5/0GruLBsI=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=CdWM0lieIKp01lj4Z1h+9D7B2fRFPjv4q/7/t11Ui9kgLgXA2FnVBeqQFYMZGr1h9 yxFrnJVODItda2hoglfOwFtxC8M6Ie1py0llt61Nz+hXF/D/b+9O9xJiioIf2M4G0G TlZOa6GuucGcuJgC4V2dqQIEjfopwUUAIbV6yAQo= X-Riseup-User-ID: 55DB65F1A1478A03E6D66389CC547C3227ED8AF24448037815FB4B4B65EBFCD5 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4MnmrX5p5Nz5vTj; Wed, 12 Oct 2022 22:03:56 +0000 (UTC) References: <20221011163949.GB21313@dismail.de> <20221012105036.GB1505@dismail.de> From: Csepp To: jgart Cc: Maxime Devos , guix-devel@gnu.org Subject: Re: crate importer throws Date: Wed, 12 Oct 2022 23:51:58 +0200 In-reply-to: <20221012105036.GB1505@dismail.de> Message-ID: <87mta0g0mv.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665612397; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ZLyD7dQzVbJBdydPm4CfxVUaQoCKlJqwNuZzBPFE3Qc=; b=VkWBQ9WyezGR+l21/SuHwVPtNiRnAKIIVUeapP/LFvOt5RyMCpkxSFJmwb/QpF0KgLCaCX uKpN8tg/0OCDIsn9joZWR6Tpqav4mzF9HDpNbbbmoi2x55oCWiGPV6tG2h5/3D6B0UU+Wx kDePXWRjcKaIdTi/IOaEJSScwzgsLYjBjjLdDuWC6DBVPwMt02x71n6zk+NVTrwTRAyrrS KiH3aSjvpqHOqi+MtedUoOwdW1b3jD4P5vJ7B1bnGeV/DMffW+45min2ufdd7SnS325iNF S1oGU2JPpV8zdlfKii0f8P1973bNTmGW8p6mgu55LeopBdQ+xWg5H0nDIq+iJQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665612397; a=rsa-sha256; cv=none; b=PWlmEZ9+6mqDwTDA+6nr/qIgg+kk40AwSWxO0aPn0UuhZxR1pBa3mJeGBGHRdT0LaKkPdL DC5JtCNS4M0ovCO2F19lhUjDcbif6S7/ow3k1BH0SxoR2qI/x7dOF8D2jVaRs/JtOxQ+1z mGllmp2ULGIvClZHSMRfV/QvTGbxDvdGunalIHslzyUvYIl7msyIPU8qfvBTZoRQpgCR6E a9jU1t1i78Nv2G0f/PALGW7BMr/GzDyowBmBMpw/tCjqLmNLU0QAagBhWtSYGO2wp6Ny4O jPVyPm3Dq+1me8yTsMh90+kFMk11zFrPpoN8NNZkg45cdQ+TgLkbvuNIYA1W9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=CdWM0lie; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.20 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=CdWM0lie; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 601182F547 X-Spam-Score: -4.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: f3d4v2hQO5LR jgart writes: > On Wed, 12 Oct 2022 14:24:26 +0200 Maxime Devos = wrote: > > That still throws: > > guix shell guile-semver -- guix import crate the-way > ;;; Failed to autoload string->semver-range in (semver ranges): > ;;; no code for module (semver ranges) > Backtrace: > In ice-9/boot-9.scm: > 1752:10 9 (with-exception-handler _ _ #:unwind? _ # _) > In unknown file: > 8 (apply-smob/0 #) > In ice-9/boot-9.scm: > 724:2 7 (call-with-prompt _ _ #) > In ice-9/eval.scm: > 619:8 6 (_ #(#(#))) > In guix/ui.scm: > 2263:7 5 (run-guix . _) > 2226:10 4 (run-guix-command _ . _) > In guix/scripts/import.scm: > 92:11 3 (guix-import . _) > In guix/scripts/import/crate.scm: > 95:24 2 (guix-import-crate . _) > In guix/import/crate.scm: > 287:9 1 (crate->guix-package "the-way" #:version _ # _ #:repo _) > 260:26 0 (find-crate-version #< name: "the-way" latest-v=E2=80= =A6> =E2=80=A6) > > guix/import/crate.scm:260:26: In procedure find-crate-version: > error: string->semver-range: unbound variable > > > WDYT Weird, that exact command worked for me, but it's likely we are on different commits. And yes, the error message could be clearer, although I'm not sure where that should be fixed. Guile doesn't know what packages correspond to what modules and it should probably stay that way. ``` $ guix describe Generation 162 Oct 01 2022 00:15:38 (current) guix 1266b9e repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 1266b9ed111bff7b860cba6921e4540bc1f61c9e ```