Skip to content

Instantly share code, notes, and snippets.

@silent27121984
Last active March 13, 2019 08:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silent27121984/44fcc2d4a25ee40c82882a7021ee85e8 to your computer and use it in GitHub Desktop.
Save silent27121984/44fcc2d4a25ee40c82882a7021ee85e8 to your computer and use it in GitHub Desktop.
1 warning generated.
[ 74% 71944/96087] //hardware/interfaces/cas/native/1.0:android.hardware.cas.native...rdware.cas.native@1.0_genc++/gen/android/hardware/cas/native/1.0/DescramblerAll.cpp
FAILED: /home/silent27-4pda/mt/out/soong/.intermediates/hardware/interfaces/cas/native/1.0/android.hardware.cas.native@1.0/android_arm64_armv8-a_cortex-a53_static_core/obj/android/hardware/cas/native/1.0/DescramblerAll.o
PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++ -c -Ihardware/interfaces/cas/native/1.0 -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=cortex-a53 -Iexternal/libcxx/include -Iexternal/libcxxabi/include -Isystem/libhidl/base/include -Isystem/core/libcutils/include -Isystem/core/libutils/include -Isystem/core/libbacktrace/include -Isystem/core/liblog/include -Isystem/core/libsystem/include -Isystem/libhidl/transport/include -Isystem/core/base/include -I/home/silent27-4pda/mt/out/soong/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++_headers/gen -I/home/silent27-4pda/mt/out/soong/.intermediates/system/libhidl/transport/manager/1.1/android.hidl.manager@1.1_genc++_headers/gen -I/home/silent27-4pda/mt/out/soong/.intermediates/system/libhidl/transport/base/1.0/android.hidl.base@1.0_genc++_headers/gen -Isystem/libhwbinder/include -I/home/silent27-4pda/mt/out/soong/.intermediates/hardware/interfaces/cas/1.0/android.hardware.cas@1.0_genc++_headers/gen -I/home/silent27-4pda/mt/out/soong/.intermediates/hardware/interfaces/cas/native/1.0/android.hardware.cas.native@1.0_genc++/gen -I/home/silent27-4pda/mt/out/soong/.intermediates/hardware/interfaces/cas/native/1.0/android.hardware.cas.native@1.0_genc++_headers/gen -Isystem/core/include -Isystem/media/audio/include -Ihardware/libhardware/include -Ihardware/libhardware_legacy/include -Ihardware/ril/include -Ilibnativehelper/include -Iframeworks/native/include -Iframeworks/native/opengl/include -Iframeworks/av/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 -Ilibnativehelper/include_deprecated -Wall -Werror -D__ANDROID_DEBUGGABLE__ -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -DANDROID_STRICT -fPIC -D_USING_LIBCXX -std=gnu++14 -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -fno-rtti -fvisibility-inlines-hidden -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF '/home/silent27-4pda/mt/out/soong/.intermediates/hardware/interfaces/cas/native/1.0/android.hardware.cas.native@1.0/android_arm64_armv8-a_cortex-a53_static_core/obj/android/hardware/cas/native/1.0/DescramblerAll.o'.d -o '/home/silent27-4pda/mt/out/soong/.intermediates/hardware/interfaces/cas/native/1.0/android.hardware.cas.native@1.0/android_arm64_armv8-a_cortex-a53_static_core/obj/android/hardware/cas/native/1.0/DescramblerAll.o' '/home/silent27-4pda/mt/out/soong/.intermediates/hardware/interfaces/cas/native/1.0/android.hardware.cas.native@1.0_genc++/gen/android/hardware/cas/native/1.0/DescramblerAll.cpp'
out/soong/.intermediates/hardware/interfaces/cas/native/1.0/android.hardware.cas.native@1.0_genc++/gen/android/hardware/cas/native/1.0/DescramblerAll.cpp:382:13: error: no matching function for call to 'setRequestingSid'
setRequestingSid(::android::hardware::details::gServiceSidMap.get(_hidl_impl, false));
^~~~~~~~~~~~~~~~
system/libhidl/transport/include/hidl/HidlTransportSupport.h:84:6: note: candidate function not viable: requires 2 arguments, but 1 was provided
bool setRequestingSid(const sp<::android::hidl::base::V1_0::IBase>& service, bool requesting);
^
1 error generated.
[ 74% 71946/96087] //hardware/interfaces/drm/1.0:android.hardware.drm@1.0 clang++ ....droid.hardware.drm@1.0_genc++/gen/android/hardware/drm/1.0/DrmPluginListenerAll.cpp
FAILED: /home/silent27-4pda/mt/out/soong/.intermediates/hardware/interfaces/drm/1.0/android.hardware.drm@1.0/android_arm64_armv8-a_cortex-a53_static_core/obj/android/hardware/drm/1.0/DrmPluginListenerAll.o
PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++ -c -Ihardware/interfaces/drm/1.0 -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=cortex-a53 -Iexternal/libcxx/include -Iexternal/libcxxabi/include -Isystem/libhidl/base/include -Isystem/core/libcutils/include -Isystem/core/libutils/include -Isystem/core/libbacktrace/include -Isystem/core/liblog/include -Isystem/core/libsystem/include -Isystem/libhidl/transport/include -Isystem/core/base/include -I/home/silent27-4pda/mt/out/soong/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++_headers/gen -I/home/silent27-4pda/mt/out/soong/.intermediates/system/libhidl/transport/manager/1.1/android.hidl.manager@1.1_genc++_headers/gen -I/home/silent27-4pda/mt/out/soong/.intermediates/system/libhidl/transport/base/1.0/android.hidl.base@1.0_genc++_headers/gen -Isystem/libhwbinder/include -I/home/silent27-4pda/mt/out/soong/.intermediates/hardware/interfaces/drm/1.0/android.hardware.drm@1.0_genc++/gen -I/home/silent27-4pda/mt/out/soong/.intermediates/hardware/interfaces/drm/1.0/android.hardware.drm@1.0_genc++_headers/gen -Isystem/core/include -Isystem/media/audio/include -Ihardware/libhardware/include -Ihardware/libhardware_legacy/include -Ihardware/ril/include -Ilibnativehelper/include -Iframeworks/native/include -Iframeworks/native/opengl/include -Iframeworks/av/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 -Ilibnativehelper/include_deprecated -Wall -Werror -D__ANDROID_DEBUGGABLE__ -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -DANDROID_STRICT -fPIC -D_USING_LIBCXX -std=gnu++14 -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -fno-rtti -fvisibility-inlines-hidden -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF '/home/silent27-4pda/mt/out/soong/.intermediates/hardware/interfaces/drm/1.0/android.hardware.drm@1.0/android_arm64_armv8-a_cortex-a53_static_core/obj/android/hardware/drm/1.0/DrmPluginListenerAll.o'.d -o '/home/silent27-4pda/mt/out/soong/.intermediates/hardware/interfaces/drm/1.0/android.hardware.drm@1.0/android_arm64_armv8-a_cortex-a53_static_core/obj/android/hardware/drm/1.0/DrmPluginListenerAll.o' '/home/silent27-4pda/mt/out/soong/.intermediates/hardware/interfaces/drm/1.0/android.hardware.drm@1.0_genc++/gen/android/hardware/drm/1.0/DrmPluginListenerAll.cpp'
out/soong/.intermediates/hardware/interfaces/drm/1.0/android.hardware.drm@1.0_genc++/gen/android/hardware/drm/1.0/DrmPluginListenerAll.cpp:460:13: error: no matching function for call to 'setRequestingSid'
setRequestingSid(::android::hardware::details::gServiceSidMap.get(_hidl_impl, false));
^~~~~~~~~~~~~~~~
system/libhidl/transport/include/hidl/HidlTransportSupport.h:84:6: note: candidate function not viable: requires 2 arguments, but 1 was provided
bool setRequestingSid(const sp<::android::hidl::base::V1_0::IBase>& service, bool requesting);
^
1 error generated.
[ 74% 71953/96087] //frameworks/base/core/jni:libandroid_runtime clang++ android_util_PathParser.cpp
ninja: build stopped: subcommand failed.
11:35:59 ninja failed with: exit status 1
#### failed to build some targets (24:37 (mm:ss)) ####
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment