guix pull fails with “no code for module (git object)”

  • Done
  • quality assurance status badge
Details
2 participants
  • Efraim Flashner
  • Ricardo Wurmus
Owner
unassigned
Submitted by
Ricardo Wurmus
Severity
normal
R
R
Ricardo Wurmus wrote on 16 Sep 2019 12:35
(address . bug-guix@gnu.org)
87y2yopm05.fsf@elephly.net
Hi Guix,

on my i686 machine I get this error:

Toggle snippet (47 lines)
rekado@elephly ~$ ~/.config/guix/current/guix pull --no-build-hook
bin/ etc/ lib/ share/
rekado@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@gnu.org>.

--
Ricardo
E
E
Efraim Flashner wrote on 16 Sep 2019 14:00
Re: bug#37424: guix pull fails w ith “no code for module (git object)”
(name . Ricardo Wurmus)(address . rekado@elephly.net)(address . 37424-done@debbugs.gnu.org)
20190916120023.GD499@E5400
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@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
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl1/eVQACgkQQarn3Mo9
g1H4Eg/+Nt1VOWt5XNx1NYHvYgPHzbY+j687f5bXZ+TW3iN3YFFTCx7oYgzxuzmC
red3PbkSf6tAujrYt8GeTg5Gz4ojmCTkbWfR1kPqqyInmctmR3isD4r52PL4YpCU
ZiyHBwcdC4AFux4M+2zwLX1SPywvXhLgUU7CRbyx3QdPI9gulFI6j6eg8GCEtEco
Pl07xhShnfYpSXAX99jZ6h//GjmKEAef5wXew12HQCIBXy9K4tc/Rx3oywbdusmM
UbfYXmG1c5ggfhoEA3VWNSND0UceNAMzAw9zyAVmsOx+KzzijSbfEULtUeFP+SZ5
mM6WuAkF9T1lD/6YbbqlSFe4ShDt1bIrVuevs6O5MAjN0DIXN0M+DMVckfzV9kRe
gQFyDRxBoB6AVts5kygydRbHk0Tee7kaL65YJp6Ulj/zs92uaVNT28IGSheY999h
6fJdvTQIpvsUivjOwLnY7+73XEr+yHhPkeDDf7v03vQrjp2eecwp6M6TCidiTaue
9OQTiQiTum4jvtz8iUx7xmT+agSH0ZQodhysmxVT7Gfj5VSE7+5cY7gMQpqFm4CY
xj7O/t3hFUvM/7WaoO06ZyMwkParKSNRe9gpsPXS0J/Etr8PBcZam0SycR8H0zG7
Me9Bx307/6qmCh5POMWI93UTr9ulw+CuaU1EjXOKZW0w1HXjE+Q=
=7Kyl
-----END PGP SIGNATURE-----


Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 37424@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 37424
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch