bug#31791: bootstrap phase attempts to run a directory

2018-06-13 Thread Julien Lepiller

Le 2018-06-13 11:29, Julien Lepiller a écrit :

Le 2018-06-12 15:59, l...@gnu.org a écrit :

Christopher Baines  skribis:


I've just noticed that the erlang package has started failing to
build. It looks like the bootstrap phase is over eager, and attempts 
to

run the bootstrap directory.

I think I'll fix this by deleting the phase,


That’s probably the right thing to do.  The new ‘bootstrap’ phase
introduced in core-updates would run anything called ‘bootstrap’, but 
it

doesn’t check whether that thing is a directory…

Ludo’.


ocaml-build also has this issue.


Nevermind, it's not (yet) part of guix :)





bug#31791: bootstrap phase attempts to run a directory

2018-06-13 Thread Julien Lepiller

Le 2018-06-12 15:59, l...@gnu.org a écrit :

Christopher Baines  skribis:


I've just noticed that the erlang package has started failing to
build. It looks like the bootstrap phase is over eager, and attempts 
to

run the bootstrap directory.

I think I'll fix this by deleting the phase,


That’s probably the right thing to do.  The new ‘bootstrap’ phase
introduced in core-updates would run anything called ‘bootstrap’, but 
it

doesn’t check whether that thing is a directory…

Ludo’.


ocaml-build also has this issue.





bug#31791: bootstrap phase attempts to run a directory

2018-06-12 Thread Gábor Boskovits
2018-06-12 15:59 GMT+02:00 Ludovic Courtès :

> Christopher Baines  skribis:
>
> > I've just noticed that the erlang package has started failing to
> > build. It looks like the bootstrap phase is over eager, and attempts to
> > run the bootstrap directory.
> >
> > I think I'll fix this by deleting the phase,
>
> That’s probably the right thing to do.  The new ‘bootstrap’ phase
> introduced in core-updates would run anything called ‘bootstrap’, but it
> doesn’t check whether that thing is a directory…
>
>
If this is a single occurrence, then I agree this is the way to go, but I
would
make a mental note to fix this in the phase, if this turn out to be more
widespread.


> Ludo’.
>
>
>
>


bug#31791: bootstrap phase attempts to run a directory

2018-06-12 Thread Ludovic Courtès
Christopher Baines  skribis:

> I've just noticed that the erlang package has started failing to
> build. It looks like the bootstrap phase is over eager, and attempts to
> run the bootstrap directory.
>
> I think I'll fix this by deleting the phase,

That’s probably the right thing to do.  The new ‘bootstrap’ phase
introduced in core-updates would run anything called ‘bootstrap’, but it
doesn’t check whether that thing is a directory…

Ludo’.





bug#31791: bootstrap phase attempts to run a directory

2018-06-11 Thread Christopher Baines
I've just noticed that the erlang package has started failing to
build. It looks like the bootstrap phase is over eager, and attempts to
run the bootstrap directory.

I think I'll fix this by deleting the phase, when I get around to
merging the changes in #31678, but this might be affecting other
packages, or possible to sure up so it doesn't break under this
circumstance.


starting phase `bootstrap'
running './bootstrap'
Backtrace:
   8 (primitive-load "/gnu/store/g1n7gbvcqcaj9s41gk62x7crc34?")
In ice-9/eval.scm:
   191:35  7 (_ _)
In srfi/srfi-1.scm:
640:9  6 (for-each # ?)
In 
/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu-build-system.scm:
   799:31  5 (_ _)
   196:20  4 (bootstrap #:bootstrap-scripts _)
In 
/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:
178:8  3 (call-with-ascii-input-file _ _)
   831:24  2 (_ #)
792:2  1 (get-char* _)
In unknown file:
   0 (get-u8 #)

ERROR: In procedure get-u8:
In procedure fport_read: Is a directory
builder for `/gnu/store/v5dshhj3bka541h12fk2xskmfj38y8qs-erlang-20.2.3.drv' 
failed with exit code 1
@ build-failed /gnu/store/v5dshhj3bka541h12fk2xskmfj38y8qs-erlang-20.2.3.drv - 
1 builder for `/gnu/store/v5dshhj3bka541h12fk2xskmfj38y8qs-erlang-20.2.3.drv' 
failed with exit code 1
guix build: error: build failed: build of 
`/gnu/store/v5dshhj3bka541h12fk2xskmfj38y8qs-erlang-20.2.3.drv' failed


signature.asc
Description: PGP signature