pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/55148: devel/glib2 fails build on darwin
>Number: 55148
>Category: pkg
>Synopsis: devel/glib2 fails build on darwin
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 06 19:45:00 +0000 2020
>Originator: scole_mail
>Release: pkgsrc-2020Q1
>Organization:
none
>Environment:
Darwin shamu.local 17.7.0 Darwin Kernel Version 17.7.0: Tue Feb 18 22:51:29 PST 2020; root:xnu-4570.71.73~1/RELEASE_X86_64 x86_64
>Description:
glib2 fails to build on mac os:
...
[647/1150] Generating plugin-resources.c with a custom command.
FAILED: gio/tests/plugin-resources.c
/Users/scole/pkgsrc/devel/glib2/work/.tools/bin/env LD_LIBRARY_PATH=gio:glib:gmodule:gobject /Users/scole/pkgsrc/devel/glib2/work/glib-2.64.1/output/gio/glib-compile-resources --target=gio/tests/plugin-resources.c --sourcedir=/Users/scole/pkgsrc/devel/glib2/work/glib-2.64.1/gio/tests --generate-source --c-name _g_plugin ../gio/tests/test4.gresource.xml
dyld: Library not loaded: @rpath/libgio-2.0.0.dylib
Referenced from: /Users/scole/pkgsrc/devel/glib2/work/glib-2.64.1/output/gio/glib-compile-resources
Reason: Incompatible library version: glib-compile-resources requires version 6401.0.0 or later, but libgio-2.0.0.dylib provides version 6001.0.0
ninja: build stopped: subcommand failed.
*** Error code 1
I think pkgsrc-2019Q4 has the same problem.
I got around it by down-grading to glib2-2.60.6 from pkgsrc-2019Q3 and changing
.include "../../devel/py-meson/build.mk"
to
.include "../../devel/meson/build.mk"
This old version seemed to work well enough for me to build and use modular-xorg-xquartz, but it'd be nice to have the up-to-date pkgsrc version of glib2 working.
>How-To-Repeat:
cd .../pkgsrc/devel/glib2 && bmake
>Fix:
Home |
Main Index |
Thread Index |
Old Index