From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8DxxGw8J1mCwAQEAgWs5BA (envelope-from ) for ; Fri, 25 Jun 2021 18:49:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2BwSFw8J1mBVWgAAB5/wlQ (envelope-from ) for ; Fri, 25 Jun 2021 16:49:19 +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 75A1E2B565 for ; Fri, 25 Jun 2021 18:49:18 +0200 (CEST) Received: from localhost ([::1]:47800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwp12-000136-M3 for larch@yhetil.org; Fri, 25 Jun 2021 12:49:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwp0o-0000tU-St for bug-guix@gnu.org; Fri, 25 Jun 2021 12:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35167) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwp0o-0005fG-LJ for bug-guix@gnu.org; Fri, 25 Jun 2021 12:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwp0o-0001cF-LC for bug-guix@gnu.org; Fri, 25 Jun 2021 12:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49202: guix import go type error (failed regex match?) Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 25 Jun 2021 16:49:02 +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: raingloom Received: via spool by 49202-submit@debbugs.gnu.org id=B49202.16246396846106 (code B ref 49202); Fri, 25 Jun 2021 16:49:02 +0000 Received: (at 49202) by debbugs.gnu.org; 25 Jun 2021 16:48:04 +0000 Received: from localhost ([127.0.0.1]:46710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwozl-0001a0-A2 for submit@debbugs.gnu.org; Fri, 25 Jun 2021 12:48:04 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:47029) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwozi-0001Zd-QB for 49202@debbugs.gnu.org; Fri, 25 Jun 2021 12:47:55 -0400 Received: by mail-wr1-f43.google.com with SMTP id l8so2515583wry.13 for <49202@debbugs.gnu.org>; Fri, 25 Jun 2021 09:47:54 -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=DeVyoZmP7/X8bInQObLsTWBUmmYh5MfGGdAGWKeX/Ls=; b=tHuzhQwHjby5dYG9v2q0l6QOEpp2grwwtHZvhFKOQb4IpcS8xLI4oUXZErWKgJK3nS 9TBbil1K9Lbju3VBBR341C4MaqR7IOmUzpdvgkLZnGolZ++ftrJ9vOPoWNdrZasrVjAH NiKOTn3MQM/PZfSAB0VenwmumFHVckVXxCygh7QK768/Ozr7vMkB4/sf5RBf4bRhz0+n NF3s8aYbykD3NgXJ0qMZbt7//BvVK3N01B1P0iju2kkYqNRxm2cfkQwuHGynW19MWRgr i7d2v7TxMScS80vzQ5oo80wp5c3SlgF06lG8IS/ZXhUebyQOHILSragfgq116EDcAA62 Smcw== 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=DeVyoZmP7/X8bInQObLsTWBUmmYh5MfGGdAGWKeX/Ls=; b=rlqL4Rvdh4XCb5PURSVLIZ9s6/pJQSU3dCp4wpxQLLfnF//2EVcN7rDCWKYufIUrh8 rDMcEz3w4ONacvOP7sJlJ8QO4692J67hU6Grly7t87SheDh3XI6IiMb+riOc1rjo/aro Qq553KanSkjMXNNaOzuDx/7l+q2004uDmjf2aoMa/MdwWq9fiO6F+fSk9D1uPX8CKlpk LxAkYGJysjK7i3F8Gdyl3DgfjiJ6nMiVDvKfEIkHSMrr8tKizuEmwxSeLZ8vPm26SaWI 3GeVtryxARl+FnePgSqdkABnWlmXGCVMGF848zw+L6vtBrz8kpBnUWMw6qnHFWdn8Zn6 mrmg== X-Gm-Message-State: AOAM532SMXHWUxC6q1NWZNCveAKhTAOQgC0qoHCVwqP/j4hQmh7onb+2 8y0zItRLiawOco1Ulz/h9Ic= X-Google-Smtp-Source: ABdhPJz4aeScLOvxCZRTLN3vSvDMeHnN7PP0giHTbhdsOmnBZvksaG/H4fTWtndNO3qPNnoVAfPNXA== X-Received: by 2002:a5d:5603:: with SMTP id l3mr11983951wrv.403.1624639668880; Fri, 25 Jun 2021 09:47:48 -0700 (PDT) Received: from bioinfomeary01-Precision-7820-Tower ([193.48.40.110]) by smtp.gmail.com with ESMTPSA id l22sm7477814wrz.54.2021.06.25.09.47.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Jun 2021 09:47:48 -0700 (PDT) From: zimoun References: <20210624013203.041e526b@riseup.net> Date: Fri, 25 Jun 2021 18:40:34 +0200 In-Reply-To: <20210624013203.041e526b@riseup.net> (raingloom@riseup.net's message of "Thu, 24 Jun 2021 01:32:03 +0200") Message-ID: <85zgvd99tp.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, iskarian@mgsn.dev 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=1624639758; 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=DeVyoZmP7/X8bInQObLsTWBUmmYh5MfGGdAGWKeX/Ls=; b=KFPrWEIhbfqkAmvrSJkfhA0+4vpUAv1kmlqfit32ENMsagqA3rmfHlpuXEBVjF/2Sj8Qjv 40AeFsW9AzaACCFm+5btmTTfisMsyikXdgWHdSd+xyDA3YKqJCbPuWCW1U33FKPvpHIS+h qVdki9S4drsxlFrcidSgxP5m7+QflEwEku5n0BN9UdxNaG39VR/30QpfUZcCHeJ3lyJVyE sn5XfHJQAlVK006JOKFgHC8DGBrUdXhdaEDqUFcn6XIAAjiVzEXvWp96HIFMGSUpdq0Oao uweNNG6dJSb6sKjnEJ4PWZ+v7MrbI9OeFDCMxU60HkQcGVkaFIqM/OQa/TjJzA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624639758; a=rsa-sha256; cv=none; b=fHIMJNhoMqn/8Ou/br4DVrFc6FPdDNUSFP4kuvjBEaVBoe4M+wy/TNl++F8zw5STxlbKkX Q4MpjTo+9jPgB3UQo/ba/k9t2mOIAG7MlFUL1SU6Nz3qgGSDvxxZWUUjYIP4xGrbcnsvIh 9QjHa6iAJ/L11G5BwELnqbXdufYJ6BEpzfK6ULU/cV4ErgS21CJoYMx2Q18vybPbkfod9h w8SpI61qvyba9J6b1xr+qoLmacMQiWtZfOGiWOGtAeWdCkV+3YzucBX5VDZmZw/d8AJJZQ X3nkmmBQUUZdzFbO/WAqGiAebO+RrQm2BlzBl81r5m5YwXCWybgYTTzpRe1qLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=tHuzhQwH; 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.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=tHuzhQwH; 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: 75A1E2B565 X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: KTQTC2b4gfT1 Hi, On jeu., 24 juin 2021 at 01:32, 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 Using v3 from patch#49196 [1], I get the piece below. As mentioned by Sarah, the parser seems poor for some dependencies. 1: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix import go -r github.com/golang-migrate/migrate/v4 following redirection to `https://go.mongodb.org/mongo-driver/'... following redirection to `https://github.com/moby/moby?go-get=1'... guix import: warning: Something went wrong with ("github.com/containerd/containerd" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("github.com/cockroachdb/cockroach-go" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("github.com/bmizerany/assert" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("cloud.google.com/go/storage" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("cloud.google.com/go/spanner" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("go.opentelemetry.io/otel/sdk" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("go.opentelemetry.io/otel/metric" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("github.com/go-gl/glfw/v3.3/glfw" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("dmitri.shuralyov.com/gpu/mtl" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("github.com/hudl/fargo" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). following redirection to `https://github.com/HdrHistogram/hdrhistogram-go?go-get=1'... guix import: warning: Failed to import package "github.com/cncf/udpa/go". reason: "https://pkg.go.dev/github.com/cncf/udpa" could not be fetched: HTTP error 404 ("Not Found"). This package and its dependencies won't be imported. guix import: warning: Something went wrong with ("go.opentelemetry.io/proto/otlp" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Failed to import package "github.com/cncf/xds/go". reason: "https://pkg.go.dev/github.com/cncf/xds" could not be fetched: HTTP error 404 ("Not Found"). This package and its dependencies won't be imported. following redirection to `https://github.com/jtolio/gls?go-get=1'... guix import: warning: Something went wrong with ("github.com/neelance/sourcemap" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("github.com/neelance/astrewrite" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("github.com/jcmturner/dnsutils/v2" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("github.com/shirou/gopsutil/v3" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). following redirection to `https://github.com/openhistogram/circonusllhist?go-get=1'... guix import: warning: Something went wrong with ("gonum.org/v1/gonum" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). following redirection to `https://proxy.golang.org/@v/list'... guix import: warning: Failed to import package "//". reason: "https://proxy.golang.org/@v/list" could not be fetched: HTTP error 410 ("Gone"). This package and its dependencies won't be imported. guix import: warning: Something went wrong with ("github.com/chzyer/test" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("github.com/chzyer/logex" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("google.golang.org/grpc/cmd/protoc-gen-go-grpc" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("github.com/gobuffalo/gogen" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("github.com/markbates/safe" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("github.com/markbates/oncer" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("github.com/markbates/errx" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("github.com/gobuffalo/github_flavored_markdown" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("github.com/aws/aws-sdk-go-v2/service/s3" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("github.com/aws/aws-sdk-go-v2/feature/s3/manager" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Failed to import package "github.com/apache/arrow/go/arrow". reason: "https://pkg.go.dev/github.com/apache/arrow" could not be fetched: HTTP error 404 ("Not Found"). This package and its dependencies won't be imported. guix import: warning: Something went wrong with ("github.com/Azure/go-autorest/autorest/adal" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). (define-public go-github-com-cloudflare-golz4 (package (name "go-github-com-cloudflare-golz4") (version "0.0.0-20150217214814-ef862a3cdc58") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/cloudflare/golz4") (commit (go-version->git-ref version)))) (file-name (git-file-name name version)) (sha256 (base32 "0ckiwp3aa010sdnki6vd32f0n08768ppnggc8d7syzh3kkn9zvn1")))) (build-system go-build-system) (arguments '(#:import-path "github.com/cloudflare/golz4")) (home-page "https://github.com/cloudflare/golz4") (synopsis "golz4") (description "Package lz4 implements compression using lz4.c and lz4hc.c ") (license license:bsd-3))) [...] (define-public go-github-com-golang-migrate-migrate-v4 (package (name "go-github-com-golang-migrate-migrate-v4") (version "4.14.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/golang-migrate/migrate") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "1mgs3bngghmirmn0pw351m54darv8d5iymlxcjqw3vr0cyn5aqj0")))) (build-system go-build-system) (arguments '(#:import-path "github.com/golang-migrate/migrate")) (propagated-inputs `(("go-modernc-org-zappy" ,go-modernc-org-zappy) ("go-modernc-org-strutil" [...] ("go-cloud-google-com-go" ,go-cloud-google-com-go))) (home-page "https://github.com/golang-migrate/migrate") (synopsis "migrate") (description "Package migrate reads migrations from sources and runs them against databases. Sources are defined by the `source.Driver` and databases by the `database.Driver` interface. The driver interfaces are kept \"dumb\", all migration logic is kept in this package. ") (license license:expat))) --8<---------------cut here---------------end--------------->8--- Hope that helps, simon