Subject: [bug#30636] [PATCH] gnu: nautilus: Use meson-build-system, update to 3.26.2.

From: [email-masked] (Ludovic Courtès)
Date: Wed, 28 Feb 2018 22:31:32 +0100

Hello Rene,

Rene <[email-masked]> skribis:

> From d485df9a712da9c3c3aafa08e05d8fccc78e8b18 Mon Sep 17 00:00:00 2001
> From: Rene <[email-masked]>
> Date: Tue, 27 Feb 2018 13:19:08 -0600
> Subject: [PATCH] gnu: nautilus: Use meson-build-system, update to 3.26.2.
>
> * gnu/packages/gnome.scm (nautilus): Update to 3.26.2.
> [build-system]: Use meson-build-system.
> [native-inputs]: Add desktop-file-utils and gtk+:bin.
> [inputs]: Add libselinux.

The patch LGTM, but the Nautilus ends with SIGTRAP, both in a VM of
desktop.tmpl and in an environment:

--8<---------------cut here---------------start------------->8---
$ LANGUAGE= ./pre-inst-env guix environment --ad-hoc nautilus -- gdb --args nautilus 
GNU gdb (GDB) 8.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
[<gdb.printing.RegexpCollectionPrettyPrinter object at 0x7fb7617bfc88>, <function lookup_function at 0x7fb7617d97b8>]
Reading symbols from nautilus...(no debugging symbols found)...done.
(gdb) r
Starting program: /gnu/store/q3a721bfwwbyi3cpi6s7j85jqbl4h0xb-nautilus-3.26.2/bin/nautilus 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libthread_db.so.1".
[New Thread 0x7fffea402700 (LWP 23950)]
[New Thread 0x7fffe9bb1700 (LWP 23951)]
[New Thread 0x7fffe9360700 (LWP 23952)]
[New Thread 0x7fffe8b0f700 (LWP 23954)]

** (nautilus:23946): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(nautilus:23946): GLib-GIO-ERROR **: Settings schema 'org.gnome.nautilus.preferences' is not installed

Thread 1 "nautilus" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff7907dd1 in _g_log_abort () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libglib-2.0.so.0
(gdb) bt
#0  0x00007ffff7907dd1 in _g_log_abort () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libglib-2.0.so.0
#1  0x00007ffff7908d71 in g_log_default_handler () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libglib-2.0.so.0
#2  0x00007ffff7908f74 in g_logv () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libglib-2.0.so.0
#3  0x00007ffff7909172 in g_log () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libglib-2.0.so.0
#4  0x00007ffff5c6a9ef in g_settings_set_property () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libgio-2.0.so.0
#5  0x00007ffff5926413 in g_object_new_internal () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libgobject-2.0.so.0
#6  0x00007ffff5927e28 in g_object_new_valist () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libgobject-2.0.so.0
#7  0x00007ffff592810c in g_object_new () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libgobject-2.0.so.0
#8  0x0000000000498c65 in nautilus_global_preferences_init ()
#9  0x0000000000448a42 in nautilus_application_startup_common ()
#10 0x0000000000448b07 in nautilus_application_startup ()
#11 0x00007ffff5920be5 in g_closure_invoke () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libgobject-2.0.so.0
#12 0x00007ffff59325fc in signal_emit_unlocked_R () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libgobject-2.0.so.0
#13 0x00007ffff593b6ff in g_signal_emit_valist () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libgobject-2.0.so.0
#14 0x00007ffff593ba22 in g_signal_emit () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libgobject-2.0.so.0
#15 0x00007ffff5c01442 in g_application_register () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libgio-2.0.so.0
#16 0x00007ffff5c01c2f in g_application_real_local_command_line () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libgio-2.0.so.0
#17 0x00007ffff5c01f92 in g_application_run () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libgio-2.0.so.0
#18 0x00000000004467da in main ()
--8<---------------cut here---------------end--------------->8---

Do you experience similar issues?  (That’s on x86_64-linux.)

Thanks,
Ludo’.