pkgsrc-Bugs archive

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

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



>  I tried on 10.99.12 and 10.1 (but x86_64) and can't reproduce this.
>
>  Take a look at your
>  work/harfbuzz-11.1.0/output/meson-logs/meson-log.txt and look for the
>  freetype2 detection section. On 10.99.12 I see:

Thanks for the helpful hints.

My meson-log.txt contains:

Called: `/usr/pkgsrc/fonts/harfbuzz/work/.tools/bin/pkg-config --cflags freetype2` -> 1
stderr:
Package libbrotlidec was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbrotlidec.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libbrotlidec', required by 'freetype2', not found
-----------
Pkg-config error with 'freetype2': Could not generate cflags for freetype2:
Package libbrotlidec was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbrotlidec.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libbrotlidec', required by 'freetype2', not found

Run-time dependency freetype2 found: NO (tried pkgconfig)

Hm.   In graphics/freetype2/buildlink3.mk I find

.if ${PKG_BUILD_OPTIONS.freetype2:Mbrotli}
.include "../../archivers/brotli/buildlink3.mk"
.endif

and its freetype2's options.mk contains

PKG_OPTIONS_VAR=        PKG_OPTIONS.freetype2
PKG_SUPPORTED_OPTIONS=  brotli png
PKG_SUGGESTED_OPTIONS=  brotli png

.include "../../mk/bsd.options.mk"

and when I in graphics/freetype2 do:

ambrosia: {230} pwd
/usr/pkgsrc/graphics/freetype2
ambrosia: {231} make show-var VARNAME=PKG_OPTIONS
brotli png
ambrosia: {232} 

However, over in harfbuzz, I don't see the corresponding setting:

ambrosia: {234} pwd
/usr/pkgsrc/fonts/harfbuzz
ambrosia: {235} make show-var VARNAME=PKG_BUILD_OPTIONS.freetype2
png
ambrosia: {236} 

Where did the brotli option go?

My /etc/mk.conf does not set any package options.

And just to make sure we're not looking at in-tree freetype2:

ambrosia: {248} pwd
/usr/pkgsrc/fonts/harfbuzz
ambrosia: {249} make show-var VARNAME=USE_BUILTIN.freetype2
no
ambrosia: {250} 


So now I'm confused at a different level...


Regards,

- Håvard


Home | Main Index | Thread Index | Old Index