unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#47791: util-linux fails to build on the Hurd (some tests fail)
@ 2021-04-15  8:32 Maxime Devos
       [not found] ` <handler.47791.B.161847556721297.ack@debbugs.gnu.org>
  2021-04-16 16:07 ` bug#47791: util-linux fails to build on the Hurd (some tests fail) Ludovic Courtès
  0 siblings, 2 replies; 8+ messages in thread
From: Maxime Devos @ 2021-04-15  8:32 UTC (permalink / raw)
  To: 47791

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

On my x86_64-linux-gnu with a childhurd, util-linux fails to compile.

$ guix build util-linux --system=i586-gnu
> [exporting path ...]
> offloading build of /gnu/store/nih[...]8fxg-util-linux-2.35.1.drv to 'localhost'
> [log, attached in e-mail]

$ guix --version
> guix (GNU Guix) 3f3d66377c052d6121b46db53391614329fa4ffb

Some bits that seem relevant:

>        fdisk: MBR - sort                     ... OK
>        fdisk: invalid input tests            ... FAILED (fdisk/oddinput)
>        fdisk: sunlabel tests                 ... OK
> [...]
>        hwclock: system to hw                ... SKIPPED (no root permissions)
>        ipcs: headers                        ... FAILED (ipcs/headers)
>        ipcs: limits overflow                ... SKIPPED (no root permissions)
> [...]
>                 : ends-with                   ... OK
>                 : mountpoint                  ... FAILED (libmount/utils-mountpoint)
>                 : mountpoint-subdir           ... SKIPPED (no /proc)
> [...]
>  3 tests of 204 FAILED

To be investigated ...

Greeings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* bug#47791: Acknowledgement (util-linux fails to build on the Hurd (some tests fail))
       [not found] ` <handler.47791.B.161847556721297.ack@debbugs.gnu.org>
@ 2021-04-15  8:33   ` Maxime Devos
  0 siblings, 0 replies; 8+ messages in thread
From: Maxime Devos @ 2021-04-15  8:33 UTC (permalink / raw)
  To: 47791


[-- Attachment #1.1: Type: text/plain, Size: 27 bytes --]

Forgot to attach the log.

[-- Attachment #1.2: h1bb689vfickgnxd52q6rpnngy8fxg-util-linux-2.35.1.drv.bz2 --]
[-- Type: application/x-bzip, Size: 29267 bytes --]

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* bug#47791: util-linux fails to build on the Hurd (some tests fail)
  2021-04-15  8:32 bug#47791: util-linux fails to build on the Hurd (some tests fail) Maxime Devos
       [not found] ` <handler.47791.B.161847556721297.ack@debbugs.gnu.org>
@ 2021-04-16 16:07 ` Ludovic Courtès
  2021-04-16 18:55   ` Maxime Devos
  1 sibling, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2021-04-16 16:07 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 47791

Hi,

Maxime Devos <maximedevos@telenet.be> skribis:

> On my x86_64-linux-gnu with a childhurd, util-linux fails to compile.
>
> $ guix build util-linux --system=i586-gnu
>> [exporting path ...]
>> offloading build of /gnu/store/nih[...]8fxg-util-linux-2.35.1.drv to 'localhost'
>> [log, attached in e-mail]
>
> $ guix --version
>> guix (GNU Guix) 3f3d66377c052d6121b46db53391614329fa4ffb
>
> Some bits that seem relevant:
>
>>        fdisk: MBR - sort                     ... OK
>>        fdisk: invalid input tests            ... FAILED (fdisk/oddinput)
>>        fdisk: sunlabel tests                 ... OK
>> [...]
>>        hwclock: system to hw                ... SKIPPED (no root permissions)
>>        ipcs: headers                        ... FAILED (ipcs/headers)
>>        ipcs: limits overflow                ... SKIPPED (no root permissions)
>> [...]
>>                 : ends-with                   ... OK
>>                 : mountpoint                  ... FAILED (libmount/utils-mountpoint)
>>                 : mountpoint-subdir           ... SKIPPED (no /proc)
>> [...]
>>  3 tests of 204 FAILED

Yes, this is a “known problem”:

  https://issues.guix.gnu.org/43857

The problem is that the build environment on GNU/Hurd has yet to be
specified, which is what the patch above was partly trying to address
(though I think we could do better than spawn one firmlink translator
per store item…).

The “Isolated build environments” section of
<https://guix.gnu.org/en/blog/2020/childhurds-and-substitutes/>
discusses the broader issue.

If you’d like to get some Hurd hacking done, here’s a good opportunity.
:-)

Ludo’.




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

* bug#47791: util-linux fails to build on the Hurd (some tests fail)
  2021-04-16 16:07 ` bug#47791: util-linux fails to build on the Hurd (some tests fail) Ludovic Courtès
@ 2021-04-16 18:55   ` Maxime Devos
  2021-04-17 10:19     ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Maxime Devos @ 2021-04-16 18:55 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 47791

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

On Fri, 2021-04-16 at 18:07 +0200, Ludovic Courtès wrote:
> Hi,
> 
> Maxime Devos <maximedevos@telenet.be> skribis:
> > >  3 tests of 204 FAILED
> 
> Yes, this is a “known problem”:
> 
>   https://issues.guix.gnu.org/43857
I'll take a look.

> The problem is that the build environment on GNU/Hurd has yet to be
> specified, which is what the patch above was partly trying to address
> (though I think we could do better than spawn one firmlink translator
> per store item…).
> 
> The “Isolated build environments” section of
> <https://guix.gnu.org/en/blog/2020/childhurds-and-substitutes/>
> discusses the broader issue.
> 
> If you’d like to get some Hurd hacking done, here’s a good opportunity.
> :-)

Problem is, I was trying to create a VM with Hurd to my liking
with "guix system etcetera", to do some Hurd hacking.
(GNOME Boxes only accepts ISO's, no qcow2's)
But this command fails.  Both when cross-compiling (meson doesn't
support cross-builds yet), and when compiling ‘natively’ using
the childhurd --- apparently util-linux is in the dependency tree.

Maybe the tests should be disabled on the Hurd on now, in order
to be able to fix the underlying issues more easily?

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* bug#47791: util-linux fails to build on the Hurd (some tests fail)
  2021-04-16 18:55   ` Maxime Devos
@ 2021-04-17 10:19     ` Ludovic Courtès
  2021-04-17 11:32       ` Maxime Devos
  2021-04-17 21:12       ` Ludovic Courtès
  0 siblings, 2 replies; 8+ messages in thread
From: Ludovic Courtès @ 2021-04-17 10:19 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 47791

Hi Maxime,

Maxime Devos <maximedevos@telenet.be> skribis:

> Problem is, I was trying to create a VM with Hurd to my liking
> with "guix system etcetera", to do some Hurd hacking.
> (GNOME Boxes only accepts ISO's, no qcow2's)
> But this command fails.  Both when cross-compiling (meson doesn't
> support cross-builds yet), and when compiling ‘natively’ using
> the childhurd --- apparently util-linux is in the dependency tree.

What OS config did you try to cross-build?

It’s possible to cross-build minimal GNU/Hurd images, such as the one
used in the childhurd test in (gnu tests virtualization), or like the
gnu/system/examples/bare-hurd.tmpl example.

Cross-building GNU/Hurd images is probably the easiest way to get
started with GNU/Hurd hacking at this point.  I’m Cc’ing Janneke who has
more experience and maybe tips and tricks to share.  :-)

> Maybe the tests should be disabled on the Hurd on now, in order
> to be able to fix the underlying issues more easily?

Yes, we could disable util-linux tests for i586-gnu with a FIXME
pointing to this discussion, to help further progress.  I’ll do that if
there are no objections.

Thanks,
Ludo’.




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

* bug#47791: util-linux fails to build on the Hurd (some tests fail)
  2021-04-17 10:19     ` Ludovic Courtès
@ 2021-04-17 11:32       ` Maxime Devos
  2021-04-17 14:38         ` Ludovic Courtès
  2021-04-17 21:12       ` Ludovic Courtès
  1 sibling, 1 reply; 8+ messages in thread
From: Maxime Devos @ 2021-04-17 11:32 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 47791

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

Ludovic Courtès schreef op za 17-04-2021 om 12:19 [+0200]:
> What OS config did you try to cross-build?

The installer.
-e '(@ (gnu system install) installation-os)


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* bug#47791: util-linux fails to build on the Hurd (some tests fail)
  2021-04-17 11:32       ` Maxime Devos
@ 2021-04-17 14:38         ` Ludovic Courtès
  0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2021-04-17 14:38 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 47791

Maxime Devos <maximedevos@telenet.be> skribis:

> Ludovic Courtès schreef op za 17-04-2021 om 12:19 [+0200]:
>> What OS config did you try to cross-build?
>
> The installer.
> -e '(@ (gnu system install) installation-os)

Yeah, that one probably has too much stuff; it has connman, which
probably pulls in GLib and all.

Ludo’.




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

* bug#47791: util-linux fails to build on the Hurd (some tests fail)
  2021-04-17 10:19     ` Ludovic Courtès
  2021-04-17 11:32       ` Maxime Devos
@ 2021-04-17 21:12       ` Ludovic Courtès
  1 sibling, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2021-04-17 21:12 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 47791-done

Ludovic Courtès <ludo@gnu.org> skribis:

> Yes, we could disable util-linux tests for i586-gnu with a FIXME
> pointing to this discussion, to help further progress.  I’ll do that if
> there are no objections.

Done in 84feaca4888c9916e1a97bb81e5d157673488b70.

I’m closing this bug, with the understanding that we need a proper fix
for the underlying issue.

Ludo’.




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

end of thread, other threads:[~2021-04-17 21:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-15  8:32 bug#47791: util-linux fails to build on the Hurd (some tests fail) Maxime Devos
     [not found] ` <handler.47791.B.161847556721297.ack@debbugs.gnu.org>
2021-04-15  8:33   ` bug#47791: Acknowledgement (util-linux fails to build on the Hurd (some tests fail)) Maxime Devos
2021-04-16 16:07 ` bug#47791: util-linux fails to build on the Hurd (some tests fail) Ludovic Courtès
2021-04-16 18:55   ` Maxime Devos
2021-04-17 10:19     ` Ludovic Courtès
2021-04-17 11:32       ` Maxime Devos
2021-04-17 14:38         ` Ludovic Courtès
2021-04-17 21:12       ` Ludovic Courtès

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