[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48014] [PATCH] gnu: global: fix globash
From: |
Efraim Flashner |
Subject: |
[bug#48014] [PATCH] gnu: global: fix globash |
Date: |
Wed, 28 Apr 2021 14:38:54 +0300 |
On Wed, Apr 28, 2021 at 01:32:20PM +0200, Maxime Devos wrote:
> Efraim Flashner schreef op wo 28-04-2021 om 12:26 [+0300]:
> > It turns out that coreutils is already an implicit input in the build
> > environment so I removed it from the inputs.
>
> coreutils is an implicit native inputs, but is it also an implicit input?
> If the latter does not hold, coreutils should still be present when
> cross-compiling.
> On my x86-64-linux-gnu system:
> $ guix pull
> $ guix build --target=aarch64-linux-gnu globash
> > [...]
> > phase `unpack' succeeded after 0.1 seconds
> > starting phase `fix-globash'
> > Backtrace:
> > [...]
> > In unknown file:
> > 1 (string-append #f "/bin/echo")
> > In ice-9/boot-9.scm:
> > 1669:16 0 (raise-exception _ #:continuable? _)
> >
> > ice-9/boot-9.scm:1669:16: In procedure raise-exception:
> > In procedure string-append: Wrong type (expecting string): #f
> > builder for `/gnu/store/k42zib6sbrfk0w4al6lxl2z32fky0dcr-global-6.6.5.drv'
> > failed with exit code 1
> > build of /gnu/store/k42zib6sbrfk0w4al6lxl2z32fky0dcr-global-6.6.5.drv failed
> > View build log at
> > '/var/log/guix/drvs/k4/2zib6sbrfk0w4al6lxl2z32fky0dcr-global-6.6.5.drv.bz2'.
> > guix build: error: build of
> > `/gnu/store/k42zib6sbrfk0w4al6lxl2z32fky0dcr-global-6.6.5.drv' failed
>
> So it seems coreutils should be present in inputs after all.
> Could you re-add coreutils to 'inputs'?
>
Indeed. I should've checked.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature