Subject: bug#42403: guix pull fails: no code for module (gnu packages maven)

From: Alexandru-Sergiu Marton <[email-masked]>
Date: Fri, 17 Jul 2020 13:34:58 +0300

Hi,

I just did a `guix pull` and it failed complaining about maven. Here's
the output from the console:

--8<---------------cut here---------------start------------->8---
builder for `/gnu/store/4y42zgxq6abq8mg4rbx9l9lylkkn5b2v-guix-extra.drv' failed with exit code 1
build of /gnu/store/4y42zgxq6abq8mg4rbx9l9lylkkn5b2v-guix-extra.drv failed
View build log at '/var/log/guix/drvs/4y/42zgxq6abq8mg4rbx9l9lylkkn5b2v-guix-extra.drv.bz2'.
cannot build derivation `/gnu/store/hm5kxq2gxswq7h3waccpdph4bavbws3d-guix-cli.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/nbd7kfsdhp9b7v02cgk1a3nwp7x5fb6i-guix-extra-modules.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/gn2zgx4l362sdyn5lc8k95gkdh6l4w1r-guix-packages-base.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/f9ihn0yia5vbcw73ib32lrm5hmck6isf-guix-packages.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/ilbqsxrrjh0rcvbch9qk6dh3ayrdwrr9-guix-system-tests.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/5h8qq67bqqbdykg85l5n67lwccfx2p7m-guix-system.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/94v53wfwnvdzw10wilq7gmzc4p9dhz02-guix-55b90c905-modules.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/i2rqzzqwl6x6m5sal78493w09xshsm09-guix-55b90c905.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/6dhnk8772syndp3278f78rwlh57221zc-profile.drv': 1 dependencies couldn't be built
guix pull: error: build of `/gnu/store/6dhnk8772syndp3278f78rwlh57221zc-profile.drv' failed
--8<---------------cut here---------------end--------------->8---

And here's the build log:

--8<---------------cut here---------------start------------->8---
          19 (primitive-load "/gnu/store/57mqxm07sqsl0gkrijll84ls32xpaixv-guix-extra-builder")
In ice-9/eval.scm:
    619:8 18 (_ #f)
In ice-9/boot-9.scm:
    152:2 17 (with-fluid* _ _ _)
In guix/build/compile.scm:
    225:8 16 (compile-files _ _ _ #:host _ #:workers _ #:optimization-options _ #:warning-options _ #:report-load _ #:report-compilation _ #:debug-port _)
In system/base/target.scm:
     65:6 15 (with-target _ _)
In guix/build/compile.scm:
   229:12 14 (_)
    144:9 13 (load-files "." _ #:report-load _ #:debug-port _)
In ice-9/boot-9.scm:
  3297:17 12 (resolve-interface (guix build-system maven) #:select _ #:hide _ #:prefix _ #:renamer _ #:version _)
In ice-9/threads.scm:
    390:8 11 (_ _)
In ice-9/boot-9.scm:
  3223:13 10 (_)
In ice-9/threads.scm:
    390:8  9 (_ _)
In ice-9/boot-9.scm:
  3507:20  8 (_)
   2806:4  7 (save-module-excursion #<procedure 7ffff270bde0 at ice-9/boot-9.scm:3508:21 ()>)
  3527:26  6 (_)
In unknown file:
           5 (primitive-load-path "guix/build-system/maven" #<procedure 7ffff27396a0 at ice-9/boot-9.scm:3514:37 ()>)
In ice-9/eval.scm:
   626:19  4 (_ #<directory (guix build-system maven) 7ffff2a1d460>)
   173:39  3 (_ #<directory (guix build-system maven) 7ffff2a1d460>)
    159:9  2 (_ #<directory (guix build-system maven) 7ffff2a1d460>)
   293:34  1 (_ #(#(#<directory (guix build-system maven) 7ffff2a1d460>)))
In ice-9/boot-9.scm:
   3300:6  0 (resolve-interface (gnu packages maven) #:select _ #:hide _ #:prefix _ #:renamer _ #:version _)

ice-9/boot-9.scm:3300:6: In procedure resolve-interface:
no code for module (gnu packages maven)
--8<---------------cut here---------------end--------------->8---

Cheers,
Sergiu