Bug#1078929: glib2.0 breaks architecture bootstrap

Andrea Pappacoda andrea at pappacoda.it
Sat Aug 17 23:09:17 BST 2024


On Sat Aug 17, 2024 at 11:26 PM CEST, Helmut Grohne wrote:
> glib2.0 certainly is not the simplest of packages when it comes to meson
> use. The trivial approach of replacing meson yields:
>
> err unknown option '--wrap-mode=nodownload'
>
> That's the third option passed to meson of many. I don't think this is
> feasible with reasonable effort, but I'm happy to let you prove me wrong
> about this.

Sorry, I forgot to mention that muon and meson have different (but 
similar) command line interfaces, so, for example, debhelper should be 
patched to recognize muon and pass options differently.

One of the differences is that muon does not have long options like 
"--wrap-mode", and the way you set the wrap mode is by directly 
modifying the built-in option via -Dwrap_mode=nodownload (which will 
also work with regular Meson, since long options most of the time are 
just a fancy way of setting built-in options).

After changing the command line syntax, muon is almost capable of 
compiling glib, it just seems to hang at the end, probably due to glib's 
relyance of Meson's "gnome" module, which is incomplete in muon.

Please let me know if muon could be helful to your use case. If so, 
I can try to work with upstream to fix glib's compilation. muon's 
development of features is driven by real-world use cases.

Bye!



More information about the pkg-gnome-maintainers mailing list