pkgsrc-Users archive

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

fonts/harfbuzz: weird link failure on macOS 12.1



I'm seeing this weird link failure on macOS 12.1 (with Xcode 13.3,
python39, and ninja-1.10.2).

(The warning about macOS versions is weird too!)

The most weird part is that it's expecting to find this missing symbol
in an already _previously_ installed library!

The symbol is found in the newly built version of that same library:

# nm ./output/src/libharfbuzz-gobject.0.dylib | fgrep hb_gobject_draw_funcs_get_type
00000000000180d0 b __ZZ30hb_gobject_draw_funcs_get_typeE7type_id
00000000000056d0 T _hb_gobject_draw_funcs_get_type

Perhaps ninja isn't safe to use outside a chroot, or at least without
first removing the target package?  (This is from during a
pkg_rolling-replace run.)

Anyone having a similar success or failure on macOS 12.x?

g-ir-scanner: link: clang -o /private/var/package-obj/root/fonts/harfbuzz/work/harfbuzz-4.0.1/output/tmp-introspect7vwbwa_o/HarfBuzz-0.0 -DBIND_4_COMPAT=1 -DBIND_8_COMPAT=1 -I/opt/pkg/include -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/freetype2 -I/opt/pkg/include -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/freetype2 /private/var/package-obj/root/fonts/harfbuzz/work/harfbuzz-4.0.1/output/tmp-introspect7vwbwa_o/HarfBuzz-0.0.o -L. -Wl,-rpath,. -L/private/var/package-obj/root/fonts/harfbuzz/work/harfbuzz-4.0.1/output/src -Wl,-rpath,/private/var/package-obj/root/fonts/harfbuzz/work/harfbuzz-4.0.1/output/src -L/opt/pkg/lib -Wl,-rpath,/opt/pkg/lib -L/private/var/package-obj/root/fonts/harfbuzz/work/harfbuzz-4.0.1/output/src -Wl,-rpath,/private/var/package-obj/root/fonts/harfbuzz/work/harfbuzz-4.0.1/output/src -L/private/var/package-obj/root/fonts/harfbuzz/wo
 rk/harfbuzz-4.0.1/output/src -Wl,-rpath,/private/var/package-obj/root/fonts/harfbuzz/work/harfbuzz-4.0.1/output/src -L/opt/pkg/lib -Wl,-rpath,/opt/pkg/lib -L/opt/pkg/lib -Wl,-rpath,/opt/pkg/lib -L/opt/pkg/lib -Wl,-rpath,/opt/pkg/lib -lharfbuzz-gobject -lharfbuzz -lglib-2.0 -lintl -liconv -lm -lpcre -lgobject-2.0 -lffi -lfreetype -lbz2 -lz -lgirepository-1.0 -L/opt/pkg/lib -lgio-2.0 -Wl,-framework,CoreFoundation -Wl,-framework,Carbon -lintl -lresolv -lintl -Wl,-framework,CoreFoundation -Wl,-framework,Carbon -liconv -lm -L/opt/pkg/lib -lpcre -lgobject-2.0 -lglib-2.0 -lintl -Wl,-framework,CoreFoundation -Wl,-framework,Carbon -liconv -lm -L/opt/pkg/lib -lpcre -L/opt/pkg/lib -lffi -L/opt/pkg/lib -lintl -L/opt/pkg/lib -lintl -Wl,-framework,CoreFoundation -Wl,-framework,Carbon -liconv -lm -L/opt/pkg/lib -lpcre -lz -lgmodule-2.0 -Wl,-framework,CoreFoundation -Wl,-framework,Carbon -liconv -lm -L/opt/pkg/lib -lpcre -lglib-2.0 -lintl -Wl,-framework,CoreFoundation -Wl,-framework,Carbon -liconv 
 -lm -L/opt/pkg/lib -lpcre -L/opt/pkg/lib
ld: warning: object file (/private/var/package-obj/root/fonts/harfbuzz/work/harfbuzz-4.0.1/output/tmp-introspect7vwbwa_o/HarfBuzz-0.0.o) was built for newer macOS version (12.1) than being linked (12.0)
dyld[24908]: Symbol not found: _hb_gobject_draw_funcs_get_type
  Referenced from: /private/var/package-obj/root/fonts/harfbuzz/work/harfbuzz-4.0.1/output/tmp-introspect7vwbwa_o/HarfBuzz-0.0
  Expected in: /opt/pkg/lib/libharfbuzz-gobject.0.dylib
Command '['/private/var/package-obj/root/fonts/harfbuzz/work/harfbuzz-4.0.1/output/tmp-introspect7vwbwa_o/HarfBuzz-0.0', '--introspect-dump=/private/var/package-obj/root/fonts/harfbuzz/work/harfbuzz-4.0.1/output/tmp-introspect7vwbwa_o/functions.txt,/private/var/package-obj/root/fonts/harfbuzz/work/harfbuzz-4.0.1/output/tmp-introspect7vwbwa_o/dump.xml']' died with <Signals.SIGABRT: 6>.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
bmake[1]: stopped in /Volumes/work/pkgsrc/fonts/harfbuzz

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpnf3U2JICn1.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index