DEBUG: Executing shell function do_compile
[1/19] x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ plocate.p/complete_pread.cpp.o -MF plocate.p/complete_pread.cpp.o.d -o plocate.p/complete_pread.cpp.o -c ../sources/plocate-1.1.24/complete_pread.cpp
FAILED: [code=1] plocate.p/complete_pread.cpp.o
x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ plocate.p/complete_pread.cpp.o -MF plocate.p/complete_pread.cpp.o.d -o plocate.p/complete_pread.cpp.o -c ../sources/plocate-1.1.24/complete_pread.cpp
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/plocate-1.1.24/complete_pread.cpp:2:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' was not declared in this scope
205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' was not declared in this scope; did you mean 'tmpnam'?
210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
| tmpnam
cc1plus: some warnings being treated as errors
[2/19] x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ plocate.p/needle.cpp.o -MF plocate.p/needle.cpp.o.d -o plocate.p/needle.cpp.o -c ../sources/plocate-1.1.24/needle.cpp
FAILED: [code=1] plocate.p/needle.cpp.o
x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ plocate.p/needle.cpp.o -MF plocate.p/needle.cpp.o.d -o plocate.p/needle.cpp.o -c ../sources/plocate-1.1.24/needle.cpp
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/cstdio:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/string_conversions.h:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/basic_string.h:4499,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/string:58,
from ../sources/plocate-1.1.24/needle.h:5,
from ../sources/plocate-1.1.24/needle.cpp:1:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' was not declared in this scope
205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' was not declared in this scope; did you mean 'tmpnam'?
210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
| tmpnam
cc1plus: some warnings being treated as errors
[3/19] x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iupdatedb.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ updatedb.p/lib.cpp.o -MF updatedb.p/lib.cpp.o.d -o updatedb.p/lib.cpp.o -c ../sources/plocate-1.1.24/lib.cpp
FAILED: [code=1] updatedb.p/lib.cpp.o
x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iupdatedb.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ updatedb.p/lib.cpp.o -MF updatedb.p/lib.cpp.o.d -o updatedb.p/lib.cpp.o -c ../sources/plocate-1.1.24/lib.cpp
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/plocate-1.1.24/lib.h:28,
from ../sources/plocate-1.1.24/lib.cpp:23:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' was not declared in this scope
205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' was not declared in this scope; did you mean 'tmpnam'?
210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
| tmpnam
cc1plus: some warnings being treated as errors
[4/19] x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iupdatedb.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ updatedb.p/conf.cpp.o -MF updatedb.p/conf.cpp.o.d -o updatedb.p/conf.cpp.o -c ../sources/plocate-1.1.24/conf.cpp
FAILED: [code=1] updatedb.p/conf.cpp.o
x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iupdatedb.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ updatedb.p/conf.cpp.o -MF updatedb.p/conf.cpp.o.d -o updatedb.p/conf.cpp.o -c ../sources/plocate-1.1.24/conf.cpp
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/cstdio:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/string_conversions.h:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/basic_string.h:4499,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/string:58,
from ../sources/plocate-1.1.24/conf.h:27,
from ../sources/plocate-1.1.24/conf.cpp:23:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' was not declared in this scope
205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' was not declared in this scope; did you mean 'tmpnam'?
210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
| tmpnam
cc1plus: some warnings being treated as errors
[5/19] x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ plocate.p/serializer.cpp.o -MF plocate.p/serializer.cpp.o.d -o plocate.p/serializer.cpp.o -c ../sources/plocate-1.1.24/serializer.cpp
FAILED: [code=1] plocate.p/serializer.cpp.o
x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ plocate.p/serializer.cpp.o -MF plocate.p/serializer.cpp.o.d -o plocate.p/serializer.cpp.o -c ../sources/plocate-1.1.24/serializer.cpp
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/cstdio:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/string_conversions.h:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/basic_string.h:4499,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/string:58,
from ../sources/plocate-1.1.24/serializer.h:9,
from ../sources/plocate-1.1.24/serializer.cpp:1:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' was not declared in this scope
205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' was not declared in this scope; did you mean 'tmpnam'?
210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
| tmpnam
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/x86_64-poky-linux/bits/gthr-default.h:35,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/x86_64-poky-linux/bits/gthr.h:157,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/atomicity.h:37,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/shared_ptr_base.h:61,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/shared_ptr.h:53,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/memory:82,
from ../sources/plocate-1.1.24/serializer.cpp:7:
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/concurrence.h:257:32: error: cannot convert '<brace-enclosed initializer list>' to 'unsigned int' in initialization
257 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
[6/19] x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ plocate.p/parse_trigrams.cpp.o -MF plocate.p/parse_trigrams.cpp.o.d -o plocate.p/parse_trigrams.cpp.o -c ../sources/plocate-1.1.24/parse_trigrams.cpp
FAILED: [code=1] plocate.p/parse_trigrams.cpp.o
x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ plocate.p/parse_trigrams.cpp.o -MF plocate.p/parse_trigrams.cpp.o.d -o plocate.p/parse_trigrams.cpp.o -c ../sources/plocate-1.1.24/parse_trigrams.cpp
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/cstdio:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/string_conversions.h:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/basic_string.h:4499,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/string:58,
from ../sources/plocate-1.1.24/parse_trigrams.h:7,
from ../sources/plocate-1.1.24/parse_trigrams.cpp:1:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' was not declared in this scope
205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' was not declared in this scope; did you mean 'tmpnam'?
210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
| tmpnam
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/x86_64-poky-linux/bits/gthr-default.h:35,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/x86_64-poky-linux/bits/gthr.h:157,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/atomicity.h:37,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/shared_ptr_base.h:61,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/shared_ptr.h:53,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/memory:82,
from ../sources/plocate-1.1.24/parse_trigrams.cpp:6:
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/concurrence.h:257:32: error: cannot convert '<brace-enclosed initializer list>' to 'unsigned int' in initialization
257 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
[7/19] x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ plocate.p/io_uring_engine.cpp.o -MF plocate.p/io_uring_engine.cpp.o.d -o plocate.p/io_uring_engine.cpp.o -c ../sources/plocate-1.1.24/io_uring_engine.cpp
FAILED: [code=1] plocate.p/io_uring_engine.cpp.o
x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ plocate.p/io_uring_engine.cpp.o -MF plocate.p/io_uring_engine.cpp.o.d -o plocate.p/io_uring_engine.cpp.o -c ../sources/plocate-1.1.24/io_uring_engine.cpp
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../sources/plocate-1.1.24/io_uring_engine.cpp:4:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' was not declared in this scope
205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' was not declared in this scope; did you mean 'tmpnam'?
210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
| tmpnam
In file included from ../sources/plocate-1.1.24/io_uring_engine.cpp:8:
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_open(io_uring_sqe*, const char*, int, mode_t)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:951:35: error: 'AT_FDCWD' was not declared in this scope
951 | io_uring_prep_openat(sqe, AT_FDCWD, path, flags, mode);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_open_direct(io_uring_sqe*, const char*, int, mode_t, unsigned int)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:960:42: error: 'AT_FDCWD' was not declared in this scope
960 | io_uring_prep_openat_direct(sqe, AT_FDCWD, path, flags, mode, file_index);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_unlink(io_uring_sqe*, const char*, int)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1282:37: error: 'AT_FDCWD' was not declared in this scope
1282 | io_uring_prep_unlinkat(sqe, AT_FDCWD, path, flags);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_rename(io_uring_sqe*, const char*, const char*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1301:37: error: 'AT_FDCWD' was not declared in this scope
1301 | io_uring_prep_renameat(sqe, AT_FDCWD, oldpath, AT_FDCWD, newpath, 0);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_mkdir(io_uring_sqe*, const char*, mode_t)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1324:36: error: 'AT_FDCWD' was not declared in this scope
1324 | io_uring_prep_mkdirat(sqe, AT_FDCWD, path, mode);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_symlink(io_uring_sqe*, const char*, const char*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1341:46: error: 'AT_FDCWD' was not declared in this scope
1341 | io_uring_prep_symlinkat(sqe, target, AT_FDCWD, linkpath);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_link(io_uring_sqe*, const char*, const char*, int)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1359:35: error: 'AT_FDCWD' was not declared in this scope
1359 | io_uring_prep_linkat(sqe, AT_FDCWD, oldpath, AT_FDCWD, newpath, flags);
| ^~~~~~~~
../sources/plocate-1.1.24/io_uring_engine.cpp: In member function 'void IOUringEngine::submit_stat_internal(io_uring_sqe*, char*, std::function<void(bool)>)':
../sources/plocate-1.1.24/io_uring_engine.cpp:127:69: error: 'AT_STATX_SYNC_AS_STAT' was not declared in this scope
127 | io_uring_prep_statx(sqe, /*fd=*/-1, pending->stat.pathname, AT_STATX_SYNC_AS_STAT | AT_SYMLINK_NOFOLLOW, STATX_MODE, pending->stat.buf);
| ^~~~~~~~~~~~~~~~~~~~~
../sources/plocate-1.1.24/io_uring_engine.cpp:127:93: error: 'AT_SYMLINK_NOFOLLOW' was not declared in this scope; did you mean 'FSPICK_SYMLINK_NOFOLLOW'?
127 | io_uring_prep_statx(sqe, /*fd=*/-1, pending->stat.pathname, AT_STATX_SYNC_AS_STAT | AT_SYMLINK_NOFOLLOW, STATX_MODE, pending->stat.buf);
| ^~~~~~~~~~~~~~~~~~~
| FSPICK_SYMLINK_NOFOLLOW
cc1plus: some warnings being treated as errors
[8/19] x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate-build.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -MD -MQ plocate-build.p/plocate-build.cpp.o -MF plocate-build.p/plocate-build.cpp.o.d -o plocate-build.p/plocate-build.cpp.o -c ../sources/plocate-1.1.24/plocate-build.cpp
FAILED: [code=1] plocate-build.p/plocate-build.cpp.o
x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate-build.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -MD -MQ plocate-build.p/plocate-build.cpp.o -MF plocate-build.p/plocate-build.cpp.o.d -o plocate-build.p/plocate-build.cpp.o -c ../sources/plocate-1.1.24/plocate-build.cpp
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/x86_64-poky-linux/bits/gthr-default.h:35,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/x86_64-poky-linux/bits/gthr.h:157,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/atomicity.h:37,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/shared_ptr_base.h:61,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/shared_ptr.h:53,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/memory:82,
from ../sources/plocate-1.1.24/database-builder.h:8,
from ../sources/plocate-1.1.24/plocate-build.cpp:1:
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/concurrence.h:257:32: error: cannot convert '<brace-enclosed initializer list>' to 'unsigned int' in initialization
257 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/cstdio:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/string_conversions.h:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/basic_string.h:4499,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/string:58,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/random:48,
from ../sources/plocate-1.1.24/database-builder.h:9:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' was not declared in this scope
205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' was not declared in this scope; did you mean 'tmpnam'?
210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
| tmpnam
cc1plus: some warnings being treated as errors
[9/19] x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ plocate.p/access_rx_cache.cpp.o -MF plocate.p/access_rx_cache.cpp.o.d -o plocate.p/access_rx_cache.cpp.o -c ../sources/plocate-1.1.24/access_rx_cache.cpp
FAILED: [code=1] plocate.p/access_rx_cache.cpp.o
x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ plocate.p/access_rx_cache.cpp.o -MF plocate.p/access_rx_cache.cpp.o.d -o plocate.p/access_rx_cache.cpp.o -c ../sources/plocate-1.1.24/access_rx_cache.cpp
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/x86_64-poky-linux/bits/gthr-default.h:35,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/x86_64-poky-linux/bits/gthr.h:157,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/std_mutex.h:44,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/mutex:49,
from ../sources/plocate-1.1.24/access_rx_cache.h:6,
from ../sources/plocate-1.1.24/access_rx_cache.cpp:1:
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/std_mutex.h:209:32: error: cannot convert '<brace-enclosed initializer list>' to 'unsigned int' in initialization
209 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/cstdio:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/string_conversions.h:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/basic_string.h:4499,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/string:58,
from ../sources/plocate-1.1.24/access_rx_cache.h:7:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' was not declared in this scope
205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' was not declared in this scope; did you mean 'tmpnam'?
210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
| tmpnam
In file included from ../sources/plocate-1.1.24/io_uring_engine.h:13,
from ../sources/plocate-1.1.24/access_rx_cache.cpp:3:
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_open(io_uring_sqe*, const char*, int, mode_t)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:951:35: error: 'AT_FDCWD' was not declared in this scope
951 | io_uring_prep_openat(sqe, AT_FDCWD, path, flags, mode);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_open_direct(io_uring_sqe*, const char*, int, mode_t, unsigned int)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:960:42: error: 'AT_FDCWD' was not declared in this scope
960 | io_uring_prep_openat_direct(sqe, AT_FDCWD, path, flags, mode, file_index);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_unlink(io_uring_sqe*, const char*, int)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1282:37: error: 'AT_FDCWD' was not declared in this scope
1282 | io_uring_prep_unlinkat(sqe, AT_FDCWD, path, flags);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_rename(io_uring_sqe*, const char*, const char*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1301:37: error: 'AT_FDCWD' was not declared in this scope
1301 | io_uring_prep_renameat(sqe, AT_FDCWD, oldpath, AT_FDCWD, newpath, 0);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_mkdir(io_uring_sqe*, const char*, mode_t)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1324:36: error: 'AT_FDCWD' was not declared in this scope
1324 | io_uring_prep_mkdirat(sqe, AT_FDCWD, path, mode);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_symlink(io_uring_sqe*, const char*, const char*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1341:46: error: 'AT_FDCWD' was not declared in this scope
1341 | io_uring_prep_symlinkat(sqe, target, AT_FDCWD, linkpath);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_link(io_uring_sqe*, const char*, const char*, int)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1359:35: error: 'AT_FDCWD' was not declared in this scope
1359 | io_uring_prep_linkat(sqe, AT_FDCWD, oldpath, AT_FDCWD, newpath, flags);
| ^~~~~~~~
cc1plus: some warnings being treated as errors
[10/19] x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iupdatedb.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ updatedb.p/database-builder.cpp.o -MF updatedb.p/database-builder.cpp.o.d -o updatedb.p/database-builder.cpp.o -c ../sources/plocate-1.1.24/database-builder.cpp
FAILED: [code=1] updatedb.p/database-builder.cpp.o
x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iupdatedb.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ updatedb.p/database-builder.cpp.o -MF updatedb.p/database-builder.cpp.o.d -o updatedb.p/database-builder.cpp.o -c ../sources/plocate-1.1.24/database-builder.cpp
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/x86_64-poky-linux/bits/gthr-default.h:35,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/x86_64-poky-linux/bits/gthr.h:157,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/atomicity.h:37,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/shared_ptr_base.h:61,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/shared_ptr.h:53,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/memory:82,
from ../sources/plocate-1.1.24/database-builder.h:8,
from ../sources/plocate-1.1.24/database-builder.cpp:1:
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/concurrence.h:257:32: error: cannot convert '<brace-enclosed initializer list>' to 'unsigned int' in initialization
257 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/cstdio:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/string_conversions.h:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/basic_string.h:4499,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/string:58,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/random:48,
from ../sources/plocate-1.1.24/database-builder.h:9:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' was not declared in this scope
205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' was not declared in this scope; did you mean 'tmpnam'?
210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
| tmpnam
../sources/plocate-1.1.24/database-builder.cpp: In member function 'void DatabaseBuilder::finish_corpus()':
../sources/plocate-1.1.24/database-builder.cpp:703:28: error: 'AT_FDCWD' was not declared in this scope
703 | if (linkat(AT_FDCWD, procpath, AT_FDCWD, outfile.c_str(), AT_SYMLINK_FOLLOW) == -1) {
| ^~~~~~~~
../sources/plocate-1.1.24/database-builder.cpp:703:75: error: 'AT_SYMLINK_FOLLOW' was not declared in this scope
703 | if (linkat(AT_FDCWD, procpath, AT_FDCWD, outfile.c_str(), AT_SYMLINK_FOLLOW) == -1) {
| ^~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
[11/19] x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate-build.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -MD -MQ plocate-build.p/database-builder.cpp.o -MF plocate-build.p/database-builder.cpp.o.d -o plocate-build.p/database-builder.cpp.o -c ../sources/plocate-1.1.24/database-builder.cpp
FAILED: [code=1] plocate-build.p/database-builder.cpp.o
x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate-build.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -MD -MQ plocate-build.p/database-builder.cpp.o -MF plocate-build.p/database-builder.cpp.o.d -o plocate-build.p/database-builder.cpp.o -c ../sources/plocate-1.1.24/database-builder.cpp
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/x86_64-poky-linux/bits/gthr-default.h:35,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/x86_64-poky-linux/bits/gthr.h:157,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/atomicity.h:37,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/shared_ptr_base.h:61,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/shared_ptr.h:53,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/memory:82,
from ../sources/plocate-1.1.24/database-builder.h:8,
from ../sources/plocate-1.1.24/database-builder.cpp:1:
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/concurrence.h:257:32: error: cannot convert '<brace-enclosed initializer list>' to 'unsigned int' in initialization
257 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/cstdio:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/string_conversions.h:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/basic_string.h:4499,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/string:58,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/random:48,
from ../sources/plocate-1.1.24/database-builder.h:9:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' was not declared in this scope
205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' was not declared in this scope; did you mean 'tmpnam'?
210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
| tmpnam
../sources/plocate-1.1.24/database-builder.cpp: In member function 'void DatabaseBuilder::finish_corpus()':
../sources/plocate-1.1.24/database-builder.cpp:703:28: error: 'AT_FDCWD' was not declared in this scope
703 | if (linkat(AT_FDCWD, procpath, AT_FDCWD, outfile.c_str(), AT_SYMLINK_FOLLOW) == -1) {
| ^~~~~~~~
../sources/plocate-1.1.24/database-builder.cpp:703:75: error: 'AT_SYMLINK_FOLLOW' was not declared in this scope
703 | if (linkat(AT_FDCWD, procpath, AT_FDCWD, outfile.c_str(), AT_SYMLINK_FOLLOW) == -1) {
| ^~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
[12/19] x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iupdatedb.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ updatedb.p/updatedb.cpp.o -MF updatedb.p/updatedb.cpp.o.d -o updatedb.p/updatedb.cpp.o -c ../sources/plocate-1.1.24/updatedb.cpp
FAILED: [code=1] updatedb.p/updatedb.cpp.o
x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iupdatedb.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ updatedb.p/updatedb.cpp.o -MF updatedb.p/updatedb.cpp.o.d -o updatedb.p/updatedb.cpp.o -c ../sources/plocate-1.1.24/updatedb.cpp
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/cstdio:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/string_conversions.h:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/basic_string.h:4499,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/string:58,
from ../sources/plocate-1.1.24/conf.h:27,
from ../sources/plocate-1.1.24/updatedb.cpp:27:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' was not declared in this scope
205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' was not declared in this scope; did you mean 'tmpnam'?
210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
| tmpnam
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/x86_64-poky-linux/bits/gthr-default.h:35,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/x86_64-poky-linux/bits/gthr.h:157,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/atomicity.h:37,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/shared_ptr_base.h:61,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/shared_ptr.h:53,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/memory:82,
from ../sources/plocate-1.1.24/database-builder.h:8,
from ../sources/plocate-1.1.24/updatedb.cpp:28:
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/concurrence.h:257:32: error: cannot convert '<brace-enclosed initializer list>' to 'unsigned int' in initialization
257 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
In file included from ../sources/plocate-1.1.24/io_uring_engine.h:13,
from ../sources/plocate-1.1.24/updatedb.cpp:31:
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_open(io_uring_sqe*, const char*, int, mode_t)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:951:35: error: 'AT_FDCWD' was not declared in this scope
951 | io_uring_prep_openat(sqe, AT_FDCWD, path, flags, mode);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_open_direct(io_uring_sqe*, const char*, int, mode_t, unsigned int)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:960:42: error: 'AT_FDCWD' was not declared in this scope
960 | io_uring_prep_openat_direct(sqe, AT_FDCWD, path, flags, mode, file_index);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_unlink(io_uring_sqe*, const char*, int)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1282:37: error: 'AT_FDCWD' was not declared in this scope
1282 | io_uring_prep_unlinkat(sqe, AT_FDCWD, path, flags);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_rename(io_uring_sqe*, const char*, const char*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1301:37: error: 'AT_FDCWD' was not declared in this scope
1301 | io_uring_prep_renameat(sqe, AT_FDCWD, oldpath, AT_FDCWD, newpath, 0);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_mkdir(io_uring_sqe*, const char*, mode_t)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1324:36: error: 'AT_FDCWD' was not declared in this scope
1324 | io_uring_prep_mkdirat(sqe, AT_FDCWD, path, mode);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_symlink(io_uring_sqe*, const char*, const char*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1341:46: error: 'AT_FDCWD' was not declared in this scope
1341 | io_uring_prep_symlinkat(sqe, target, AT_FDCWD, linkpath);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_link(io_uring_sqe*, const char*, const char*, int)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1359:35: error: 'AT_FDCWD' was not declared in this scope
1359 | io_uring_prep_linkat(sqe, AT_FDCWD, oldpath, AT_FDCWD, newpath, flags);
| ^~~~~~~~
../sources/plocate-1.1.24/updatedb.cpp: In function 'int scan(const std::string&, int, dev_t, dir_time, dir_time, ExistingDB*, DatabaseReceiver*, DictionaryBuilder*)':
../sources/plocate-1.1.24/updatedb.cpp:631:67: error: 'AT_SYMLINK_NOFOLLOW' was not declared in this scope; did you mean 'FSPICK_SYMLINK_NOFOLLOW'?
631 | if (fstatat(fd, de->d_name, &buf, AT_SYMLINK_NOFOLLOW) == 0 &&
| ^~~~~~~~~~~~~~~~~~~
| FSPICK_SYMLINK_NOFOLLOW
../sources/plocate-1.1.24/updatedb.cpp: In function 'int main(int, char**)':
../sources/plocate-1.1.24/updatedb.cpp:808:39: error: 'AT_FDCWD' was not declared in this scope
808 | int root_fd = opendir_noatime(AT_FDCWD, conf_scan_root);
| ^~~~~~~~
cc1plus: some warnings being treated as errors
[13/19] x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ plocate.p/plocate.cpp.o -MF plocate.p/plocate.cpp.o.d -o plocate.p/plocate.cpp.o -c ../sources/plocate-1.1.24/plocate.cpp
FAILED: [code=1] plocate.p/plocate.cpp.o
x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ plocate.p/plocate.cpp.o -MF plocate.p/plocate.cpp.o.d -o plocate.p/plocate.cpp.o -c ../sources/plocate-1.1.24/plocate.cpp
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/x86_64-poky-linux/bits/gthr-default.h:35,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/x86_64-poky-linux/bits/gthr.h:157,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/std_mutex.h:44,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/mutex:49,
from ../sources/plocate-1.1.24/access_rx_cache.h:6,
from ../sources/plocate-1.1.24/plocate.cpp:1:
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/std_mutex.h:209:32: error: cannot convert '<brace-enclosed initializer list>' to 'unsigned int' in initialization
209 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/cstdio:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/string_conversions.h:47,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/bits/basic_string.h:4499,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/string:58,
from ../sources/plocate-1.1.24/access_rx_cache.h:7:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' was not declared in this scope
205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' was not declared in this scope; did you mean 'tmpnam'?
210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
| ^~~~~~~~
| tmpnam
In file included from ../sources/plocate-1.1.24/io_uring_engine.h:13,
from ../sources/plocate-1.1.24/plocate.cpp:5:
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_open(io_uring_sqe*, const char*, int, mode_t)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:951:35: error: 'AT_FDCWD' was not declared in this scope
951 | io_uring_prep_openat(sqe, AT_FDCWD, path, flags, mode);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_open_direct(io_uring_sqe*, const char*, int, mode_t, unsigned int)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:960:42: error: 'AT_FDCWD' was not declared in this scope
960 | io_uring_prep_openat_direct(sqe, AT_FDCWD, path, flags, mode, file_index);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_unlink(io_uring_sqe*, const char*, int)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1282:37: error: 'AT_FDCWD' was not declared in this scope
1282 | io_uring_prep_unlinkat(sqe, AT_FDCWD, path, flags);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_rename(io_uring_sqe*, const char*, const char*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1301:37: error: 'AT_FDCWD' was not declared in this scope
1301 | io_uring_prep_renameat(sqe, AT_FDCWD, oldpath, AT_FDCWD, newpath, 0);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_mkdir(io_uring_sqe*, const char*, mode_t)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1324:36: error: 'AT_FDCWD' was not declared in this scope
1324 | io_uring_prep_mkdirat(sqe, AT_FDCWD, path, mode);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_symlink(io_uring_sqe*, const char*, const char*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1341:46: error: 'AT_FDCWD' was not declared in this scope
1341 | io_uring_prep_symlinkat(sqe, target, AT_FDCWD, linkpath);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h: In function 'void io_uring_prep_link(io_uring_sqe*, const char*, const char*, int)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/liburing.h:1359:35: error: 'AT_FDCWD' was not declared in this scope
1359 | io_uring_prep_linkat(sqe, AT_FDCWD, oldpath, AT_FDCWD, newpath, flags);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/concurrence.h: At global scope:
TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot/usr/include/c++/16.1.0/ext/concurrence.h:257:32: error: cannot convert '<brace-enclosed initializer list>' to 'unsigned int' in initialization
257 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
[14/19] x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ plocate.p/turbopfor.cpp.o -MF plocate.p/turbopfor.cpp.o.d -o plocate.p/turbopfor.cpp.o -c ../sources/plocate-1.1.24/turbopfor.cpp
FAILED: [code=1] plocate.p/turbopfor.cpp.o
x86_64-poky-linux-g++ -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/plocate/1.1.24/recipe-sysroot -Iplocate.p -I. -I../sources/plocate-1.1.24 -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DGROUPNAME="plocate"' '-DUPDATEDB_CONF="/etc/updatedb.conf"' '-DDBFILE="/com/plocate/plocate.db"' '-DPACKAGE_NAME="plocate"' '-DPACKAGE_VERSION="1.1.24"' '-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"' -DHAS_ENDIAN_H -DHAS_FUNCTION_MULTIVERSIONING -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/sources/plocate-1.1.24=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/build=/usr/src/debug/plocate/1.1.24 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/plocate/1.1.24/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -pthread -MD -MQ plocate.p/turbopfor.cpp.o -MF plocate.p/turbopfor.cpp.o.d -o plocate.p/turbopfor.cpp.o -c ../sources/plocate-1.1.24/turbopfor.cpp
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1plus: some warnings being treated as errors
ninja: build stopped: subcommand failed.
WARNING: exit code 1 from a shell command.