build's Issues
Dex2oat failed to compile a boot
[ 30% 266/885] //frameworks/base/boot:platform-bootclasspath dexpreopt boot jars arm64 [common]
FAILED: Evo/out/soong/veux/dex_bootjars/android/system/framework/arm64/boot-core-icu4j.art
native: #39 pc 0000000000420f28 /mnt/FREE_USB/alex/Evo/out/host/linux-x86/bin/dex2oatd64 (???)
(no managed stack frames)
Aborted (core dumped)
ERROR: Dex2oat failed to compile a boot image.It is likely that the boot classpath is inconsistent.Rebuild with ART_BOOT
_IMAGE_EXTRA_ARGS="--runtime-arg -verbose:verifier" to see verification errors.
For me, the build breaks.
Then I run the build again, and so it is possible several times. in the end, the ROM is built successfully.
probably these are some dependencies, when the boot dexpreopt is started at the same time and something on which this boot depends.
maybe it helped me. now the ROM is build from the first time.
diff --git a/core/Makefile b/core/Makefile
index 6ab6bc189..bfe9a35ea 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -2567,7 +2567,7 @@ endif
.
ifeq ($(BOARD_USES_RECOVERY_AS_BOOT),true)
$(foreach b,$(INSTALLED_BOOTIMAGE_TARGET), $(eval $(call add-dependency,$(b),$(call bootimage-to-kernel,$(b)))))
-$(INSTALLED_BOOTIMAGE_TARGET): $(recoveryimage-deps)
+$(INSTALLED_BOOTIMAGE_TARGET): $(recoveryimage-deps) $(INTERNAL_RECOVERY_RAMDISK_FILES_TIMESTAMP)
<----->$(call pretty,"Target boot image from recovery: $@")
<----->$(call build-recoveryimage-target, $@, $(PRODUCT_OUT)/$(subst .img,,$(subst boot,kernel,$(notdir $@))))
.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.