pkgsrc-Users archive

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

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



I tested the following patches on 2019Q4 branch, works fine:


https://github.com/NetBSD/pkgsrc/commit/b4d8d491f7723ee51bd406ef31461be28762d6dd?diff=unified

https://github.com/NetBSD/pkgsrc/commit/49658c9b9992fb9fbb5b9fa88916309a61335cd7#diff-2a86ba77ec18e35ea3cc6a0da783f680



On Thu, 2020-04-23 at 22:40 +1000, Paul Ripke wrote:
> 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
> 


Home | Main Index | Thread Index | Old Index