Bug#912563: meson FTBFS with llvm/clang 7
Control: retitle -1 libwmf-config --cflags no longer includes required freetype2 flags
On Thu, Nov 01, 2018 at 12:35:55PM +0100, Sylvestre Ledru wrote:
> Package: meson
> Severity: important
>
> Dear Maintainer,
>
> We updated llvm-defaults to llvm-toolchain-7.
>
> Not sure it is related to the llvm-7 transition:
> cc -Ilibwmf_prog@exe -I. '-I../test cases/frameworks/21 libwmf' -I/usr/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g\
> -g -O2 -fdebug-prefix-map=/build/meson-0.48.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ 'libwmf_p\
> rog@exe/libwmf_prog.c.o' -MF 'libwmf_prog@exe/libwmf_prog.c.o.d' -o 'libwmf_prog@exe/libwmf_prog.c.o' -c '../test cases/frameworks/21 libwmf/libwmf_prog.c'
> In file included from /usr/include/libwmf/api.h:25,
> from ../test cases/frameworks/21 libwmf/libwmf_prog.c:1:
> /usr/include/libwmf/types.h:26:10: fatal error: ft2build.h: No such file or directory
> #include <ft2build.h>
> ^~~~~~~~~~~~
Hilko, this is likely caused by your QA upload of libwmf:
$ libwmf-config --cflags
-I/usr/include
$
Works in stable:
$ libwmf-config --cflags
-I/usr/include/freetype2 -I/usr/include
$
> Cheers,
> Sylvestre
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
Reply to: