From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GAwsFIKfPmKPGAAAgWs5BA (envelope-from ) for ; Sat, 26 Mar 2022 06:07:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UL9rEYKfPmKIgAEA9RJhRA (envelope-from ) for ; Sat, 26 Mar 2022 06:07:14 +0100 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 B8A26CAD3 for ; Sat, 26 Mar 2022 06:07:13 +0100 (CET) Received: from localhost ([::1]:43018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXyds-0007tL-WA for larch@yhetil.org; Sat, 26 Mar 2022 01:07:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXydk-0007t2-2r for bug-guix@gnu.org; Sat, 26 Mar 2022 01:07:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58996) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXydi-0000xL-1U for bug-guix@gnu.org; Sat, 26 Mar 2022 01:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXydh-0007KP-Sp for bug-guix@gnu.org; Sat, 26 Mar 2022 01:07:01 -0400 Subject: bug#51817: Git unable to find reference "refs/remotes/origin/HEAD" Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Sat, 26 Mar 2022 05:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 51817 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Bastien =?UTF-8?Q?Rivi=C3=A8re?= Mail-Followup-To: 51817@debbugs.gnu.org, maxim.cournoyer@gmail.com, me@babariviere.com Received: via spool by 51817-done@debbugs.gnu.org id=D51817.164827121928124 (code D ref 51817); Sat, 26 Mar 2022 05:07:01 +0000 Received: (at 51817-done) by debbugs.gnu.org; 26 Mar 2022 05:06:59 +0000 Received: from localhost ([127.0.0.1]:52891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXyde-0007JY-I1 for submit@debbugs.gnu.org; Sat, 26 Mar 2022 01:06:59 -0400 Received: from mail-qk1-f172.google.com ([209.85.222.172]:36712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXydc-0007JJ-Ll for 51817-done@debbugs.gnu.org; Sat, 26 Mar 2022 01:06:57 -0400 Received: by mail-qk1-f172.google.com with SMTP id v13so7515756qkv.3 for <51817-done@debbugs.gnu.org>; Fri, 25 Mar 2022 22:06:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=2LIZ/f3SI6x9e53/cuuRQRnT2bQ/cva0PtRc9F2SHrA=; b=BkbzJg9H/DGZ07hqcuzaO4jX1MtjA4BKMWeI6NLvLuiLEPc4GPWrOfC+gjQhni0c1/ nf33qojz8oV/jullOR8HqkWbZMuB+iK5xFvbJ//Mni8fehExSN2GVDraHh4mzckciexa a55ZTDHfeWmZdlQHaz7sqkXf6LMvhMVMGblUlVQCQaHhwP7KKiv879MmVMlczYyt5nIN /CSlD1l3BZkj/WK2KZEJaEwMt5npqy8QyAO0MuDY+Wt00AyB219Vq+F+Rqrbv7eZiHkj /hzQR9BdBKLXhlE2SwDhwqbygl7ZUwNxxxkT9sAKM53PJFZ6HHfPo7XGaWQHVVsjuKhe rlmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=2LIZ/f3SI6x9e53/cuuRQRnT2bQ/cva0PtRc9F2SHrA=; b=p2M0jjy2KNjkMVxg/vDlA/tS27Q/8+FlURMLcLTORMhiCkSLqkgMSxYD2R0ycddrMs 421iFofo5AUw8bREmQ9X8lkZdNyj/PbhhhmwkSGGbMC33ExG8UAv3q9n431WToRi7c9O F499m+YcNB70TBOVv62j3zDixZiiH0LIR6eL8PyWDqAZ5DYuo3WYbR79OR0qc/8PZbcj +t03YCtFRLxHYCJHYBIODwdtiVyv9IjJXsuDRldbFAJr+OCkXoNAK1/lYg0BUGNXCxTV sEgXJIpi4QhtjriWPSZnUlkAS2LaR03WRINgCtxiDzGlpvB4OiAQOan/sBSDhCKVjBRJ f5xQ== X-Gm-Message-State: AOAM5300SneGhrgs7iKeZueKoLt5d2quEWanZcfI/hbG8uFPUCHsFGar I6GkI6FiBiijt51l2k+PzpvlAjC6hyc= X-Google-Smtp-Source: ABdhPJzTh6J8H2pcypF7KX+IunRhcwjiPbO9Xo444I1nXj4iNaMRN8JVh8bccctb4bqhVzMvuut5qw== X-Received: by 2002:ae9:ed8a:0:b0:67d:6a0d:2a82 with SMTP id c132-20020ae9ed8a000000b0067d6a0d2a82mr9482270qkg.561.1648271210990; Fri, 25 Mar 2022 22:06:50 -0700 (PDT) Received: from hurd (dsl-157-48.b2b2c.ca. [66.158.157.48]) by smtp.gmail.com with ESMTPSA id y24-20020a37e318000000b0067d43d76184sm4320154qki.97.2022.03.25.22.06.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 22:06:50 -0700 (PDT) From: Maxim Cournoyer References: Date: Sat, 26 Mar 2022 01:06:49 -0400 In-Reply-To: ("Bastien =?UTF-8?Q?Rivi=C3=A8re?="'s message of "Sat, 13 Nov 2021 23:21:56 +0100") Message-ID: <87r16pwbdi.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: 51817-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648271234; 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: content-transfer-encoding:content-transfer-encoding:resent-to: 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=2LIZ/f3SI6x9e53/cuuRQRnT2bQ/cva0PtRc9F2SHrA=; b=fiFdzR1C32sVDDbVj3JN9NjNhqtR/cxEVEDlk72mVwlEnywU1KDky2G+rMMDvEl9FU1Vx6 BPzEECNuRuBUjDtbtaFhJ6N2TAAbBQeHLByySwuhkkmtIavIk6WGeG1BPePJDuvishm2T+ Zv4Cqi5aXZav86M7f6MWzpSeoQ5yl6Ou6oFQUjlttu+We1cPKe+8D0Oetk7j3cNDR2YRIy YOwNjJkF9yodIAOS5+nuzZxxAtR9J8nYDQh1maD4/QwgfSJJGq6upbHvPMFh4GgF8MNDaF kb88nBq/UM3Q+scw3tGSAWKpmdoKWjbwv11PI6vDNEOhT949fY7fs+dy7f/9YQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648271234; a=rsa-sha256; cv=none; b=rrqTSvY7lNYMBykkWjpbid47YASfsd5BxxOEH2ooWLhUATKpMGNy34CVVWNCKLSG68C3dV V5O5l7VaQo8s6SP0STA7tL+QbTuTXynt4aguz3soyre7U0+6bJJBCFSoLKe4dAd1CU1zMz Amtk9KugpphkmA1L0aY9mKPYNkRRAyt6uGhRp25gPJq//mx7jTM8ukM1ZUPilKFMI8jIV8 VK3kdEhHo2a7ujT6fWH8OazJujNOJQKs3KfxA9+QhmLMtMOhHtM2fx3K1CXZr5435nBEpf KiQD9iqowqfJTpd2UgKpMPkHwUeHuhfoiIGjCgGVb4AmB3inBcKRyE1t2mplEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BkbzJg9H; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BkbzJg9H; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B8A26CAD3 X-Spam-Score: 5.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: i5xVbnQk9x2P Hi, Bastien Rivi=C3=A8re writes: > 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=E2= =80=A6") > 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 # =E2=80=A6) > 272:4 4 (update-cached-checkout _ #:ref _ #:recursive? _ # _ # _ =E2= =80=A6) > 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 I cannot reproduce this as of guix 6385881124429016f750b0f562b70e07f592275e. --8<---------------cut here---------------start------------->8--- $ guix import elpa -a melpa yasnippet (package (name "emacs-yasnippet") (version "20200604.246") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/joaotavora/yasnippet.git") (commit "5cbdbf0d2015540c59ed8ee0fcf4788effdf75b6"))) (sha256 (base32 "1cp1sgmfc8pgcy24l77aam833710mjp2y3m8l8c90677wxqr44vl")))) (build-system emacs-build-system) (arguments '(#:include '("^yasnippet.el$" "^snippets$") #:exclude '())) (home-page "http://github.com/joaotavora/yasnippet") (synopsis "Yet another snippet extension for Emacs") (description " Basic steps to setup: (add-to-list 'load-path \"~/path-to-yasnippet\") (req= uire 'yasnippet) (yas-global-mode 1) Interesting variables are: `yas-snippet-dirs' The directory where user-created snippets are to be sto= red. Can also be a list of directories. In that case, when used for b= ulk (re)loading of snippets (at startup or via `yas-reload-all'), directories appearing earlier in the list override other dir's snippets. Also, the first directory is taken as the default for storing the user's new snippets. The deprecated `yas/root-directory' aliases this variable for backward-compatibility. Major commands are: M-x yas-expand Try to expand snippets before point. In `yas-minor-mode', this is normally bound to TAB, but you can customize it in `yas-minor-mode-map'. M-x yas-load-directory Prompts you for a directory hierarchy of snippets to load. M-x yas-activate-extra-mode Prompts you for an extra mode to add snippets for in the current buffer. M-x yas-insert-snippet Prompts you for possible snippet expansion if that is possible according to buffer-local and snippet-local expansion conditions. With prefix argument, ignore these conditions. M-x yas-visit-snippet-file Prompts you for possible snippet expansions like `yas-insert-snippet', but instead of expanding it, takes you dire= ctly to the snippet definition's file, if it exists. M-x yas-new-snippet Lets you create a new snippet file in the correct subdirectory of `yas-snippet-dirs', according to the active major mode. M-x yas-load-snippet-buffer When editing a snippet, this loads the snippet. This is bound to \"C-c C-c\" while in the `snippet-mode' editing mode. M-x yas-tryout-snippet When editing a snippet, this opens a new empty buffer, = sets it to the appropriate major mode and inserts the snippet there, s= o you can see what it looks like. This is bound to \"C-c C-t\" while in `snippet-mode'. M-x yas-describe-tables Lists known snippets in a separate buffer. User is pro= mpted as to whether only the currently active tables are to be displaye= d, or all the tables for all major modes. If you have `dropdown-list' installed, you can optionally use it as the preferred \"prompting method\", putting in your .emacs file, for example: (require 'dropdown-list) (setq yas-prompt-functions '(yas-dropdown-prompt yas-ido-prompt yas-completing-prompt)) Also check out the customization group M-x customize-group RET yasnippet RET If you use the customization group to set variables `yas-snippet-dirs' = or `yas-global-mode', make sure the path to \"yasnippet.el\" is present in t= he `load-path' *before* the `custom-set-variables' is executed in your .emacs file. For more information and detailed usage, refer to the project page: http://github.com/joaotavora/yasnippet") (license #f)) --8<---------------cut here---------------end--------------->8--- Closing! Thanks for the report, Maxim