Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661826 - media-libs/libmypaint-1.3.0: ImportError: libjson-c.so.3: cannot open shared object file: No such file or directory (affects media-gfx/mypaint)
Summary: media-libs/libmypaint-1.3.0: ImportError: libjson-c.so.3: cannot open shared ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-22 18:42 UTC by lekto
Modified: 2018-08-12 13:13 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info,5.70 KB, application/x-info)
2018-07-22 18:42 UTC, lekto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lekto 2018-07-22 18:42:17 UTC
Created attachment 540522 [details]
emerge --info

After downgrade json-c to 0.13 libmypaint starts working.

>lekto@blaszak ~ $ mypaint
>INFO: mypaint: Installation layout: conventional POSIX-like structure with prefix u'/usr'
>INFO: lib.i18n: POSIX: LANG='en_US.utf8'
>INFO: lib.i18n: POSIX: LANGUAGE=None
>Traceback (most recent call last):
>  File "/usr/bin/mypaint", line 464, in <module>
>    main.main(datapath, iconspath, old_confpath, version=version)
>  File "/usr/share/mypaint/gui/main.py", line 95, in main
>    from gui import application
>  File "/usr/share/mypaint/gui/application.py", line 48, in <module>
>    import lib.document
>  File "/usr/share/mypaint/lib/document.py", line 37, in <module>
>    import lib.helpers as helpers
>  File "/usr/share/mypaint/lib/helpers.py", line 26, in <module>
>    import mypaintlib
>  File "/usr/share/mypaint/lib/mypaintlib.py", line 17, in <module>
>    _mypaintlib = swig_import_helper()
>  File "/usr/share/mypaint/lib/mypaintlib.py", line 16, in swig_import_helper
>    return importlib.import_module('_mypaintlib')
>  File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
>    __import__(name)
>ImportError: libjson-c.so.3: cannot open shared object file: No such file or directory
Comment 1 Sebastian Pipping gentoo-dev 2018-08-08 17:13:22 UTC
Hi lekto,

I'm having trouble understanding how that situation happened:

- libmypaint-1.3.0.ebuild has dependency dev-libs/json-c:=
  since 2017 commit
  https://github.com/gentoo/gentoo/commit/d8807d9c2a0aa40945c1526049c75c654f079d1a
  that should make portage re-emerge libmypaint whenever
  you do upgrades on dev-libs/json-c that makes it change subslot.

- That subslot seems to match the soname, so slot 0/4 has
  libjson-c.so.4 and 0/3 has libjson-c.so.3.

Any ideas what I might be missing?

Thanks!
Comment 2 lekto 2018-08-09 13:44:32 UTC
Could https://bugs.gentoo.org/648960#c2 cause this? I removed this file after resolve that bug, now mypaint work.
Comment 3 Sebastian Pipping gentoo-dev 2018-08-12 13:13:29 UTC
I guess we are good here then.  Thanks for the update!  Please re-open as needed.