tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: MacOS issues with devel/glibc2, devel/gobject-introspection, devel/pango
* On 2020-02-17 at 19:42 GMT, Greg Troxel wrote:
> On 2019Q4, macOS 10.13, SIP enabled, I can build glib2. But
> gobject-introspection failed.
>
> I will update to HEAD and retry.
It builds for me, on the aforementioned SIP-enabled macOS, if I:
- Disable patch-giscanner_ccompiler.py
- Apply this patch:
======================================================================
$ cat patches/patch-gir_meson.build
$NetBSD$
--- gir/meson.build.orig 2019-09-09 19:22:10.000000000 +0000
+++ gir/meson.build
@@ -433,7 +433,7 @@ foreach gir : gir_files
input: gir,
output: '@BASENAME@.typelib',
depends: [gobject_gir, ],
- command: [gircompiler, '-o', '@OUTPUT@', '@INPUT@',
+ command: ['env', 'LD_LIBRARY_PATH=' + meson.current_build_dir() + '/../girepository', gircompiler, '-o', '@OUTPUT@', '@INPUT@',
'--includedir', meson.current_build_dir(),
'--includedir', meson.current_source_dir(),
],
======================================================================
- Remember to compile in the realpath of the pkgsrc checkout,
initially I used my /work symlink which confused some of the
<include> paths vs "include".
Does that work for you too?
It's also worth mentioning for the record that LD_LIBRARY_PATH does in
fact still continue to function as expected on macOS 10.15, contrary
to claims earlier in this thread that only DYLD_* was supported.
--
Jonathan Perkin - Joyent, Inc. - www.joyent.com
- References:
- MacOS issues with devel/glibc2, devel/gobject-introspection, devel/pango
- Re: MacOS issues with devel/glibc2, devel/gobject-introspection, devel/pango
- Re: MacOS issues with devel/glibc2, devel/gobject-introspection, devel/pango
- Re: MacOS issues with devel/glibc2, devel/gobject-introspection, devel/pango
- Re: MacOS issues with devel/glibc2, devel/gobject-introspection, devel/pango
- Re: MacOS issues with devel/glibc2, devel/gobject-introspection, devel/pango
- Re: MacOS issues with devel/glibc2, devel/gobject-introspection, devel/pango
- Re: MacOS issues with devel/glibc2, devel/gobject-introspection, devel/pango
- Re: MacOS issues with devel/glibc2, devel/gobject-introspection, devel/pango
- Re: MacOS issues with devel/glibc2, devel/gobject-introspection, devel/pango
Home |
Main Index |
Thread Index |
Old Index