Opened 5 years ago

Closed 4 years ago

#60183 closed defect (duplicate)

meld @3.18.1_1+x11: Failed to load shared library '@rpath/libatk-1.0.0.dylib' referenced by the typelib: dlopen(@rpath/libatk-1.0.0.dylib, 9): image not found

Reported by: tehcog (tehcog) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: dbevans (David B. Evans)
Port: meld

Description

meld fails to run on mavericks after some kind of python update (3.6?)

see below for output:

-> meld

** (meld:8681): WARNING **: 15:26:37.249: Failed to load shared library '@rpath/libatk-1.0.0.dylib' referenced by the typelib: dlopen(@rpath/libatk-1.0.0.dylib, 9): image not found
Traceback (most recent call last):
  File "/opt/local/bin/meld", line 352, in <module>
    check_requirements()
  File "/opt/local/bin/meld", line 198, in check_requirements
    from gi.repository import Gtk
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/gi/importer.py", line 146, in load_module
    dynamic_module = load_overrides(introspection_module)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/gi/overrides/__init__.py", line 125, in load_overrides
    override_mod = importlib.import_module(override_package_name)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/gi/overrides/Gtk.py", line 119, in <module>
    class Widget(Gtk.Widget):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/gi/module.py", line 182, in __getattr__
    interfaces = tuple(interface for interface in get_interfaces_for_object(info)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/gi/module.py", line 105, in get_interfaces_for_object
    interfaces.append(getattr(module, name))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/gi/module.py", line 221, in __getattr__
    wrapper = metaclass(name, bases, dict_)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/gi/types.py", line 256, in __init__
    register_interface_info(cls.__info__.get_g_type())
TypeError: must be an interface

Change History (3)

comment:1 Changed 5 years ago by tehcog (tehcog)

Summary: meld fails to run on mavericks after some kind of python update (3.6?)meld @3.18.1_1+x11 fails to run on mavericks after some kind of python update (3.6?)

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dbevans added
Summary: meld @3.18.1_1+x11 fails to run on mavericks after some kind of python update (3.6?)meld @3.18.1_1+x11: Failed to load shared library '@rpath/libatk-1.0.0.dylib' referenced by the typelib: dlopen(@rpath/libatk-1.0.0.dylib, 9): image not found

Looks like the same problem reported in #60166 about another port. Maybe the fix from there would work here too. I don't know why this is happening or how many other ports might be affected.

comment:3 Changed 4 years ago by dbevans (David B. Evans)

Resolution: duplicate
Status: newclosed

Yes, this is a duplicate of #60166.

The atk typelib was fixed in changeset:9dc5aba19af82ee50aff4a84f9646cb5db8efc97/macports-ports.

AFAIK all known instances of broken typelibs due to the gobject-introspection @rpath issue have now been repaired.

Note: See TracTickets for help on using tickets.