unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Bastien Rivière" <me@babariviere.com>
To: 51817@debbugs.gnu.org
Subject: bug#51817: Git unable to find reference "refs/remotes/origin/HEAD"
Date: Sat, 13 Nov 2021 23:21:56 +0100	[thread overview]
Message-ID: <c18b6b91-f38a-45d6-b0c0-1d34fc5e442e@www.fastmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2416 bytes --]

Hello, I have found an interesting bug with guix.

When I try to import ~yasnippet~ from melpa, the command is unable to find the 'refs/remotes/origin/HEAD'.

How to reproduce:

#+begin_src shell :results output :epilogue ":"
guix import elpa -a melpa yasnippet 2>&1
#+end_src

#+RESULTS:
#+begin_example
Backtrace:
          13 (primitive-load "/home/babariviere/.config/guix/current…")
In guix/ui.scm:
   2206:7 12 (run-guix . _)
  2169:10 11 (run-guix-command _ . _)
In guix/scripts/import.scm:
   124:11 10 (guix-import . _)
In guix/scripts/import/elpa.scm:
   104:23  9 (guix-import-elpa . _)
In guix/import/elpa.scm:
    209:2  8 (elpa->guix-package _ #:repo _ #:version _)
In ice-9/boot-9.scm:
  1752:10  7 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   658:37  6 (thunk)
In guix/git.scm:
    543:8  5 (latest-repository-commit #<store-connection 256.99 7f…> …)
    272:4  4 (update-cached-checkout _ #:ref _ #:recursive? _ # _ # _ …)
   225:18  3 (resolve _)
In git/reference.scm:
     60:8  2 (_ _ _)
In git/bindings.scm:
     77:2  1 (raise-git-error _)
In ice-9/boot-9.scm:
  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
#+end_example


Guix describe output:

#+begin_src shell :results output
guix describe
#+end_src

#+RESULTS:
#+begin_example
Generation 40 Nov 13 2021 23:03:01 (current)
  guix e9e1627
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: e9e162784985611a0700cf7d0f16096762467a70
  baba 081d02b
    repository URL: https://github.com/babariviere/dotfiles
    branch: guix
    commit: 081d02b371f00b186009fde1033ee0ee6dc7177f
  rde f9290e5
    repository URL: https://git.sr.ht/~abcdw/rde
    branch: master
    commit: f9290e5f23a8739f3cfe8afc92df0b07eb081da0
  flat 2ef1303
    repository URL: https://github.com/flatwhatson/guix-channel.git
    branch: master
    commit: 2ef1303a1e8aceab9c9e8ec6d1bd0f6b09e154e4
  nonguix 2a44c2c
    repository URL: https://gitlab.com/nonguix/nonguix
    branch: master
    commit: 2a44c2c599f4b4d59ef5d7aa4520bc378d8f10fe
  emacs 051a950
    repository URL: https://github.com/babariviere/guix-emacs
    branch: master
    commit: 051a950f3fc51449acf991120fa492fae6ea12f2
#+end_example

[-- Attachment #2: Type: text/html, Size: 4447 bytes --]

             reply	other threads:[~2021-11-13 23:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-13 22:21 Bastien Rivière [this message]
2022-03-26  5:06 ` bug#51817: Git unable to find reference "refs/remotes/origin/HEAD" Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c18b6b91-f38a-45d6-b0c0-1d34fc5e442e@www.fastmail.com \
    --to=me@babariviere.com \
    --cc=51817@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).