Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- simyrik@radxa:~/rockpi4$ make -j16
- ============================================
- PLATFORM_VERSION_CODENAME=REL
- PLATFORM_VERSION=9
- TARGET_PRODUCT=rk3399
- TARGET_BUILD_VARIANT=userdebug
- TARGET_BUILD_TYPE=release
- TARGET_ARCH=arm64
- TARGET_ARCH_VARIANT=armv8-a
- TARGET_CPU_VARIANT=cortex-a53
- TARGET_2ND_ARCH=arm
- TARGET_2ND_ARCH_VARIANT=armv7-a-neon
- TARGET_2ND_CPU_VARIANT=cortex-a15
- HOST_ARCH=x86_64
- HOST_2ND_ARCH=x86
- HOST_OS=linux
- HOST_OS_EXTRA=Linux-5.4.0-40-generic-x86_64-Ubuntu-20.04-LTS
- HOST_CROSS_OS=windows
- HOST_CROSS_ARCH=x86
- HOST_CROSS_2ND_ARCH=x86_64
- HOST_BUILD_TYPE=release
- BUILD_ID=PI
- OUT_DIR=out
- ============================================
- [1/1] out/soong/.minibootstrap/minibp out/soong/.bootstrap/build.ninja
- [1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
- SurfaceFlinger want to conditional Compile
- librga want to conditional Compile
- libstagefright want to conditional Compile
- TARGET_PRODUCT: rk3399
- device/rockchip/rk3399/preinstall_del/preinstall.mk was modified, regenerating...
- out/soong/Android-rk3399.mk was modified, regenerating...
- Traceback (most recent call last):
- File "/home/simyrik/rockpi4/.repo/repo/main.py", line 628, in <module>
- _Main(sys.argv[1:])
- File "/home/simyrik/rockpi4/.repo/repo/main.py", line 602, in _Main
- result = run()
- File "/home/simyrik/rockpi4/.repo/repo/main.py", line 595, in <lambda>
- run = lambda: repo._Run(name, gopts, argv) or 0
- File "/home/simyrik/rockpi4/.repo/repo/main.py", line 264, in _Run
- result = cmd.Execute(copts, cargs)
- File "/home/simyrik/rockpi4/.repo/repo/subcmds/manifest.py", line 99, in Execute
- self._Output(opt)
- File "/home/simyrik/rockpi4/.repo/repo/subcmds/manifest.py", line 86, in _Output
- self.manifest.Save(fd,
- File "/home/simyrik/rockpi4/.repo/repo/manifest_xml.py", line 453, in Save
- output_projects(None, root, list(sorted(projects)))
- File "/home/simyrik/rockpi4/.repo/repo/manifest_xml.py", line 356, in output_projects
- output_project(parent, parent_node, project)
- File "/home/simyrik/rockpi4/.repo/repo/manifest_xml.py", line 383, in output_project
- value = p.work_git.rev_parse(HEAD + '^0')
- File "/home/simyrik/rockpi4/.repo/repo/project.py", line 3410, in runner
- raise GitError('%s %s: %s' %
- error.GitError: TWRP rev-parse: fatal: not a git repository (or any of the parent directories): .git
- [4/1103] including bootable/recovery/Android.mk ...
- bootable/recovery/Android.mk:105: warning: *** Redirect log to UART
- [429/1103] including hardware/rockchip/omx_il/Android.mk ...
- tools/hooks .git/hooks
- [431/1103] including hardware/rockchip/sensor/Android.mk ...
- YD>>PLATFORM_VERSION=9
- YD>>ANDRIOD VERSION=9.9
- YD>>VERSION_L=, VERSION_KK=
- YD>>LOCAL_MODULE=sensors.rk30board
- YD>>LOCAL_MODULE=sensors.rk30board, LOCAL_SRC_FILES=sensors_mpl.cpp SamsungSensorBase.cpp LightSensor.cpp ProximitySensor.cpp, LOCAL_SHARED_LIBRARIES=libinvensense_hal libcutils libutils libdl liblog libmllite libhardware
- [610/1103] including system/sepolicy/Android.mk ...
- system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
- [1103/1103] including vendor/rockchip/common/vpu/Android.mk ...
- build/make/core/aapt2.mk:33: warning: overriding commands for target `out/target/common/obj/APPS/Bluetooth_intermediates/flat-res/device/rockchip/common/overlay/packages/apps/Bluetooth/res/values_config.arsc.flat'
- build/make/core/aapt2.mk:33: warning: ignoring old commands for target `out/target/common/obj/APPS/Bluetooth_intermediates/flat-res/device/rockchip/common/overlay/packages/apps/Bluetooth/res/values_config.arsc.flat'
- build/make/core/Makefile:28: warning: overriding commands for target `out/target/product/rk3399/vendor/lib/libjpeghwenc.so'
- build/make/core/base_rules.mk:412: warning: ignoring old commands for target `out/target/product/rk3399/vendor/lib/libjpeghwenc.so'
- build/make/core/Makefile:28: warning: overriding commands for target `out/target/product/rk3399/vendor/lib/libjpeghwdec.so'
- build/make/core/base_rules.mk:412: warning: ignoring old commands for target `out/target/product/rk3399/vendor/lib/libjpeghwdec.so'
- build/make/core/Makefile:28: warning: overriding commands for target `out/target/product/rk3399/vendor/lib64/libjpeghwenc.so'
- build/make/core/base_rules.mk:412: warning: ignoring old commands for target `out/target/product/rk3399/vendor/lib64/libjpeghwenc.so'
- [ 11% 38/324] build out/target/product/rk3399/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows
- out/host/linux-x86/bin/checkpolicy: loading policy configuration from out/target/product/rk3399/obj/ETC/sepolicy_neverallows_intermediates/policy.conf
- out/host/linux-x86/bin/checkpolicy: policy configuration loaded
- out/host/linux-x86/bin/checkpolicy: writing binary representation (version 30) to out/target/product/rk3399/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows
- [ 20% 67/324] target C++: recovery <= bootable/recovery/rktools.cpp
- bootable/recovery/rktools.cpp:155:27: warning: unused parameter 'arg' [-Wunused-parameter]
- void *thrd_led_func(void *arg) {
- ^
- bootable/recovery/rktools.cpp:325:80: warning: unused parameter 'c' [-Wunused-parameter]
- void SplitString(const std::string& s, std::string& result, const std::string& c){
- ^
- 2 warnings generated.
- [ 22% 74/324] target C++: recovery <= bootable/recovery/sdboot.cpp
- bootable/recovery/sdboot.cpp:320:36: warning: unused parameter 'szPrompt' [-Wunused-parameter]
- void handle_upgrade_callback(char *szPrompt)
- ^
- 1 warning generated.
- [ 23% 76/324] target C: libmtdutils <= bootable/recovery/mtdutils/rk29.c
- bootable/recovery/mtdutils/rk29.c:66:51: warning: unused parameter 'len' [-Wunused-parameter]
- int rk_make_ext4fs(const char *filename,long long len, const char *mountpoint)
- ^
- 1 warning generated.
- [ 35% 114/324] target C++: librkupdate <= bootable/recovery/rkupdate/RKDevice.cpp
- bootable/recovery/rkupdate/RKDevice.cpp:231:7: warning: unused variable 'flashID' [-Wunused-variable]
- BYTE flashID[5];
- ^
- bootable/recovery/rkupdate/RKDevice.cpp:346:19: warning: comparison of integers of different signs: 'DWORD' (aka 'unsigned int') and 'int' [-Wsign-compare]
- if (dwReadSector>iValidSecCount)
- ~~~~~~~~~~~~^~~~~~~~~~~~~~~
- bootable/recovery/rkupdate/RKDevice.cpp:532:33: warning: array subscript is of type 'char' [-Wchar-subscripts]
- if(0 == m_flashInfo.blockState[bBegin++])
- ^~~~~~~~~
- bootable/recovery/rkupdate/RKDevice.cpp:598:12: warning: comparison of integers of different signs: 'int' and 'UINT' (aka 'unsigned int') [-Wsign-compare]
- for (i=0;i<uiIDBCount;i++)
- ~^~~~~~~~~~~
- bootable/recovery/rkupdate/RKDevice.cpp:630:12: warning: comparison of integers of different signs: 'int' and 'UINT' (aka 'unsigned int') [-Wsign-compare]
- for(j=0;j<uiSecCount;j++)
- ~^~~~~~~~~~~
- 5 warnings generated.
- [ 36% 117/324] target C++: librkupdate <= bootable/recovery/rkupdate/RKImage.cpp
- bootable/recovery/rkupdate/RKImage.cpp:268:60: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat]
- printf("Md5Check update.img ulFwSize:%ld", ulFwSize);
- ~~~ ^~~~~~~~
- %lld
- 1 warning generated.
- [ 36% 118/324] target C++: librkupdate <= bootable/recovery/rkupdate/RKComm.cpp
- bootable/recovery/rkupdate/RKComm.cpp:200:37: warning: unused parameter 'ucFlashCS' [-Wunused-parameter]
- int CRKUsbComm::RKU_EraseBlock(BYTE ucFlashCS,DWORD dwPos,DWORD dwCount,BYTE ucEraseType)
- ^
- bootable/recovery/rkupdate/RKComm.cpp:200:53: warning: unused parameter 'dwPos' [-Wunused-parameter]
- int CRKUsbComm::RKU_EraseBlock(BYTE ucFlashCS,DWORD dwPos,DWORD dwCount,BYTE ucEraseType)
- ^
- bootable/recovery/rkupdate/RKComm.cpp:200:65: warning: unused parameter 'dwCount' [-Wunused-parameter]
- int CRKUsbComm::RKU_EraseBlock(BYTE ucFlashCS,DWORD dwPos,DWORD dwCount,BYTE ucEraseType)
- ^
- bootable/recovery/rkupdate/RKComm.cpp:200:78: warning: unused parameter 'ucEraseType' [-Wunused-parameter]
- int CRKUsbComm::RKU_EraseBlock(BYTE ucFlashCS,DWORD dwPos,DWORD dwCount,BYTE ucEraseType)
- ^
- bootable/recovery/rkupdate/RKComm.cpp:204:40: warning: unused parameter 'lpBuffer' [-Wunused-parameter]
- int CRKUsbComm::RKU_ReadChipInfo(BYTE* lpBuffer)
- ^
- bootable/recovery/rkupdate/RKComm.cpp:208:39: warning: unused parameter 'lpBuffer' [-Wunused-parameter]
- int CRKUsbComm::RKU_ReadFlashID(BYTE* lpBuffer)
- ^
- bootable/recovery/rkupdate/RKComm.cpp:227:75: warning: unused parameter 'bySubCode' [-Wunused-parameter]
- int CRKUsbComm::RKU_ReadLBA(DWORD dwPos,DWORD dwCount,BYTE* lpBuffer,BYTE bySubCode)
- ^
- bootable/recovery/rkupdate/RKComm.cpp:292:38: warning: unused parameter 'bySubCode' [-Wunused-parameter]
- int CRKUsbComm::RKU_ResetDevice(BYTE bySubCode)
- ^
- bootable/recovery/rkupdate/RKComm.cpp:297:39: warning: unused parameter 'ucFlashCS' [-Wunused-parameter]
- int CRKUsbComm::RKU_TestBadBlock(BYTE ucFlashCS,DWORD dwPos,DWORD dwCount,BYTE* lpBuffer)
- ^
- bootable/recovery/rkupdate/RKComm.cpp:297:55: warning: unused parameter 'dwPos' [-Wunused-parameter]
- int CRKUsbComm::RKU_TestBadBlock(BYTE ucFlashCS,DWORD dwPos,DWORD dwCount,BYTE* lpBuffer)
- ^
- bootable/recovery/rkupdate/RKComm.cpp:297:67: warning: unused parameter 'dwCount' [-Wunused-parameter]
- int CRKUsbComm::RKU_TestBadBlock(BYTE ucFlashCS,DWORD dwPos,DWORD dwCount,BYTE* lpBuffer)
- ^
- bootable/recovery/rkupdate/RKComm.cpp:317:44: warning: unused parameter 'dwTotal' [-Wunused-parameter]
- int CRKUsbComm::RKU_TestDeviceReady(DWORD *dwTotal,DWORD *dwCurrent,BYTE bySubCode)
- ^
- bootable/recovery/rkupdate/RKComm.cpp:317:59: warning: unused parameter 'dwCurrent' [-Wunused-parameter]
- int CRKUsbComm::RKU_TestDeviceReady(DWORD *dwTotal,DWORD *dwCurrent,BYTE bySubCode)
- ^
- bootable/recovery/rkupdate/RKComm.cpp:317:74: warning: unused parameter 'bySubCode' [-Wunused-parameter]
- int CRKUsbComm::RKU_TestDeviceReady(DWORD *dwTotal,DWORD *dwCurrent,BYTE bySubCode)
- ^
- bootable/recovery/rkupdate/RKComm.cpp:321:82: warning: unused parameter 'bySubCode' [-Wunused-parameter]
- int CRKUsbComm::RKU_WriteLBALoader(DWORD dwPos,DWORD dwCount,BYTE* lpBuffer,BYTE bySubCode)
- ^
- bootable/recovery/rkupdate/RKComm.cpp:390:76: warning: unused parameter 'bySubCode' [-Wunused-parameter]
- int CRKUsbComm::RKU_WriteLBA(DWORD dwPos,DWORD dwCount,BYTE* lpBuffer,BYTE bySubCode)
- ^
- In file included from bootable/recovery/rkupdate/RKComm.cpp:3:
- bootable/recovery/rkupdate/RKAndroidDevice.h:184:16: warning: unused function 'volume_for_path' [-Wunused-function]
- static Volume* volume_for_path(const char* path) {
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.h:187:12: warning: unused function 'exec_cmd' [-Wunused-function]
- static int exec_cmd(const char* path, char* const argv[]) {
- ^
- 18 warnings generated.
- [ 38% 124/324] target C++: librkupdate <= bootable/recovery/rkupdate/Upgrade.cpp
- bootable/recovery/rkupdate/Upgrade.cpp:272:16: warning: comparison of integers of different signs: 'int' and 'DWORD' (aka 'unsigned int') [-Wsign-compare]
- if (nParamSize<*pParamSize)
- ~~~~~~~~~~^~~~~~~~~~~~
- bootable/recovery/rkupdate/Upgrade.cpp:465:12: warning: comparison of integers of different signs: 'int' and 'std::__1::vector<STRUCT_PARAM_ITEM, std::__1::allocator<STRUCT_PARAM_ITEM> >::size_type' (aka 'unsigned long') [-Wsign-compare]
- for (i=0;i<vecParam.size();i++)
- ~^~~~~~~~~~~~~~~~
- bootable/recovery/rkupdate/Upgrade.cpp:474:7: warning: comparison of integers of different signs: 'int' and 'std::__1::vector<STRUCT_PARAM_ITEM, std::__1::allocator<STRUCT_PARAM_ITEM> >::size_type' (aka 'unsigned long') [-Wsign-compare]
- if (i>=vecParam.size())
- ~^ ~~~~~~~~~~~~~~~
- bootable/recovery/rkupdate/Upgrade.cpp:606:28: warning: unused parameter 'pComm' [-Wunused-parameter]
- bool IsDeviceLock(CRKComm *pComm,bool &bLock)
- ^
- bootable/recovery/rkupdate/Upgrade.cpp:760:7: warning: unused variable 'bRet' [-Wunused-variable]
- bool bRet;
- ^
- bootable/recovery/rkupdate/Upgrade.cpp:755:82: warning: unused parameter 'nKeySize' [-Wunused-parameter]
- bool UnlockDevice(CRKImage *pImage,CRKLog *pLog,unsigned char *pKey,unsigned int nKeySize)
- ^
- bootable/recovery/rkupdate/Upgrade.cpp:784:38: warning: variable 'nOutput' is uninitialized when used here [-Wuninitialized]
- pLog->PrintBuffer(strOutput,output+nOutput-32,32,16);
- ^~~~~~~
- bootable/recovery/rkupdate/Upgrade.cpp:759:22: note: initialize the variable 'nOutput' to silence this warning
- unsigned int nOutput;
- ^
- = 0
- bootable/recovery/rkupdate/Upgrade.cpp:805:7: warning: unused variable 'nKeySize' [-Wunused-variable]
- UINT nKeySize=514;
- ^
- bootable/recovery/rkupdate/Upgrade.cpp:804:7: warning: unused variable 'key' [-Wunused-variable]
- BYTE key[514];
- ^
- bootable/recovery/rkupdate/Upgrade.cpp:795:86: warning: unused parameter 'szBootDev' [-Wunused-parameter]
- bool do_rk_firmware_upgrade(char *szFw,void *pCallback,void *pProgressCallback,char *szBootDev)
- ^
- bootable/recovery/rkupdate/Upgrade.cpp:1189:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
- if(!download_backup_image(vecParam,PARTNAME_SYSTEM,dwBackupOffset,hdr,pComm,pLog))
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.h:129:27: note: expanded from macro 'PARTNAME_SYSTEM'
- #define PARTNAME_SYSTEM "system"
- ^
- bootable/recovery/rkupdate/Upgrade.cpp:1162:12: warning: comparison of integers of different signs: 'int' and 'std::__1::vector<STRUCT_PARAM_ITEM, std::__1::allocator<STRUCT_PARAM_ITEM> >::size_type' (aka 'unsigned long') [-Wsign-compare]
- for (i=0;i<vecParam.size();i++)
- ~^~~~~~~~~~~~~~~~
- bootable/recovery/rkupdate/Upgrade.cpp:1280:17: warning: comparison of integers of different signs: 'int' and 'std::__1::vector<STRUCT_PARAM_ITEM, std::__1::allocator<STRUCT_PARAM_ITEM> >::size_type' (aka 'unsigned long') [-Wsign-compare]
- for(i = 0;i < vecParam.size();i++)
- ~ ^ ~~~~~~~~~~~~~~~
- bootable/recovery/rkupdate/Upgrade.cpp:1338:9: warning: unused variable 'nParamSize' [-Wunused-variable]
- int nParamSize = -1;
- ^
- bootable/recovery/rkupdate/Upgrade.cpp:1331:31: warning: unused variable 'bLock' [-Wunused-variable]
- bool bSuccess=false, bRet,bLock;
- ^
- bootable/recovery/rkupdate/Upgrade.cpp:1340:11: warning: unused variable 'dwBackupOffset' [-Wunused-variable]
- DWORD dwBackupOffset = 0;
- ^
- bootable/recovery/rkupdate/Upgrade.cpp:1339:11: warning: unused variable 'pParam' [-Wunused-variable]
- char *pParam = NULL;
- ^
- bootable/recovery/rkupdate/Upgrade.cpp:1350:26: warning: unused variable 'device' [-Wunused-variable]
- STRUCT_RKDEVICE_DESC device;
- ^
- bootable/recovery/rkupdate/Upgrade.cpp:1348:10: warning: unused variable 'uid' [-Wunused-variable]
- BYTE uid[RKDEVICE_UID_LEN];
- ^
- bootable/recovery/rkupdate/Upgrade.cpp:1332:9: warning: unused variable 'i' [-Wunused-variable]
- int i, iRet,iFileSize;
- ^
- bootable/recovery/rkupdate/Upgrade.cpp:1330:40: warning: unused parameter 'pCallback' [-Wunused-parameter]
- bool do_rk_gpt_update(char *szFw,void *pCallback,void *pProgressCallback,char *szBootDev){
- ^
- bootable/recovery/rkupdate/Upgrade.cpp:1330:56: warning: unused parameter 'pProgressCallback' [-Wunused-parameter]
- bool do_rk_gpt_update(char *szFw,void *pCallback,void *pProgressCallback,char *szBootDev){
- ^
- bootable/recovery/rkupdate/Upgrade.cpp:1330:80: warning: unused parameter 'szBootDev' [-Wunused-parameter]
- bool do_rk_gpt_update(char *szFw,void *pCallback,void *pProgressCallback,char *szBootDev){
- ^
- bootable/recovery/rkupdate/Upgrade.cpp:1388:21: warning: comparison of integers of different signs: 'DWORD' (aka 'unsigned int') and 'int' [-Wsign-compare]
- if(uiActualRead != iFileSize)
- ~~~~~~~~~~~~ ^ ~~~~~~~~~
- bootable/recovery/rkupdate/Upgrade.cpp:1366:10: warning: variable 'm_gptBuffer' is uninitialized when used here [-Wuninitialized]
- if (!m_gptBuffer)
- ^~~~~~~~~~~
- bootable/recovery/rkupdate/Upgrade.cpp:1342:22: note: initialize the variable 'm_gptBuffer' to silence this warning
- BYTE *m_gptBuffer;
- ^
- = nullptr
- In file included from bootable/recovery/rkupdate/Upgrade.cpp:4:
- bootable/recovery/rkupdate/RKAndroidDevice.h:184:16: warning: unused function 'volume_for_path' [-Wunused-function]
- static Volume* volume_for_path(const char* path) {
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.h:187:12: warning: unused function 'exec_cmd' [-Wunused-function]
- static int exec_cmd(const char* path, char* const argv[]) {
- ^
- 27 warnings generated.
- [ 38% 125/324] target C++: librkupdate <= bootable/recovery/rkupdate/RKSparse.cpp
- bootable/recovery/rkupdate/RKSparse.cpp:148:31: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
- for (i = 0; i < uiWriteByte/4; i++)
- ~ ^ ~~~~~~~~~~~~~
- 1 warning generated.
- [ 41% 134/324] target C++: librkupdate <= bootable/recovery/rkupdate/RKAndroidDevice.cpp
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:132:18: warning: array subscript is of type 'char' [-Wchar-subscripts]
- m_idBlockOffset[i] = iIndex;
- ^~
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:150:18: warning: array subscript is of type 'char' [-Wchar-subscripts]
- m_idBlockOffset[i] = iBlockIndex;
- ^~
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:189:41: warning: array subscript is of type 'char' [-Wchar-subscripts]
- m_flashInfo.blockState[m_idBlockOffset[pos]+i]=1;//<B1><EA><BC><C7><C9>ϻ<B5><BF><E9>
- ^~~~
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:191:31: warning: array subscript is of type 'char' [-Wchar-subscripts]
- iBlockIndex = m_idBlockOffset[pos]+m_flashInfo.usPhyBlokcPerIDB;
- ^~~~
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:633:13: warning: comparison of integers of different signs: 'int' and 'DWORD' (aka 'unsigned int') [-Wsign-compare]
- for (i=0; i<dwSectorNum; i++)
- ~^~~~~~~~~~~~
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:657:42: warning: unused variable 'uiLen' [-Wunused-variable]
- UINT uiOffset,uiTotal,uiWriteByte,uiCrc,uiLen,uiBegin;
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:655:26: warning: unused variable 'end_write_sector_data' [-Wunused-variable]
- STRUCT_END_WRITE_SECTOR end_write_sector_data;
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:657:24: warning: unused variable 'uiWriteByte' [-Wunused-variable]
- UINT uiOffset,uiTotal,uiWriteByte,uiCrc,uiLen,uiBegin;
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:659:13: warning: unused variable 'nTryCount' [-Wunused-variable]
- int iRet,i,nTryCount=3;
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:658:7: warning: unused variable 'uiBufferSize' [-Wunused-variable]
- UINT uiBufferSize=16*1024;
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:656:7: warning: unused variable 'writeBuf' [-Wunused-variable]
- BYTE writeBuf[16*1024];
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:657:36: warning: unused variable 'uiCrc' [-Wunused-variable]
- UINT uiOffset,uiTotal,uiWriteByte,uiCrc,uiLen,uiBegin;
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:648:75: warning: unused parameter 'bErase' [-Wunused-parameter]
- int CRKAndroidDevice::WriteIDBlock(PBYTE lpIDBlock,DWORD dwSectorNum,bool bErase)
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:1334:13: warning: comparison of integers of different signs: 'int' and 'std::__1::vector<int, std::__1::allocator<int> >::size_type' (aka 'unsigned long') [-Wsign-compare]
- for ( i=0;i<vecUpgradePartition.size();i++ )
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:1697:102: warning: unused parameter 'totalByte' [-Wunused-parameter]
- bool CRKAndroidDevice::RKA_File_Download(STRUCT_RKIMAGE_ITEM &entry,long long ¤tByte,long long totalByte)
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:1875:99: warning: unused parameter 'totalByte' [-Wunused-parameter]
- bool CRKAndroidDevice::RKA_File_Check(STRUCT_RKIMAGE_ITEM &entry,long long ¤tByte,long long totalByte)
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:2056:103: warning: unused parameter 'totalByte' [-Wunused-parameter]
- bool CRKAndroidDevice::RKA_Param_Download(STRUCT_RKIMAGE_ITEM &entry,long long ¤tByte,long long totalByte)
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:2120:100: warning: unused parameter 'totalByte' [-Wunused-parameter]
- bool CRKAndroidDevice::RKA_Param_Check(STRUCT_RKIMAGE_ITEM &entry,long long ¤tByte,long long totalByte)
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:2239:7: warning: unused variable 'uiLBALoopLimit' [-Wunused-variable]
- UINT uiLBALoopLimit=(LBA_LOOP_SIZE)/uiLBATransferSize;
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:2240:7: warning: unused variable 'uiLBASector' [-Wunused-variable]
- UINT uiLBASector = uiLBATransferSize/SECTOR_SIZE;
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:2245:7: warning: unused variable 'byRWMethod' [-Wunused-variable]
- BYTE byRWMethod=RWMETHOD_IMAGE;
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:2236:62: warning: unused parameter 'entry' [-Wunused-parameter]
- bool CRKAndroidDevice::RKA_Gpt_Download(STRUCT_RKIMAGE_ITEM &entry,long long ¤tByte,long long totalByte)
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:2236:101: warning: unused parameter 'totalByte' [-Wunused-parameter]
- bool CRKAndroidDevice::RKA_Gpt_Download(STRUCT_RKIMAGE_ITEM &entry,long long ¤tByte,long long totalByte)
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:2314:7: warning: unused variable 'uiLBALoopLimit' [-Wunused-variable]
- UINT uiLBALoopLimit=(LBA_LOOP_SIZE)/uiLBATransferSize;
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:2315:7: warning: unused variable 'uiLBASector' [-Wunused-variable]
- UINT uiLBASector = uiLBATransferSize/SECTOR_SIZE;
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:2317:7: warning: unused variable 'byRWMethod' [-Wunused-variable]
- BYTE byRWMethod=RWMETHOD_IMAGE;
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:2311:59: warning: unused parameter 'entry' [-Wunused-parameter]
- bool CRKAndroidDevice::RKA_Gpt_Check(STRUCT_RKIMAGE_ITEM &entry,long long ¤tByte,long long totalByte)
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:2311:98: warning: unused parameter 'totalByte' [-Wunused-parameter]
- bool CRKAndroidDevice::RKA_Gpt_Check(STRUCT_RKIMAGE_ITEM &entry,long long ¤tByte,long long totalByte)
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:3020:7: warning: unused variable 'uiLBALoopLimit' [-Wunused-variable]
- UINT uiLBALoopLimit=(LBA_LOOP_SIZE)/uiLBATransferSize;
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:3017:108: warning: unused parameter 'totalByte' [-Wunused-parameter]
- bool CRKAndroidDevice::RKA_SparseFile_Download(STRUCT_RKIMAGE_ITEM &entry,long long ¤tByte,long long totalByte)
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:3199:15: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
- for (i=0;i<uiWriteByte/4;i++)
- ~^~~~~~~~~~~~~~
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:3242:7: warning: unused variable 'uiLBALoopLimit' [-Wunused-variable]
- UINT uiLBALoopLimit=(LBA_LOOP_SIZE)/uiLBATransferSize;
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:3239:105: warning: unused parameter 'totalByte' [-Wunused-parameter]
- bool CRKAndroidDevice::RKA_SparseFile_Check(STRUCT_RKIMAGE_ITEM &entry,long long ¤tByte,long long totalByte)
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:3439:15: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
- for (i=0;i<uiWriteByte/4;i++)
- ~^~~~~~~~~~~~~~
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:3606:14: warning: unused variable 'gptMasterHead' [-Wunused-variable]
- gpt_header *gptMasterHead = (gpt_header *)(master + SECTOR_SIZE);
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:3759:34: warning: unused variable 'posColon' [-Wunused-variable]
- string::size_type line_size,pos,posColon,posComma;
- ^
- bootable/recovery/rkupdate/RKAndroidDevice.cpp:3759:43: warning: unused variable 'posComma' [-Wunused-variable]
- string::size_type line_size,pos,posColon,posComma;
- ^
- In file included from bootable/recovery/rkupdate/RKAndroidDevice.cpp:1:
- bootable/recovery/rkupdate/RKAndroidDevice.h:229:9: warning: private field 'm_uiResevedBlockSize' is not used [-Wunused-private-field]
- UINT m_uiResevedBlockSize;
- ^
- 38 warnings generated.
- [ 42% 137/324] Copy xml: out/target/product/rk3399/vendor/commit_id.xml
- FAILED: out/target/product/rk3399/vendor/commit_id.xml
- /bin/bash -c "(out/soong/host/linux-x86/bin/xmllint commit_id.xml >/dev/null ) && (mkdir -p out/target/product/rk3399/vendor/ ) && (rm -f out/target/product/rk3399/vendor/commit_id.xml ) && (cp \"commit_id.xml\" \"out/target/product/rk3399/vendor/commit_id.xml\" )"
- commit_id.xml:1: parser error : Document is empty
- ^
- [ 43% 140/324] build out/target/product/rk3399/obj/ETC/treble_sepolicy_tests_26.0_intermediates/built_26.0_plat_sepolicy
- out/host/linux-x86/bin/checkpolicy: loading policy configuration from out/target/product/rk3399/obj/ETC/treble_sepolicy_tests_26.0_intermediates/26.0_plat_policy.conf
- out/host/linux-x86/bin/checkpolicy: policy configuration loaded
- out/host/linux-x86/bin/checkpolicy: writing CIL to out/target/product/rk3399/obj/ETC/treble_sepolicy_tests_26.0_intermediates/built_26.0_plat_sepolicy
- [ 43% 142/324] build out/target/product/rk3399/obj/ETC/plat_sepolicy.cil_intermediates/plat_sepolicy.cil
- out/host/linux-x86/bin/checkpolicy: loading policy configuration from out/target/product/rk3399/obj/ETC/plat_sepolicy.cil_intermediates/plat_policy.conf
- out/host/linux-x86/bin/checkpolicy: policy configuration loaded
- out/host/linux-x86/bin/checkpolicy: writing CIL to out/target/product/rk3399/obj/ETC/plat_sepolicy.cil_intermediates/plat_sepolicy.cil
- [ 44% 143/324] build out/target/product/rk3399/obj/ETC/sepolicy.recovery_intermediates/sepolicy
- out/host/linux-x86/bin/checkpolicy: loading policy configuration from out/target/product/rk3399/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf
- out/host/linux-x86/bin/checkpolicy: policy configuration loaded
- out/host/linux-x86/bin/checkpolicy: writing binary representation (version 30) to out/target/product/rk3399/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp
- [ 44% 144/324] build out/target/product/rk3399/obj/ETC/treble_sepolicy_tests_27.0_intermediates/built_27.0_plat_sepolicy
- out/host/linux-x86/bin/checkpolicy: loading policy configuration from out/target/product/rk3399/obj/ETC/treble_sepolicy_tests_27.0_intermediates/27.0_plat_policy.conf
- out/host/linux-x86/bin/checkpolicy: policy configuration loaded
- out/host/linux-x86/bin/checkpolicy: writing CIL to out/target/product/rk3399/obj/ETC/treble_sepolicy_tests_27.0_intermediates/built_27.0_plat_sepolicy
- [ 46% 151/324] build TAs
- make: Entering directory '/home/simyrik/rockpi4/external/rk_tee_user'
- make[1]: Entering directory '/home/simyrik/rockpi4/external/rk_tee_user/ta'
- make[2]: Entering directory '/home/simyrik/rockpi4/external/rk_tee_user/ta/testapp'
- CLEAN .
- make[2]: Leaving directory '/home/simyrik/rockpi4/external/rk_tee_user/ta/testapp'
- make[2]: Entering directory '/home/simyrik/rockpi4/external/rk_tee_user/ta/testapp_storage'
- CLEAN .
- make[2]: Leaving directory '/home/simyrik/rockpi4/external/rk_tee_user/ta/testapp_storage'
- make[1]: Leaving directory '/home/simyrik/rockpi4/external/rk_tee_user/ta'
- make: Leaving directory '/home/simyrik/rockpi4/external/rk_tee_user'
- make: Entering directory '/home/simyrik/rockpi4/external/rk_tee_user'
- make[1]: Entering directory '/home/simyrik/rockpi4/external/rk_tee_user/ta'
- make[2]: Entering directory '/home/simyrik/rockpi4/external/rk_tee_user/ta/testapp'
- /home/simyrik/rockpi4/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc /home/simyrik/rockpi4/external/rk_tee_user/ta/testapp/testapp_ta.o
- CPP /home/simyrik/rockpi4/external/rk_tee_user/ta/testapp/ta.lds
- /home/simyrik/rockpi4/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc /home/simyrik/rockpi4/external/rk_tee_user/ta/testapp/user_ta_header.o
- LD /home/simyrik/rockpi4/external/rk_tee_user/ta/testapp/8cccf200-2450-11e4-abe20002a5d5c52c.elf
- OBJDUMP /home/simyrik/rockpi4/external/rk_tee_user/ta/testapp/8cccf200-2450-11e4-abe20002a5d5c52c.dmp
- OBJCOPY /home/simyrik/rockpi4/external/rk_tee_user/ta/testapp/8cccf200-2450-11e4-abe20002a5d5c52c.stripped.elf
- SIGN /home/simyrik/rockpi4/external/rk_tee_user/ta/testapp/8cccf200-2450-11e4-abe20002a5d5c52c.ta
- SIGN KEY /home/simyrik/rockpi4/external/rk_tee_user/export-user_ta/keys/oem_privkey.pem
- make[2]: Leaving directory '/home/simyrik/rockpi4/external/rk_tee_user/ta/testapp'
- make[2]: Entering directory '/home/simyrik/rockpi4/external/rk_tee_user/ta/testapp_storage'
- CPP /home/simyrik/rockpi4/external/rk_tee_user/ta/testapp_storage/ta.lds
- /home/simyrik/rockpi4/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc /home/simyrik/rockpi4/external/rk_tee_user/ta/testapp_storage/testapp_storage_ta.o
- /home/simyrik/rockpi4/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc /home/simyrik/rockpi4/external/rk_tee_user/ta/testapp_storage/user_ta_header.o
- LD /home/simyrik/rockpi4/external/rk_tee_user/ta/testapp_storage/8dddf200-2450-11e4-abe20002a5d5c53d.elf
- OBJDUMP /home/simyrik/rockpi4/external/rk_tee_user/ta/testapp_storage/8dddf200-2450-11e4-abe20002a5d5c53d.dmp
- OBJCOPY /home/simyrik/rockpi4/external/rk_tee_user/ta/testapp_storage/8dddf200-2450-11e4-abe20002a5d5c53d.stripped.elf
- SIGN /home/simyrik/rockpi4/external/rk_tee_user/ta/testapp_storage/8dddf200-2450-11e4-abe20002a5d5c53d.ta
- SIGN KEY /home/simyrik/rockpi4/external/rk_tee_user/export-user_ta/keys/oem_privkey.pem
- make[2]: Leaving directory '/home/simyrik/rockpi4/external/rk_tee_user/ta/testapp_storage'
- make[1]: Leaving directory '/home/simyrik/rockpi4/external/rk_tee_user/ta'
- make: Leaving directory '/home/simyrik/rockpi4/external/rk_tee_user'
- [ 46% 152/324] build out/target/product/rk3399/obj/ETC/built_plat_sepolicy_intermediates/built_plat_sepolicy
- out/host/linux-x86/bin/checkpolicy: loading policy configuration from out/target/product/rk3399/obj/ETC/built_plat_sepolicy_intermediates/base_plat_policy.conf
- out/host/linux-x86/bin/checkpolicy: policy configuration loaded
- out/host/linux-x86/bin/checkpolicy: writing CIL to out/target/product/rk3399/obj/ETC/built_plat_sepolicy_intermediates/built_plat_sepolicy
- ninja: build stopped: subcommand failed.
- 07:25:59 ninja failed with: exit status 1
- #### failed to build some targets (23:48 (mm:ss)) ####
Advertisement
Add Comment
Please, Sign In to add comment