GNU bug report logs - #27925
'git-predicate' omits sub-directories when asked for "."

Previous Next

Package: guix;

Reported by: ng0 <ng0 <at> infotropique.org>

Date: Wed, 2 Aug 2017 20:58:01 UTC

Severity: important

Done: ludo <at> gnu.org (Ludovic Courtès)

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 27925 in the body.
You can then email your comments to 27925 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#27925; Package guix. (Wed, 02 Aug 2017 20:58:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to ng0 <ng0 <at> infotropique.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 02 Aug 2017 20:58:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> infotropique.org>
To: bug-guix <at> gnu.org
Subject: website: guix build -f guix.scm errors
Date: Wed, 2 Aug 2017 20:56:57 +0000
[Message part 1 (text/plain, inline)]
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 <at> 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 <at> 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
[signature.asc (application/pgp-signature, inline)]

Changed bug title to ''git-predicate' omits sub-directories when asked for "."' from 'website: guix build -f guix.scm errors' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Fri, 08 Sep 2017 08:36:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#27925; Package guix. (Fri, 08 Sep 2017 08:43:01 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: ng0 <ng0 <at> infotropique.org>
Cc: 27925 <at> debbugs.gnu.org
Subject: Re: bug#27925: website: guix build -f guix.scm errors
Date: Fri, 08 Sep 2017 10:42:39 +0200
Heya,

ng0 <ng0 <at> 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’.




Severity set to 'important' from 'normal' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Wed, 20 Sep 2017 21:27:01 GMT) Full text and rfc822 format available.

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Wed, 12 Sep 2018 22:23:02 GMT) Full text and rfc822 format available.

Notification sent to ng0 <ng0 <at> infotropique.org>:
bug acknowledged by developer. (Wed, 12 Sep 2018 22:23:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: ng0 <ng0 <at> infotropique.org>
Cc: 27925-done <at> debbugs.gnu.org
Subject: Re: bug#27925: website: guix build -f guix.scm errors
Date: Thu, 13 Sep 2018 00:22:28 +0200
Hello,

ludo <at> gnu.org (Ludovic Courtès) skribis:

> ng0 <ng0 <at> 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’.




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

This bug report was last modified 5 years and 191 days ago.

Previous Next


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