pkgsrc-Users archive

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

pkg_rolling-replace not usable for packages built with Ninja (on at least macOS) (was: fonts/harfbuzz: weird link failure on macOS 12.1)



At Mon, 21 Mar 2022 12:19:28 -0700, "Greg A. Woods" <woods%planix.ca@localhost> wrote:
Subject: Re: fonts/harfbuzz: weird link failure on macOS 12.1
>
> > 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.)

And just for good measure to show this problem is not harfbuzz-specific:

[140/151] Generating pango/Pango-1.0.gir with a custom command
FAILED: pango/Pango-1.0.gir
/opt/pkg/bin/g-ir-scanner --no-libtool --namespace=Pango --nsversion=1.0 --warn-all --output pango/Pango-1.0.gir --c-include=pango/pango.h --quiet -I/private/var/package-obj/root/devel/pango/work/pango-1.50.5/pango -I/private/var/package-obj/root/devel/pango/work/pango-1.50.5/output/pango -I/private/var/package-obj/root/devel/pango/work/pango-1.50.5/. -I/private/var/package-obj/root/devel/pango/work/pango-1.50.5/output/. -I/private/var/package-obj/root/devel/pango/work/pango-1.50.5/pango/. -I/private/var/package-obj/root/devel/pango/work/pango-1.50.5/output/pango/. --filelist=/private/var/package-obj/root/devel/pango/work/pango-1.50.5/output/pango/libpango-1.0.0.dylib.p/Pango_1.0_gir_filelist --include=HarfBuzz-0.0 --include=GObject-2.0 --include=cairo-1.0 --symbol-prefix=pango --identifier-prefix=Pango --pkg-export=pango --cflags-begin -D_POSIX_C_SOURCE=200809L -D_POSIX_THREAD_SAFE_FUNCTIONS -D_GNU_SOURCE -I/private/var/package-obj/root/devel/pango/work/pango-1.50.5/. -I/private/var
 /package-obj/root/devel/pango/work/pango-1.50.5/output/. -I/private/var/package-obj/root/devel/pango/work/pango-1.50.5/pango/. -I/private/var/package-obj/root/devel/pango/work/pango-1.50.5/output/pango/. -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/fribidi -DFRIBIDI_LIB_STATIC -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -D_REENTRANT -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/gobject-introspection-1.0 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -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/harfbuzz -DBIND_4_COMPAT=1 -DBIND_8_COMPAT=1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -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/harfbuzz --cflags-end --add-include-path=/opt/pkg/share/gir-1.0 -L/private/var/package-obj/root/devel/pango
 /work/pango-1.50.5/output/pango --library pango-1.0 -L/opt/pkg/lib -L/opt/pkg/lib --extra-library=m -L/opt/pkg/lib --extra-library=glib-2.0 --extra-library=intl --extra-library=iconv --extra-library=pcre --extra-library=gobject-2.0 --extra-library=ffi --extra-library=gio-2.0 --extra-library=resolv --extra-library=gmodule-2.0 --extra-library=z --extra-library=fribidi --extra-library=harfbuzz --extra-library=freetype --extra-library=bz2 --extra-library=fontconfig --extra-library=expat --extra-library=Xrender --extra-library=X11 --extra-library=xcb --extra-library=pthread --extra-library=Xau --extra-library=Xdmcp --extra-library=Xft --extra-library=cairo -L/usr/pkg/lib -L/usr/X11R7/lib --extra-library=pixman-1 --extra-library=png16 --extra-library=xcb-shm --extra-library=xcb-render --extra-library=Xext --extra-library=harfbuzz-gobject --extra-library=girepository-1.0 --sources-top-dirs /private/var/package-obj/root/devel/pango/work/pango-1.50.5/subprojects/ --sources-top-dirs /private/
 var/package-obj/root/devel/pango/work/pango-1.50.5/output/subprojects/
ld: warning: object file (/private/var/package-obj/root/devel/pango/work/pango-1.50.5/output/tmp-introspectvt7ph6wc/Pango-1.0.o) was built for newer macOS version (12.1) than being linked (12.0)
dyld[43456]: Symbol not found: _pango_baseline_shift_get_type
  Referenced from: /private/var/package-obj/root/devel/pango/work/pango-1.50.5/output/tmp-introspectvt7ph6wc/Pango-1.0
  Expected in: /opt/pkg/lib/libpango-1.0.0.dylib
Command '['/private/var/package-obj/root/devel/pango/work/pango-1.50.5/output/tmp-introspectvt7ph6wc/Pango-1.0', '--introspect-dump=/private/var/package-obj/root/devel/pango/work/pango-1.50.5/output/tmp-introspectvt7ph6wc/functions.txt,/private/var/package-obj/root/devel/pango/work/pango-1.50.5/output/tmp-introspectvt7ph6wc/dump.xml']' died with <Signals.SIGABRT: 6>.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
bmake[1]: stopped in /Volumes/work/pkgsrc/devel/pango

--
					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: pgp8SgJhtgqu_.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index