GNU bug report logs - #48014
[PATCH] gnu: global: fix globash

Previous Next

Package: guix-patches;

Reported by: luhui <luhuins <at> 163.com>

Date: Sun, 25 Apr 2021 10:10:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

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 48014 in the body.
You can then email your comments to 48014 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 guix-patches <at> gnu.org:
bug#48014; Package guix-patches. (Sun, 25 Apr 2021 10:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to luhui <luhuins <at> 163.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 25 Apr 2021 10:10:02 GMT) Full text and rfc822 format available.

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

From: luhui <luhuins <at> 163.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: global: fix globash
Date: Sun, 25 Apr 2021 18:08:41 +0800
[Message part 1 (text/plain, inline)]

[0001-gnu-global-fix-globash.patch (text/plain, attachment)]

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Wed, 28 Apr 2021 09:27:01 GMT) Full text and rfc822 format available.

Notification sent to luhui <luhuins <at> 163.com>:
bug acknowledged by developer. (Wed, 28 Apr 2021 09:27:01 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: luhui <luhuins <at> 163.com>
Cc: 48014-done <at> debbugs.gnu.org
Subject: Re: [bug#48014] [PATCH] gnu: global: fix globash
Date: Wed, 28 Apr 2021 12:26:48 +0300
[Message part 1 (text/plain, inline)]
It turns out that coreutils is already an implicit input in the build
environment so I removed it from the inputs.o

(ins)efraim <at> 3900XT ~/workspace/guix$ grep '/bin/echo' /gnu/store/q0bvlalzwm1iwdqgmyksxxcm06fhr1l2-global-6.6.5/bin/globash
# Use /gnu/store/57xj5gcy1jbl9ai2lnrqnpr0dald9i65-coreutils-8.32/bin/echo, because in some systems, built-in echo of /bin/sh
ECHO='/gnu/store/57xj5gcy1jbl9ai2lnrqnpr0dald9i65-coreutils-8.32/bin/echo'

Thanks! Patch pushed.

-- 
Efraim Flashner   <efraim <at> 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 (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#48014; Package guix-patches. (Wed, 28 Apr 2021 11:33:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: Efraim Flashner <efraim <at> flashner.co.il>, luhui <luhuins <at> 163.com>
Cc: 48014-done <at> debbugs.gnu.org
Subject: Re: bug#48014: [PATCH] gnu: global: fix globash
Date: Wed, 28 Apr 2021 13:32:20 +0200
[Message part 1 (text/plain, inline)]
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'?

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#48014; Package guix-patches. (Wed, 28 Apr 2021 11:40:01 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: luhui <luhuins <at> 163.com>, 48014-done <at> debbugs.gnu.org
Subject: Re: bug#48014: [PATCH] gnu: global: fix globash
Date: Wed, 28 Apr 2021 14:38:54 +0300
[Message part 1 (text/plain, inline)]
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 <at> 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 (application/pgp-signature, inline)]

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

This bug report was last modified 2 years and 324 days ago.

Previous Next


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