pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

devel/gobject-introspection on Darwin/Mac OS X?



Has anyone built devel/gobject-introspection on Darwin/Mac OS X from
pkgsrc-2020Q1?

I'm getting library path errors trying to build tests. I find @rpath
here confusing. I've tried setting DYLD_FALLBACK_LIBRARY_PATH and/or
DYLD_LIBRARY_PATH prior to the build with no luck. I guess I could use
install_name_tool to just re-write the library name, but there should
be a "right" way to fix this.

ninja: Entering directory `output'
[1/18] Generating generate_typelib__CustomTargetHolder_59830eb__gir_everything_cus_____Users_stix_pkg64_bin_python3_7____File__tools_g_ir_scann..._____I_____Volumes_netbsd_tmp_pkgwrk64_devel_gobject_introspection_work_gobject_introspection_1_64_0_tests_____INPUT____ with a custom command.
FAILED: tests/Everything-1.0.typelib
/Volumes/netbsd/tmp/pkgwrk64/devel/gobject-introspection/work/gobject-introspection-1.64.0/output/tools/g-ir-compiler -o tests/Everything-1.0.typelib tests/Everything-1.0.gir --includedir /Volumes/netbsd/tmp/pkgwrk64/devel/gobject-introspection/work/gobject-introspection-1.64.0/output/gir --includedir /Volumes/netbsd/tmp/pkgwrk64/devel/gobject-introspection/work/gobject-introspection-1.64.0/output/tests
dyld: Library not loaded: @rpath/libgirepository-1.0.1.dylib
  Referenced from: /Volumes/netbsd/tmp/pkgwrk64/devel/gobject-introspection/work/gobject-introspection-1.64.0/output/tools/g-ir-compiler
  Reason: image not found

bash$ otool -L /Volumes/netbsd/tmp/pkgwrk64/devel/gobject-introspection/work/gobject-introspection-1.64.0/output/tools/g-ir-compiler
/Volumes/netbsd/tmp/pkgwrk64/devel/gobject-introspection/work/gobject-introspection-1.64.0/output/tools/g-ir-compiler:
        @rpath/libgirepository-1.0.1.dylib (compatibility version 2.0.0, current version 2.0.0)
        /Users/stix/pkg64/lib/libffi.7.dylib (compatibility version 9.0.0, current version 9.0.0)
        /Users/stix/pkg64/lib/libglib-2.0.0.dylib (compatibility version 6401.0.0, current version 6401.1.0)
        /Users/stix/pkg64/lib/libgio-2.0.0.dylib (compatibility version 6401.0.0, current version 6401.1.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)

And this in an effort to build arv-libc...

Mac OS X 10.15.4
Darwin 19.4.0
XCode 11.4

-- 
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
 discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.


Home | Main Index | Thread Index | Old Index