GNOME Bugzilla – Bug 785153
Drop autotools support
Last modified: 2017-08-12 07:35:39 UTC
Follow-up to bug 783229 if no major problems pop up ...
Created attachment 355986 [details] [review] build: Drop autotools support Complete the switch to meson and drop autotools support ...
Created attachment 355987 [details] [review] build: Add Build API wrapper for meson/ninja The Build API[0] used by gnome-continuous expects a configure script that generates a Makefile, so grab a copy of graphene's compatibility script[1] to make it happy. [0] https://github.com/cgwalters/build-api [1] https://github.com/ebassi/graphene/blob/master/configure
Attachment 355986 [details] pushed as cf010cf - build: Drop autotools support Attachment 355987 [details] pushed as 4b1ba2c - build: Add Build API wrapper for meson/ninja
(In reply to Florian Müllner from comment #0) > Follow-up to bug 783229 if no major problems pop up ... Unfortunately, gnome-shell built with meson doesn't work on my machine running FreeBSD 11.1. When an application with single window is running, gnome-shell hangs if I move the mouse to 'Activities' or run other applications with Alt+F2. I am unable to have more than one window or run more than one application under gnome-shell. gnome-shell built with autotools works fine on my machine.
That sounds bizarre, can you provide logs?
(In reply to Florian Müllner from comment #5) > That sounds bizarre, can you provide logs? Which kind of logs should I provide? I saw no difference on output written to stdout and stderr.
(In reply to Ting-Wei Lan from comment #6) > (In reply to Florian Müllner from comment #5) > > That sounds bizarre, can you provide logs? > > Which kind of logs should I provide? I don't know - it's completely unclear how the build system would have an effect as described, in particular as the overview/window management bits in gnome-shell are javascript files bundled in a resource (so not subject to different compiler/linker flags).
I found another difference between gnome-shell built with autotools and meson. gnome-shell built with meson segfault when I run 'imports.system.gc()' with its D-Bus API or looking glass. gnome-shell built with autotools works fine. Messages found on the console: (gnome-shell:90699): GLib-GObject-CRITICAL **: g_type_get_qdata: assertion 'node != NULL' failed gnome-session-binary[90588]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 11 Backtrace:
+ Trace 237792
After rebuilding everything in jhbuild with CFLAGS=-O0, CXXFLAGS=-O0, and --buildtype=debug, GC no longer causes segfault. However, gnome-shell still hangs when more than one window is opened.