Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394515 - dev-vcs/bzr-gtk-0.100.0 always installs nautilus-python extension making nautilus-3 segfault
Summary: dev-vcs/bzr-gtk-0.100.0 always installs nautilus-python extension making naut...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal critical (vote)
Assignee: bazaar+obsolete
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-13 02:21 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2012-02-05 15:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-12-13 02:21:12 UTC
dev-vcs/bzr-gtk-0.100.0 installs a nautilus-python extension
a. no matter whether the nautilus USE flag is enabled or not (I assume this is some sort of automagic dependency), and
b. despite the fact that nautilus-3 is gtk3-based, and bzr-gtk is gtk2-based, meaning that the presence of the extension on a gnome-3 system is guaranteed to make nautilus segfault.


# USE="gnome-keyring sourceview -gconf -gpg -nautilus" emerge bzr-gtk
[...]
--- /usr/share/nautilus-python/
--- /usr/share/nautilus-python/extensions/
>>> /usr/share/nautilus-python/extensions/nautilus-bzr.py

# equery f bzr-gtk | grep nautilus
/usr/lib64/python2.7/site-packages/bzrlib/plugins/gtk/nautilus-bzr.py
/usr/share/nautilus-python
/usr/share/nautilus-python/extensions
/usr/share/nautilus-python/extensions/nautilus-bzr.py

# nautilus --version
GNOME nautilus 3.2.1

# nautilus
/usr/lib64/python2.7/site-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
  import gobject._gobject
/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py:40: Warning: specified class size for type `PyGtkGenericCellRenderer' is smaller than the parent type's `GtkCellRenderer' class size
  from gtk import _gtk
/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_get_qdata: assertion `node != NULL' failed
  from gtk import _gtk
Segmentation fault (core dumped)
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2012-02-05 15:46:50 UTC
Should be fixed now by deleting the support file if USE=nautilus is not set.  I also took some measures in the dependencies to warn users about Gtk2 and 3 mix.