tech-pkg archive

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

Building print/lilypond on MacOS (x86_64)


With the recent release of MacOS version 10.15 (Catalina), support is dropped for 32-bit applications. For my current situation, this only affects one critical application: LilyPond.

Since the LilyPond developers have not yet released a 64-bit MacOS version, I'd like to try and get it working with pkgsrc. I don't think any of the other popular package managers have this right yet.

I'm using MacOS Mojave 10.14 and Xcode 11.2 with pkgsrc-2019Q3.

The first point of failure is with devel/gobject-introspection. It seems to not have symbols for x86_64:

Undefined symbols for architecture x86_64:
  "_g_desktop_app_info_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in Gio-2.0.o
  "_g_desktop_app_info_lookup_get_type", referenced from:
      _GI_GET_TYPE_FUNCS_ in Gio-2.0.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation) linking of temporary binary failed: Command '['cc', '-o', '/opt/pkgobj/devel/gobject-introspection/work/gobject-introspection-1.60.2/output/tmp-introspectql8vq9z3/Gio-2.0', '-I/opt/pkg/include/glib-2.0', '-I/opt/pkg/include/gio-unix-2.0', '-I/opt/pkg/lib/glib-2.0/include', '-I/opt/pkg/include', '-I/opt/pkg/include/python3.7', '-O2', '-I/opt/pkg/include/glib-2.0', '-I/opt/pkg/include/gio-unix-2.0', '-I/opt/pkg/lib/glib-2.0/include', '-I/opt/pkg/include', '-I/opt/pkg/include/python3.7', '/opt/pkgobj/devel/gobject-introspection/work/gobject-introspection-1.60.2/output/tmp-introspectql8vq9z3/Gio-2.0.o', '-L/opt/pkg/lib', '-lgmodule-2.0', '-lgio-2.0', '-lgobject-2.0', '-lintl', '-lglib-2.0', '-lgio-2.0', '-L/opt/pkg/lib', '-L/usr/lib']' returned non-zero exit status 1.
ninja: build stopped: subcommand failed.
*** Error code 1

bmake[4]: stopped in /zabrico/pkgsrc/devel/gobject-introspection
*** Error code 1

I'm certain this is only the first of many hurdles. Any help would be fantastic. Thanks,


Home | Main Index | Thread Index | Old Index