all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#33330: Hurd failing to build
@ 2018-11-09 23:47 Brett Gilio
  2018-11-10  6:42 ` Manolis Ragkousis
  0 siblings, 1 reply; 8+ messages in thread
From: Brett Gilio @ 2018-11-09 23:47 UTC (permalink / raw)
  To: 33330


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

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

* bug#33330: Hurd failing to build
  2018-11-09 23:47 bug#33330: Hurd failing to build Brett Gilio
@ 2018-11-10  6:42 ` Manolis Ragkousis
  2018-11-10 13:58   ` Joshua Branson
  2018-11-10 18:18   ` Brett Gilio
  0 siblings, 2 replies; 8+ messages in thread
From: Manolis Ragkousis @ 2018-11-10  6:42 UTC (permalink / raw)
  To: Brett Gilio, 33330

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

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

* bug#33330: Hurd failing to build
  2018-11-10  6:42 ` Manolis Ragkousis
@ 2018-11-10 13:58   ` Joshua Branson
  2018-11-10 18:18   ` Brett Gilio
  1 sibling, 0 replies; 8+ messages in thread
From: Joshua Branson @ 2018-11-10 13:58 UTC (permalink / raw)
  To: 33330

Manolis Ragkousis <manolis837@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
>> 
>> 
>> 

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

* bug#33330: Hurd failing to build
  2018-11-10  6:42 ` Manolis Ragkousis
  2018-11-10 13:58   ` Joshua Branson
@ 2018-11-10 18:18   ` Brett Gilio
  2018-11-11 16:44     ` Ludovic Courtès
  1 sibling, 1 reply; 8+ messages in thread
From: Brett Gilio @ 2018-11-10 18:18 UTC (permalink / raw)
  To: Manolis Ragkousis; +Cc: 33330


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.

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

* bug#33330: Hurd failing to build
  2018-11-10 18:18   ` Brett Gilio
@ 2018-11-11 16:44     ` Ludovic Courtès
  2018-11-11 16:46       ` Manolis Ragkousis
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2018-11-11 16:44 UTC (permalink / raw)
  To: Brett Gilio; +Cc: 33330

Hello Brett,

Brett Gilio <brettg@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’.

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

* bug#33330: Hurd failing to build
  2018-11-11 16:44     ` Ludovic Courtès
@ 2018-11-11 16:46       ` Manolis Ragkousis
  2018-11-11 20:32         ` Brett Gilio
  2018-11-18 22:47         ` Ludovic Courtès
  0 siblings, 2 replies; 8+ messages in thread
From: Manolis Ragkousis @ 2018-11-11 16:46 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 33330

Hello Ludo,

On 11/11/18 6:44 PM, Ludovic Courtès wrote:
> Hello Brett,
> 
> Brett Gilio <brettg@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

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

* bug#33330: Hurd failing to build
  2018-11-11 16:46       ` Manolis Ragkousis
@ 2018-11-11 20:32         ` Brett Gilio
  2018-11-18 22:47         ` Ludovic Courtès
  1 sibling, 0 replies; 8+ messages in thread
From: Brett Gilio @ 2018-11-11 20:32 UTC (permalink / raw)
  To: Manolis Ragkousis; +Cc: 33330


Manolis Ragkousis writes:

> Hello Ludo,
>
> On 11/11/18 6:44 PM, Ludovic Courtès wrote:
>> Hello Brett,
>> 
>> Brett Gilio <brettg@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

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

* bug#33330: Hurd failing to build
  2018-11-11 16:46       ` Manolis Ragkousis
  2018-11-11 20:32         ` Brett Gilio
@ 2018-11-18 22:47         ` Ludovic Courtès
  1 sibling, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2018-11-18 22:47 UTC (permalink / raw)
  To: Manolis Ragkousis; +Cc: 33330-done

Hi Manolis & Brett,

Manolis Ragkousis <manolis837@gmail.com> skribis:

> On 11/11/18 6:44 PM, Ludovic Courtès wrote:
>> Hello Brett,
>> 
>> Brett Gilio <brettg@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’.

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

end of thread, other threads:[~2018-11-18 22:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-09 23:47 bug#33330: Hurd failing to build Brett Gilio
2018-11-10  6:42 ` Manolis Ragkousis
2018-11-10 13:58   ` Joshua Branson
2018-11-10 18:18   ` Brett Gilio
2018-11-11 16:44     ` Ludovic Courtès
2018-11-11 16:46       ` Manolis Ragkousis
2018-11-11 20:32         ` Brett Gilio
2018-11-18 22:47         ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.