Advertisement
Guest User

Untitled

a guest
May 24th, 2019
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.38 KB | None | 0 0
  1. bootable/recovery/crypto/fde/cryptfs.cpp:93:9: warning: 'SLOGD' macro redefined [-Wmacro-redefined]
  2. #define SLOGD(...) fprintf(stdout, "D:" __VA_ARGS__)
  3. ^
  4. system/core/liblog/include/log/log_system.h:78:9: note: previous definition is here
  5. #define SLOGD(...) \
  6. ^
  7. bootable/recovery/crypto/fde/cryptfs.cpp:1494:39: warning: unused parameter 'keysize' [-Wunused-parameter]
  8. const unsigned char* key, int keysize, char* out_crypto_blkdev) {
  9. ^
  10. 6 warnings generated.
  11. [ 60% 8308/13728] target C++: libe4cr...covery/crypto/ext4crypt/ext4_crypt.cpp
  12. bootable/recovery/crypto/ext4crypt/ext4_crypt.cpp:191:55: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
  13. if (read(fd, contents_encryption_mode, mode_size) != mode_size) {
  14. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
  15. 1 warning generated.
  16. [ 60% 8311/13728] target C++: libe4cr...covery/crypto/ext4crypt/Keymaster3.cpp
  17. bootable/recovery/crypto/ext4crypt/Keymaster3.cpp:108:39: warning: '/*' within block comment [-Wcomment]
  18. const KeyCharacteristics& /*ignored* /) {
  19. ^
  20. bootable/recovery/crypto/ext4crypt/Keymaster3.cpp:127:46: warning: unused parameter 'key' [-Wunused-parameter]
  21. bool Keymaster::deleteKey(const std::string& key) {
  22. ^
  23. 2 warnings generated.
  24. [ 60% 8319/13728] target C++: libe4cr...very/crypto/ext4crypt/HashPassword.cpp
  25. FAILED: /home/mauronofrio/omni8-min2/out/target/product/enchilada/obj/SHARED_LIBRARIES/libe4crypt_intermediates/HashPassword.o
  26. /bin/bash -c "PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++ -I system/extras/ext4_utils -I system/extras/ext4_utils/include/ext4_utils -I external/scrypt/lib/crypto -I system/security/keystore -I hardware/libhardware/include/hardware -I system/security/softkeymaster/include/keymaster -I system/keymaster/include -I external/boringssl/src/include -I bootable/recovery/crypto/ext4crypt -I /home/mauronofrio/omni8-min2/out/target/product/enchilada/obj/SHARED_LIBRARIES/libe4crypt_intermediates -I /home/mauronofrio/omni8-min2/out/target/product/enchilada/gen/SHARED_LIBRARIES/libe4crypt_intermediates -I libnativehelper/include_deprecated \$(cat /home/mauronofrio/omni8-min2/out/target/product/enchilada/obj/SHARED_LIBRARIES/libe4crypt_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include -isystem /home/mauronofrio/omni8-min2/out/target/product/enchilada/obj/include -isystem bionic/libc/arch-arm64/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -c -fno-exceptions -Wno-multichar -fno-strict-aliasing -fstack-protector-strong -ffunction-sections -fdata-sections -funwind-tables -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast -Werror=implicit-function-declaration -DNDEBUG -O2 -g -Wstrict-aliasing=2 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/= -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -nostdlibinc -mcpu=kryo -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -fvisibility-inlines-hidden -std=gnu++14 -fno-rtti -DTW_CRYPTO_HAVE_KEYMASTERX -DHAVE_GATEKEEPER1 -DUSE_KEYSTORAGE_3 -DHAVE_SYNTH_PWD_SUPPORT -DHAVE_LIBKEYUTILS -fPIC -D_USING_LIBCXX -DANDROID_STRICT -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF /home/mauronofrio/omni8-min2/out/target/product/enchilada/obj/SHARED_LIBRARIES/libe4crypt_intermediates/HashPassword.d -o /home/mauronofrio/omni8-min2/out/target/product/enchilada/obj/SHARED_LIBRARIES/libe4crypt_intermediates/HashPassword.o bootable/recovery/crypto/ext4crypt/HashPassword.cpp"
  27. bootable/recovery/crypto/ext4crypt/HashPassword.cpp:84:18: error: use of undeclared identifier 'HMAC_CTX_new'
  28. HMAC_CTX *ctx = HMAC_CTX_new();
  29. ^
  30. bootable/recovery/crypto/ext4crypt/HashPassword.cpp:103:2: error: use of undeclared identifier 'HMAC_CTX_free'; did you mean 'HMAC_CTX_init'?
  31. HMAC_CTX_free(ctx);
  32. ^~~~~~~~~~~~~
  33. HMAC_CTX_init
  34. external/boringssl/src/include/openssl/hmac.h:92:21: note: 'HMAC_CTX_init' declared here
  35. OPENSSL_EXPORT void HMAC_CTX_init(HMAC_CTX *ctx);
  36. ^
  37. 2 errors generated.
  38. [ 60% 8322/13728] target C++: libe4cr.../recovery/crypto/ext4crypt/Decrypt.cpp
  39. bootable/recovery/crypto/ext4crypt/Decrypt.cpp:681:23: warning: '/*' within block comment [-Wcomment]
  40. } else if (ret != 1 /*android::keystore::ResponseCode::NO_ERROR*//*) {
  41. ^
  42. bootable/recovery/crypto/ext4crypt/Decrypt.cpp:682:37: warning: '/*' within block comment [-Wcomment]
  43. printf("keystore error: (%d)\n", /*responses[ret],*//* ret);
  44. ^
  45. 2 warnings generated.
  46. [ 60% 8323/13728] target C++: libe4cr...ecovery/crypto/ext4crypt/Ext4Crypt.cpp
  47. bootable/recovery/crypto/ext4crypt/Ext4Crypt.cpp:319:83: warning: unused parameter 'path' [-Wunused-parameter]
  48. static bool ensure_policy(const std::string& raw_ref __unused, const std::string& path) {
  49. ^
  50. 1 warning generated.
  51. [ 60% 8324/13728] build /home/mauronof...bj/ETC/sepolicy_intermediates/sepolicy
  52. ninja: build stopped: subcommand failed.
  53. 14:04:55 ninja failed with: exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement