pkgsrc-Bugs archive

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

pkg/59338: fonts/harfbuzz 11.0.1 fails to build & install on NetBSD/macppc 10.1



>Number:         59338
>Category:       pkg
>Synopsis:       fonts/harfbuzz 11.0.1 fails to build & install on NetBSD/macppc 10.1
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 21 10:45:00 +0000 2025
>Originator:     Havard Eidnes
>Release:        NetBSD 10.1
>Organization:
I Try...
>Environment:
System: NetBSD ambrosia.urc.uninett.no 10.1 NetBSD 10.1 (AMBROSIA) #1: Sat Apr 12 10:15:28 CEST 2025  he%ambrosia.urc.uninett.no@localhost:/usr/obj/sys/arch/macppc/compile/AMBROSIA macppc
Architecture: powerpc
Machine: macppc
>Description:
	The build of fonts/harfbuzz apparently fails to find fontconfig2,
	and therefore fails to install an expected file, so installing fails:

=> Generating post-install file lists
pkg_create: can't stat `/usr/pkgsrc/fonts/harfbuzz/work/.destdir/usr/pkg/include/harfbuzz/hb-ft.h'
=> Checking file-check results for harfbuzz-11.0.1
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkgsrc/fonts/harfbuzz/work/.destdir/usr/pkg:
ERROR:         /usr/pkgsrc/fonts/harfbuzz/work/.destdir/usr/pkg/include/harfbuzz/hb-ft.h
*** Error code 1

	The failure to find freetype2 appears earlier in the
	configuration phase:

Compiler for C++ supports arguments -fvisibility-inlines-hidden: YES 
Library m found: YES
meson.build:113: WARNING: Project targets '>= 0.55.0' but uses feature introduced in '0.56.0': allow_fallback arg in dependency.
Found pkg-config: YES (/usr/pkgsrc/fonts/harfbuzz/work/.tools/bin/pkg-config) 2.3.0
Run-time dependency freetype2 found: NO (tried pkgconfig)
meson.build:120: WARNING: Project targets '>= 0.55.0' but uses feature introduced in '0.56.0': allow_fallback arg in dependency.
WARNING: Found CMake '/usr/pkgsrc/fonts/harfbuzz/work/.tools/bin/false' but couldn't run it
Found CMake: NO
Run-time dependency freetype found: NO (tried cmake)
Automatic wrap-based subproject downloading is disabled
Subproject freetype2 is buildable: NO (disabling)
Run-time dependency glib-2.0 found: YES 2.80.4

	cmake-3.30.3 is installed (but is apparently not a
	tool dependency for the package).

	However, how the configury machinery detected "false" as
	"cmake" is beyond me, I find no file or link in the work
	tree called "cmake".

	I've never debugged this type of configure setup, so have
	no idea where to even start, e.g. getting at the command
	outputs after the fact appears to be somewhere between
	"difficult" and "impossible".

	It might look that the configury setup first tries to use
	pkg-config, and that it fails to find freetype2 for some
	unknown reason, and then tries cmake detection (fails /
	not buildlinked tool), and then concludes that freetype2
	is not there.

	The printout of the pkg dependencies looks like this:

=> Tool dependency gtk-doc>=1.32nb9: found gtk-doc-1.34.0nb1
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.80.4
=> Tool dependency meson>=1.2.0: found meson-1.7.2nb1
=> Tool dependency python312>=3.12: found python312-3.12.6
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gobject-introspection>=1.76.1nb1: found gobject-introspection-1.80.1nb3
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.3
=> Full dependency glib2>=2.76.4nb1: found glib2-2.80.4
=> Full dependency graphite2>=1.3.14nb2: found graphite2-1.3.14nb3
===> Checking for vulnerabilities in harfbuzz-11.0.1

>How-To-Repeat:
	Try to build pkgsrc-current fonts/harfbuzz/ on NetBSD/macppc 10.1.
>Fix:
	Please help...



Home | Main Index | Thread Index | Old Index