unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27925: website: guix build -f guix.scm errors
@ 2017-08-02 20:56 ng0
  2017-09-08  8:42 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: ng0 @ 2017-08-02 20:56 UTC (permalink / raw)
  To: 27925

[-- Attachment #1: Type: text/plain, Size: 5033 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#27925: website: guix build -f guix.scm errors
  2017-08-02 20:56 bug#27925: website: guix build -f guix.scm errors ng0
@ 2017-09-08  8:42 ` Ludovic Courtès
  2018-09-12 22:22   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-09-08  8:42 UTC (permalink / raw)
  To: ng0; +Cc: 27925

Heya,

ng0 <ng0@infotropique.org> skribis:

> 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'

The problem here is that ‘local-file’ with ‘git-predicate’ included none
of the subdirectories.  I can reproduce it as of Guix commit
4e39604111e53a1aab74fdfe9360ec71c2fd1a85.

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#27925: website: guix build -f guix.scm errors
  2017-09-08  8:42 ` Ludovic Courtès
@ 2018-09-12 22:22   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2018-09-12 22:22 UTC (permalink / raw)
  To: ng0; +Cc: 27925-done

Hello,

ludo@gnu.org (Ludovic Courtès) skribis:

> ng0 <ng0@infotropique.org> skribis:
>
>> 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'
>
> The problem here is that ‘local-file’ with ‘git-predicate’ included none
> of the subdirectories.  I can reproduce it as of Guix commit
> 4e39604111e53a1aab74fdfe9360ec71c2fd1a85.

Fixed in commit aed0a594058a59bc3bb1d2686391dc0e8a181b1f, at last!

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-09-12 22:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-02 20:56 bug#27925: website: guix build -f guix.scm errors ng0
2017-09-08  8:42 ` Ludovic Courtès
2018-09-12 22:22   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).