[Android] magdeoz:
Can anyone help me?, I am trying to build LineageOMS but this error appears to me:

[ 95% 2807/2953] host C++: libosi-host <= system/bt/osi/./src/metrics.cpp
FAILED: /home/magdeoz/Github/LineageOs/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/src/metrics.o
/bin/bash -c "(PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/motorola/potter/include -I system/bt/osi/.. -I system/bt/osi/../include -I system/bt/osi/../utils/include -I system/bt/osi/../stack/include -I device/motorola/potter/bluetooth -I system/bt/osi -I /home/magdeoz/Github/LineageOs/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates -I /home/magdeoz/Github/LineageOs/out/host/linux-x86/gen/STATIC_LIBRARIES/libosi-host_intermediates -I libnativehelper/include/nativehelper \$(cat /home/magdeoz/Github/LineageOs/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem tools/include -isystem /home/magdeoz/Github/LineageOs/out/host/linux-x86/obj/include -c -fno-exceptions -Wno-multichar -m64 -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -O2 -g -fno-strict-aliasing -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 -fstack-protector-strong --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin -target x86_64-linux-gnu -Wsign-promo -Wno-inconsistent-missing-override --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8 -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/x86_64-linux -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward -target x86_64-linux-gnu -DHAS_BDROID_BUILDCFG -DQLOGKIT_USERDEBUG -DUSE_AUDIO_TRACK -DEXPORT_SYMBOL=\"__attribute__((visibility(\\\"default\\\")))\" -fvisibility=hidden -Wall -Wextra -Werror -Wno-gnu-variable-sized-type-not-at-end -Wno-typedef-redefinition -Wno-unused-parameter -UNDEBUG -DLOG_NDEBUG=1 -D_GNU_SOURCE -DOS_GENERIC -fPIC -D_USING_LIBCXX -std=gnu++14 -nostdinc++ -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/magdeoz/Github/LineageOs/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/metrics.d -o /home/magdeoz/Github/LineageOs/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/metrics.o system/bt/osi/./src/metrics.cpp ) && (cp /home/magdeoz/Github/LineageOs/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/metrics.d /home/magdeoz/Github/LineageOs/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/metrics.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/magdeoz/Github/LineageOs/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/metrics.d >> /home/magdeoz/Github/LineageOs/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/metrics.P; rm -f /home/magdeoz/Github/LineageOs/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/metrics.d )"
In file included from system/bt/osi/./src/metrics.cpp:35:
In file included from system/bt/osi/../stack/include/btm_api.h:28:
In file included from system/bt/osi/../include/bt_target.h:38:
In file included from device/motorola/potter/bluetooth/bdroid_buildcfg.h:20:
system/core/include/cutils/properties.h:22:10: fatal error: 'sys/system_properties.h' file not found
#include <sys/system_properties.h>
^
1 error generated.
[ 95% 2807/2953] host C++: libaapt_32 <= frameworks/base/tools/aapt/ResourceTable.cpp
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (53:22 (mm:ss)) ####