DEBUG: Executing shell function do_compile
[1/45] TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native/usr/bin/python3-native/python3 ../sources/freetype-2.14.3/builds/meson/process_ftoption_h.py ../sources/freetype-2.14.3/builds/unix/ftconfig.h.in --output=ftconfig.h --enable=HAVE_UNISTD_H --enable=HAVE_FCNTL_H
[2/45] TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native/usr/bin/python3-native/python3 ../sources/freetype-2.14.3/builds/meson/parse_modules_cfg.py --format=ftmodule.h ../sources/freetype-2.14.3/modules.cfg --output ftmodule.h
[3/45] TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native/usr/bin/python3-native/python3 ../sources/freetype-2.14.3/builds/meson/process_ftoption_h.py ../sources/freetype-2.14.3/include/freetype/config/ftoption.h --output=ftoption.h --enable=FT_CONFIG_OPTION_USE_ZLIB --enable=FT_CONFIG_OPTION_SYSTEM_ZLIB --enable=FT_CONFIG_OPTION_USE_PNG --enable=FT_CONFIG_OPTION_USE_HARFBUZZ --enable=FT_CONFIG_OPTION_USE_HARFBUZZ_DYNAMIC
[4/45] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_base_ftinit.c.o -MF libfreetype.so.6.20.6.p/src_base_ftinit.c.o.d -o libfreetype.so.6.20.6.p/src_base_ftinit.c.o -c ../sources/freetype-2.14.3/src/base/ftinit.c
FAILED: [code=1] libfreetype.so.6.20.6.p/src_base_ftinit.c.o 
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_base_ftinit.c.o -MF libfreetype.so.6.20.6.p/src_base_ftinit.c.o.d -o libfreetype.so.6.20.6.p/src_base_ftinit.c.o -c ../sources/freetype-2.14.3/src/base/ftinit.c
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include/libpng16" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/freetype-2.14.3/include/freetype/config/ftstdlib.h:112,
                 from ./ftconfig.h:40,
                 from ../sources/freetype-2.14.3/src/base/ftinit.c:41:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' undeclared here (not in a function); did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
cc1: some warnings being treated as errors
[5/45] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_smooth_smooth.c.o -MF libfreetype.so.6.20.6.p/src_smooth_smooth.c.o.d -o libfreetype.so.6.20.6.p/src_smooth_smooth.c.o -c ../sources/freetype-2.14.3/src/smooth/smooth.c
FAILED: [code=1] libfreetype.so.6.20.6.p/src_smooth_smooth.c.o 
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_smooth_smooth.c.o -MF libfreetype.so.6.20.6.p/src_smooth_smooth.c.o.d -o libfreetype.so.6.20.6.p/src_smooth_smooth.c.o -c ../sources/freetype-2.14.3/src/smooth/smooth.c
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include/libpng16" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/freetype-2.14.3/include/freetype/config/ftstdlib.h:112,
                 from ./ftconfig.h:40,
                 from ../sources/freetype-2.14.3/src/smooth/ftgrays.c:278,
                 from ../sources/freetype-2.14.3/src/smooth/smooth.c:21:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' undeclared here (not in a function); did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
cc1: some warnings being treated as errors
[6/45] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_winfonts_winfnt.c.o -MF libfreetype.so.6.20.6.p/src_winfonts_winfnt.c.o.d -o libfreetype.so.6.20.6.p/src_winfonts_winfnt.c.o -c ../sources/freetype-2.14.3/src/winfonts/winfnt.c
FAILED: [code=1] libfreetype.so.6.20.6.p/src_winfonts_winfnt.c.o 
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_winfonts_winfnt.c.o -MF libfreetype.so.6.20.6.p/src_winfonts_winfnt.c.o.d -o libfreetype.so.6.20.6.p/src_winfonts_winfnt.c.o -c ../sources/freetype-2.14.3/src/winfonts/winfnt.c
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include/libpng16" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/freetype-2.14.3/include/freetype/config/ftstdlib.h:112,
                 from ./ftconfig.h:40,
                 from ../sources/freetype-2.14.3/include/freetype/freetype.h:24,
                 from ../sources/freetype-2.14.3/include/freetype/ftwinfnt.h:22,
                 from ../sources/freetype-2.14.3/src/winfonts/winfnt.c:21:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' undeclared here (not in a function); did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
cc1: some warnings being treated as errors
[7/45] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_bdf_bdf.c.o -MF libfreetype.so.6.20.6.p/src_bdf_bdf.c.o.d -o libfreetype.so.6.20.6.p/src_bdf_bdf.c.o -c ../sources/freetype-2.14.3/src/bdf/bdf.c
FAILED: [code=1] libfreetype.so.6.20.6.p/src_bdf_bdf.c.o 
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_bdf_bdf.c.o -MF libfreetype.so.6.20.6.p/src_bdf_bdf.c.o.d -o libfreetype.so.6.20.6.p/src_bdf_bdf.c.o -c ../sources/freetype-2.14.3/src/bdf/bdf.c
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include/libpng16" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/freetype-2.14.3/include/freetype/config/ftstdlib.h:112,
                 from ./ftconfig.h:40,
                 from ../sources/freetype-2.14.3/include/freetype/freetype.h:24,
                 from ../sources/freetype-2.14.3/src/bdf/bdflib.c:35,
                 from ../sources/freetype-2.14.3/src/bdf/bdf.c:30:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' undeclared here (not in a function); did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
cc1: some warnings being treated as errors
[8/45] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_cid_type1cid.c.o -MF libfreetype.so.6.20.6.p/src_cid_type1cid.c.o.d -o libfreetype.so.6.20.6.p/src_cid_type1cid.c.o -c ../sources/freetype-2.14.3/src/cid/type1cid.c
FAILED: [code=1] libfreetype.so.6.20.6.p/src_cid_type1cid.c.o 
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_cid_type1cid.c.o -MF libfreetype.so.6.20.6.p/src_cid_type1cid.c.o.d -o libfreetype.so.6.20.6.p/src_cid_type1cid.c.o -c ../sources/freetype-2.14.3/src/cid/type1cid.c
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include/libpng16" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/freetype-2.14.3/include/freetype/config/ftstdlib.h:112,
                 from ./ftconfig.h:40,
                 from ../sources/freetype-2.14.3/include/freetype/freetype.h:24,
                 from ../sources/freetype-2.14.3/include/freetype/ftmodapi.h:23,
                 from ../sources/freetype-2.14.3/include/freetype/ftrender.h:23,
                 from ../sources/freetype-2.14.3/include/freetype/internal/ftobjs.h:29,
                 from ../sources/freetype-2.14.3/include/freetype/internal/ftstream.h:25,
                 from ../sources/freetype-2.14.3/src/cid/cidload.h:23,
                 from ../sources/freetype-2.14.3/src/cid/cidgload.c:19,
                 from ../sources/freetype-2.14.3/src/cid/type1cid.c:21:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' undeclared here (not in a function); did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
cc1: some warnings being treated as errors
[9/45] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_pcf_pcf.c.o -MF libfreetype.so.6.20.6.p/src_pcf_pcf.c.o.d -o libfreetype.so.6.20.6.p/src_pcf_pcf.c.o -c ../sources/freetype-2.14.3/src/pcf/pcf.c
FAILED: [code=1] libfreetype.so.6.20.6.p/src_pcf_pcf.c.o 
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_pcf_pcf.c.o -MF libfreetype.so.6.20.6.p/src_pcf_pcf.c.o.d -o libfreetype.so.6.20.6.p/src_pcf_pcf.c.o -c ../sources/freetype-2.14.3/src/pcf/pcf.c
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include/libpng16" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/freetype-2.14.3/include/freetype/config/ftstdlib.h:112,
                 from ./ftconfig.h:40,
                 from ../sources/freetype-2.14.3/include/freetype/internal/ftdebug.h:29,
                 from ../sources/freetype-2.14.3/src/pcf/pcfdrivr.c:29,
                 from ../sources/freetype-2.14.3/src/pcf/pcf.c:30:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' undeclared here (not in a function); did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
cc1: some warnings being treated as errors
[10/45] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_pshinter_pshinter.c.o -MF libfreetype.so.6.20.6.p/src_pshinter_pshinter.c.o.d -o libfreetype.so.6.20.6.p/src_pshinter_pshinter.c.o -c ../sources/freetype-2.14.3/src/pshinter/pshinter.c
FAILED: [code=1] libfreetype.so.6.20.6.p/src_pshinter_pshinter.c.o 
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_pshinter_pshinter.c.o -MF libfreetype.so.6.20.6.p/src_pshinter_pshinter.c.o.d -o libfreetype.so.6.20.6.p/src_pshinter_pshinter.c.o -c ../sources/freetype-2.14.3/src/pshinter/pshinter.c
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include/libpng16" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/freetype-2.14.3/include/freetype/config/ftstdlib.h:112,
                 from ./ftconfig.h:40,
                 from ../sources/freetype-2.14.3/include/freetype/freetype.h:24,
                 from ../sources/freetype-2.14.3/include/freetype/ftmodapi.h:23,
                 from ../sources/freetype-2.14.3/include/freetype/ftrender.h:23,
                 from ../sources/freetype-2.14.3/include/freetype/internal/ftobjs.h:29,
                 from ../sources/freetype-2.14.3/src/pshinter/pshalgo.c:19,
                 from ../sources/freetype-2.14.3/src/pshinter/pshinter.c:21:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' undeclared here (not in a function); did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
cc1: some warnings being treated as errors
[11/45] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_raster_raster.c.o -MF libfreetype.so.6.20.6.p/src_raster_raster.c.o.d -o libfreetype.so.6.20.6.p/src_raster_raster.c.o -c ../sources/freetype-2.14.3/src/raster/raster.c
FAILED: [code=1] libfreetype.so.6.20.6.p/src_raster_raster.c.o 
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_raster_raster.c.o -MF libfreetype.so.6.20.6.p/src_raster_raster.c.o.d -o libfreetype.so.6.20.6.p/src_raster_raster.c.o -c ../sources/freetype-2.14.3/src/raster/raster.c
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include/libpng16" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/freetype-2.14.3/include/freetype/config/ftstdlib.h:112,
                 from ./ftconfig.h:40,
                 from ../sources/freetype-2.14.3/src/raster/ftraster.h:24,
                 from ../sources/freetype-2.14.3/src/raster/ftraster.c:65,
                 from ../sources/freetype-2.14.3/src/raster/raster.c:21:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' undeclared here (not in a function); did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
cc1: some warnings being treated as errors
[12/45] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_pfr_pfr.c.o -MF libfreetype.so.6.20.6.p/src_pfr_pfr.c.o.d -o libfreetype.so.6.20.6.p/src_pfr_pfr.c.o -c ../sources/freetype-2.14.3/src/pfr/pfr.c
FAILED: [code=1] libfreetype.so.6.20.6.p/src_pfr_pfr.c.o 
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_pfr_pfr.c.o -MF libfreetype.so.6.20.6.p/src_pfr_pfr.c.o.d -o libfreetype.so.6.20.6.p/src_pfr_pfr.c.o -c ../sources/freetype-2.14.3/src/pfr/pfr.c
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include/libpng16" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/freetype-2.14.3/include/freetype/config/ftstdlib.h:112,
                 from ./ftconfig.h:40,
                 from ../sources/freetype-2.14.3/include/freetype/internal/ftdebug.h:29,
                 from ../sources/freetype-2.14.3/src/pfr/pfrcmap.c:19,
                 from ../sources/freetype-2.14.3/src/pfr/pfr.c:21:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' undeclared here (not in a function); did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
cc1: some warnings being treated as errors
[13/45] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_type42_type42.c.o -MF libfreetype.so.6.20.6.p/src_type42_type42.c.o.d -o libfreetype.so.6.20.6.p/src_type42_type42.c.o -c ../sources/freetype-2.14.3/src/type42/type42.c
FAILED: [code=1] libfreetype.so.6.20.6.p/src_type42_type42.c.o 
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_type42_type42.c.o -MF libfreetype.so.6.20.6.p/src_type42_type42.c.o.d -o libfreetype.so.6.20.6.p/src_type42_type42.c.o -c ../sources/freetype-2.14.3/src/type42/type42.c
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include/libpng16" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/freetype-2.14.3/include/freetype/config/ftstdlib.h:112,
                 from ./ftconfig.h:40,
                 from ../sources/freetype-2.14.3/include/freetype/freetype.h:24,
                 from ../sources/freetype-2.14.3/include/freetype/ftmodapi.h:23,
                 from ../sources/freetype-2.14.3/include/freetype/internal/ftdrv.h:23,
                 from ../sources/freetype-2.14.3/src/type42/t42drivr.h:23,
                 from ../sources/freetype-2.14.3/src/type42/t42drivr.c:39,
                 from ../sources/freetype-2.14.3/src/type42/type42.c:21:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' undeclared here (not in a function); did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
cc1: some warnings being treated as errors
[14/45] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_type1_type1.c.o -MF libfreetype.so.6.20.6.p/src_type1_type1.c.o.d -o libfreetype.so.6.20.6.p/src_type1_type1.c.o -c ../sources/freetype-2.14.3/src/type1/type1.c
FAILED: [code=1] libfreetype.so.6.20.6.p/src_type1_type1.c.o 
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_type1_type1.c.o -MF libfreetype.so.6.20.6.p/src_type1_type1.c.o.d -o libfreetype.so.6.20.6.p/src_type1_type1.c.o -c ../sources/freetype-2.14.3/src/type1/type1.c
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include/libpng16" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/freetype-2.14.3/include/freetype/config/ftstdlib.h:112,
                 from ./ftconfig.h:40,
                 from ../sources/freetype-2.14.3/include/freetype/freetype.h:24,
                 from ../sources/freetype-2.14.3/include/freetype/ftmodapi.h:23,
                 from ../sources/freetype-2.14.3/include/freetype/ftrender.h:23,
                 from ../sources/freetype-2.14.3/include/freetype/internal/ftobjs.h:29,
                 from ../sources/freetype-2.14.3/src/type1/t1objs.h:24,
                 from ../sources/freetype-2.14.3/src/type1/t1afm.h:22,
                 from ../sources/freetype-2.14.3/src/type1/t1afm.c:19,
                 from ../sources/freetype-2.14.3/src/type1/type1.c:21:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' undeclared here (not in a function); did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
cc1: some warnings being treated as errors
[15/45] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_cff_cff.c.o -MF libfreetype.so.6.20.6.p/src_cff_cff.c.o.d -o libfreetype.so.6.20.6.p/src_cff_cff.c.o -c ../sources/freetype-2.14.3/src/cff/cff.c
FAILED: [code=1] libfreetype.so.6.20.6.p/src_cff_cff.c.o 
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_cff_cff.c.o -MF libfreetype.so.6.20.6.p/src_cff_cff.c.o.d -o libfreetype.so.6.20.6.p/src_cff_cff.c.o -c ../sources/freetype-2.14.3/src/cff/cff.c
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include/libpng16" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/freetype-2.14.3/include/freetype/config/ftstdlib.h:112,
                 from ./ftconfig.h:40,
                 from ../sources/freetype-2.14.3/include/freetype/internal/ftdebug.h:29,
                 from ../sources/freetype-2.14.3/src/cff/cffcmap.c:19,
                 from ../sources/freetype-2.14.3/src/cff/cff.c:21:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' undeclared here (not in a function); did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
cc1: some warnings being treated as errors
[16/45] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_truetype_truetype.c.o -MF libfreetype.so.6.20.6.p/src_truetype_truetype.c.o.d -o libfreetype.so.6.20.6.p/src_truetype_truetype.c.o -c ../sources/freetype-2.14.3/src/truetype/truetype.c
FAILED: [code=1] libfreetype.so.6.20.6.p/src_truetype_truetype.c.o 
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_truetype_truetype.c.o -MF libfreetype.so.6.20.6.p/src_truetype_truetype.c.o.d -o libfreetype.so.6.20.6.p/src_truetype_truetype.c.o -c ../sources/freetype-2.14.3/src/truetype/truetype.c
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include/libpng16" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/freetype-2.14.3/include/freetype/config/ftstdlib.h:112,
                 from ./ftconfig.h:40,
                 from ../sources/freetype-2.14.3/include/freetype/internal/ftdebug.h:29,
                 from ../sources/freetype-2.14.3/src/truetype/ttdriver.c:19,
                 from ../sources/freetype-2.14.3/src/truetype/truetype.c:21:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' undeclared here (not in a function); did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
cc1: some warnings being treated as errors
[17/45] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_base_ftbase.c.o -MF libfreetype.so.6.20.6.p/src_base_ftbase.c.o.d -o libfreetype.so.6.20.6.p/src_base_ftbase.c.o -c ../sources/freetype-2.14.3/src/base/ftbase.c
FAILED: [code=1] libfreetype.so.6.20.6.p/src_base_ftbase.c.o 
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_base_ftbase.c.o -MF libfreetype.so.6.20.6.p/src_base_ftbase.c.o.d -o libfreetype.so.6.20.6.p/src_base_ftbase.c.o -c ../sources/freetype-2.14.3/src/base/ftbase.c
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include/libpng16" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/freetype-2.14.3/include/freetype/config/ftstdlib.h:112,
                 from ./ftconfig.h:40,
                 from ../sources/freetype-2.14.3/include/freetype/internal/ftdebug.h:29,
                 from ../sources/freetype-2.14.3/src/base/ftadvanc.c:19,
                 from ../sources/freetype-2.14.3/src/base/ftbase.c:21:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' undeclared here (not in a function); did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
cc1: some warnings being treated as errors
[18/45] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_autofit_autofit.c.o -MF libfreetype.so.6.20.6.p/src_autofit_autofit.c.o.d -o libfreetype.so.6.20.6.p/src_autofit_autofit.c.o -c ../sources/freetype-2.14.3/src/autofit/autofit.c
FAILED: [code=1] libfreetype.so.6.20.6.p/src_autofit_autofit.c.o 
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_autofit_autofit.c.o -MF libfreetype.so.6.20.6.p/src_autofit_autofit.c.o.d -o libfreetype.so.6.20.6.p/src_autofit_autofit.c.o -c ../sources/freetype-2.14.3/src/autofit/autofit.c
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include/libpng16" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/freetype-2.14.3/include/freetype/config/ftstdlib.h:112,
                 from ./ftconfig.h:40,
                 from ../sources/freetype-2.14.3/include/freetype/freetype.h:24,
                 from ../sources/freetype-2.14.3/src/autofit/ft-hb.c:23,
                 from ../sources/freetype-2.14.3/src/autofit/autofit.c:21:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' undeclared here (not in a function); did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
cc1: some warnings being treated as errors
[19/45] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_sfnt_sfnt.c.o -MF libfreetype.so.6.20.6.p/src_sfnt_sfnt.c.o.d -o libfreetype.so.6.20.6.p/src_sfnt_sfnt.c.o -c ../sources/freetype-2.14.3/src/sfnt/sfnt.c
FAILED: [code=1] libfreetype.so.6.20.6.p/src_sfnt_sfnt.c.o 
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot -Ilibfreetype.so.6.20.6.p -I. -I../sources/freetype-2.14.3 -I../sources/freetype-2.14.3/include -I/usr/include -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/sources/freetype-2.14.3=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/build=/usr/src/debug/freetype/2.14.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/freetype/2.14.3/recipe-sysroot-native= -pipe -fPIC '-DFT_CONFIG_MODULES_H=<ftmodule.h>' -DFT2_BUILD_LIBRARY=1 '-DFT_CONFIG_OPTIONS_H=<ftoption.h>' '-DFT_CONFIG_CONFIG_H=<ftconfig.h>' -MD -MQ libfreetype.so.6.20.6.p/src_sfnt_sfnt.c.o -MF libfreetype.so.6.20.6.p/src_sfnt_sfnt.c.o.d -o libfreetype.so.6.20.6.p/src_sfnt_sfnt.c.o -c ../sources/freetype-2.14.3/src/sfnt/sfnt.c
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include/libpng16" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/freetype-2.14.3/include/freetype/config/ftstdlib.h:112,
                 from ./ftconfig.h:40,
                 from ../sources/freetype-2.14.3/include/freetype/internal/ftdebug.h:29,
                 from ../sources/freetype-2.14.3/src/sfnt/pngshim.c:20,
                 from ../sources/freetype-2.14.3/src/sfnt/sfnt.c:21:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' undeclared here (not in a function); did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
WARNING: exit code 1 from a shell command.

Error details

Submitted on:
11/07/26 18:51
Error type:
Recipe
Task:
do_compile
Recipe:
freetype
Recipe version:
2.14.3-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
debian-12/debian-12
Branch:
yoe/mut
Commit:
978615ce96b14afb4cf0b6d77fa088fbebc1a5fc
Build:
#242372
Submitter:
yp-ab-debian12-vk-5
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/81/builds/1622
Similar errors:
0
Open a bug