GNU bug report logs - #45618
development childhurd fails to build: glib@2.62.6: build system `meson'

Previous Next

Package: guix;

Reported by: Jan Nieuwenhuizen <janneke <at> gnu.org>

Date: Sun, 3 Jan 2021 08:21:02 UTC

Severity: normal

Done: Jan Nieuwenhuizen <jan.nieuwenhuizen <at> verum.com>

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 45618 in the body.
You can then email your comments to 45618 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#45618; Package guix. (Sun, 03 Jan 2021 08:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jan Nieuwenhuizen <janneke <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 03 Jan 2021 08:21:02 GMT) Full text and rfc822 format available.

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

From: Jan Nieuwenhuizen <janneke <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: development childhurd fails to build: glib <at> 2.62.6: build system
 `meson'
Date: Sun, 03 Jan 2021 09:19:56 +0100
[Message part 1 (text/plain, inline)]
Hi,

We have been using the attached devel-hurd.tmpl (see attched) to add a
childhurd service that has a development environment.

On current master

    395489cdc959c3f3c026bf545c3ed95efc9919f0
    gnu: spice-vdagent: Update to 0.20.0.

building

    ./pre-inst-env guix system disk-image --target=i586-pc-gnu gnu/system/examples/devel-hurd.tmpl

fail with

--8<---------------cut here---------------start------------->8---
guix system: error: gnu/packages/glib.scm:181:2: glib <at> 2.62.6: build system `meson' does not support cross builds
--8<---------------cut here---------------end--------------->8---

I guess we are missing a (some?) tests for the Hurd.

Anyway, I started a bisecting round last night and it found

--8<---------------cut here---------------start------------->8---
1b0cda6b44 gnu: qemu: Extend I/O test time-outs.
--8<---------------cut here---------------end--------------->8---

which was an honest debugging leftover, fixed promptly in

--8<---------------cut here---------------start------------->8---
b070e3f810 gnu: qemu: Remove left-over debugging statement.
--8<---------------cut here---------------end--------------->8---

Luckily, this fixed commit also builds the childhurd again...so I'm
starting a new bisect.

This is not funny; it means I either cannot reconfigure, or I'm losing
my childhurd...grmbl.  Sorry for not noticing this earlier!

Greetings,
Janneke

[devel-hurd.tmpl (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]
-- 
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com

Reply sent to Jan Nieuwenhuizen <jan.nieuwenhuizen <at> verum.com>:
You have taken responsibility. (Thu, 14 Jan 2021 18:54:02 GMT) Full text and rfc822 format available.

Notification sent to Jan Nieuwenhuizen <janneke <at> gnu.org>:
bug acknowledged by developer. (Thu, 14 Jan 2021 18:54:03 GMT) Full text and rfc822 format available.

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

From: Jan Nieuwenhuizen <jan.nieuwenhuizen <at> verum.com>
To: Jan Nieuwenhuizen <janneke <at> gnu.org>
Cc: 45618-done <at> debbugs.gnu.org
Subject: Re: bug#45618: development childhurd fails to build: glib <at> 2.62.6:
 build system `meson'
Date: Thu, 14 Jan 2021 17:03:04 +0100
[Message part 1 (text/plain, inline)]
Jan Nieuwenhuizen writes:

Hello,

> On current master
>
>     395489cdc959c3f3c026bf545c3ed95efc9919f0
>     gnu: spice-vdagent: Update to 0.20.0.
>
> building
>
>     ./pre-inst-env guix system disk-image --target=i586-pc-gnu gnu/system/examples/devel-hurd.tmpl
>
> fail with
>
> guix system: error: gnu/packages/glib.scm:181:2: glib <at> 2.62.6: build system `meson' does not support cross builds

My bad, turns out to be the new guile-avahi dependency that cannot be
cross-built.

For the archives, find an updated devel-hurd.tmpl attached that removes
guile-avahi.

Greetings,
Janneke

[devel-hurd.tmpl (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]
-- 
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com

Information forwarded to bug-guix <at> gnu.org:
bug#45618; Package guix. (Thu, 14 Jan 2021 21:20:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: 45618 <at> debbugs.gnu.org
Cc: jan.nieuwenhuizen <at> verum.com, janneke <at> gnu.org
Subject: Re: bug#45618: development childhurd fails to build: glib <at> 2.62.6:
 build system `meson'
Date: Thu, 14 Jan 2021 22:19:45 +0100
Hi,

Jan Nieuwenhuizen <jan.nieuwenhuizen <at> verum.com> skribis:

> My bad, turns out to be the new guile-avahi dependency that cannot be
> cross-built.

Good catch, thanks for the fix!

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#45618; Package guix. (Sun, 17 Jan 2021 16:00:02 GMT) Full text and rfc822 format available.

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

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: jan.nieuwenhuizen <at> verum.com, 45618 <at> debbugs.gnu.org
Subject: Re: bug#45618: development childhurd fails to build: glib <at> 2.62.6:
 build system `meson'
Date: Sun, 17 Jan 2021 16:59:39 +0100
[Message part 1 (text/plain, inline)]
Hi Ludo,

that is not a fix.  A workaround maybe.

If possible, I'd like the actual fix to be to make the meson build system
support cross compilation.

According to https://mesonbuild.com/Cross-compilation.html :

>Meson has full support for cross compilation. 
[...]
>meson builddir/ --cross-file x86-linux

Also, for the record, I find it a bad idea to switch packages from
gnu-build-system to meson-build-system when the package in question
supports building itself with either, as long as meson-build-system
doesn't support cross-compilation.
[Message part 2 (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 15 Feb 2021 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 64 days ago.

Previous Next


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