[Galaxy Note 4 General] gekkehenkie11:
And after 7 hours of building it breaks here:

target thumb C++: libstagefright <= frameworks/av/media/libstagefright/AACWriter.cpp
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/AMRExtractor.cpp
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/AMRWriter.cpp
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/AudioPlayer.cpp
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:39:32: error: redeclaration of 'kKeyRawCodecSpecificData'
kKeyRawCodecSpecificData = 'rcsd', // raw data - added to support mmParser
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:135:5: note: previous declaration 'android::<anonymous enum> kKeyRawCodecSpecificData'
kKeyRawCodecSpecificData = 'rcsd', // raw data - added to support mmParser
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:40:32: error: redeclaration of 'kKeyDivXVersion'
kKeyDivXVersion = 'DivX', // int32_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:136:5: note: previous declaration 'android::<anonymous enum> kKeyDivXVersion'
kKeyDivXVersion = 'DivX', // int32_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:41:32: error: redeclaration of 'kKeyDivXDrm'
kKeyDivXDrm = 'QDrm', // void *
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:137:5: note: previous declaration 'android::<anonymous enum> kKeyDivXDrm'
kKeyDivXDrm = 'QDrm', // void *
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:42:32: error: redeclaration of 'kKeyWMAEncodeOpt'
kKeyWMAEncodeOpt = 'eopt', // int32_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:138:5: note: previous declaration 'android::<anonymous enum> kKeyWMAEncodeOpt'
kKeyWMAEncodeOpt = 'eopt', // int32_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:43:32: error: redeclaration of 'kKeyWMABlockAlign'
kKeyWMABlockAlign = 'blka', // int32_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:139:5: note: previous declaration 'android::<anonymous enum> kKeyWMABlockAlign'
kKeyWMABlockAlign = 'blka', // int32_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:44:32: error: redeclaration of 'kKeyWMAVersion'
kKeyWMAVersion = 'wmav', // int32_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:140:5: note: previous declaration 'android::<anonymous enum> kKeyWMAVersion'
kKeyWMAVersion = 'wmav', // int32_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:45:32: error: redeclaration of 'kKeyWMAAdvEncOpt1'
kKeyWMAAdvEncOpt1 = 'ade1', // int16_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:141:5: note: previous declaration 'android::<anonymous enum> kKeyWMAAdvEncOpt1'
kKeyWMAAdvEncOpt1 = 'ade1', // int16_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:46:32: error: redeclaration of 'kKeyWMAAdvEncOpt2'
kKeyWMAAdvEncOpt2 = 'ade2', // int32_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:142:5: note: previous declaration 'android::<anonymous enum> kKeyWMAAdvEncOpt2'
kKeyWMAAdvEncOpt2 = 'ade2', // int32_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:47:32: error: redeclaration of 'kKeyWMAFormatTag'
kKeyWMAFormatTag = 'fmtt', // int64_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:143:5: note: previous declaration 'android::<anonymous enum> kKeyWMAFormatTag'
kKeyWMAFormatTag = 'fmtt', // int64_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:48:32: error: redeclaration of 'kKeyWMABitspersample'
kKeyWMABitspersample = 'bsps', // int64_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:144:5: note: previous declaration 'android::<anonymous enum> kKeyWMABitspersample'
kKeyWMABitspersample = 'bsps', // int64_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:49:32: error: redeclaration of 'kKeyWMAVirPktSize'
kKeyWMAVirPktSize = 'vpks', // int64_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:145:5: note: previous declaration 'android::<anonymous enum> kKeyWMAVirPktSize'
kKeyWMAVirPktSize = 'vpks', // int64_t
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:70:5: error: redeclaration of 'kTypeDivXVer_3_11'
kTypeDivXVer_3_11,
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:214:5: note: previous declaration 'android::<anonymous enum> kTypeDivXVer_3_11'
kTypeDivXVer_3_11,
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:71:5: error: redeclaration of 'kTypeDivXVer_4'
kTypeDivXVer_4,
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:215:5: note: previous declaration 'android::<anonymous enum> kTypeDivXVer_4'
kTypeDivXVer_4,
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:72:5: error: redeclaration of 'kTypeDivXVer_5'
kTypeDivXVer_5,
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:216:5: note: previous declaration 'android::<anonymous enum> kTypeDivXVer_5'
kTypeDivXVer_5,
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:73:5: error: redeclaration of 'kTypeDivXVer_6'
kTypeDivXVer_6,
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:217:5: note: previous declaration 'android::<anonymous enum> kTypeDivXVer_6'
kTypeDivXVer_6,
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:76:5: error: redeclaration of 'kTypeWMA'
kTypeWMA,
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:221:5: note: previous declaration 'android::<anonymous enum> kTypeWMA'
kTypeWMA,
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:77:5: error: redeclaration of 'kTypeWMAPro'
kTypeWMAPro,
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:222:5: note: previous declaration 'android::<anonymous enum> kTypeWMAPro'
kTypeWMAPro,
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:44:0:
./hardware/qcom/media-caf/msm8084/mm-core/inc/QCMetaData.h:78:5: error: redeclaration of 'kTypeWMALossLess'
kTypeWMALossLess,
^
In file included from frameworks/av/media/libstagefright/AudioPlayer.cpp:37:0:
frameworks/av/include/media/stagefright/MetaData.h:223:5: note: previous declaration 'android::<anonymous enum> kTypeWMALossLess'
kTypeWMALossLess,
^
make: *** [/home/gkh/android/system/out/target/product/trlte/obj/SHARED_LIBRARIES/libstagefright_intermediates/AudioPlayer.o] Error 1

#### make failed to build some targets (07:01:15 (hh:mm:ss)) ####

A conflict of double imports between QCMetadata.h in the media-caf folder and Metadata.h in av/include ... As they're defined the same we could just scrap one each time, but that's not a nice solution... Anyway enough for today, going to look into this tomorrow.