open-droid / android_device_xiaomi_land

Device tree for Xiaomi Redmi 3S/Prime/X (land)
5 stars 2 forks source link

Building LineageOS 14.1 #2

Closed ljmf00 closed 7 years ago

ljmf00 commented 7 years ago
FAILED: /bin/bash -c "(PWD=/proc/self/cwd prebuilts/misc/linux-x86/ccache/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I frameworks/av/services -I frameworks/av/services/audioflinger -I system/media/audio_effects/include -I system/media/audio_utils/include -I frameworks/av/services/audiopolicy/common/include -I frameworks/av/services/audiopolicy/engine/interface -I frameworks/av/services/audiopolicy -I frameworks/av/services/audiopolicy/common/managerdefinitions/include -I hardware/qcom/audio-caf/msm8937/policy_hal -I /mnt/stuff1/Android/lineage-14.1/out/target/product/land/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates -I /mnt/stuff1/Android/lineage-14.1/out/target/product/land/gen/SHARED_LIBRARIES/libaudiopolicymanager_intermediates -I libnativehelper/include/nativehelper \$(cat /mnt/stuff1/Android/lineage-14.1/out/target/product/land/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_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 hardware/ril-caf/include -isystem /mnt/stuff1/Android/lineage-14.1/out/target/product/land/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -c    -fno-exceptions -Wno-multichar -msoft-float -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -mcpu=cortex-a7 -mfpu=neon-vfpv4 -D__ARM_FEATURE_LPAE=1 -mfloat-abi=softfp -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -g -Wstrict-aliasing=2 -DNDEBUG -UDEBUG  -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc  -target arm-linux-androideabi    -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin    -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo  -Wno-inconsistent-missing-override -nostdlibinc  -target arm-linux-androideabi   -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing  -fno-rtti -Wall -Werror -DVOICE_CONCURRENCY -DPCM_OFFLOAD_ENABLED -DPCM_OFFLOAD_ENABLED_24 -DAUDIO_EXTN_FORMATS_ENABLED -DAUDIO_EXTN_AFE_PROXY_ENABLED -DFM_POWER_OPT -fPIC -D_USING_LIBCXX -Wno-overloaded-virtual -Wno-unused-variable -Wno-unused-private-field -std=gnu++14  -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast  -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type    -MD -MF /mnt/stuff1/Android/lineage-14.1/out/target/product/land/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/AudioPolicyManager.d -o /mnt/stuff1/Android/lineage-14.1/out/target/product/land/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/AudioPolicyManager.o hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp ) && (cp /mnt/stuff1/Android/lineage-14.1/out/target/product/land/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/AudioPolicyManager.d /mnt/stuff1/Android/lineage-14.1/out/target/product/land/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/AudioPolicyManager.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /mnt/stuff1/Android/lineage-14.1/out/target/product/land/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/AudioPolicyManager.d >> /mnt/stuff1/Android/lineage-14.1/out/target/product/land/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/AudioPolicyManager.P; rm -f /mnt/stuff1/Android/lineage-14.1/out/target/product/land/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/AudioPolicyManager.d )"
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:720:35: error: no member named 'mInputSource' in 'android::AudioInputDescriptor'; did you mean 'inputSource'?
               switch(activeDesc->mInputSource) {
                                  ^~~~~~~~~~~~
                                  inputSource
frameworks/av/services/audiopolicy/common/managerdefinitions/include/AudioInputDescriptor.h:60:20: note: 'inputSource' declared here
    audio_source_t inputSource() const;
                   ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:724:97: error: no member named 'mInputSource' in 'android::AudioInputDescriptor'
                       ALOGD("voice_conc:FOUND active input during call active: %d",activeDesc->mInputSource);
                                                                                    ~~~~~~~~~~  ^
system/core/include/log/log.h:114:52: note: expanded from macro 'ALOGD'
#define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
                                                   ^~~~~~~~~~~
system/core/include/log/log.h:453:38: note: expanded from macro 'ALOG'
    LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
                                     ^~~~~~~~~~~
system/core/include/log/log.h:461:37: note: expanded from macro 'LOG_PRI'
    android_printLog(priority, tag, __VA_ARGS__)
                                    ^~~~~~~~~~~
system/core/include/log/log.h:618:36: note: expanded from macro 'android_printLog'
    __android_log_print(prio, tag, fmt)
                                   ^~~
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:729:105: error: no member named 'mInputSource' in 'android::AudioInputDescriptor'
                            ALOGD("voice_conc:CLOSING VoIP input source on call setup :%d ",activeDesc->mInputSource);
                                                                                            ~~~~~~~~~~  ^
system/core/include/log/log.h:114:52: note: expanded from macro 'ALOGD'
#define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
                                                   ^~~~~~~~~~~
system/core/include/log/log.h:453:38: note: expanded from macro 'ALOG'
    LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
                                     ^~~~~~~~~~~
system/core/include/log/log.h:461:37: note: expanded from macro 'LOG_PRI'
    android_printLog(priority, tag, __VA_ARGS__)
                                    ^~~~~~~~~~~
system/core/include/log/log.h:618:36: note: expanded from macro 'android_printLog'
    __android_log_print(prio, tag, fmt)
                                   ^~~
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:730:64: error: 'mSessions' is a private member of 'android::AudioInputDescriptor'
                            stopInput(activeInput, activeDesc->mSessions.itemAt(0));
                                                               ^
frameworks/av/services/audiopolicy/common/managerdefinitions/include/AudioInputDescriptor.h:78:35: note: declared private here
    AudioSessionCollection        mSessions;
                                  ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:730:74: error: no member named 'itemAt' in 'android::AudioSessionCollection'
                            stopInput(activeInput, activeDesc->mSessions.itemAt(0));
                                                   ~~~~~~~~~~~~~~~~~~~~~ ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:731:67: error: 'mSessions' is a private member of 'android::AudioInputDescriptor'
                            releaseInput(activeInput, activeDesc->mSessions.itemAt(0));
                                                                  ^
frameworks/av/services/audiopolicy/common/managerdefinitions/include/AudioInputDescriptor.h:78:35: note: declared private here
    AudioSessionCollection        mSessions;
                                  ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:731:77: error: no member named 'itemAt' in 'android::AudioSessionCollection'
                            releaseInput(activeInput, activeDesc->mSessions.itemAt(0));
                                                      ~~~~~~~~~~~~~~~~~~~~~ ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:736:104: error: no member named 'mInputSource' in 'android::AudioInputDescriptor'
                       ALOGD("voice_conc:CLOSING input on call setup  for inputSource: %d",activeDesc->mInputSource);
                                                                                           ~~~~~~~~~~  ^
system/core/include/log/log.h:114:52: note: expanded from macro 'ALOGD'
#define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
                                                   ^~~~~~~~~~~
system/core/include/log/log.h:453:38: note: expanded from macro 'ALOG'
    LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
                                     ^~~~~~~~~~~
system/core/include/log/log.h:461:37: note: expanded from macro 'LOG_PRI'
    android_printLog(priority, tag, __VA_ARGS__)
                                    ^~~~~~~~~~~
system/core/include/log/log.h:618:36: note: expanded from macro 'android_printLog'
    __android_log_print(prio, tag, fmt)
                                   ^~~
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:737:59: error: 'mSessions' is a private member of 'android::AudioInputDescriptor'
                       stopInput(activeInput, activeDesc->mSessions.itemAt(0));
                                                          ^
frameworks/av/services/audiopolicy/common/managerdefinitions/include/AudioInputDescriptor.h:78:35: note: declared private here
    AudioSessionCollection        mSessions;
                                  ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:737:69: error: no member named 'itemAt' in 'android::AudioSessionCollection'
                       stopInput(activeInput, activeDesc->mSessions.itemAt(0));
                                              ~~~~~~~~~~~~~~~~~~~~~ ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:738:62: error: 'mSessions' is a private member of 'android::AudioInputDescriptor'
                       releaseInput(activeInput, activeDesc->mSessions.itemAt(0));
                                                             ^
frameworks/av/services/audiopolicy/common/managerdefinitions/include/AudioInputDescriptor.h:78:35: note: declared private here
    AudioSessionCollection        mSessions;
                                  ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:738:72: error: no member named 'itemAt' in 'android::AudioSessionCollection'
                       releaseInput(activeInput, activeDesc->mSessions.itemAt(0));
                                                 ~~~~~~~~~~~~~~~~~~~~~ ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:746:69: error: no member named 'mInputSource' in 'android::AudioInputDescriptor'
                if (AUDIO_SOURCE_VOICE_COMMUNICATION == activeDesc->mInputSource) {
                                                        ~~~~~~~~~~  ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:747:84: error: no member named 'mInputSource' in 'android::AudioInputDescriptor'
                    ALOGD("voice_conc:CLOSING VoIP on call setup : %d",activeDesc->mInputSource);
                                                                       ~~~~~~~~~~  ^
system/core/include/log/log.h:114:52: note: expanded from macro 'ALOGD'
#define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
                                                   ^~~~~~~~~~~
system/core/include/log/log.h:453:38: note: expanded from macro 'ALOG'
    LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
                                     ^~~~~~~~~~~
system/core/include/log/log.h:461:37: note: expanded from macro 'LOG_PRI'
    android_printLog(priority, tag, __VA_ARGS__)
                                    ^~~~~~~~~~~
system/core/include/log/log.h:618:36: note: expanded from macro 'android_printLog'
    __android_log_print(prio, tag, fmt)
                                   ^~~
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:748:56: error: 'mSessions' is a private member of 'android::AudioInputDescriptor'
                    stopInput(activeInput, activeDesc->mSessions.itemAt(0));
                                                       ^
frameworks/av/services/audiopolicy/common/managerdefinitions/include/AudioInputDescriptor.h:78:35: note: declared private here
    AudioSessionCollection        mSessions;
                                  ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:748:66: error: no member named 'itemAt' in 'android::AudioSessionCollection'
                    stopInput(activeInput, activeDesc->mSessions.itemAt(0));
                                           ~~~~~~~~~~~~~~~~~~~~~ ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:749:59: error: 'mSessions' is a private member of 'android::AudioInputDescriptor'
                    releaseInput(activeInput, activeDesc->mSessions.itemAt(0));
                                                          ^
frameworks/av/services/audiopolicy/common/managerdefinitions/include/AudioInputDescriptor.h:78:35: note: declared private here
    AudioSessionCollection        mSessions;
                                  ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:749:69: error: no member named 'itemAt' in 'android::AudioSessionCollection'
                    releaseInput(activeInput, activeDesc->mSessions.itemAt(0));
                                              ~~~~~~~~~~~~~~~~~~~~~ ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:782:75: error: 'mFlags' is a private member of 'android::AudioPort'
                if (((!outputDesc->isDuplicated() &&outputDesc->mProfile->mFlags & AUDIO_OUTPUT_FLAG_PRIMARY))
                                                                          ^
frameworks/av/services/audiopolicy/common/managerdefinitions/include/AudioPort.h:154:14: note: declared private here
    uint32_t mFlags; // attribute flags mask (e.g primary output, direct output...).
             ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[ 32% 11299/35098] target thumb C++: libaudiopolicyservice_32 <= frameworks/av/services/audiopolicy/service/AudioPolicyEffects.cpp
ninja: build stopped: subcommand failed.
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
make: Leaving directory '/mnt/stuff1/Android/lineage-14.1'

#### make failed to build some targets (36:49 (mm:ss)) ####
satanicdemon commented 7 years ago

you closed this one, does it mean you have success/booting build?