GNU bug report logs -
#33330
Hurd failing to build
Previous Next
Reported by: Brett Gilio <brettg <at> posteo.net>
Date: Fri, 9 Nov 2018 23:49:01 UTC
Severity: normal
Done: ludo <at> gnu.org (Ludovic Courtès)
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 33330 in the body.
You can then email your comments to 33330 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#33330
; Package
guix
.
(Fri, 09 Nov 2018 23:49:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Brett Gilio <brettg <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 09 Nov 2018 23:49:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi all,
I know that the hurd is not supported on Guix at the moment. I was
trying to give it a try in spite of that, and it is failing to build.
I am sure that this is a known issue, but I could not find any
referencing issues of recent on debbugs.
building /gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv...
builder for `/gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv' failed with exit code 1
build of /gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv failed
View build log at '/var/log/guix/drvs/83/vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv.bz2'.
guix system: error: build failed: build of `/gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv' failed
guix 03a4153
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 03a415365a1cfcc263f56d309f33a1a581790ca7
Best,
Brett Gilio
Information forwarded
to
bug-guix <at> gnu.org
:
bug#33330
; Package
guix
.
(Sat, 10 Nov 2018 06:44:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 33330 <at> debbugs.gnu.org (full text, mbox):
Hello Brett,
I imagine you run `guix build hurd`?
Can you share the build log?
Thank you,
Manolis
On 11/10/18 1:47 AM, Brett Gilio wrote:
>
> Hi all,
>
> I know that the hurd is not supported on Guix at the moment. I was
> trying to give it a try in spite of that, and it is failing to build.
>
> I am sure that this is a known issue, but I could not find any
> referencing issues of recent on debbugs.
>
> building /gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv...
> builder for `/gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv' failed with exit code 1
> build of /gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv failed
> View build log at '/var/log/guix/drvs/83/vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv.bz2'.
> guix system: error: build failed: build of `/gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv' failed
>
>
> guix 03a4153
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 03a415365a1cfcc263f56d309f33a1a581790ca7
>
> Best,
> Brett Gilio
>
>
>
Information forwarded
to
bug-guix <at> gnu.org
:
bug#33330
; Package
guix
.
(Sat, 10 Nov 2018 14:00:02 GMT)
Full text and
rfc822 format available.
Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):
Manolis Ragkousis <manolis837 <at> gmail.com> writes:
> Hello Brett,
>
> I imagine you run `guix build hurd`?
I didn't know there was always a build log...cool. That might help me
spot some of the compiler errors.
>
> Can you share the build log?
>
> Thank you,
> Manolis
> On 11/10/18 1:47 AM, Brett Gilio wrote:
>>
>> Hi all,
>>
>> I know that the hurd is not supported on Guix at the moment. I was
>> trying to give it a try in spite of that, and it is failing to build.
>>
>> I am sure that this is a known issue, but I could not find any
>> referencing issues of recent on debbugs.
>>
>> building /gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv...
>> builder for `/gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv' failed with exit code 1
>> build of /gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv failed
>> View build log at '/var/log/guix/drvs/83/vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv.bz2'.
>> guix system: error: build failed: build of `/gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv' failed
>>
>>
>> guix 03a4153
>> repository URL: https://git.savannah.gnu.org/git/guix.git
>> branch: master
>> commit: 03a415365a1cfcc263f56d309f33a1a581790ca7
>>
>> Best,
>> Brett Gilio
>>
>>
>>
Information forwarded
to
bug-guix <at> gnu.org
:
bug#33330
; Package
guix
.
(Sat, 10 Nov 2018 18:19:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 33330 <at> debbugs.gnu.org (full text, mbox):
Manolis Ragkousis writes:
> Hello Brett,
>
> I imagine you run `guix build hurd`?
>
> Can you share the build log?
phase `unpack' succeeded after 0.2 seconds
starting phase `bootstrap'
GNU build system bootstrapping not needed
phase `bootstrap' succeeded after 0.0 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
patch-shebang: ./config.guess: changing `/bin/sh' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh'
patch-shebang: ./config.sub: changing `/bin/sh' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh'
patch-shebang: ./configure: changing `/bin/sh' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh'
patch-shebang: ./console-client/xkb/kstoucs_map.sh: changing `/bin/sh' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh'
patch-shebang: ./daemons/rc.sh: changing `/bin/bash' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash'
patch-shebang: ./daemons/runsystem.hurd.sh: changing `/bin/bash' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash'
patch-shebang: ./daemons/runsystem.sh: changing `/bin/bash' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash'
patch-shebang: ./install-sh: changing `/bin/sh' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh'
patch-shebang: ./mkinstalldirs: changing `/bin/sh' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh'
patch-shebang: ./move-if-change: changing `/bin/sh' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh'
patch-shebang: ./release/SETUP: changing `/bin/bash' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash'
patch-shebang: ./release/install-stripped: changing `/usr/local/bin/bash' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash'
patch-shebang: ./release/mkemptyso.sh: changing `/bin/sh' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh'
patch-shebang: ./release/mkfsimage.sh: changing `/bin/sh' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh'
patch-shebang: ./sutils/MAKEDEV.sh: changing `/bin/sh' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh'
patch-shebang: ./sutils/e2os.sh: changing `/bin/sh' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh'
patch-shebang: ./sutils/losetup.sh: changing `/bin/sh' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh'
patch-shebang: ./utils/fakeroot.sh: changing `/bin/sh' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh'
patch-shebang: ./utils/loginpr.sh: changing `/bin/bash' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash'
patch-shebang: ./utils/remap.sh: changing `/bin/sh' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh'
patch-shebang: ./utils/sush.sh: changing `/bin/sh' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh'
patch-shebang: ./utils/uptime.sh: changing `/bin/sh' to `/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh'
phase `patch-source-shebangs' succeeded after 0.1 seconds
starting phase `configure'
source directory: "/tmp/guix-build-hurd-0.9.drv-0/hurd-0.9" (relative from build: ".")
build directory: "/tmp/guix-build-hurd-0.9.drv-0/hurd-0.9"
configure flags: ("CONFIG_SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash" "SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash" "--prefix=/gnu/store/pcxx20nilxazhhfcjdc1wiydjg6hjsxi-hurd-0.9" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "LDFLAGS=-Wl,-rpath=/gnu/store/pcxx20nilxazhhfcjdc1wiydjg6hjsxi-hurd-0.9/lib" "--disable-ncursesw" "--without-libbz2" "--without-libz" "--without-parted")
configure: WARNING: unrecognized options: --enable-fast-install
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: error: this is the gnu os, host cannot be linux-gnu
*** Host configuration must be `MACHINE-gnu' or `MACHINE-VENDOR-gnu'.
*** To cross-compile, you must specify both --host and --build;
*** for example `--build=x86_64-unknown-linux-gnu --host=x86_64-gnu'.
*** Run ./configure --help for more information.
Backtrace:
4 (primitive-load "/gnu/store/zz96nsjpr1x5dycqdb86qfzrbsg…")
In ice-9/eval.scm:
191:35 3 (_ _)
In srfi/srfi-1.scm:
640:9 2 (for-each #<procedure a2eb00 at /gnu/store/f95ghy8mx00…> …)
In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu-build-system.scm:
799:31 1 (_ _)
In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:
616:6 0 (invoke _ . _)
/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash" arguments: ("./configure" "CONFIG_SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash" "SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash" "--prefix=/gnu/store/pcxx20nilxazhhfcjdc1wiydjg6hjsxi-hurd-0.9" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "LDFLAGS=-Wl,-rpath=/gnu/store/pcxx20nilxazhhfcjdc1wiydjg6hjsxi-hurd-0.9/lib" "--disable-ncursesw" "--without-libbz2" "--without-libz" "--without-parted") exit-status: 1 term-signal: #f stop-signal: #f] 68fd80>)'.
builder for `/gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv' failed with exit code 1
build of /gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv failed
View build log at '/var/log/guix/drvs/83/vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv.bz2'.
guix build: error: build failed: build of `/gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv' failed
Obviously the notable error is that the host distribution is running on
the linux kernel, but if I remember correctly part of the tactic of
implementing hurd was the ability to cross-compile the hurd using linux
as a preliminary bootstrap? Maybe i'm completely wrong.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#33330
; Package
guix
.
(Sun, 11 Nov 2018 16:45:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 33330 <at> debbugs.gnu.org (full text, mbox):
Hello Brett,
Brett Gilio <brettg <at> posteo.net> skribis:
> checking host system type... x86_64-unknown-linux-gnu
> configure: error: this is the gnu os, host cannot be linux-gnu
> *** Host configuration must be `MACHINE-gnu' or `MACHINE-VENDOR-gnu'.
> *** To cross-compile, you must specify both --host and --build;
> *** for example `--build=x86_64-unknown-linux-gnu --host=x86_64-gnu'.
> *** Run ./configure --help for more information.
To put it differently, the Hurd cannot be built natively on GNU/Linux.
You can cross-build the Hurd from GNU/Linux with something like:
guix build hurd --target=i586-pc-gnu
… though I seem to remember even that is broken in current master.
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#33330
; Package
guix
.
(Sun, 11 Nov 2018 16:48:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 33330 <at> debbugs.gnu.org (full text, mbox):
Hello Ludo,
On 11/11/18 6:44 PM, Ludovic Courtès wrote:
> Hello Brett,
>
> Brett Gilio <brettg <at> posteo.net> skribis:
>
>> checking host system type... x86_64-unknown-linux-gnu
>> configure: error: this is the gnu os, host cannot be linux-gnu
>> *** Host configuration must be `MACHINE-gnu' or `MACHINE-VENDOR-gnu'.
>> *** To cross-compile, you must specify both --host and --build;
>> *** for example `--build=x86_64-unknown-linux-gnu --host=x86_64-gnu'.
>> *** Run ./configure --help for more information.
>
> To put it differently, the Hurd cannot be built natively on GNU/Linux.
> You can cross-build the Hurd from GNU/Linux with something like:
>
> guix build hurd --target=i586-pc-gnu
>
> … though I seem to remember even that is broken in current master.
Yes, I am currently trying to fix this.
Manolis
Information forwarded
to
bug-guix <at> gnu.org
:
bug#33330
; Package
guix
.
(Sun, 11 Nov 2018 20:33:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 33330 <at> debbugs.gnu.org (full text, mbox):
Manolis Ragkousis writes:
> Hello Ludo,
>
> On 11/11/18 6:44 PM, Ludovic Courtès wrote:
>> Hello Brett,
>>
>> Brett Gilio <brettg <at> posteo.net> skribis:
>>
>>> checking host system type... x86_64-unknown-linux-gnu
>>> configure: error: this is the gnu os, host cannot be linux-gnu
>>> *** Host configuration must be `MACHINE-gnu' or `MACHINE-VENDOR-gnu'.
>>> *** To cross-compile, you must specify both --host and --build;
>>> *** for example `--build=x86_64-unknown-linux-gnu --host=x86_64-gnu'.
>>> *** Run ./configure --help for more information.
>>
>> To put it differently, the Hurd cannot be built natively on GNU/Linux.
>> You can cross-build the Hurd from GNU/Linux with something like:
>>
>> guix build hurd --target=i586-pc-gnu
>>
>> … though I seem to remember even that is broken in current master.
>
>
> Yes, I am currently trying to fix this.
>
> Manolis
Thank you Ludo and Manolis for the input, here. If you need help with
anything here, please let me know.
Brett
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Sun, 18 Nov 2018 22:49:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Brett Gilio <brettg <at> posteo.net>
:
bug acknowledged by developer.
(Sun, 18 Nov 2018 22:49:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 33330-done <at> debbugs.gnu.org (full text, mbox):
Hi Manolis & Brett,
Manolis Ragkousis <manolis837 <at> gmail.com> skribis:
> On 11/11/18 6:44 PM, Ludovic Courtès wrote:
>> Hello Brett,
>>
>> Brett Gilio <brettg <at> posteo.net> skribis:
>>
>>> checking host system type... x86_64-unknown-linux-gnu
>>> configure: error: this is the gnu os, host cannot be linux-gnu
>>> *** Host configuration must be `MACHINE-gnu' or `MACHINE-VENDOR-gnu'.
>>> *** To cross-compile, you must specify both --host and --build;
>>> *** for example `--build=x86_64-unknown-linux-gnu --host=x86_64-gnu'.
>>> *** Run ./configure --help for more information.
>>
>> To put it differently, the Hurd cannot be built natively on GNU/Linux.
>> You can cross-build the Hurd from GNU/Linux with something like:
>>
>> guix build hurd --target=i586-pc-gnu
>>
>> … though I seem to remember even that is broken in current master.
>
>
> Yes, I am currently trying to fix this.
I’ve taken care of that on ‘core-updates’, which will hopefully be
merged within a week or so:
https://git.savannah.gnu.org/cgit/guix.git/commit/?h=core-updates&id=2d546858b139e5fcf2cbdf9958a17fd98803ac4c
On that branch, you can run, say:
guix build sed --target=i586-pc-gnu
and you get a GNU/Hurd binary. \o/
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 17 Dec 2018 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 124 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.