pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: devel/gobject-introspection macOS rpath pkgsrc wrapper
LD_LIBRARY_PATH does not solve the problem.
Here the complete log:
[82/100] Generating generate_typelib_gir_cairo_1_0_gir with a custom command.
FAILED: gir/cairo-1.0.typelib
/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/tools/g-ir-compiler -o gir/cairo-1.0.typelib gir/cairo-1.0.gir --includedir /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/gir --includedir /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/gir
dyld: Library not loaded: @rpath/libgirepository-1.0.1.dylib
Referenced from: /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/tools/g-ir-compiler
Reason: image not found
[83/100] Generating generate_typelib_libxml2_2_0_gir with a custom command.
FAILED: gir/libxml2-2.0.typelib
/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/tools/g-ir-compiler -o gir/libxml2-2.0.typelib ../gir/libxml2-2.0.gir --includedir /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/gir --includedir /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/gir
dyld: Library not loaded: @rpath/libgirepository-1.0.1.dylib
Referenced from: /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/tools/g-ir-compiler
Reason: image not found
[84/100] Generating generate_typelib_xfixes_4_0_gir with a custom command.
FAILED: gir/xfixes-4.0.typelib
/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/tools/g-ir-compiler -o gir/xfixes-4.0.typelib ../gir/xfixes-4.0.gir --includedir /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/gir --includedir /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/gir
dyld: Library not loaded: @rpath/libgirepository-1.0.1.dylib
Referenced from: /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/tools/g-ir-compiler
Reason: image not found
[85/100] Generating generate_typelib_DBusGLib_1_0_gir with a custom command.
FAILED: gir/DBusGLib-1.0.typelib
/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/tools/g-ir-compiler -o gir/DBusGLib-1.0.typelib ../gir/DBusGLib-1.0.gir --includedir /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/gir --includedir /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/gir
dyld: Library not loaded: @rpath/libgirepository-1.0.1.dylib
Referenced from: /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/tools/g-ir-compiler
Reason: image not found
[86/100] Generating gir-girepository with a custom command.
FAILED: gir/GIRepository-2.0.gir
/Users/cbouvier/pkg/bin/python3.7 tools/g-ir-scanner --output=gir/GIRepository-2.0.gir --no-libtool --quiet --reparse-validate --add-include-path /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/gir --add-include-path /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/gir --identifier-prefix=GI --symbol-prefix=g --symbol-prefix=gi --c-include=girepository.h --namespace=GIRepository --nsversion=2.0 --library=girepository-1.0 --pkg-export=gobject-introspection-1.0 -L/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/gir/../girepository --include-uninstalled=/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/gir/GObject-2.0.gir --cflags-begin -I/Users/cbouvier/pkg/include/glib-2.0 -I/Users/cbouvier/pkg/lib/glib-2.0/include -I/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/gir/../girepository -I/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/gir/../girepository -DGI_COMPILATION --cflags-end ../girepository/giarginfo.c ../girepository/gibaseinfo.c ../girepository/gicallableinfo.c ../girepository/giconstantinfo.c ../girepository/gienuminfo.c ../girepository/gifieldinfo.c ../girepository/gifunctioninfo.c ../girepository/giinterfaceinfo.c ../girepository/giobjectinfo.c ../girepository/gipropertyinfo.c ../girepository/giregisteredtypeinfo.c ../girepository/girepository.c ../girepository/gisignalinfo.c ../girepository/gistructinfo.c ../girepository/gitypeinfo.c ../girepository/giunioninfo.c ../girepository/giversion.c ../girepository/givfuncinfo.c ../girepository/giarginfo.h ../girepository/gibaseinfo.h ../girepository/gicallableinfo.h ../girepository/giconstantinfo.h ../girepository/gienuminfo.h ../girepository/gifieldinfo.h ../girepository/gifunctioninfo.h ../girepository/giinterfaceinfo.h ../girepository/giobjectinfo.h ../girepository/gipropertyinfo.h ../girepository/giregisteredtypeinfo.h ../girepository/girepository.h ../girepository/gisignalinfo.h ../girepository/gistructinfo.h ../girepository/gitypeinfo.h ../girepository/gitypelib.h ../girepository/gitypes.h ../girepository/giunioninfo.h ../girepository/givfuncinfo.h girepository/giversion.h
dyld: Library not loaded: @rpath/libgirepository-1.0.1.dylib
Referenced from: /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/tmp-introspectdmddn7n5/GIRepository-2.0
Reason: image not found
Command '['/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/tmp-introspectdmddn7n5/GIRepository-2.0', '--introspect-dump=/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/tmp-introspectdmddn7n5/functions.txt,/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/tmp-introspectdmddn7n5/dump.xml']' died with <Signals.SIGABRT: 6>.
[87/100] Generating gir-gio with a custom command.
ninja: build stopped: subcommand failed.
> Le 19 juil. 2019 à 15:42, Patrick Welche <prlw1%cam.ac.uk@localhost> a écrit :
>
> On Fri, Jul 19, 2019 at 03:13:15PM +0400, cl?ment bouvier wrote:
>> Now object-introspection uses meson? If we look the build.ninja file and the target to link g-ir-compiler, we obtain (I've put only the paths flags):
>
> Since that change to meson, we seem to need e.g.
>
> LD_LIBRARY_PATH+= ${WRKSRC}/output/${PKGBASE}
>
> for g-ir-compiler to load the shared library to read the symbols to create
> the gir in pkgsrc packages. Maybe something similar will help you?
>
> Cheers,
>
> Patrick
Home |
Main Index |
Thread Index |
Old Index