GNU bug report logs - #37424
guix pull fails with “no code for module (git object)”

Previous Next

Package: guix;

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

Date: Mon, 16 Sep 2019 10:36:01 UTC

Severity: normal

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37424 in the body.
You can then email your comments to 37424 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#37424; Package guix. (Mon, 16 Sep 2019 10:36:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <rekado <at> elephly.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 16 Sep 2019 10:36:02 GMT) Full text and rfc822 format available.

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 pull fails with “no code for module (git
 object)”
Date: Mon, 16 Sep 2019 12:35:06 +0200
Hi Guix,

on my i686 machine I get this error:

--8<---------------cut here---------------start------------->8---
rekado <at> elephly ~$ ~/.config/guix/current/guix pull --no-build-hook
bin/   etc/   lib/   share/ 
rekado <at> elephly ~$ ~/.config/guix/current/bin/guix pull --no-build-hook
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git	518fd3b
Computing Guix derivation for 'i686-linux'...  Backtrace:
In ice-9/boot-9.scm:
   222:17 19 (map1 (((guix git)) ((guix build-system r) #:select ?) ?))
  2800:17 18 (resolve-interface (guix git) #:select _ #:hide _ # _ # ?)
In ice-9/threads.scm:
    390:8 17 (_ _)
In ice-9/boot-9.scm:
  2726:13 16 (_)
In ice-9/threads.scm:
    390:8 15 (_ _)
In ice-9/boot-9.scm:
  2994:20 14 (_)
   2312:4 13 (save-module-excursion #<procedure 9cd70a8 at ice-9/boo?>)
  3014:26 12 (_)
In unknown file:
          11 (primitive-load-path "guix/git" #<procedure a05b770 at ?>)
In ice-9/eval.scm:
   721:20 10 (primitive-eval (define-module (guix git) #:use-module ?))
In ice-9/psyntax.scm:
  1235:36  9 (expand-top-sequence ((define-module (guix git) # # ?)) ?)
  1182:24  8 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
   285:10  7 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) ?)
In ice-9/eval.scm:
   293:34  6 (_ #<module (#{ g318}#) a26b5f0>)
In ice-9/boot-9.scm:
   2874:4  5 (define-module* _ #:filename _ #:pure _ #:version _ # _ ?)
  2887:24  4 (_)
   222:29  3 (map1 (((git)) ((git object)) ((guix i18n)) ((guix ?)) ?))
   222:17  2 (map1 (((git object)) ((guix i18n)) ((guix base32)) # ?))
   2803:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ ?)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for modu?" ?) ?)

ERROR: In procedure scm-error:
no code for module (git object)
-guix pull: error: You found a bug: the program '/gnu/store/f3xc9qp45hma3ia2z36z50vd5lxx4mk8-compute-guix-derivation'
failed to compute the derivation for Guix (version: "518fd3b6592203df73fec347d30016d4260ee127"; system: "i686-linux";
host version: "aa986c9cd6cf5874f5a6b326484a9073977cc4bd"; pull-version: 1).
Please report it by email to <bug-guix <at> gnu.org>.
--8<---------------cut here---------------end--------------->8---

-- 
Ricardo





Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Mon, 16 Sep 2019 12:01:02 GMT) Full text and rfc822 format available.

Notification sent to Ricardo Wurmus <rekado <at> elephly.net>:
bug acknowledged by developer. (Mon, 16 Sep 2019 12:01:03 GMT) Full text and rfc822 format available.

Message #10 received at 37424-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 37424-done <at> debbugs.gnu.org
Subject: Re: bug#37424: guix pull fails with “no code for module (git object)”
Date: Mon, 16 Sep 2019 15:00:23 +0300
[Message part 1 (text/plain, inline)]
Fixed with 74e7465c9b3758c1509a3e0dbe575e2014e20f0a

[14:37:08] <civodul> so the problem is that this commit pulled in (git) indirectly
[14:37:59] <efraim> without tracking it down, i'd guess that (guix import cran) uses guile-git and (guix build-system r) doesn't
[14:39:35] <civodul> efraim: yes, exactly
[14:40:15] <civodul> so the solution is to do it the other way around: have the importer depend on the build system
[14:40:30] <civodul> or have an extra module used by both the importer and the build system

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 15 Oct 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 166 days ago.

Previous Next


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