From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8INuHanPHWGDRgEAgWs5BA (envelope-from ) for ; Thu, 19 Aug 2021 05:27: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 mp0 with LMTPS id 4AEtGanPHWGBcAAA1q6Kng (envelope-from ) for ; Thu, 19 Aug 2021 03:27:37 +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 A7369E6C3 for ; Thu, 19 Aug 2021 05:27:36 +0200 (CEST) Received: from localhost ([::1]:49854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGYiM-0002YH-3F for larch@yhetil.org; Wed, 18 Aug 2021 23:27:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGYc2-0000Q2-Gz for bug-guix@gnu.org; Wed, 18 Aug 2021 23:21:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGYc2-0001co-7a for bug-guix@gnu.org; Wed, 18 Aug 2021 23:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mGYc1-0003KL-RW for bug-guix@gnu.org; Wed, 18 Aug 2021 23:21:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49202: guix import go type error (failed regex match?) Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 19 Aug 2021 03:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49202 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Sarah Morgensen Received: via spool by 49202-submit@debbugs.gnu.org id=B49202.162934322112725 (code B ref 49202); Thu, 19 Aug 2021 03:21:01 +0000 Received: (at 49202) by debbugs.gnu.org; 19 Aug 2021 03:20:21 +0000 Received: from localhost ([127.0.0.1]:57886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGYbN-0003JA-97 for submit@debbugs.gnu.org; Wed, 18 Aug 2021 23:20:21 -0400 Received: from mail-qk1-f169.google.com ([209.85.222.169]:42706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGYbI-0003Is-OL for 49202@debbugs.gnu.org; Wed, 18 Aug 2021 23:20:20 -0400 Received: by mail-qk1-f169.google.com with SMTP id bj38so5623676qkb.9 for <49202@debbugs.gnu.org>; Wed, 18 Aug 2021 20:20:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=fjinJKJUl0fYFXV19Zp4jM8xubANpUpC59wEYZJtBCw=; b=gy4UbxrY7hvLj4XM3/Jv/Ca/AAq3Q3aeVdufjGtogfHX4xPIUievGE7lfigsK+EZDg OS0oUAChW0wzS8AuuWD+UDZM1c9j+X9ss7erBYxBQA37KHICGYAHxLXbN+7qDaVYr6Ph qYvITtqjngIoxl7gwhjbCawmKB549EM3WK9OmvU9hxlJzBFBfhCHEiY+AD0Qs+4Nda4n PQfgx6hHuBJUvH0VNvA/oYHo1A6W7GsEHpFgcB7x5jC6jH8JV73B0kf24yJJnzdLAvMO yXpFnYmmLBpeU6e3c9Az5NMzY3fBUvORqZo74+t/dlFB8egAIsKLqBv5IU3DXdc1KTC+ Szew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=fjinJKJUl0fYFXV19Zp4jM8xubANpUpC59wEYZJtBCw=; b=Qv2Ah+h0A9mED7IdpsTr3CIXnsx0kdj9u0YcpzVDkwCh9XQQM1bCwGW66R3ATNfXBo 1uu2tFMTIQZ9u+N5Mb9p/5AKGTTj7zloOPkd7J76xdJoe+VoCJd6sqC8D07Jhsuj9MNf vfOIxX9JHr6fSwYqCXijxlecOeG1ZBs49+Z6+lwU1hfVE+Fg13pbZ2Zvoe0OAM3KeYWm 36yBIUIZgABwOc5X73tnaxzIGAoe41C1wfPRBnWdmxewmpG2bDKEoC3v58QfEcOGxhyg E6iB4ZFzgGfPRXCLZRh5NiP7Lm59vK1KmK+Wci/15V5rxOTt2V7RmvzixntedBp5/ohB uXZA== X-Gm-Message-State: AOAM530ZIRcx7PgXbYmVccoA0ajGF7Hiq1i7dodFPzbyIhy7F8MFg7FW QjVrPy0Ue8FlxRJeTcCEWQo= X-Google-Smtp-Source: ABdhPJwnXVP1blCuyCQhjpFg01f19LyBC3eNbA7sboR/nrjRCFPstOyAl18SidFkqg0nfS1MprVdbg== X-Received: by 2002:ae9:e810:: with SMTP id a16mr1649333qkg.492.1629343211212; Wed, 18 Aug 2021 20:20:11 -0700 (PDT) Received: from hurd (dsl-236-123-187.b2b2c.ca. [207.236.123.187]) by smtp.gmail.com with ESMTPSA id z1sm789812qtj.35.2021.08.18.20.20.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Aug 2021 20:20:10 -0700 (PDT) From: Maxim Cournoyer References: <20210624013203.041e526b@riseup.net> <86r1gr70n7.fsf@mgsn.dev> Date: Wed, 18 Aug 2021 23:20:08 -0400 In-Reply-To: <86r1gr70n7.fsf@mgsn.dev> (Sarah Morgensen's message of "Thu, 24 Jun 2021 08:17:16 -0700") Message-ID: <877dgiw26v.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: , Cc: 49202@debbugs.gnu.org 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=1629343657; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=fjinJKJUl0fYFXV19Zp4jM8xubANpUpC59wEYZJtBCw=; b=GDk/6vq+S9jfmxhVBXIkeci6K8EGonPqpGAQ1XA3IyYy75cP/54pnfgi01pNeCyoQ7JghT pf4T3r+sUBxKERfmHsh9zCu1Xfaz7k/SuuqeJxn0FJQQNtXduiPWa3q2vw+ROcp3E4FshT 7ScxVYJkjGbIKwHH6SPt4uVxstlxSnpobVRoo2huOHRk5Af31tBDxFB3LgMWF30HQhe4gX 7kHGRqvY1OFUOheDVXtJA1uRHZ/i+k1OVM1zCp2sDlhfwkqOACNCxsh4lf5ioBpDximcY3 c5sC4f23atIMjCLn+Sh2eGeIy+tnFepu3z2Zz2JOg9k+dTwqIupUUopGtgAfuw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629343657; a=rsa-sha256; cv=none; b=MTwD5yELX1dHMoGjPOxYTt2cti9XR40DMsJD1moz7RV8u2aIiFOxiazJXgRi3E8+8XAA2o 9IXWBFMF2744AtrkRhiJO8XwTjY9stXZsEPM9mTsC/ImTAg/yE0AalYTqFkNreHaCnq5SO zyzdWZkW87/12KUjCbOTLfTM71AgWyIddBGD/YS3tdwFg7Bh3H2zLgrRMkLkZbp1ezosmV JVG/Rchnh3QJna5Ri6smnSkCYyL/JxcY5dDfGFNo/4QKMPEwQGz2sx4xu8chVjlftv+E5U Ci3vcN0mN866sHDvRidRKSCHhBWcamtYaG62wGBKOadCpWKpj/YXDy5t5dHnnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=gy4UbxrY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.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-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=gy4UbxrY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.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: A7369E6C3 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: wlzQnqFedctJ Hello, Sarah Morgensen writes: > zimoun writes: > >> Hi, >> >> Thanks for the report. >> >> On Thu, 24 Jun 2021 at 02:11, raingloom wrote: >> >>> When I run >>> guix import go -r github.com/golang-migrate/migrate/v4 >>> it works for a looong time (something else to work on I guess. maybe >>> fetching every git repo is not the best solution.) and then gives this >>> error: >>> >>> In procedure vector-ref: Wrong type argument in position 1 (expecting >>> vector): #f >> >> I seems to work without the option recursive '-r'. So, I guess it is >> related to the patch [1] and issues with the recursive importers, see >> [2]. > > I do not think it is related to recursive import... I was able to narrow > down the repro to > > guix import go github.com/containerd/containerd > > with the same trace. The offending go.mod: > > module github.com/containerd/containerd Since Sarah's improved go.mod parser has been merged, the above Go module can now be imported. So we're down to: --8<---------------cut here---------------start------------->8--- $ guix import go github.com/cockroachdb/cockroach-go Backtrace: 9 (primitive-load "/home/maxim/.config/guix/current/bin/guix") In guix/ui.scm: 2185:7 8 (run-guix . _) 2148:10 7 (run-guix-command _ . _) In guix/scripts/import.scm: 120:11 6 (guix-import . _) In guix/scripts/import/go.scm: 115:27 5 (guix-import-go . _) In guix/import/go.scm: 531:18 4 (go-module->guix-package _ #:goproxy _ #:version _ #:pin-versions? _) In guix/git.scm: 247:4 3 (update-cached-checkout _ #:ref _ #:recursive? _ #:check-out? _ #:starting-commit _ # _ # _) 236:18 2 (resolve _) In git/reference.scm: 60:8 1 (_ _ _) In git/bindings.scm: 77:2 0 (raise-git-error _) --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- $ guix import go dmitri.shuralyov.com/gpu/mtl Backtrace: 5 (primitive-load "/home/maxim/.config/guix/current/bin/guix") In guix/ui.scm: 2185:7 4 (run-guix . _) 2148:10 3 (run-guix-command _ . _) In guix/scripts/import.scm: 120:11 2 (guix-import . _) In guix/scripts/import/go.scm: 115:27 1 (guix-import-go . _) In guix/import/go.scm: 615:19 0 (go-module->guix-package "dmitri.shuralyov.com/gpu/mtl" #:goproxy _ #:version _ # _) guix/import/go.scm:615:19: In procedure go-module->guix-package: In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f --8<---------------cut here---------------end--------------->8--- Thanks, Maxim