Subject: bug#27925: website: guix build -f guix.scm errors

From: ng0 <[email-masked]>
Date: Wed, 2 Aug 2017 20:56:57 +0000

I tested if the errors I get with my websites are reproducible in some
way. The guix.scm I use there is derived from the one of the guix website,
so I ran the same in the 'guix-artwork' repository, with comparaible (equal?)
errors:

user@abyayala ~/Downloads/guix-artwork/website$ git pull
remote: Counting objects: 314, done.
remote: Compressing objects: 100% (167/167), done.
remote: Total 314 (delta 150), reused 297 (delta 137)
Receiving objects: 100% (314/314), 4.03 MiB | 735.00 KiB/s, done.
Resolving deltas: 100% (150/150), completed with 46 local objects.
From git://git.savannah.gnu.org/guix/guix-artwork
   462daff..badfa7c  master             -> origin/master
 * [new branch]      wip-website-update -> origin/wip-website-update
Updating 462daff..badfa7c
Fast-forward
 website/posts/state-of-aarch64-on-guix.md | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 website/www/donate.scm                    |  4 ++++
 website/www/help.scm                      | 14 +++++++++++++-
 3 files changed, 105 insertions(+), 1 deletion(-)
 create mode 100644 website/posts/state-of-aarch64-on-guix.md
user@abyayala ~/Downloads/guix-artwork/website$ guix build -f guix.scm
guix build: warning: failed to load '(mystery hack evolution)':
ERROR: In procedure module-lookup: Unbound variable: version-major+minor
The following derivation will be built:
   /gnu/store/74wjk41xpgmpinsrfq2fkxq0kf1yfajj-gexp.drv
process 11821 acquired build slot '/var/guix/offload/192.168.1.179/0'
load on machine '192.168.1.179' is 0.0 (normalized: 0.0)
@ build-started /gnu/store/74wjk41xpgmpinsrfq2fkxq0kf1yfajj-gexp.drv - x86_64-linux /var/log/guix/drvs/74//wjk41xpgmpinsrfq2fkxq0kf1yfajj-gexp.drv.bz2
sending 0 store items to '192.168.1.179'...
offloading '/gnu/store/74wjk41xpgmpinsrfq2fkxq0kf1yfajj-gexp.drv' to '192.168.1.179'...
@ build-remote /gnu/store/74wjk41xpgmpinsrfq2fkxq0kf1yfajj-gexp.drv 192.168.1.179
@ build-started /gnu/store/74wjk41xpgmpinsrfq2fkxq0kf1yfajj-gexp.drv - x86_64-linux /var/log/guix/drvs/74//wjk41xpgmpinsrfq2fkxq0kf1yfajj-gexp.drv.bz2
Backtrace:
In ice-9/boot-9.scm:
   230:29 19 (map1 (((srfi srfi-1)) ((www)) ((www utils)) ((www #))))
   230:17 18 (map1 (((www)) ((www utils)) ((www news))))
  3370:31 17 (_ ((www)))
  2792:17 16 (resolve-interface (www) #:select _ #:hide _ #:prefix _ ?)
  2718:10 15 (_ (www) _ _ #:ensure _)
  2986:16 14 (try-module-autoload _ _)
   2316:4 13 (save-module-excursion #<procedure f761e0 at ice-9/boot?>)
  3006:22 12 (_)
In unknown file:
          11 (primitive-load-path "www" #<procedure f47780 at ice-9/?>)
In ice-9/eval.scm:
   721:20 10 (primitive-eval (define-module (www) #:use-module (?) ?))
In ice-9/psyntax.scm:
  1234:36  9 (expand-top-sequence ((define-module (www) # (www ?) ?)) ?)
  1181:24  8 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
   284:10  7 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) ?)
In ice-9/eval.scm:
   293:34  6 (_ #<module (#{ g70}#) 867320>)
In ice-9/boot-9.scm:
   2866:4  5 (define-module* _ #:filename _ #:pure _ #:version _ # _ ?)
  2075:24  4 (call-with-deferred-observers #<procedure c93140 at ice?>)
  2879:24  3 (_)
   230:17  2 (map1 (((www utils)) ((www shared)) ((www download)) # ?))
   2795: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:
ERROR: no code for module (www utils)
`/gnu/store/q5iy01hm75854mgh98zavxxqbzi72fql-guix-web-site/haunt.scm' -> `./haunt.scm'
`/gnu/store/q5iy01hm75854mgh98zavxxqbzi72fql-guix-web-site/.gitignore' -> `./.gitignore'
`/gnu/store/q5iy01hm75854mgh98zavxxqbzi72fql-guix-web-site/www.scm' -> `./www.scm'
`/gnu/store/q5iy01hm75854mgh98zavxxqbzi72fql-guix-web-site/COPYING' -> `./COPYING'
`/gnu/store/q5iy01hm75854mgh98zavxxqbzi72fql-guix-web-site/README' -> `./README'
`/gnu/store/q5iy01hm75854mgh98zavxxqbzi72fql-guix-web-site/guix.scm' -> `./guix.scm'
builder for `/gnu/store/74wjk41xpgmpinsrfq2fkxq0kf1yfajj-gexp.drv' failed to produce output path `/gnu/store/hf1imhlb38vci2f9nxdljmx0msxg7661-gexp'
@ build-failed /gnu/store/74wjk41xpgmpinsrfq2fkxq0kf1yfajj-gexp.drv - 1 builder for `/gnu/store/74wjk41xpgmpinsrfq2fkxq0kf1yfajj-gexp.drv' failed to produce output path `/gnu/store/hf1imhlb38vci2f9nxdljmx0msxg7661-gexp'
derivation '/gnu/store/74wjk41xpgmpinsrfq2fkxq0kf1yfajj-gexp.drv' offloaded to '192.168.1.179' failed: build of `/gnu/store/74wjk41xpgmpinsrfq2fkxq0kf1yfajj-gexp.drv' failed
@ build-failed /gnu/store/74wjk41xpgmpinsrfq2fkxq0kf1yfajj-gexp.drv - 1 builder for `/gnu/store/74wjk41xpgmpinsrfq2fkxq0kf1yfajj-gexp.drv' failed with exit code 100
guix build: error: build failed: build of `/gnu/store/74wjk41xpgmpinsrfq2fkxq0kf1yfajj-gexp.drv' failed

-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org