Closed Notganesh closed 1 month ago
Source code related
OnePlus Nord CE 2 (ivan)
crDroid 9
9.20/2024-10-07
FAILED: target Prebuilt: webview (out/target/product/ivan/obj/APPS/webview_intermediates/package.apk) Outputs: out/target/product/ivan/obj/APPS/webview_intermediates/package.apk Error: exited with code: 1 Command: /bin/bash -c "(rm -f out/target/product/ivan/obj/APPS/webview_intermediates/package.apk ) && (cp \"external/chromium-webview/prebuilt/arm64/webview.apk\" \"out/target/product/ivan/obj/APPS/webview_intermediates/package.apk\" ) && (if (zipinfo out/target/product/ivan/obj/APPS/webview_intermediates/package.apk 'lib/*.so' 2>/dev/null | grep -v ' stor ' >/dev/null) ; then out/host/linux-x86/bin/zip2zip -i out/target/product/ivan/obj/APPS/webview_intermediates/package.apk -o out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp -0 'lib/*/.so' && mv -f out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp out/target/product/ivan/obj/APPS/webview_intermediates/package.apk ; fi ) && (out/host/linux-x86/bin/zip2zip -i out/target/product/ivan/obj/APPS/webview_intermediates/package.apk -o out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp -x 'lib/*/.so' -X lib/arm64-v8a/libwebviewchromium.so -X lib/armeabi-v7a/libwebviewchromium.so && mv -f out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp out/target/product/ivan/obj/APPS/webview_intermediates/package.apk ) && (if (zipinfo out/target/product/ivan/obj/APPS/webview_intermediates/package.apk '.dex' 2>/dev/null | grep -v ' stor ' >/dev/null) ; then out/host/linux-x86/bin/zip2zip -i out/target/product/ivan/obj/APPS/webview_intermediates/package.apk -o out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp -0 \"classes.dex\" && mv -f out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp out/target/product/ivan/obj/APPS/webview_intermediates/package.apk ; fi ) && (mkdir -p out/target/product/ivan/appcompat && rm -f out/target/product/ivan/appcompat/webview.log && echo -n \"Package name: \" >> out/target/product/ivan/appcompat/webview.log && out/host/linux-x86/bin/aapt2 dump resources out/target/product/ivan/obj/APPS/webview_intermediates/package.apk | awk -F ' |=' '/^Package/{print \$3}' >> out/target/product/ivan/appcompat/webview.log && echo \"Module name in Android tree: webview\" >> out/target/product/ivan/appcompat/webview.log && echo \"Local path in Android tree: external/chromium-webview\" >> out/target/product/ivan/appcompat/webview.log && echo \"Install path on lineage_ivan-userdebug: out/target/product/ivan/product/app/webview/webview.apk\" >> out/target/product/ivan/appcompat/webview.log && echo >> out/target/product/ivan/appcompat/webview.log ) && (echo \"appcompat.sh output:\" >> out/target/product/ivan/appcompat/webview.log && PACKAGING=out/target/common/obj/PACKAGING ANDROID_LOG_TAGS=\"*:e\" out/host/linux-x86/bin/appcompat.sh --dex-file=out/target/product/ivan/obj/APPS/webview_intermediates/package.apk --api-flags=out/soong/hiddenapi/hiddenapi-flags.csv 2>&1 >> out/target/product/ivan/appcompat/webview.log ) && (mv out/target/product/ivan/obj/APPS/webview_intermediates/package.apk out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.unsigned ) && (prebuilts/jdk/jdk11/linux-x86/bin/java -XX:OnError=\"cat hs_err_pid%p.log\" -XX:CICompilerCount=6 -XX:+UseDynamicNumberOfGCThreads -Djava.library.path=\$(dirname out/host/linux-x86/lib64/libconscrypt_openjdk_jni.so) -jar out/host/linux-x86/framework/signapk.jar build/make/target/product/security/testkey.x509.pem build/make/target/product/security/testkey.pk8 out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.unsigned out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.signed ) && (mv out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.signed out/target/product/ivan/obj/APPS/webview_intermediates/package.apk )" Output: zip2zip.go:82: zip: not a valid zip file
FAILED: target Prebuilt: webview (out/target/product/ivan/obj/APPS/webview_intermediates/package.apk) Outputs: out/target/product/ivan/obj/APPS/webview_intermediates/package.apk Error: exited with code: 1 Command: /bin/bash -c "(rm -f out/target/product/ivan/obj/APPS/webview_intermediates/package.apk ) && (cp \"external/chromium-webview/prebuilt/arm64/webview.apk\" \"out/target/product/ivan/obj/APPS/webview_intermediates/package.apk\" ) && (if (zipinfo out/target/product/ivan/obj/APPS/webview_intermediates/package.apk 'lib/*.so' 2>/dev/null | grep -v ' stor ' >/dev/null) ; then out/host/linux-x86/bin/zip2zip -i out/target/product/ivan/obj/APPS/webview_intermediates/package.apk -o out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp -0 'lib/**/*.so' && mv -f out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp out/target/product/ivan/obj/APPS/webview_intermediates/package.apk ; fi ) && (out/host/linux-x86/bin/zip2zip -i out/target/product/ivan/obj/APPS/webview_intermediates/package.apk -o out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp -x 'lib/**/*.so' -X lib/arm64-v8a/libwebviewchromium.so -X lib/armeabi-v7a/libwebviewchromium.so && mv -f out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp out/target/product/ivan/obj/APPS/webview_intermediates/package.apk ) && (if (zipinfo out/target/product/ivan/obj/APPS/webview_intermediates/package.apk '*.dex' 2>/dev/null | grep -v ' stor ' >/dev/null) ; then out/host/linux-x86/bin/zip2zip -i out/target/product/ivan/obj/APPS/webview_intermediates/package.apk -o out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp -0 \"classes*.dex\" && mv -f out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp out/target/product/ivan/obj/APPS/webview_intermediates/package.apk ; fi ) && (mkdir -p out/target/product/ivan/appcompat && rm -f out/target/product/ivan/appcompat/webview.log && echo -n \"Package name: \" >> out/target/product/ivan/appcompat/webview.log && out/host/linux-x86/bin/aapt2 dump resources out/target/product/ivan/obj/APPS/webview_intermediates/package.apk | awk -F ' |=' '/^Package/{print \$3}' >> out/target/product/ivan/appcompat/webview.log && echo \"Module name in Android tree: webview\" >> out/target/product/ivan/appcompat/webview.log && echo \"Local path in Android tree: external/chromium-webview\" >> out/target/product/ivan/appcompat/webview.log && echo \"Install path on lineage_ivan-userdebug: out/target/product/ivan/product/app/webview/webview.apk\" >> out/target/product/ivan/appcompat/webview.log && echo >> out/target/product/ivan/appcompat/webview.log ) && (echo \"appcompat.sh output:\" >> out/target/product/ivan/appcompat/webview.log && PACKAGING=out/target/common/obj/PACKAGING ANDROID_LOG_TAGS=\"*:e\" out/host/linux-x86/bin/appcompat.sh --dex-file=out/target/product/ivan/obj/APPS/webview_intermediates/package.apk --api-flags=out/soong/hiddenapi/hiddenapi-flags.csv 2>&1 >> out/target/product/ivan/appcompat/webview.log ) && (mv out/target/product/ivan/obj/APPS/webview_intermediates/package.apk out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.unsigned ) && (prebuilts/jdk/jdk11/linux-x86/bin/java -XX:OnError=\"cat hs_err_pid%p.log\" -XX:CICompilerCount=6 -XX:+UseDynamicNumberOfGCThreads -Djava.library.path=\$(dirname out/host/linux-x86/lib64/libconscrypt_openjdk_jni.so) -jar out/host/linux-x86/framework/signapk.jar build/make/target/product/security/testkey.x509.pem build/make/target/product/security/testkey.pk8 out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.unsigned out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.signed ) && (mv out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.signed out/target/product/ivan/obj/APPS/webview_intermediates/package.apk )" Output: zip2zip.go:82: zip: not a valid zip file
No response
Fixed ig:(
Issue type
Source code related
Device
OnePlus Nord CE 2 (ivan)
crDroid version
crDroid 9
Exact version / Build date
9.20/2024-10-07
Bug description
FAILED: target Prebuilt: webview (out/target/product/ivan/obj/APPS/webview_intermediates/package.apk) Outputs: out/target/product/ivan/obj/APPS/webview_intermediates/package.apk Error: exited with code: 1 Command: /bin/bash -c "(rm -f out/target/product/ivan/obj/APPS/webview_intermediates/package.apk ) && (cp \"external/chromium-webview/prebuilt/arm64/webview.apk\" \"out/target/product/ivan/obj/APPS/webview_intermediates/package.apk\" ) && (if (zipinfo out/target/product/ivan/obj/APPS/webview_intermediates/package.apk 'lib/*.so' 2>/dev/null | grep -v ' stor ' >/dev/null) ; then out/host/linux-x86/bin/zip2zip -i out/target/product/ivan/obj/APPS/webview_intermediates/package.apk -o out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp -0 'lib/*/.so' && mv -f out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp out/target/product/ivan/obj/APPS/webview_intermediates/package.apk ; fi ) && (out/host/linux-x86/bin/zip2zip -i out/target/product/ivan/obj/APPS/webview_intermediates/package.apk -o out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp -x 'lib/*/.so' -X lib/arm64-v8a/libwebviewchromium.so -X lib/armeabi-v7a/libwebviewchromium.so && mv -f out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp out/target/product/ivan/obj/APPS/webview_intermediates/package.apk ) && (if (zipinfo out/target/product/ivan/obj/APPS/webview_intermediates/package.apk '.dex' 2>/dev/null | grep -v ' stor ' >/dev/null) ; then out/host/linux-x86/bin/zip2zip -i out/target/product/ivan/obj/APPS/webview_intermediates/package.apk -o out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp -0 \"classes.dex\" && mv -f out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp out/target/product/ivan/obj/APPS/webview_intermediates/package.apk ; fi ) && (mkdir -p out/target/product/ivan/appcompat && rm -f out/target/product/ivan/appcompat/webview.log && echo -n \"Package name: \" >> out/target/product/ivan/appcompat/webview.log && out/host/linux-x86/bin/aapt2 dump resources out/target/product/ivan/obj/APPS/webview_intermediates/package.apk | awk -F ' |=' '/^Package/{print \$3}' >> out/target/product/ivan/appcompat/webview.log && echo \"Module name in Android tree: webview\" >> out/target/product/ivan/appcompat/webview.log && echo \"Local path in Android tree: external/chromium-webview\" >> out/target/product/ivan/appcompat/webview.log && echo \"Install path on lineage_ivan-userdebug: out/target/product/ivan/product/app/webview/webview.apk\" >> out/target/product/ivan/appcompat/webview.log && echo >> out/target/product/ivan/appcompat/webview.log ) && (echo \"appcompat.sh output:\" >> out/target/product/ivan/appcompat/webview.log && PACKAGING=out/target/common/obj/PACKAGING ANDROID_LOG_TAGS=\"*:e\" out/host/linux-x86/bin/appcompat.sh --dex-file=out/target/product/ivan/obj/APPS/webview_intermediates/package.apk --api-flags=out/soong/hiddenapi/hiddenapi-flags.csv 2>&1 >> out/target/product/ivan/appcompat/webview.log ) && (mv out/target/product/ivan/obj/APPS/webview_intermediates/package.apk out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.unsigned ) && (prebuilts/jdk/jdk11/linux-x86/bin/java -XX:OnError=\"cat hs_err_pid%p.log\" -XX:CICompilerCount=6 -XX:+UseDynamicNumberOfGCThreads -Djava.library.path=\$(dirname out/host/linux-x86/lib64/libconscrypt_openjdk_jni.so) -jar out/host/linux-x86/framework/signapk.jar build/make/target/product/security/testkey.x509.pem build/make/target/product/security/testkey.pk8 out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.unsigned out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.signed ) && (mv out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.signed out/target/product/ivan/obj/APPS/webview_intermediates/package.apk )" Output: zip2zip.go:82: zip: not a valid zip file
Steps to reproduce
FAILED: target Prebuilt: webview (out/target/product/ivan/obj/APPS/webview_intermediates/package.apk) Outputs: out/target/product/ivan/obj/APPS/webview_intermediates/package.apk Error: exited with code: 1 Command: /bin/bash -c "(rm -f out/target/product/ivan/obj/APPS/webview_intermediates/package.apk ) && (cp \"external/chromium-webview/prebuilt/arm64/webview.apk\" \"out/target/product/ivan/obj/APPS/webview_intermediates/package.apk\" ) && (if (zipinfo out/target/product/ivan/obj/APPS/webview_intermediates/package.apk 'lib/*.so' 2>/dev/null | grep -v ' stor ' >/dev/null) ; then out/host/linux-x86/bin/zip2zip -i out/target/product/ivan/obj/APPS/webview_intermediates/package.apk -o out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp -0 'lib/*/.so' && mv -f out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp out/target/product/ivan/obj/APPS/webview_intermediates/package.apk ; fi ) && (out/host/linux-x86/bin/zip2zip -i out/target/product/ivan/obj/APPS/webview_intermediates/package.apk -o out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp -x 'lib/*/.so' -X lib/arm64-v8a/libwebviewchromium.so -X lib/armeabi-v7a/libwebviewchromium.so && mv -f out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp out/target/product/ivan/obj/APPS/webview_intermediates/package.apk ) && (if (zipinfo out/target/product/ivan/obj/APPS/webview_intermediates/package.apk '.dex' 2>/dev/null | grep -v ' stor ' >/dev/null) ; then out/host/linux-x86/bin/zip2zip -i out/target/product/ivan/obj/APPS/webview_intermediates/package.apk -o out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp -0 \"classes.dex\" && mv -f out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.tmp out/target/product/ivan/obj/APPS/webview_intermediates/package.apk ; fi ) && (mkdir -p out/target/product/ivan/appcompat && rm -f out/target/product/ivan/appcompat/webview.log && echo -n \"Package name: \" >> out/target/product/ivan/appcompat/webview.log && out/host/linux-x86/bin/aapt2 dump resources out/target/product/ivan/obj/APPS/webview_intermediates/package.apk | awk -F ' |=' '/^Package/{print \$3}' >> out/target/product/ivan/appcompat/webview.log && echo \"Module name in Android tree: webview\" >> out/target/product/ivan/appcompat/webview.log && echo \"Local path in Android tree: external/chromium-webview\" >> out/target/product/ivan/appcompat/webview.log && echo \"Install path on lineage_ivan-userdebug: out/target/product/ivan/product/app/webview/webview.apk\" >> out/target/product/ivan/appcompat/webview.log && echo >> out/target/product/ivan/appcompat/webview.log ) && (echo \"appcompat.sh output:\" >> out/target/product/ivan/appcompat/webview.log && PACKAGING=out/target/common/obj/PACKAGING ANDROID_LOG_TAGS=\"*:e\" out/host/linux-x86/bin/appcompat.sh --dex-file=out/target/product/ivan/obj/APPS/webview_intermediates/package.apk --api-flags=out/soong/hiddenapi/hiddenapi-flags.csv 2>&1 >> out/target/product/ivan/appcompat/webview.log ) && (mv out/target/product/ivan/obj/APPS/webview_intermediates/package.apk out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.unsigned ) && (prebuilts/jdk/jdk11/linux-x86/bin/java -XX:OnError=\"cat hs_err_pid%p.log\" -XX:CICompilerCount=6 -XX:+UseDynamicNumberOfGCThreads -Djava.library.path=\$(dirname out/host/linux-x86/lib64/libconscrypt_openjdk_jni.so) -jar out/host/linux-x86/framework/signapk.jar build/make/target/product/security/testkey.x509.pem build/make/target/product/security/testkey.pk8 out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.unsigned out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.signed ) && (mv out/target/product/ivan/obj/APPS/webview_intermediates/package.apk.signed out/target/product/ivan/obj/APPS/webview_intermediates/package.apk )" Output: zip2zip.go:82: zip: not a valid zip file
Relevant log (logcat/build log)
Screenshots or videos
No response
Solution
No response
Additional context
No response
Acknowledgements