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

2021-01-17 Thread Danny Milosavljevic
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.


pgpfFTXmblrdP.pgp
Description: OpenPGP digital signature


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

2021-01-14 Thread Ludovic Courtès
Hi,

Jan Nieuwenhuizen  skribis:

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

Good catch, thanks for the fix!

Ludo’.





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

2021-01-14 Thread Jan Nieuwenhuizen
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@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
Description: Binary data

-- 
Jan Nieuwenhuizen  | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com


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

2021-01-03 Thread Jan Nieuwenhuizen
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@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
Description: Binary data

-- 
Jan Nieuwenhuizen  | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com