[-- 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 --]
[-- 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 --]
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’.
[-- 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 --]
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’.
[-- 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 --]
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’.
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’.