编译报错:error: ro.build.fingerprint cannot exceed 91 bytes
Notice file: system/core/libzipfile/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib/libzipfile.a.txt
Notice file: external/zlib/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libunz.a.txtNotice file: external/zlib/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib/libunz.a.txt
Notice file: external/openssl/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib/libcrypto_static.a.txt
error: ro.build.fingerprint cannot exceed 91 bytes: SIMCOM/sim8900_evb103_s/sim8900_evb103_s:5.1.1/LMY47V/SIM8900_EVB103_S_B01V01:user/test-keys (92)
make: *** [out/target/product/sim8900_evb103_s/system/build.prop] Error 1
make: *** Deleting file `out/target/product/sim8900_evb103_s/system/build.prop'
make: *** Waiting for unfinished jobs....
Export includes file: frameworks/compile/libbcc/Android.mk -- out/host/linux-x86/obj32/SHARED_LIBRARIES/libbcc_intermediates/export_includes
#### make failed to build some targets (03:24 (mm:ss)) ####
解决:
diff --git a/tools/post_process_props.py b/tools/post_process_props.py
index 2237707..df13699 100755
--- a/tools/post_process_props.py
+++ b/tools/post_process_props.py
@@ -23,7 +23,7 @@ import sys
# The constants in system_properties.h includes the termination NUL,
# so we decrease the values by 1 here.
PROP_NAME_MAX = 32
-PROP_VALUE_MAX = 91
+PROP_VALUE_MAX = 149
diff --git a/libc/include/sys/system_properties.h b/libc/include/sys/system_properties.h
index 01c3db3..023b28e 100644
--- a/libc/include/sys/system_properties.h
+++ b/libc/include/sys/system_properties.h
@@ -36,7 +36,7 @@ __BEGIN_DECLS
typedef struct prop_info prop_info;
#define PROP_NAME_MAX 32
-#define PROP_VALUE_MAX 92
+#define PROP_VALUE_MAX 150