unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31791: bootstrap phase attempts to run a directory
@ 2018-06-11 22:50 Christopher Baines
  2018-06-12 13:59 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Baines @ 2018-06-11 22:50 UTC (permalink / raw)
  To: 31791

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

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 #<procedure 80ea00 at /gnu/store/f95ghy8mx00?> ?)
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 (_ #<input: ./bootstrap 14>)
    792:2  1 (get-char* _)
In unknown file:
           0 (get-u8 #<input: ./bootstrap 14>)

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

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

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

* bug#31791: bootstrap phase attempts to run a directory
  2018-06-11 22:50 bug#31791: bootstrap phase attempts to run a directory Christopher Baines
@ 2018-06-12 13:59 ` Ludovic Courtès
  2018-06-12 14:48   ` Gábor Boskovits
  2018-06-13  9:29   ` Julien Lepiller
  0 siblings, 2 replies; 5+ messages in thread
From: Ludovic Courtès @ 2018-06-12 13:59 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 31791

Christopher Baines <mail@cbaines.net> 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’.

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

* bug#31791: bootstrap phase attempts to run a directory
  2018-06-12 13:59 ` Ludovic Courtès
@ 2018-06-12 14:48   ` Gábor Boskovits
  2018-06-13  9:29   ` Julien Lepiller
  1 sibling, 0 replies; 5+ messages in thread
From: Gábor Boskovits @ 2018-06-12 14:48 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 31791

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

2018-06-12 15:59 GMT+02:00 Ludovic Courtès <ludo@gnu.org>:

> Christopher Baines <mail@cbaines.net> 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’.
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 1329 bytes --]

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

* bug#31791: bootstrap phase attempts to run a directory
  2018-06-12 13:59 ` Ludovic Courtès
  2018-06-12 14:48   ` Gábor Boskovits
@ 2018-06-13  9:29   ` Julien Lepiller
  2018-06-13 10:02     ` Julien Lepiller
  1 sibling, 1 reply; 5+ messages in thread
From: Julien Lepiller @ 2018-06-13  9:29 UTC (permalink / raw)
  To: 31791

Le 2018-06-12 15:59, ludo@gnu.org a écrit :
> Christopher Baines <mail@cbaines.net> 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.

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

* bug#31791: bootstrap phase attempts to run a directory
  2018-06-13  9:29   ` Julien Lepiller
@ 2018-06-13 10:02     ` Julien Lepiller
  0 siblings, 0 replies; 5+ messages in thread
From: Julien Lepiller @ 2018-06-13 10:02 UTC (permalink / raw)
  To: 31791

Le 2018-06-13 11:29, Julien Lepiller a écrit :
> Le 2018-06-12 15:59, ludo@gnu.org a écrit :
>> Christopher Baines <mail@cbaines.net> 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 :)

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

end of thread, other threads:[~2018-06-13 10:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-11 22:50 bug#31791: bootstrap phase attempts to run a directory Christopher Baines
2018-06-12 13:59 ` Ludovic Courtès
2018-06-12 14:48   ` Gábor Boskovits
2018-06-13  9:29   ` Julien Lepiller
2018-06-13 10:02     ` Julien Lepiller

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).