GNU logs - #57189, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#57189: guix import crate fails if optional dependency has a missing version
Resent-From: Mike Delago <michaeldelago98@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 14 Aug 2022 01:09:02 +0000
Resent-Message-ID: <handler.57189.B.166043933114093 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 57189
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 57189 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.166043933114093
          (code B ref -1); Sun, 14 Aug 2022 01:09:02 +0000
Received: (at submit) by debbugs.gnu.org; 14 Aug 2022 01:08:51 +0000
Received: from localhost ([127.0.0.1]:35389 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oN27V-0003fC-C2
	for submit <at> debbugs.gnu.org; Sat, 13 Aug 2022 21:08:51 -0400
Received: from lists.gnu.org ([209.51.188.17]:54600)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michaeldelago98@HIDDEN>) id 1oMz8C-0007VS-Li
 for submit <at> debbugs.gnu.org; Sat, 13 Aug 2022 17:57:24 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45572)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <michaeldelago98@HIDDEN>)
 id 1oMz8C-0001hu-76
 for bug-guix@HIDDEN; Sat, 13 Aug 2022 17:57:20 -0400
Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]:36420)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <michaeldelago98@HIDDEN>)
 id 1oMz8A-0000NS-CI
 for bug-guix@HIDDEN; Sat, 13 Aug 2022 17:57:19 -0400
Received: by mail-qk1-x731.google.com with SMTP id n21so3211237qkk.3
 for <bug-guix@HIDDEN>; Sat, 13 Aug 2022 14:57:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:subject:from:to:content-language
 :user-agent:mime-version:date:message-id:from:to:cc;
 bh=4sgciqBAHsJoXeXgBnQHFdlEmaWRG5H5nA+O9MV4vCU=;
 b=PECS99ubyK7lyfDrLwaxDadaxnj/ic+xkzsjiywx99eRr8D3VR9Dj/+lqn23iZCHSO
 KwR3XW1IFsUizql6Fc7/e0faEro9j2ijEOyHFfwKTnF0x+0hJW1YPZcM9fBHFLgc14jV
 uFj85wHFgnsm3W2DFx4GniHiAztSBW4p+igUlyL1+QFpV89QypVd+iwf0KL5w1IZyI2Q
 1mAbGTnQFHaqwx+itkoDSpe5QyWZVMbcaQBeHxH1uwlpE2iW6cEwKBl+SqtZ8SBGj7H0
 Z48Xjgfo4cS0ra5KkHPYvjOnRH+HSJyO2MxrvcC6XfEuUyk5+YE4MEPz2guQOm9W3MAL
 ctVA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:subject:from:to:content-language
 :user-agent:mime-version:date:message-id:x-gm-message-state:from:to
 :cc; bh=4sgciqBAHsJoXeXgBnQHFdlEmaWRG5H5nA+O9MV4vCU=;
 b=Ja7mBcAkoMcm2WquraQo6tKMxVQqTYTcBRldLz0W83/y7s1WIy4vj7zraJG4VW6HNf
 rQLSkPUWQb87sZgB6K+O4nA1L+EP6Zb3a5KzcrOY2qU35ssgMO0HjnXfSmKIJf1NZR0p
 GrC8QP+dB43I1QaA6uIC0eZEZmFuJCVShV7cV0YZBibmFb3Z3osuDsmUZWGRzWie2pD5
 JV6PYJtCv3Ynlvsl/8Pq7BjghzDdQt0KNAc5MyYZ6GrSMUS9pW59G8MGpr8pUEgYQtt9
 hQb0dtedJC2Nv/o3MmHWGhifk3Pnexf2cOiwN271GAdl2PkGmDwT9HE55QZAA0P89CtY
 zW0A==
X-Gm-Message-State: ACgBeo04m1fdlY9Ynb4PZBKpcY/J4fBxWr7cvL40+Eu5EQkYjJkImNvL
 RfjVJvE2SuOoncBs+2cSvvtjfSjkuhVJ1A==
X-Google-Smtp-Source: AA6agR7BGWldiqPRKkEGyR9cJrUQj7p6Gckv4YOqn8VGsdYntIX/QF0gYwntUppuGr0WZ79+EEzOvg==
X-Received: by 2002:a05:620a:2493:b0:6b9:7a40:526b with SMTP id
 i19-20020a05620a249300b006b97a40526bmr7195801qkn.750.1660427836270; 
 Sat, 13 Aug 2022 14:57:16 -0700 (PDT)
Received: from [192.168.1.251] (69-149-60-121.lightspeed.dybhfl.sbcglobal.net.
 [69.149.60.121]) by smtp.gmail.com with ESMTPSA id
 t3-20020a05620a450300b006b5df4d2c81sm5360478qkp.94.2022.08.13.14.57.15
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sat, 13 Aug 2022 14:57:15 -0700 (PDT)
Message-ID: <cdb4b8b8-5f5b-37d1-493d-f20490dc64fb@HIDDEN>
Date: Sat, 13 Aug 2022 17:57:14 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.12.0
Content-Language: en-US
From: Mike Delago <michaeldelago98@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2607:f8b0:4864:20::731;
 envelope-from=michaeldelago98@HIDDEN; helo=mail-qk1-x731.google.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 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,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-Mailman-Approved-At: Sat, 13 Aug 2022 21:08:48 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

Version: 9e4632081ff31bf0d1715edd66f514614c6dc4bb

I'm working to define a package for Zellij, a terminal multiplexer 
similar to GNU screen or tmux.

It appears that some of the dependencies aren't within the standard Guix 
channel, so I'm doing a recursive import (with `guix import crate zellij 
--recursive >> foo.scm`)

Unfortunately, this is failing. Attempting again via 
`(crate-recursive-import "zellij" #:version "0.31.1")` in the guix repl 
leads to this backtrace:

following redirection to 
`https://static.crates.io/crates/wasmer-types/wasmer-types-1.0.2.crate'...
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure struct-vtable: Wrong type argument in position 1 (expecting 
struct): #f

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(guix-user) [1]> ,bt
;; lines removed for brevity
In guix/import/crate.scm:
    300:28 17 (crate->guix-package "cranelift-codegen" #:version _ # _ …)
    292:10 16 (sort-map-dependencies _)
In srfi/srfi-1.scm:
    ;;  lines removed for brevity
    586:29  3 (map1 (#<<crate-dependency> id: "hashbrown" kind: no…> …))
    586:17  2 (map1 (#<<crate-dependency> id: "peepmatic" kind: no…> …))
In guix/import/crate.scm:
    283:18  1 (dependency-name+version _)
In ice-9/boot-9.scm:
   1685:16  0 (raise-exception _ #:continuable? _)

It appears that the crate importer is failing when attempting to get a 
package that doesn't exist. In this case, it's "peepmatic", version 
0.68.0.  On crates.io, the peepmatic@HIDDEN returns a 404.

I'd like if the crate importer for guix should more cleanly handle this, 
or concisely describe the issue.


Thanks,

Mike Delago





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Mike Delago <michaeldelago98@HIDDEN>
Subject: bug#57189: Acknowledgement (guix import crate fails if optional
 dependency has a missing version)
Message-ID: <handler.57189.B.166043933114093.ack <at> debbugs.gnu.org>
References: <cdb4b8b8-5f5b-37d1-493d-f20490dc64fb@HIDDEN>
X-Gnu-PR-Message: ack 57189
X-Gnu-PR-Package: guix
Reply-To: 57189 <at> debbugs.gnu.org
Date: Sun, 14 Aug 2022 01:09:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 57189 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
57189: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D57189
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 28 Oct 2022 22:32:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 28 18:32:38 2022
Received: from localhost ([127.0.0.1]:34470 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ooXu2-0002gD-Ia
	for submit <at> debbugs.gnu.org; Fri, 28 Oct 2022 18:32:38 -0400
Received: from mta-09-3.privateemail.com ([68.65.122.19]:14870)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <abhi@HIDDEN>) id 1ooXty-0002fx-Ko
 for control <at> debbugs.gnu.org; Fri, 28 Oct 2022 18:32:37 -0400
Received: from mta-09.privateemail.com (localhost [127.0.0.1])
 by mta-09.privateemail.com (Postfix) with ESMTP id 60EF218000A6
 for <control <at> debbugs.gnu.org>; Fri, 28 Oct 2022 18:32:26 -0400 (EDT)
Received: from [192.168.1.8] (pool-71-105-205-179.nycmny.fios.verizon.net
 [71.105.205.179])
 by mta-09.privateemail.com (Postfix) with ESMTPA id 12FF518000A7
 for <control <at> debbugs.gnu.org>; Fri, 28 Oct 2022 18:32:25 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=quic.us; s=default;
 t=1666996346; bh=n9z8swCjF0lPOG3FC9SOLhBGswnI2D/B/d1m5JFOwh0=;
 h=Date:To:From:From;
 b=ijA7WyuhX9Li9xb22myicEN33xl+iVy46QSvVfsdNx7sMWcMELZemSWNx6/8XALFI
 /oPhvwS6+j06R6M4cyqdQ+mGRRZz36Wrxwmrb27Mh1q7Fr20zH1w2gJNSGaGrSQ/k0
 LjDJFEwMkOISFuWEbPO7y0v1Kkiqg/8d3harb4oJwXB7hY0TkHzSyHjxYxBw6WuIWn
 48N7UkPd/dyN2xiUhMY9XvG05t/iPijtANTJ8hY0Sv8tIAzT+q6nQGmjAT6EHYV/ZX
 GENx5VtbPZxIHCE072jfBgWdgjk2BeD6gAOHzBoX6I0EaQVoraCOMLWpwMXZ9JaW2v
 lOzzpEiMIaafA==
Message-ID: <1b16f8b0-9906-18c1-bf43-b03ae735ccab@HIDDEN>
Date: Fri, 28 Oct 2022 18:32:23 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.2.2
Content-Language: en-US
To: control <at> debbugs.gnu.org
From: Abhishek Cherath <abhi@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  merge 57189 58785 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [68.65.122.19 listed in list.dnswl.org]
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [68.65.122.19 listed in wl.mailspike.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 1.8 MISSING_SUBJECT        Missing Subject: header
 0.2 NO_SUBJECT             Extra score for no subject
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

merge 57189 58785





Last modified: Fri, 28 Oct 2022 22:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.