Of course, the library is not present there after destroot is wiped, so when some dependent uses gir to find libayatana-appindicator, it fails. As an example, gajim:
36-25% gajim
** (gajim:60365): WARNING **: 00:54:27.401: expected enumeration type void, but got PyGLibOptionArg instead
2024-08-29T00:54:27 (W) gajim AV dependency test failed: Namespace Farstream not available
** (org.gajim.Gajim:60365): WARNING **: 00:54:30.474: Failed to load shared library '/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libayatana-appindicator/libayatana-appindicator/work/build/src/libayatana-appindicator3.1.dylib' referenced by the typelib: dlopen(/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libayatana-appindicator/libayatana-appindicator/work/build/src/libayatana-appindicator3.1.dylib, 9): image not found
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gajim/gtk/application.py", line 382, in _handle_local_options
self._startup()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gajim/gtk/application.py", line 246, in _startup
self.systray = StatusIcon()
^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gajim/gtk/status_icon.py", line 57, in __init__
self._backend = AppIndicatorIcon()
^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gajim/gtk/status_icon.py", line 296, in __init__
self._status_icon = AppIndicator.Indicator.new(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: g-invoke-error-quark: Could not locate app_indicator_new: dlopen(/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libayatana-appindicator/libayatana-appindicator/work/build/src/libayatana-appindicator3.1.dylib, 9): image not found (1)
At the same time everything else has correct paths (dylib itself and pkgconfig file).
Could someone advise me how to fix this? For some reason
gir
file bakes in destroot path:Of course, the library is not present there after destroot is wiped, so when some dependent uses
gir
to findlibayatana-appindicator
, it fails. As an example,gajim
:At the same time everything else has correct paths (dylib itself and pkgconfig file).