Just run the fail commands to see what error it is exactly.
I suspect you didn't install mcopy?

Denis Ciocca於 2016年10月25日星期二 UTC+8上午12時50分11秒寫道:
>
> Hi guys,
>
> I know. It is not supported. But...I like to use my arch linux and I don't 
> want to switch every time to use ubuntu just to build android.
> I'm trying to compile Android 7. I installed virtualenv2 and all libraries 
> needed. As soon as I try to compile for hikey I get:
>
> [  0% 12/43703] build out/target/product/hikey/boot_fat.uefi.img 
> FAILED: /bin/bash -c "(dd if=/dev/zero 
> of=out/target/product/hikey/boot_fat.uefi.img bs=512 count=98304 ) && 
> (mkfs.fat -n \"boot\" out/target/product/hikey/boot_fat.uefi.img ) && 
> (mcopy -i 
> out/target/product/hikey/boot_fat.uefi.img out/target/product/hikey/kernel 
> ::Image ) && (mcopy -i out/target/product/hikey/boot_fat.uefi.img 
> out/target/product/hikey/hi6220-hikey.dtb ::hi62
> 20-hikey.dtb ) && (mcopy -s -i out/target/product/hikey/boot_fat.uefi.img 
> device/linaro/hikey/bootloader/* :: ) && (mcopy -i 
> out/target/product/hikey/boot_fat.uefi.img out/target/product/hi
> key/ramdisk.img ::ramdisk.img )" 
> 98304+0 records in 
> 98304+0 records out 
> 50331648 bytes (50 MB, 48 MiB) copied, 0.274155 s, 184 MB/s 
> mkfs.fat: warning - lowercase labels might not work properly with DOS or 
> Windows 
> mkfs.fat 4.0 (2016-05-06) 
> Total number of sectors (98304) not a multiple of sectors per track (63)! 
> Add mtools_skip_check=1 to your .mtoolsrc file to skip this test 
> [  0% 12/43703] host C++: libadb <= system/core/adb/transport.cpp 
>
> [  0% 12/43703] Docs droiddoc: out/target/common/docs/api-stubs 
> DroidDoc took 41 sec. to write docs to out/target/common/docs/api-stubs 
> ninja: build stopped: subcommand failed. 
> make: *** [build/core/ninja.mk:149: ninja_wrapper] Error 
>
>
> Anyone have experience building on arch? Anyone can help me how to check 
> and read ninja log output?
>
> Thanks a lot,
> Denis
>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to