From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gA/BMSTM1GCdJgAAgWs5BA (envelope-from ) for ; Thu, 24 Jun 2021 20:17:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wCJeLSTM1GDGIgAAbx9fmQ (envelope-from ) for ; Thu, 24 Jun 2021 18:17:08 +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 C5586F341 for ; Thu, 24 Jun 2021 20:17:07 +0200 (CEST) Received: from localhost ([::1]:45406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwTuT-0004Mr-5T for larch@yhetil.org; Thu, 24 Jun 2021 14:17:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwR7C-0008UJ-LQ for bug-guix@gnu.org; Thu, 24 Jun 2021 11:18:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwR7B-0004v4-TY for bug-guix@gnu.org; Thu, 24 Jun 2021 11:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwR7B-0006rc-OZ for bug-guix@gnu.org; Thu, 24 Jun 2021 11:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49202: guix import go type error (failed regex match?) In-Reply-To: <20210624013203.041e526b@riseup.net> Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 24 Jun 2021 15:18: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: zimoun Cc: 49202@debbugs.gnu.org, raingloom Received: via spool by 49202-submit@debbugs.gnu.org id=B49202.162454785326344 (code B ref 49202); Thu, 24 Jun 2021 15:18:01 +0000 Received: (at 49202) by debbugs.gnu.org; 24 Jun 2021 15:17:33 +0000 Received: from localhost ([127.0.0.1]:43837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwR6d-0006qj-GN for submit@debbugs.gnu.org; Thu, 24 Jun 2021 11:17:33 -0400 Received: from out0.migadu.com ([94.23.1.103]:62268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwR6X-0006qV-LM for 49202@debbugs.gnu.org; Thu, 24 Jun 2021 11:17:25 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1624547839; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=+G7hzxcZhRR8siEIQkqkwFEQNdmPrqxoeDMXCI4DgAI=; b=AZM6CMjHrASG/ZaDn6VzuHIqjIT9JkEHD6FYEoIhBEmH3QeFm0XKtMo2av3JbXLXPIZHeB aCr/RODqjXw8PlUIZMYZy1NlXykmtvDn0yy1tmE//HotAGmq7+EYTzTOo5TougWV3FZRyw xWEBLeXOXvOPN/azO6vBN+jrDqfp+EI= References: <20210624013203.041e526b@riseup.net> Date: Thu, 24 Jun 2021 08:17:16 -0700 Message-ID: <86r1gr70n7.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: iskarian@mgsn.dev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 24 Jun 2021 14:14:08 -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" Reply-to: Sarah Morgensen From: Sarah Morgensen via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624558628; h=from:from:sender:sender:reply-to: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=+G7hzxcZhRR8siEIQkqkwFEQNdmPrqxoeDMXCI4DgAI=; b=SYHMP2RWkWwu5UX26o8gvogvFFnBUSg+NCphQ+Q3f6dd1DwrE15xupGdUJMjJQ2ndcK6x0 vJ4GQTlf/fV0I9T+EXTbV0jQOSR6LlwpjoBkH2a5+GKSL7IyMyfyi15tUqk/g2RyuTaRdC 8Z/Yo8pZxTWijBMIMdzlDjVA1eEuCIwOdU203DOtFj1U7rmXbOXXsg3/vO91NnYc4xTZm9 Sn6PY0t63sb60Bi4Y0zg1ivExqJiD0X0lQGYyOgl8+N8ND0W3h45nRpsL+/8wglrN3L5cl srmvpwisPtkZ/pqziejDPdxbrLcvpwIfXIpE/hkWo7vel9OcqSli+OmP1CXmzw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624558628; a=rsa-sha256; cv=none; b=FbbTinLd1FbTYFgkbWmSjM0Ja5+X2RndggwoCsq/HuhyWuuO7hjJSSRhEB+RiU8BYgJsi3 /Dgv45AInXTlipb4NMoEBgSsNfrGG5g8oKdkRlWxCN9BMtnpVt/SrorN3thrT0P/Co+y5m odgLfPzF/bZxyMDddZttmi1wiX5CX39E8rhcLwynDn12RZsVqPuL0eSCWoxTOj5daPWCns OLHWxOSpLiKvpS7FMX1byKIqJw3YA5huPGG7mqBXV/9nGChP9cQSbwCR1le9wd1ciKa5gP mZ/X5N9pvBsWhEeJi8NKUOsyhEo5HMUt8hyk/Pn2cer65H/xtdqdvWjtHINn7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=AZM6CMjH; 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: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=AZM6CMjH; dmarc=pass (policy=none) header.from=gnu.org; 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: C5586F341 X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4wuzuG963teO 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: --8<---------------cut here---------------start------------->8--- module github.com/containerd/containerd go 1.16 require ( github.com/Microsoft/go-winio v0.5.0 github.com/Microsoft/hcsshim v0.8.17 github.com/containerd/aufs v1.0.0 github.com/containerd/btrfs v1.0.0 github.com/containerd/cgroups v1.0.1 github.com/containerd/console v1.0.2 github.com/containerd/continuity v0.1.0 github.com/containerd/fifo v1.0.0 github.com/containerd/go-cni v1.0.2 github.com/containerd/go-runc v1.0.0 github.com/containerd/imgcrypt v1.1.1 github.com/containerd/nri v0.1.0 github.com/containerd/ttrpc v1.0.2 github.com/containerd/typeurl v1.0.2 github.com/containerd/zfs v1.0.0 github.com/containernetworking/plugins v0.9.1 github.com/coreos/go-systemd/v22 v22.3.2 github.com/davecgh/go-spew v1.1.1 github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c github.com/docker/go-metrics v0.0.1 github.com/docker/go-units v0.4.0 github.com/emicklei/go-restful v2.9.5+incompatible github.com/fsnotify/fsnotify v1.4.9 github.com/gogo/googleapis v1.4.0 github.com/gogo/protobuf v1.3.2 github.com/google/go-cmp v0.5.5 github.com/google/uuid v1.2.0 github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 github.com/hashicorp/go-multierror v1.0.0 github.com/imdario/mergo v0.3.11 github.com/klauspost/compress v1.11.13 github.com/moby/locker v1.0.1 github.com/moby/sys/mountinfo v0.4.1 github.com/moby/sys/symlink v0.1.0 github.com/opencontainers/go-digest v1.0.0 github.com/opencontainers/image-spec v1.0.1 github.com/opencontainers/runc v1.0.0 github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 github.com/opencontainers/selinux v1.8.2 github.com/pelletier/go-toml v1.8.1 github.com/pkg/errors v0.9.1 github.com/prometheus/client_golang v1.7.1 github.com/prometheus/procfs v0.6.0 // indirect; temporarily force v0.6.0, which was previously defined in imgcrypt as explicit version github.com/satori/go.uuid v1.2.0 // indirect github.com/sirupsen/logrus v1.8.1 github.com/stretchr/testify v1.6.1 github.com/tchap/go-patricia v2.2.6+incompatible github.com/urfave/cli v1.22.2 go.etcd.io/bbolt v1.3.5 golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 golang.org/x/sync v0.0.0-20201207232520-09787c993a3a golang.org/x/sys v0.0.0-20210426230700-d19ff857e887 google.golang.org/grpc v1.38.0 google.golang.org/protobuf v1.26.0 gotest.tools/v3 v3.0.3 k8s.io/api v0.20.6 k8s.io/apimachinery v0.20.6 k8s.io/apiserver v0.20.6 k8s.io/client-go v0.20.6 k8s.io/component-base v0.20.6 k8s.io/cri-api v0.20.6 k8s.io/klog/v2 v2.4.0 k8s.io/utils v0.0.0-20201110183641-67b214c5f920 ) // When updating replace rules, make sure to also update the rules in integration/client/go.mod replace ( // prevent transitional dependencies due to containerd having a circular // dependency on itself through plugins. see .empty-mod/go.mod for details github.com/containerd/containerd => ./.empty-mod/ github.com/gogo/googleapis => github.com/gogo/googleapis v1.3.2 // urfave/cli must be <= v1.22.1 due to a regression: https://github.com/urfave/cli/issues/1092 github.com/urfave/cli => github.com/urfave/cli v1.22.1 google.golang.org/genproto => google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63 ) --8<---------------cut here---------------end--------------->8--- Based on the trace it seems like it's treating the k8s.io/utils require as a replace directive, but I have no idea why. > > 1: > 2: > > > All the best, > simon Sarah