GNU bug report logs - #55120
“guix import cran” fails for some git repositories

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Tue, 26 Apr 2022 06:45:02 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: bug-guix <at> gnu.org
Subject: “guix import cran” fails
 for some git repositories
Date: Tue, 26 Apr 2022 08:42:01 +0200
Importing an R package from Git fails:

--8<---------------cut here---------------start------------->8---
$ guix import cran -a git -r https://github.com/RubD/Giotto/
Backtrace:
In guix/ui.scm:
   1347:6 19 (guix-import-cran . _)
In ice-9/boot-9.scm:
  1752:10 18 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/scripts/import/cran.scm:
   108:31 17 (_)
In guix/import/utils.scm:
   507:27 16 (recursive-import _ #:repo->guix-package _ #:guix-name _ #:version _ #:repo _)
   497:33 15 (lookup-node "https://github.com/RubD/Giotto/" #f)
In guix/memoization.scm:
     98:0 14 (mproc "https://github.com/RubD/Giotto/" #:version #f #:repo git)
In unknown file:
          13 (_ #<procedure 7ff8772e9aa0 at guix/memoization.scm:179:32 ()> #<procedure list _> (this is nothing))
In guix/import/cran.scm:
   596:24 12 (_ "https://github.com/RubD/Giotto/" #:repo _ #:version _)
   296:25 11 (fetch-description _ "https://github.com/RubD/Giotto/" _)
In guix/memoization.scm:
     98:0 10 (mproc "https://github.com/RubD/Giotto/" #:method git)
In unknown file:
           9 (_ #<procedure 7ff8772e9a00 at guix/memoization.scm:179:32 ()> #<procedure list _> (this is nothing))
In ice-9/boot-9.scm:
  1752:10  8 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/store.scm:
   658:37  7 (thunk)
In guix/git.scm:
    550:8  6 (latest-repository-commit #<store-connection 256.99 7ff87cea8230> "https://github.com/RubD/Giotto/" #:recursive? _ #:log-port _ # …)
    279:4  5 (update-cached-checkout _ #:ref _ #:recursive? _ #:check-out? _ #:starting-commit _ #:log-port _ #:cache-directory _)
   232:18  4 (resolve _)
In git/reference.scm:
     60:8  3 (_ _ _)
In git/bindings.scm:
     77:2  2 (raise-git-error _)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Git error: reference 'refs/remotes/origin/HEAD' not found
--8<---------------cut here---------------end--------------->8---

-- 
Ricardo




This bug report was last modified 2 years and 147 days ago.

Previous Next


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