[MacPorts] #61987: gobject-introspection @1.60.2_4 : g-ir-scanner producing executable with linking problems
MacPorts
noreply at macports.org
Mon Jan 4 16:25:39 UTC 2021
#61987: gobject-introspection @1.60.2_4 : g-ir-scanner producing executable with
linking problems
-------------------------+---------------------------------------------
Reporter: serge-cohen | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Keywords: | Port: gobject-introspection @1.60.2_4
-------------------------+---------------------------------------------
I am currently working to compile a project using gobject introspection
(ufo : https://github.com/ufo-kit/ufo-core.git).
This package uses gobject introspection for its python interface. In the
build process g-ir-scanner is runned on the source to extract API
information but fails with message :
{{{
[ 74%] Generating Ufo-1.0.gir
dyld: Symbol not found: _iconv
Referenced from: /usr/lib/libarchive.2.dylib
Expected in: /opt/local/lib/libiconv.2.dylib
in /usr/lib/libarchive.2.dylib
Command '['/ActualUsers/serge/Projects-info/ufo-core/build-test/ufo/tmp-
introspectlq7hfjl3/Ufo-1.0', '--introspect-dump=/ActualUsers/serge
/Projects-info/ufo-core/build-test/ufo/tmp-
introspectlq7hfjl3/functions.txt,/ActualUsers/serge/Projects-info/ufo-core
/build-test/ufo/tmp-introspectlq7hfjl3/dump.xml']' died with
<Signals.SIGABRT: 6>.
make[2]: *** [ufo/Ufo-1.0.gir] Error 1
make[1]: *** [ufo/CMakeFiles/gir.dir/all] Error 2
make: *** [all] Error 2
}}}
As I am not an expert in GIR, my understanding is likely (partly) wrong :
gi-r-scanner is producing an executable that is self-introspecting for
generating the API file (in GIR format). But this executable is linked to
the wrong version either of libarchive or libiconv. My guess is that both
these should be taken from the MacPorts /opt/local/lib (rather than
libarchive from the system and libiconv from MacPorts)
This is running MacOS 10.15.7 (Catalina) on a MBP 16p
--
Ticket URL: <https://trac.macports.org/ticket/61987>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list