GNU bug report logs - #47791
util-linux fails to build on the Hurd (some tests fail)

Previous Next

Package: guix;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Thu, 15 Apr 2021 08:33:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

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 47791 in the body.
You can then email your comments to 47791 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 bug-guix <at> gnu.org:
bug#47791; Package guix. (Thu, 15 Apr 2021 08:33:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxime Devos <maximedevos <at> telenet.be>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 15 Apr 2021 08:33:01 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: bug-guix <at> gnu.org
Subject: util-linux fails to build on the Hurd (some tests fail)
Date: Thu, 15 Apr 2021 10:32:34 +0200
[Message part 1 (text/plain, inline)]
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.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#47791; Package guix. (Thu, 15 Apr 2021 08:34:01 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: 47791 <at> debbugs.gnu.org
Subject: Re: bug#47791: Acknowledgement (util-linux fails to build on the
 Hurd (some tests fail))
Date: Thu, 15 Apr 2021 10:33:47 +0200
[Message part 1 (text/plain, inline)]
Forgot to attach the log.
[h1bb689vfickgnxd52q6rpnngy8fxg-util-linux-2.35.1.drv.bz2 (application/x-bzip, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#47791; Package guix. (Fri, 16 Apr 2021 16:09:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 47791 <at> debbugs.gnu.org
Subject: Re: bug#47791: util-linux fails to build on the Hurd (some tests fail)
Date: Fri, 16 Apr 2021 18:07:55 +0200
Hi,

Maxime Devos <maximedevos <at> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#47791; Package guix. (Fri, 16 Apr 2021 18:56:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 47791 <at> debbugs.gnu.org
Subject: Re: bug#47791: util-linux fails to build on the Hurd (some tests fail)
Date: Fri, 16 Apr 2021 20:55:40 +0200
[Message part 1 (text/plain, inline)]
On Fri, 2021-04-16 at 18:07 +0200, Ludovic Courtès wrote:
> Hi,
> 
> Maxime Devos <maximedevos <at> 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.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#47791; Package guix. (Sat, 17 Apr 2021 10:20:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: Jan Nieuwenhuizen <janneke <at> gnu.org>, 47791 <at> debbugs.gnu.org
Subject: Re: bug#47791: util-linux fails to build on the Hurd (some tests fail)
Date: Sat, 17 Apr 2021 12:19:33 +0200
Hi Maxime,

Maxime Devos <maximedevos <at> 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’.




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

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Jan Nieuwenhuizen <janneke <at> gnu.org>, 47791 <at> debbugs.gnu.org
Subject: Re: bug#47791: util-linux fails to build on the Hurd (some tests fail)
Date: Sat, 17 Apr 2021 13:32:14 +0200
[Message part 1 (text/plain, inline)]
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)

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

Information forwarded to bug-guix <at> gnu.org:
bug#47791; Package guix. (Sat, 17 Apr 2021 14:39:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: Jan Nieuwenhuizen <janneke <at> gnu.org>, 47791 <at> debbugs.gnu.org
Subject: Re: bug#47791: util-linux fails to build on the Hurd (some tests fail)
Date: Sat, 17 Apr 2021 16:38:15 +0200
Maxime Devos <maximedevos <at> 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’.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Sat, 17 Apr 2021 21:13:02 GMT) Full text and rfc822 format available.

Notification sent to Maxime Devos <maximedevos <at> telenet.be>:
bug acknowledged by developer. (Sat, 17 Apr 2021 21:13:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 47791-done <at> debbugs.gnu.org, Jan Nieuwenhuizen <janneke <at> gnu.org>
Subject: Re: bug#47791: util-linux fails to build on the Hurd (some tests fail)
Date: Sat, 17 Apr 2021 23:12:01 +0200
Ludovic Courtès <ludo <at> 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’.




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

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

Previous Next


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