Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669448 - dev-python/pycairo should depend on x11-libs/cairo:= - terminator: ImportError: /usr/lib64/python2.7/site-packages/cairo/_cairo.so: undefined symbol: cairo_script_create
Summary: dev-python/pycairo should depend on x11-libs/cairo:= - terminator: ImportErro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexandre Rostovtsev (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-23 19:06 UTC by Silvio
Modified: 2018-10-30 14:01 UTC (History)
4 users (show)

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 Silvio 2018-10-23 19:06:49 UTC
Running terminator it exit with this error in console:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/terminator", line 47, in <module>
    import terminatorlib.optionparse
  File "/usr/lib64/python2.7/site-packages/terminatorlib/optionparse.py", line 23, in <module>
    from util import dbg, err
  File "/usr/lib64/python2.7/site-packages/terminatorlib/util.py", line 20, in <module>
    import cairo
  File "/usr/lib64/python2.7/site-packages/cairo/__init__.py", line 1, in <module>
    from ._cairo import *  # noqa: F401,F403
ImportError: /usr/lib64/python2.7/site-packages/cairo/_cairo.so: undefined symbol: cairo_script_create
Comment 1 Silvio 2018-10-23 21:38:29 UTC
It is necessary to recompile 

dev-python/pycairo

then everything goes well.
Comment 2 chris.murtagh1 2018-10-24 16:55:52 UTC
i can confirm that rebuilding dev-python/pycairo fixes this problem as well as a few others that were depending on this symbol.

further info on this bug, I found the follow ticket which seams to be the root issue.

Bug #669196
Comment 3 Larry the Git Cow gentoo-dev 2018-10-30 14:01:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76c3bd643515a6398f211c45b1c70a87341d3143

commit 76c3bd643515a6398f211c45b1c70a87341d3143
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2018-10-30 14:00:51 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2018-10-30 14:01:22 +0000

    x11-libs/cairo: Build cairo script unconditionally
    
    Lots of reverse dependencies need it, at least optionally. Saving the
    lzo dependency is not a worthy goal, so let's just reenable it instead
    of forcing reverse dependencies to change.
    
    Closes: https://bugs.gentoo.org/669196
    Closes: https://bugs.gentoo.org/669448
    Closes: https://bugs.gentoo.org/669952
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-libs/cairo/{cairo-1.16.0.ebuild => cairo-1.16.0-r1.ebuild} | 3 +--
 x11-libs/cairo/cairo-9999.ebuild                               | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)