unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31543: Building a clean guix master checkout is impossible
@ 2018-05-21  8:45 Danny Milosavljevic
  2018-05-21  9:34 ` Danny Milosavljevic
  0 siblings, 1 reply; 3+ messages in thread
From: Danny Milosavljevic @ 2018-05-21  8:45 UTC (permalink / raw)
  To: 31543

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

Building a clean master checkout of guix is impossible right now.

I'm trying to build guix master de136f3ee7878dea139e751b7e4ca04c2542c91d
from guix master e5504f2ba0bd00a7306aada51981328b746b5f7d.

I get a lot of error messages related to unbound variables.
For good measure, I've deleted ~/.cache/guile now - but that didn't improve
matters.

guix/scripts/pack.scm

  LOAD     guix/scripts/pack.scm
Backtrace:
In ice-9/boot-9.scm:
    142:2 19 (dynamic-wind _ _ #<procedure 1407540 at ice-9/eval.scm?>)
    142:2 18 (dynamic-wind _ _ #<procedure 1409dc0 at ice-9/eval.scm?>)
In ice-9/eval.scm:
    619:8 17 (_ #(#(#<directory (guix build compile) 15408c0> #<?> ?)))
    619:8 16 (_ #(#(#(#(#(#(#(#<directory (guix b?> ?)) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
    152:2 15 (with-fluid* _ _ _)
  2788:17 14 (resolve-interface (guix scripts pack) #:select _ #:hide ?)
  2714:10 13 (_ (guix scripts pack) _ _ #:ensure _)
  2982:16 12 (try-module-autoload _ _)
   2312:4 11 (save-module-excursion #<procedure 6e7a030 at ice-9/boo?>)
  3002:22 10 (_)
In unknown file:
           9 (primitive-load-path "guix/scripts/pack" #<procedure 25?>)
In ice-9/eval.scm:
   626:19  8 (_ #<directory (guix scripts pack) 7313780>)
   173:39  7 (_ #<directory (guix scripts pack) 7313780>)
   202:51  6 (_ #<directory (guix scripts pack) 7313780>)
   202:35  5 (_ #<directory (guix scripts pack) 7313780>)
    155:9  4 (_ #<directory (guix scripts pack) 7313780>)
   202:35  3 (_ #<directory (guix scripts pack) 7313780>)
    159:9  2 (_ #<directory (guix scripts pack) 7313780>)
   223:20  1 (proc #<directory (guix scripts pack) 7313780>)
In unknown file:
           0 (%resolve-variable (7 . gzip) #<directory (guix scripts?>)

ERROR: In procedure %resolve-variable:
error: gzip: unbound variable


So I deleted the references from the file.

Then I get:

gnu/packages/commencement.scm

Backtrace:
In ice-9/boot-9.scm:
   222:29 19 (map1 _)
   222:29 18 (map1 _)
   222:29 17 (map1 _)
   222:29 16 (map1 (((guix scripts graph)) ((guix monads)) ((# #)) ?))
   222:29 15 (map1 (((guix monads)) ((guix gnupg)) ((gnu #)) (# ?) ?))
   222:29 14 (map1 (((guix gnupg)) ((gnu packages)) ((gnu # #) # ?) ?))
   222:29 13 (map1 (((gnu packages)) ((gnu packages #) #:select #) ?))
   222:17 12 (map1 (((gnu packages commencement) #:select (#)) (#) ?))
  2788:17 11 (resolve-interface (gnu packages commencement) #:select ?)
  2714:10 10 (_ (gnu packages commencement) _ _ #:ensure _)
  2982:16  9 (try-module-autoload _ _)
   2312:4  8 (save-module-excursion #<procedure 78c4330 at ice-9/boo?>)
  3002:22  7 (_)
In unknown file:
           6 (primitive-load-path "gnu/packages/commencement" #<proc?>)
In ice-9/eval.scm:
   626:19  5 (_ #<directory (gnu packages commencement) 72d8c80>)
    155:9  4 (_ #<directory (gnu packages commencement) 72d8c80>)
   173:55  3 (_ #(#(#(#(#<directory (gnu packages commen?> ?) ?) ?) ?))
    159:9  2 (_ #(#(#(#(#<directory (gnu packages commen?> ?) ?) ?) ?))
   223:20  1 (proc #(#(#(#(#<directory (gnu packages com?> ?) ?) ?) ?))
In unknown file:
           0 (%resolve-variable (7 . gnu-make) #<directory (gnu pack?>)

ERROR: In procedure %resolve-variable:
error: gnu-make: unbound variable

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* bug#31543: Building a clean guix master checkout is impossible
  2018-05-21  8:45 bug#31543: Building a clean guix master checkout is impossible Danny Milosavljevic
@ 2018-05-21  9:34 ` Danny Milosavljevic
  2018-05-23 12:33   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Danny Milosavljevic @ 2018-05-21  9:34 UTC (permalink / raw)
  To: 31543-done

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

My bad, I had one tiny local change.  Sorry.

This was caused by me changing gnu/packages/libreoffice.scm libreoffice to use
glib-or-gtk-build-system without adding #:use-module (guix build-system glib-or-gtk).

The error message could be better :P

And it is indeed better if it built all the other stuff before.

To get the bad error message:

(1) Change gnu/packages/libreoffice.scm libreoffice to use glib-or-gtk-build-system
(2) Invoke "make clean"
(3) Invoke "make"
(4) Witness error message about "gzip".

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* bug#31543: Building a clean guix master checkout is impossible
  2018-05-21  9:34 ` Danny Milosavljevic
@ 2018-05-23 12:33   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2018-05-23 12:33 UTC (permalink / raw)
  To: 31543

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> My bad, I had one tiny local change.  Sorry.

Cool, better this way.  :-)

> This was caused by me changing gnu/packages/libreoffice.scm libreoffice to use
> glib-or-gtk-build-system without adding #:use-module (guix build-system glib-or-gtk).
>
> The error message could be better :P

Yeah.  :-/

Ludo'.

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-21  8:45 bug#31543: Building a clean guix master checkout is impossible Danny Milosavljevic
2018-05-21  9:34 ` Danny Milosavljevic
2018-05-23 12:33   ` 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).