Nougat builds fail
mikey0000 opened this issue · 6 comments
acp: missing destination file
FAILED: /bin/bash -c "(out/host/linux-x86/bin/acp -fp out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk ) && (if (zipinfo out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk 'lib/*.so' 2>/dev/null | grep -v ' stor ' >/dev/null) ; then rm -rf out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/uncompressedlibs && mkdir out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/uncompressedlibs; unzip out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk 'lib/*.so' -d out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/uncompressedlibs && zip -d out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk 'lib/*.so' && ( cd out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/uncompressedlibs && find lib -type f | sort | zip -D -X -0 ../package.apk -@ ) && rm -rf out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/uncompressedlibs; fi ) && (if ! out/host/linux-x86/bin/zipalign -c -p 4 out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk >/dev/null ; then mv out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk.unaligned; out/host/linux-x86/bin/zipalign -f -p 4 out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk.unaligned out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk.aligned; mv out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk.aligned out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk; fi )"
acp: missing destination file
not sure what the exact issue is otherwise I would supply a PR.
What's the contents of:
out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/
tulip-chiphd is ARM, ARM64 or X86? If it's ARM64, do you have vendor/opengapps/sources/arm64 checked out?
I'll need to dig through the AOSP build system source code next week and see what's happening, but it seems that the acp
command is missing the source file.
that folder is empty, it is arm64 and yes I have the arm64 branch checked out as well as all.
So if its not trying to copy over the package.apk then yes the package.apk is missing.
anything else I can do to help you with this?
where about does opengapps do the copying to the intermediates directories? or should I say tell the AOSP build system to do it? Isn't is usually the individual Android.mk files?
You also need arm repo checked out
thanks! I'll try again with that.
[EDIT]
Yes once arm was added all was well, sorry!
@Blystad
Maybe the sources example should be updated? Because this seems to become a recurring issue.
maybe like:
<project path="vendor/opengapps/sources/all" name="all" clone-depth="1" revision="master" remote="opengapps" /> <!-- necessary for: arm, arm64, x86, x86_64 -->
<project path="vendor/opengapps/sources/arm" name="arm" clone-depth="1" revision="master" remote="opengapps" /> <!-- necessary for: arm, arm64, x86, x86_64 -->
<project path="vendor/opengapps/sources/arm64" name="arm64" clone-depth="1" revision="master" remote="opengapps" /> <!-- necessary for: arm64 -->
<project path="vendor/opengapps/sources/x86" name="x86" clone-depth="1" revision="master" remote="opengapps" /> <!-- necessary for: x86, x86_64 -->
<project path="vendor/opengapps/sources/x86_64" name="x86_64" clone-depth="1" revision="master" remote="opengapps" /> <!-- necessary for: x86_64 -->
Sure.