Can't compile Android 11 from SDK
#1
I am trying to build Android from the SDK, just as the person who made the images must have, but I can't get it to work.

These are the steps that I took:-

Download SDK from http://files.pine64.org/SDK/Quartz64/QUA...d11.tar.gz

Unpack it.

Code:
cd rk
source build/envsetup.sh
lunch   (selecting option 26/rk3566_rgo)
m -j4

The error I get is
Code:
ValueError: DTB image must not be empty

what am I doing wrong please?
  Reply
#2
This is a complete dump of everything in my terminal buffer when it failed:-

Code:
In file included from out/soong/.intermediates/bionic/libc/libc.llndk/android_vendor.30_arm_armv8-2a_cortex-a55_shared/gen/include/sys/types.h:36:
kernel/include/uapi/linux/types.h:10:2: warning: "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders" [-W#warnings]
#warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders"
^
1 warning generated.                                                                                               
[ 81% 95377/117108] target thumb C++: camera.rk30board_32 <= hardware/rockchip/camera/Camera3HALModule.cpp
In file included from hardware/rockchip/camera/Camera3HALModule.cpp:20:
In file included from external/libcxx/include/stdlib.h:94:
In file included from out/soong/.intermediates/bionic/libc/libc.llndk/android_vendor.30_arm_armv8-2a_cortex-a55_shared/gen/include/stdlib.h:34:
In file included from out/soong/.intermediates/bionic/libc/libc.llndk/android_vendor.30_arm_armv8-2a_cortex-a55_shared/gen/include/malloc.h:30:
In file included from external/libcxx/include/stdio.h:108:
In file included from out/soong/.intermediates/bionic/libc/libc.llndk/android_vendor.30_arm_armv8-2a_cortex-a55_shared/gen/include/stdio.h:42:
In file included from out/soong/.intermediates/bionic/libc/libc.llndk/android_vendor.30_arm_armv8-2a_cortex-a55_shared/gen/include/sys/types.h:36:
kernel/include/uapi/linux/types.h:10:2: warning: "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders" [-W#warnings]
#warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders"
^
1 warning generated.                                                                                               
[ 81% 95422/117108] //packages/providers/MediaProvider/errorprone:error_prone_mediaprovider_lib javac [linux_glibc c
[parsing started SimpleFileObject[/data.ssd/philip/android/quartz64/rk/packages/providers/MediaProvider/errorprone/src/com/android/providers/media/LocaleRootChecker.java]]
[parsing completed 26ms]
[parsing started SimpleFileObject[/data.ssd/philip/android/quartz64/rk/packages/providers/MediaProvider/errorprone/src/com/android/providers/media/MimeTypeChecker.java]]
[parsing completed 8ms]
[parsing started SimpleFileObject[/data.ssd/philip/android/quartz64/rk/packages/providers/MediaProvider/errorprone/src/com/google/errorprone/matchers/FieldMatchers.java]]
[parsing completed 23ms]
[loading /modules/jdk.jartool/module-info.class]
[loading /modules/jdk.jdi/module-info.class]
[loading /modules/jdk.scripting.nashorn/module-info.class]
[loading /modules/jdk.naming.rmi/module-info.class]
[loading /modules/jdk.jdwp.agent/module-info.class]
[loading /modules/java.se/module-info.class]
[loading /modules/jdk.charsets/module-info.class]
[loading /modules/jdk.attach/module-info.class]
[loading /modules/jdk.management.jfr/module-info.class]
[loading /modules/java.management/module-info.class]
[loading /modules/jdk.dynalink/module-info.class]
[loading /modules/jdk.jshell/module-info.class]
[loading /modules/jdk.sctp/module-info.class]
[loading /modules/jdk.crypto.cryptoki/module-info.class]
[loading /modules/java.datatransfer/module-info.class]
[loading /modules/jdk.unsupported/module-info.class]
[loading /modules/jdk.internal.opt/module-info.class]
[loading /modules/jdk.scripting.nashorn.shell/module-info.class]
[loading /modules/java.rmi/module-info.class]
[loading /modules/jdk.httpserver/module-info.class]
[loading /modules/jdk.unsupported.desktop/module-info.class]
[loading /modules/jdk.jconsole/module-info.class]
[loading /modules/jdk.jdeps/module-info.class]
[loading /modules/jdk.internal.vm.compiler.management/module-info.class]
[loading /modules/jdk.security.auth/module-info.class]
[loading /modules/java.base/module-info.class]
[loading /modules/java.compiler/module-info.class]
[loading /modules/jdk.internal.jvmstat/module-info.class]
[loading /modules/jdk.naming.dns/module-info.class]
[loading /modules/java.naming/module-info.class]
[loading /modules/jdk.jstatd/module-info.class]
[loading /modules/java.transaction.xa/module-info.class]
[loading /modules/jdk.javadoc/module-info.class]
[loading /modules/jdk.internal.ed/module-info.class]
[loading /modules/jdk.zipfs/module-info.class]
[loading /modules/jdk.editpad/module-info.class]
[loading /modules/jdk.pack/module-info.class]
[loading /modules/java.security.jgss/module-info.class]
[loading /modules/jdk.net/module-info.class]
[loading /modules/jdk.jlink/module-info.class]
[loading /modules/jdk.localedata/module-info.class]
[loading /modules/jdk.jfr/module-info.class]
[loading /modules/java.prefs/module-info.class]
[loading /modules/java.net.http/module-info.class]
[loading /modules/jdk.management.agent/module-info.class]
[loading /modules/java.scripting/module-info.class]
[loading /modules/jdk.compiler/module-info.class]
[loading /modules/jdk.aot/module-info.class]
[loading /modules/java.smartcardio/module-info.class]
[loading /modules/java.xml.crypto/module-info.class]
[loading /modules/jdk.internal.vm.compiler/module-info.class]
[loading /modules/java.xml/module-info.class]
[loading /modules/java.sql.rowset/module-info.class]
[loading /modules/java.security.sasl/module-info.class]
[loading /modules/jdk.xml.dom/module-info.class]
[loading /modules/jdk.management/module-info.class]
[loading /modules/java.instrument/module-info.class]
[loading /modules/java.desktop/module-info.class]
[loading /modules/jdk.crypto.ec/module-info.class]
[loading /modules/jdk.security.jgss/module-info.class]
[loading /modules/java.logging/module-info.class]
[loading /modules/jdk.jcmd/module-info.class]
[loading /modules/jdk.hotspot.agent/module-info.class]
[loading /modules/jdk.internal.vm.ci/module-info.class]
[loading /modules/jdk.internal.le/module-info.class]
[loading /modules/java.sql/module-info.class]
[loading /modules/jdk.rmic/module-info.class]
[loading /modules/jdk.jsobject/module-info.class]
[loading /modules/java.management.rmi/module-info.class]
[loading /modules/jdk.accessibility/module-info.class]
[search path for source files: ]
[search path for class files: /data.ssd/philip/android/quartz64/rk/prebuilts/jdk/jdk11/linux-x86/lib/modules,out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar,out/soong/.intermediates/external/dagger2/dagger2-auto-service/linux_glibc_common/combined/dagger2-auto-service.jar]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/BugPattern.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/BugPattern$SeverityLevel.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/dagger2/dagger2-auto-service/linux_glibc_common/combined/dagger2-auto-service.jar(/com/google/auto/service/AutoService.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/VisitorState.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/bugpatterns/BugChecker.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/bugpatterns/BugChecker$MethodInvocationTreeMatcher.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/matchers/ChildMultiMatcher.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/matchers/Description.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/matchers/Matcher.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/matchers/Matchers.class)]
[loading /modules/jdk.compiler/com/sun/source/tree/ExpressionTree.class]
[loading /modules/jdk.compiler/com/sun/source/tree/MethodInvocationTree.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/matchers/Suppressible.class)]
[loading /modules/java.base/java/lang/Object.class]
[loading /modules/java.base/java/io/Serializable.class]
[loading /modules/java.base/java/lang/Enum.class]
[loading /modules/java.base/java/lang/Comparable.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/bugpatterns/BugChecker$SwitchTreeMatcher.class)]
[loading /modules/jdk.compiler/com/sun/source/tree/SwitchTree.class]
[loading /modules/java.base/java/util/function/Predicate.class]
[loading /modules/java.base/java/lang/String.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/util/ASTHelpers.class)]
[loading /modules/jdk.compiler/com/sun/source/tree/ImportTree.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/code/Symbol.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/code/Symbol$ClassSymbol.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/javax/annotation/Nullable.class)]
[loading /modules/java.base/java/lang/Deprecated.class]
[loading /modules/java.base/java/lang/annotation/Retention.class]
[loading /modules/java.base/java/lang/annotation/RetentionPolicy.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/BugPattern$LinkType.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/BugPattern$ProvidesFix.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/BugPattern$Category.class)]
[loading /modules/java.base/java/lang/annotation/Target.class]
[loading /modules/java.base/java/lang/annotation/ElementType.class]
[loading /modules/java.base/java/lang/annotation/Annotation.class]
[loading /modules/java.base/java/lang/Class.class]
[loading /modules/java.base/java/lang/Override.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/javax/annotation/Nonnull.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/javax/annotation/meta/When.class)]
Round 1:
        input files: {com.android.providers.media.LocaleRootChecker, com.android.providers.media.MimeTypeChecker, com.google.errorprone.matchers.FieldMatchers}
        annotations: [com.google.auto.service.AutoService, com.google.errorprone.BugPattern, java.lang.Override, javax.annotation.Nullable]
        last round: false
Processor com.google.auto.service.processor.AutoServiceProcessor matches [/com.google.auto.service.AutoService] and returns true.
Round 2:
        input files: {}
        annotations: []
        last round: true
[checking com.android.providers.media.LocaleRootChecker]
[loading /modules/java.base/java/util/Set.class]
[loading /modules/java.base/java/lang/AutoCloseable.class]
[loading /modules/jdk.compiler/com/sun/source/tree/Tree.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/matchers/method/MethodMatchers.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/matchers/method/MethodMatchers$InstanceMethodMatcher.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/suppliers/Supplier.class)]
[loading /modules/java.base/java/lang/CharSequence.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/matchers/method/MethodMatchers$MethodClassMatcher.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/matchers/method/MethodMatchers$MethodNameMatcher.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/matchers/MultiMatcher.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/matchers/ChildMultiMatcher$MatchType.class)]
[loading /modules/java.base/java/lang/Iterable.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/tree/JCTree.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/util/JCDiagnostic.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/matchers/Description$Builder.class)]
[wrote out/soong/.intermediates/packages/providers/MediaProvider/errorprone/error_prone_mediaprovider_lib/linux_glibc_common/javac/classes/com/android/providers/media/LocaleRootChecker.class]
[checking com.android.providers.media.MimeTypeChecker]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/matchers/method/MethodMatchers$StaticMethodMatcher.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/predicates/TypePredicate.class)]
[loading /modules/java.base/java/util/List.class]
[loading /modules/java.base/java/util/Collection.class]
[loading /modules/java.base/java/util/stream/Stream.class]
[loading /modules/java.base/java/util/stream/BaseStream.class]
[loading /modules/jdk.compiler/com/sun/source/tree/StatementTree.class]
[wrote out/soong/.intermediates/packages/providers/MediaProvider/errorprone/error_prone_mediaprovider_lib/linux_glibc_common/javac/classes/com/android/providers/media/MimeTypeChecker$MimeWithoutCaseFoldingMatcher.class]
[wrote out/soong/.intermediates/packages/providers/MediaProvider/errorprone/error_prone_mediaprovider_lib/linux_glibc_common/javac/classes/com/android/providers/media/MimeTypeChecker$1.class]
[wrote out/soong/.intermediates/packages/providers/MediaProvider/errorprone/error_prone_mediaprovider_lib/linux_glibc_common/javac/classes/com/android/providers/media/MimeTypeChecker.class]
[checking com.google.errorprone.matchers.FieldMatchers]
[loading /modules/jdk.compiler/com/sun/source/tree/MemberReferenceTree.class]
[loading /modules/jdk.compiler/com/sun/source/tree/VariableTree.class]
[loading /modules/jdk.compiler/com/sun/source/tree/NewClassTree.class]
[loading /modules/jdk.compiler/com/sun/source/tree/MethodTree.class]
[loading /modules/jdk.compiler/com/sun/source/tree/PackageTree.class]
[loading /modules/jdk.compiler/com/sun/source/tree/ClassTree.class]
[loading /modules/jdk.compiler/com/sun/source/util/TreePath.class]
[loading /modules/java.compiler/javax/lang/model/element/Element.class]
[loading /modules/java.compiler/javax/lang/model/AnnotatedConstruct.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/code/AnnoConstruct.class)]
[loading /modules/java.compiler/javax/lang/model/element/ElementKind.class]
[loading /modules/java.compiler/javax/lang/model/element/TypeElement.class]
[loading /modules/java.compiler/javax/lang/model/element/Parameterizable.class]
[loading /modules/java.compiler/javax/lang/model/element/QualifiedNameable.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/code/Symbol$TypeSymbol.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/util/Name.class)]
[loading /modules/java.compiler/javax/lang/model/element/Name.class]
[wrote out/soong/.intermediates/packages/providers/MediaProvider/errorprone/error_prone_mediaprovider_lib/linux_glibc_common/javac/classes/com/google/errorprone/matchers/FieldMatchers$1.class]
[wrote out/soong/.intermediates/packages/providers/MediaProvider/errorprone/error_prone_mediaprovider_lib/linux_glibc_common/javac/classes/com/google/errorprone/matchers/FieldMatchers$2.class]
[wrote out/soong/.intermediates/packages/providers/MediaProvider/errorprone/error_prone_mediaprovider_lib/linux_glibc_common/javac/classes/com/google/errorprone/matchers/FieldMatchers$3.class]
[wrote out/soong/.intermediates/packages/providers/MediaProvider/errorprone/error_prone_mediaprovider_lib/linux_glibc_common/javac/classes/com/google/errorprone/matchers/FieldMatchers$FieldReferenceMatcher.class]
[wrote out/soong/.intermediates/packages/providers/MediaProvider/errorprone/error_prone_mediaprovider_lib/linux_glibc_common/javac/classes/com/google/errorprone/matchers/FieldMatchers.class]
[total 2624ms]
[ 81% 95430/117108] //tools/apifinder:java_api_used_by_mainline_module javac [linux_glibc common]
[parsing started SimpleFileObject[/data.ssd/philip/android/quartz64/rk/tools/apifinder/src/main/com/android/apifinder/JavaApiUsedByMainlineModule.java]]
[parsing completed 26ms]
[loading /modules/java.scripting/module-info.class]
[loading /modules/jdk.attach/module-info.class]
[loading /modules/jdk.jshell/module-info.class]
[loading /modules/jdk.jconsole/module-info.class]
[loading /modules/jdk.sctp/module-info.class]
[loading /modules/jdk.internal.vm.ci/module-info.class]
[loading /modules/jdk.accessibility/module-info.class]
[loading /modules/jdk.jdeps/module-info.class]
[loading /modules/jdk.jsobject/module-info.class]
[loading /modules/jdk.javadoc/module-info.class]
[loading /modules/java.net.http/module-info.class]
[loading /modules/jdk.localedata/module-info.class]
[loading /modules/jdk.internal.ed/module-info.class]
[loading /modules/jdk.internal.jvmstat/module-info.class]
[loading /modules/jdk.rmic/module-info.class]
[loading /modules/jdk.compiler/module-info.class]
[loading /modules/jdk.unsupported/module-info.class]
[loading /modules/jdk.security.jgss/module-info.class]
[loading /modules/jdk.dynalink/module-info.class]
[loading /modules/java.security.jgss/module-info.class]
[loading /modules/java.desktop/module-info.class]
[loading /modules/java.compiler/module-info.class]
[loading /modules/jdk.management/module-info.class]
[loading /modules/java.instrument/module-info.class]
[loading /modules/jdk.charsets/module-info.class]
[loading /modules/jdk.net/module-info.class]
[loading /modules/jdk.jfr/module-info.class]
[loading /modules/jdk.xml.dom/module-info.class]
[loading /modules/jdk.httpserver/module-info.class]
[loading /modules/jdk.jdi/module-info.class]
[loading /modules/java.management/module-info.class]
[loading /modules/jdk.scripting.nashorn.shell/module-info.class]
[loading /modules/jdk.scripting.nashorn/module-info.class]
[loading /modules/jdk.editpad/module-info.class]
[loading /modules/java.transaction.xa/module-info.class]
[loading /modules/java.xml.crypto/module-info.class]
[loading /modules/jdk.management.jfr/module-info.class]
[loading /modules/jdk.jdwp.agent/module-info.class]
[loading /modules/jdk.aot/module-info.class]
[loading /modules/jdk.jartool/module-info.class]
[loading /modules/java.se/module-info.class]
[loading /modules/jdk.internal.vm.compiler.management/module-info.class]
[loading /modules/java.rmi/module-info.class]
[loading /modules/jdk.zipfs/module-info.class]
[loading /modules/jdk.crypto.ec/module-info.class]
[loading /modules/jdk.security.auth/module-info.class]
[loading /modules/jdk.hotspot.agent/module-info.class]
[loading /modules/jdk.internal.vm.compiler/module-info.class]
[loading /modules/java.security.sasl/module-info.class]
[loading /modules/java.logging/module-info.class]
[loading /modules/jdk.internal.le/module-info.class]
[loading /modules/jdk.jcmd/module-info.class]
[loading /modules/java.smartcardio/module-info.class]
[loading /modules/java.naming/module-info.class]
[loading /modules/java.sql.rowset/module-info.class]
[loading /modules/java.xml/module-info.class]
[loading /modules/jdk.jstatd/module-info.class]
[loading /modules/jdk.management.agent/module-info.class]
[loading /modules/java.datatransfer/module-info.class]
[loading /modules/jdk.naming.dns/module-info.class]
[loading /modules/java.prefs/module-info.class]
[loading /modules/jdk.jlink/module-info.class]
[loading /modules/java.sql/module-info.class]
[loading /modules/jdk.crypto.cryptoki/module-info.class]
[loading /modules/jdk.unsupported.desktop/module-info.class]
[loading /modules/java.base/module-info.class]
[loading /modules/jdk.pack/module-info.class]
[loading /modules/jdk.naming.rmi/module-info.class]
[loading /modules/java.management.rmi/module-info.class]
[loading /modules/jdk.internal.opt/module-info.class]
[search path for source files: ]
[search path for class files: /data.ssd/philip/android/quartz64/rk/prebuilts/jdk/jdk11/linux-x86/lib/modules,out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar,out/soong/.intermediates/external/dagger2/dagger2-auto-service/linux_glibc_common/combined/dagger2-auto-service.jar]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/BugPattern.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/BugPattern$SeverityLevel.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/dagger2/dagger2-auto-service/linux_glibc_common/combined/dagger2-auto-service.jar(/com/google/auto/service/AutoService.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/VisitorState.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/bugpatterns/BugChecker.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/bugpatterns/BugChecker$MethodInvocationTreeMatcher.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/bugpatterns/BugChecker$NewClassTreeMatcher.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/matchers/Description.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/util/ASTHelpers.class)]
[loading /modules/jdk.compiler/com/sun/source/tree/MethodInvocationTree.class]
[loading /modules/jdk.compiler/com/sun/source/tree/NewClassTree.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/code/Symbol.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/code/Symbol$MethodSymbol.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/code/Symbol$VarSymbol.class)]
[loading /modules/java.base/java/util/ArrayList.class]
[loading /modules/java.base/java/util/List.class]
[loading /modules/java.compiler/javax/lang/model/element/ElementKind.class]
[loading /modules/java.compiler/javax/lang/model/element/Modifier.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/matchers/Suppressible.class)]
[loading /modules/java.base/java/lang/Object.class]
[loading /modules/java.base/java/io/Serializable.class]
[loading /modules/java.base/java/lang/String.class]
[loading /modules/java.base/java/lang/Enum.class]
[loading /modules/java.base/java/lang/Comparable.class]
[loading /modules/java.base/java/lang/Deprecated.class]
[loading /modules/java.base/java/lang/annotation/Retention.class]
[loading /modules/java.base/java/lang/annotation/RetentionPolicy.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/BugPattern$LinkType.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/BugPattern$ProvidesFix.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/BugPattern$Category.class)]
[loading /modules/java.base/java/lang/annotation/Target.class]
[loading /modules/java.base/java/lang/annotation/ElementType.class]
[loading /modules/java.base/java/lang/annotation/Annotation.class]
[loading /modules/java.base/java/lang/Class.class]
[loading /modules/java.base/java/lang/Override.class]
Round 1:
        input files: {com.android.apifinder.JavaApiUsedByMainlineModule}
        annotations: [com.google.auto.service.AutoService, com.google.errorprone.BugPattern, java.lang.Override]
        last round: false
Processor com.google.auto.service.processor.AutoServiceProcessor matches [/com.google.auto.service.AutoService] and returns true.
Round 2:
        input files: {}
        annotations: []
        last round: true
[checking com.android.apifinder.JavaApiUsedByMainlineModule]
[loading /modules/java.base/java/util/Set.class]
[loading /modules/java.base/java/lang/AutoCloseable.class]
[loading /modules/java.compiler/javax/lang/model/element/Element.class]
[loading /modules/java.compiler/javax/lang/model/AnnotatedConstruct.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/code/AnnoConstruct.class)]
[loading /modules/java.base/java/util/Collection.class]
[loading /modules/java.base/java/lang/Iterable.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/code/Symbol$ClassSymbol.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/code/Symbol$TypeSymbol.class)]
[loading /modules/java.compiler/javax/lang/model/element/ExecutableElement.class]
[loading /modules/java.compiler/javax/lang/model/element/Parameterizable.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/util/List.class)]
[loading /modules/java.base/java/util/AbstractCollection.class]
[loading /modules/java.base/java/lang/StringBuilder.class]
[loading /modules/java.base/java/util/AbstractList.class]
[loading /modules/java.compiler/javax/lang/model/element/VariableElement.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/code/Type.class)]
[loading /modules/java.compiler/javax/lang/model/type/TypeMirror.class]
[loading /modules/java.base/java/lang/CharSequence.class]
[loading /modules/java.base/java/lang/AbstractStringBuilder.class]
[loading /modules/java.base/java/lang/Appendable.class]
[loading /modules/java.base/java/lang/Byte.class]
[loading /modules/java.base/java/lang/Character.class]
[loading /modules/java.base/java/lang/Short.class]
[loading /modules/java.base/java/lang/Long.class]
[loading /modules/java.base/java/lang/Float.class]
[loading /modules/java.base/java/lang/Integer.class]
[loading /modules/java.base/java/lang/Double.class]
[loading /modules/java.base/java/lang/Boolean.class]
[loading /modules/java.base/java/lang/Void.class]
[loading /modules/jdk.compiler/com/sun/source/tree/MemberReferenceTree.class]
[loading /modules/jdk.compiler/com/sun/source/tree/ExpressionTree.class]
[loading /modules/jdk.compiler/com/sun/source/tree/Tree.class]
[loading /modules/jdk.compiler/com/sun/source/tree/VariableTree.class]
[loading /modules/jdk.compiler/com/sun/source/tree/MethodTree.class]
[loading /modules/jdk.compiler/com/sun/source/tree/PackageTree.class]
[loading /modules/jdk.compiler/com/sun/source/tree/ClassTree.class]
[loading /modules/jdk.compiler/com/sun/source/tree/TreeVisitor.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/util/Name.class)]
[loading /modules/java.compiler/javax/lang/model/element/Name.class]
[loading /modules/java.base/java/util/Locale.class]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/tree/JCTree.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/util/JCDiagnostic.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition.class)]
[loading /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/external/error_prone/error_prone_core/linux_glibc_common/combined/error_prone_core.jar(/com/google/errorprone/matchers/Description$Builder.class)]
[loading /modules/java.base/java/util/Iterator.class]
[loading /modules/java.base/java/lang/StringBuffer.class]
[wrote out/soong/.intermediates/tools/apifinder/java_api_used_by_mainline_module/linux_glibc_common/javac/classes/com/android/apifinder/JavaApiUsedByMainlineModule.class]
[total 1870ms]
[ 83% 97545/117108] Target empty super fs image: out/target/product/rk3566_rgo/super_empty.img
2021-10-26 03:05:59 - build_super_image.py - INFO    : Building super image from info dict...
2021-10-26 03:05:59 - common.py - INFO    :   Running: "lpmake --metadata-size 65536 --super-name super --metadata-slots 2 --device super:2516582400 --group rockchip_dynamic_partitions:2512388096 --partition system:readonly:0:rockchip_dynamic_partitions --partition system_ext:readonly:0:rockchip_dynamic_partitions --partition vendor:readonly:0:rockchip_dynamic_partitions --partition product:readonly:0:rockchip_dynamic_partitions --partition odm:readonly:0:rockchip_dynamic_partitions --sparse --output out/target/product/rk3566_rgo/super_empty.img"
2021-10-26 03:05:59 - common.py - INFO    :
2021-10-26 03:05:59 - build_super_image.py - INFO    : Done writing image out/target/product/rk3566_rgo/super_empty.img
[ 83% 97568/117108] //frameworks/base/tools/processors/staledataclass:staledataclass-annotation-processor kotlinc [l
warning: some JAR files in the classpath have the Kotlin Runtime library bundled into them. This may cause difficult to debug problems if there's a different version of the Kotlin Runtime library in the classpath. Consider removing these libraries from the classpath
out/soong/.intermediates/frameworks/base/tools/codegen/codegen-version-info/linux_glibc_common/combined/codegen-version-info.jar: warning: library has Kotlin runtime bundled into it
[ 83% 97576/117108] //external/doclava:doclava javac [linux_glibc common]
external/doclava/src/com/google/doclava/ClassInfo.java:95: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
  public ClassInfo(ClassDoc cl, String rawCommentText, SourcePositionInfo position,
                   ^
external/doclava/src/com/google/doclava/ClassInfo.java:1792: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
    ClassDoc cl = mClass;
    ^
external/doclava/src/com/google/doclava/ClassInfo.java:1934: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
  private ClassDoc mClass;
          ^
external/doclava/src/com/google/doclava/PackageInfo.java:34: warning: [removal] PackageDoc in com.sun.javadoc has been deprecated and marked for removal
  public PackageInfo(PackageDoc pkg, String name, SourcePositionInfo position) {
                     ^
external/doclava/src/com/google/doclava/PackageInfo.java:311: warning: [removal] PackageDoc in com.sun.javadoc has been deprecated and marked for removal
  private PackageDoc mPackage;
          ^
external/doclava/src/com/google/doclava/Converter.java:49: warning: [removal] RootDoc in com.sun.javadoc has been deprecated and marked for removal
  private static RootDoc root;
                 ^
external/doclava/src/com/google/doclava/Converter.java:52: warning: [removal] RootDoc in com.sun.javadoc has been deprecated and marked for removal
  public static void makeInfo(RootDoc r) {
                              ^
external/doclava/src/com/google/doclava/Converter.java:57: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
    ClassDoc[] classes = getClasses(r);
    ^
external/doclava/src/com/google/doclava/Converter.java:58: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
    for (ClassDoc c : classes) {
         ^
external/doclava/src/com/google/doclava/Converter.java:94: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
  private static ClassDoc[] getClasses(RootDoc r) {
                 ^
external/doclava/src/com/google/doclava/Converter.java:94: warning: [removal] RootDoc in com.sun.javadoc has been deprecated and marked for removal
  private static ClassDoc[] getClasses(RootDoc r) {
                                       ^
external/doclava/src/com/google/doclava/Converter.java:95: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
    ClassDoc[] classDocs = r.classes();
    ^
external/doclava/src/com/google/doclava/Converter.java:96: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
    ArrayList<ClassDoc> filtered = new ArrayList<ClassDoc>(classDocs.length);
              ^
external/doclava/src/com/google/doclava/Converter.java:96: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
    ArrayList<ClassDoc> filtered = new ArrayList<ClassDoc>(classDocs.length);
                                                 ^
external/doclava/src/com/google/doclava/Converter.java:97: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
    for (ClassDoc c : classDocs) {
         ^
external/doclava/src/com/google/doclava/Converter.java:108: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
    ClassDoc[] filteredArray = new ClassDoc[filtered.size()];
    ^
external/doclava/src/com/google/doclava/Converter.java:108: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
    ClassDoc[] filteredArray = new ClassDoc[filtered.size()];
                                   ^
external/doclava/src/com/google/doclava/Converter.java:123: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
  private static final MethodDoc[] EMPTY_METHOD_DOC = new MethodDoc[0];
                       ^
external/doclava/src/com/google/doclava/Converter.java:123: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
  private static final MethodDoc[] EMPTY_METHOD_DOC = new MethodDoc[0];
                                                          ^
external/doclava/src/com/google/doclava/Converter.java:125: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
  private static void initClass(ClassDoc c, ClassInfo cl) {
                                ^
external/doclava/src/com/google/doclava/Converter.java:126: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
    MethodDoc[] annotationElements;
    ^
external/doclava/src/com/google/doclava/Converter.java:127: warning: [removal] AnnotationTypeDoc in com.sun.javadoc has been deprecated and marked for removal
    if (c instanceof AnnotationTypeDoc) {
                     ^
external/doclava/src/com/google/doclava/Converter.java:128: warning: [removal] AnnotationTypeDoc in com.sun.javadoc has been deprecated and marked for removal
      annotationElements = ((AnnotationTypeDoc) c).elements();
                             ^
external/doclava/src/com/google/doclava/Converter.java:221: warning: [removal] Tag in com.sun.javadoc has been deprecated and marked for removal
  private static TagInfo convertTag(Tag tag) {
                                    ^
external/doclava/src/com/google/doclava/Converter.java:226: warning: [removal] ThrowsTag in com.sun.javadoc has been deprecated and marked for removal
  private static ThrowsTagInfo convertThrowsTag(ThrowsTag tag, ContainerInfo base) {
                                                ^
external/doclava/src/com/google/doclava/Converter.java:232: warning: [removal] ParamTag in com.sun.javadoc has been deprecated and marked for removal
  private static ParamTagInfo convertParamTag(ParamTag tag, ContainerInfo base) {
                                              ^
external/doclava/src/com/google/doclava/Converter.java:238: warning: [removal] SeeTag in com.sun.javadoc has been deprecated and marked for removal
  private static SeeTagInfo convertSeeTag(SeeTag tag, ContainerInfo base) {
                                          ^
external/doclava/src/com/google/doclava/Converter.java:243: warning: [removal] SourcePosition in com.sun.javadoc has been deprecated and marked for removal
  private static SourcePositionInfo convertSourcePosition(SourcePosition sp) {
                                                          ^
external/doclava/src/com/google/doclava/Converter.java:250: warning: [removal] Tag in com.sun.javadoc has been deprecated and marked for removal
  public static TagInfo[] convertTags(Tag[] tags, ContainerInfo base) {
                                      ^
external/doclava/src/com/google/doclava/Converter.java:254: warning: [removal] Tag in com.sun.javadoc has been deprecated and marked for removal
      Tag t = tags[i];
      ^
external/doclava/src/com/google/doclava/Converter.java:258: warning: [removal] SeeTag in com.sun.javadoc has been deprecated and marked for removal
      if (t instanceof SeeTag) {
                       ^
external/doclava/src/com/google/doclava/Converter.java:259: warning: [removal] SeeTag in com.sun.javadoc has been deprecated and marked for removal
        out[i] = Converter.convertSeeTag((SeeTag) t, base);
                                          ^
external/doclava/src/com/google/doclava/Converter.java:260: warning: [removal] ThrowsTag in com.sun.javadoc has been deprecated and marked for removal
      } else if (t instanceof ThrowsTag) {
                              ^
external/doclava/src/com/google/doclava/Converter.java:261: warning: [removal] ThrowsTag in com.sun.javadoc has been deprecated and marked for removal
        out[i] = Converter.convertThrowsTag((ThrowsTag) t, base);
                                             ^
external/doclava/src/com/google/doclava/Converter.java:262: warning: [removal] ParamTag in com.sun.javadoc has been deprecated and marked for removal
      } else if (t instanceof ParamTag) {
                              ^
external/doclava/src/com/google/doclava/Converter.java:263: warning: [removal] ParamTag in com.sun.javadoc has been deprecated and marked for removal
        out[i] = Converter.convertParamTag((ParamTag) t, base);
                                            ^
external/doclava/src/com/google/doclava/Converter.java:271: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
  public static ClassInfo[] convertClasses(ClassDoc[] classes) {
                                           ^
external/doclava/src/com/google/doclava/Converter.java:281: warning: [removal] Parameter in com.sun.javadoc has been deprecated and marked for removal
  private static ParameterInfo convertParameter(Parameter p, SourcePosition pos, boolean isVarArg) {
                                                ^
external/doclava/src/com/google/doclava/Converter.java:281: warning: [removal] SourcePosition in com.sun.javadoc has been deprecated and marked for removal
  private static ParameterInfo convertParameter(Parameter p, SourcePosition pos, boolean isVarArg) {
                                                             ^
external/doclava/src/com/google/doclava/Converter.java:290: warning: [removal] Parameter in com.sun.javadoc has been deprecated and marked for removal
  private static ParameterInfo[] convertParameters(Parameter[] p, ExecutableMemberDoc m) {
                                                   ^
external/doclava/src/com/google/doclava/Converter.java:290: warning: [removal] ExecutableMemberDoc in com.sun.javadoc has been deprecated and marked for removal
  private static ParameterInfo[] convertParameters(Parameter[] p, ExecutableMemberDoc m) {
                                                                  ^
external/doclava/src/com/google/doclava/Converter.java:291: warning: [removal] SourcePosition in com.sun.javadoc has been deprecated and marked for removal
    SourcePosition pos = m.position();
    ^
external/doclava/src/com/google/doclava/Converter.java:301: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
  private static TypeInfo[] convertTypes(Type[] p) {
                                         ^
external/doclava/src/com/google/doclava/Converter.java:314: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
    ClassNeedingInit(ClassDoc c, ClassInfo cl) {
                     ^
external/doclava/src/com/google/doclava/Converter.java:319: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
    ClassDoc c;
    ^
external/doclava/src/com/google/doclava/Converter.java:326: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
  static ClassInfo obtainClass(ClassDoc o) {
                               ^
external/doclava/src/com/google/doclava/Converter.java:333: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
      ClassDoc c = (ClassDoc) o;
      ^
external/doclava/src/com/google/doclava/Converter.java:333: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
      ClassDoc c = (ClassDoc) o;
                    ^
external/doclava/src/com/google/doclava/Converter.java:338: warning: [removal] AnnotationTypeDoc in com.sun.javadoc has been deprecated and marked for removal
              .isEnum(), (c instanceof AnnotationTypeDoc), c.isFinal(), c.isIncluded(), c.name(), c
                                       ^
external/doclava/src/com/google/doclava/Converter.java:349: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
        initClass((ClassDoc) o, (ClassInfo) r);
                   ^
external/doclava/src/com/google/doclava/Converter.java:360: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
  private static MethodInfo[] getHiddenMethods(MethodDoc[] methods) {
                                               ^
external/doclava/src/com/google/doclava/Converter.java:363: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
    for (MethodDoc method : methods) {
         ^
external/doclava/src/com/google/doclava/Converter.java:374: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
  private static MethodInfo[] getRemovedMethods(MethodDoc[] methods) {
                                                ^
external/doclava/src/com/google/doclava/Converter.java:377: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
    for (MethodDoc method : methods) {
         ^
external/doclava/src/com/google/doclava/Converter.java:390: warning: [removal] FieldDoc in com.sun.javadoc has been deprecated and marked for removal
  private static List<FieldInfo> convertAllFields(FieldDoc[] fields) {
                                                  ^
external/doclava/src/com/google/doclava/Converter.java:394: warning: [removal] FieldDoc in com.sun.javadoc has been deprecated and marked for removal
    for (FieldDoc field : fields) {
         ^
external/doclava/src/com/google/doclava/Converter.java:405: warning: [removal] ExecutableMemberDoc in com.sun.javadoc has been deprecated and marked for removal
  private static List<MethodInfo> convertAllMethods(ExecutableMemberDoc[] methods) {
                                                    ^
external/doclava/src/com/google/doclava/Converter.java:408: warning: [removal] ExecutableMemberDoc in com.sun.javadoc has been deprecated and marked for removal
    for (ExecutableMemberDoc method : methods) {
         ^
external/doclava/src/com/google/doclava/Converter.java:420: warning: [removal] ExecutableMemberDoc in com.sun.javadoc has been deprecated and marked for removal
  private static MethodInfo[] convertMethods(ExecutableMemberDoc[] methods) {
                                             ^
external/doclava/src/com/google/doclava/Converter.java:423: warning: [removal] ExecutableMemberDoc in com.sun.javadoc has been deprecated and marked for removal
    for (ExecutableMemberDoc method : methods) {
         ^
external/doclava/src/com/google/doclava/Converter.java:433: warning: [removal] ConstructorDoc in com.sun.javadoc has been deprecated and marked for removal
  private static MethodInfo[] convertNonWrittenConstructors(ConstructorDoc[] methods) {
                                                            ^
external/doclava/src/com/google/doclava/Converter.java:436: warning: [removal] ConstructorDoc in com.sun.javadoc has been deprecated and marked for removal
    for (ConstructorDoc method : methods) {
         ^
external/doclava/src/com/google/doclava/Converter.java:446: warning: [removal] ExecutableMemberDoc in com.sun.javadoc has been deprecated and marked for removal
  private static <E extends ExecutableMemberDoc> MethodInfo obtainMethod(E o) {
                            ^
external/doclava/src/com/google/doclava/Converter.java:453: warning: [removal] AnnotationTypeElementDoc in com.sun.javadoc has been deprecated and marked for removal
      if (o instanceof AnnotationTypeElementDoc) {
                       ^
external/doclava/src/com/google/doclava/Converter.java:454: warning: [removal] AnnotationTypeElementDoc in com.sun.javadoc has been deprecated and marked for removal
        AnnotationTypeElementDoc m = (AnnotationTypeElementDoc) o;
        ^
external/doclava/src/com/google/doclava/Converter.java:454: warning: [removal] AnnotationTypeElementDoc in com.sun.javadoc has been deprecated and marked for removal
        AnnotationTypeElementDoc m = (AnnotationTypeElementDoc) o;
                                      ^
external/doclava/src/com/google/doclava/Converter.java:475: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
      } else if (o instanceof MethodDoc) {
                              ^
external/doclava/src/com/google/doclava/Converter.java:476: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
        MethodDoc m = (MethodDoc) o;
        ^
external/doclava/src/com/google/doclava/Converter.java:476: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
        MethodDoc m = (MethodDoc) o;
                       ^
external/doclava/src/com/google/doclava/Converter.java:503: warning: [removal] ConstructorDoc in com.sun.javadoc has been deprecated and marked for removal
        ConstructorDoc m = (ConstructorDoc) o;
        ^
external/doclava/src/com/google/doclava/Converter.java:503: warning: [removal] ConstructorDoc in com.sun.javadoc has been deprecated and marked for removal
        ConstructorDoc m = (ConstructorDoc) o;
                            ^
external/doclava/src/com/google/doclava/Converter.java:521: warning: [removal] FieldDoc in com.sun.javadoc has been deprecated and marked for removal
  private static FieldInfo[] convertFields(FieldDoc[] fields) {
                                           ^
external/doclava/src/com/google/doclava/Converter.java:534: warning: [removal] FieldDoc in com.sun.javadoc has been deprecated and marked for removal
  private static FieldInfo obtainField(FieldDoc o) {
                                       ^
external/doclava/src/com/google/doclava/Converter.java:538: warning: [removal] ConstructorDoc in com.sun.javadoc has been deprecated and marked for removal
  private static FieldInfo obtainField(ConstructorDoc o) {
                                       ^
external/doclava/src/com/google/doclava/Converter.java:545: warning: [removal] FieldDoc in com.sun.javadoc has been deprecated and marked for removal
      FieldDoc f = (FieldDoc) o;
      ^
external/doclava/src/com/google/doclava/Converter.java:545: warning: [removal] FieldDoc in com.sun.javadoc has been deprecated and marked for removal
      FieldDoc f = (FieldDoc) o;
                    ^
external/doclava/src/com/google/doclava/Converter.java:556: warning: [removal] PackageDoc in com.sun.javadoc has been deprecated and marked for removal
  private static PackageInfo obtainPackage(PackageDoc o) {
                                           ^
external/doclava/src/com/google/doclava/Converter.java:563: warning: [removal] PackageDoc in com.sun.javadoc has been deprecated and marked for removal
      PackageDoc p = (PackageDoc) o;
      ^
external/doclava/src/com/google/doclava/Converter.java:563: warning: [removal] PackageDoc in com.sun.javadoc has been deprecated and marked for removal
      PackageDoc p = (PackageDoc) o;
                      ^
external/doclava/src/com/google/doclava/Converter.java:568: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
  private static TypeInfo obtainType(Type o) {
                                     ^
external/doclava/src/com/google/doclava/Converter.java:575: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
      Type t = (Type) o;
      ^
external/doclava/src/com/google/doclava/Converter.java:575: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
      Type t = (Type) o;
                ^
external/doclava/src/com/google/doclava/Converter.java:577: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
      if (t instanceof ClassDoc) {
                       ^
external/doclava/src/com/google/doclava/Converter.java:578: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
        simpleTypeName = ((ClassDoc) t).name();
                           ^
external/doclava/src/com/google/doclava/Converter.java:590: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
      Type t = (Type) o;
      ^
external/doclava/src/com/google/doclava/Converter.java:590: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
      Type t = (Type) o;
                ^
external/doclava/src/com/google/doclava/Converter.java:594: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
      } else if (t instanceof ClassDoc) {
                              ^
external/doclava/src/com/google/doclava/Converter.java:595: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
        ti.setTypeArguments(new ArrayList<TypeInfo>(Arrays.asList(Converter.convertTypes(((ClassDoc) t).typeParameters()))));
                                                                                           ^
external/doclava/src/com/google/doclava/Converter.java:608: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
      Type t = (Type) o;
      ^
external/doclava/src/com/google/doclava/Converter.java:608: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
      Type t = (Type) o;
                ^
external/doclava/src/com/google/doclava/Converter.java:616: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
          for (Type ty : t.asParameterizedType().typeArguments()) {
               ^
external/doclava/src/com/google/doclava/Converter.java:626: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
          for (Type ty : t.asTypeVariable().bounds()) {
               ^
external/doclava/src/com/google/doclava/Converter.java:636: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
          for (Type ty : t.asWildcardType().superBounds()) {
               ^
external/doclava/src/com/google/doclava/Converter.java:641: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
          for (Type ty : t.asWildcardType().extendsBounds()) {
               ^
external/doclava/src/com/google/doclava/Converter.java:675: warning: [removal] MemberDoc in com.sun.javadoc has been deprecated and marked for removal
  private static MemberInfo obtainMember(MemberDoc o) {
                                         ^
external/doclava/src/com/google/doclava/Converter.java:682: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
      if (o instanceof MethodDoc) {
                       ^
external/doclava/src/com/google/doclava/Converter.java:683: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
        return Converter.obtainMethod((MethodDoc) o);
                                       ^
external/doclava/src/com/google/doclava/Converter.java:684: warning: [removal] ConstructorDoc in com.sun.javadoc has been deprecated and marked for removal
      } else if (o instanceof ConstructorDoc) {
                              ^
external/doclava/src/com/google/doclava/Converter.java:685: warning: [removal] ConstructorDoc in com.sun.javadoc has been deprecated and marked for removal
        return Converter.obtainMethod((ConstructorDoc) o);
                                       ^
Note: Some input files additionally use or override a deprecated API that is marked for removal.
99 warnings
[ 83% 97622/117108] //packages/apps/QuickSearchBox:QuickSearchBox r8 [common]
Warning in ./out/soong/.intermediates/packages/apps/QuickSearchBox/QuickSearchBox/android_common/combined/QuickSearchBox.jar:com/google/common/primitives/UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator.class:
  Type `sun.misc.Unsafe` was not found, it is required for default or static interface methods desugaring of `sun.misc.Unsafe com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator.getUnsafe()`
Warning in ./out/soong/.intermediates/packages/apps/QuickSearchBox/QuickSearchBox/android_common/combined/QuickSearchBox.jar:com/google/common/util/concurrent/FuturesGetChecked$GetCheckedTypeValidatorHolder$ClassValueValidator$1.class:
  Type `java.lang.ClassValue` was not found, it is required for default or static interface methods desugaring of `com.google.common.util.concurrent.FuturesGetChecked$GetCheckedTypeValidatorHolder$ClassValueValidator$1`
[ 83% 97625/117108] //libcore/mmodules/intracoreapi:art-module-intra-core-api-stubs-source metalava merged [common]
metalava detected access to files that are not explicitly specified. See /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/libcore/mmodules/intracoreapi/art-module-intra-core-api-stubs-source/android_common/art-module-intra-core-api-stubs-source-violations.txt for details.
[ 83% 97996/117108] //libcore/mmodules/core_platform_api:art-module-platform-api-stubs-source metalava merged [commo
metalava detected access to files that are not explicitly specified. See /data.ssd/philip/android/quartz64/rk/out/soong/.intermediates/libcore/mmodules/core_platform_api/art-module-platform-api-stubs-source/android_common/art-module-platform-api-stubs-source-violations.txt for details.
[ 85% 100623/117108] Target boot image: out/target/product/rk3566_rgo/boot.img
FAILED: out/target/product/rk3566_rgo/boot.img
/bin/bash -c "(out/host/linux-x86/bin/mkbootimg  --kernel out/target/product/rk3566_rgo/kernel --ramdisk out/target/product/rk3566_rgo/ramdisk.img --dtb out/target/product/rk3566_rgo/dtb.img --cmdline \"console=ttyFIQ0 androidboot.baseband=N/A androidboot.wificountrycode=CN androidboot.veritymode=enforcing androidboot.hardware=rk30board androidboot.console=ttyFIQ0 androidboot.verifiedbootstate=orange firmware_class.path=/vendor/etc/firmware init=/init rootwait ro loop.max_part=7 androidboot.selinux=permissive buildvariant=userdebug\" --os_version 11 --os_patch_level 2020-11-05  --second kernel/resource.img --header_version 2 --output out/target/product/rk3566_rgo/boot.img ) && (size=\$(for i in out/target/product/rk3566_rgo/boot.img; do stat -c \"%s\" \"\$i\" | tr -d '\\n'; echo +; done; echo 0); total=\$(( \$( echo \"\$size\" ) )); printname=\$(echo -n \"out/target/product/rk3566_rgo/boot.img\" | tr \" \" +); maxsize=\$((33554432)); if [ \"\$total\" -gt \"\$maxsize\" ]; then echo \"error: \$printname too large (\$total > \$maxsize)\"; false; elif [ \"\$total\" -gt \$((maxsize - 32768)) ]; then echo \"WARNING: \$printname approaching size limit (\$total now; limit \$maxsize)\"; fi )"
Traceback (most recent call last):
  File "/data.ssd/philip/android/quartz64/rk/out/host/linux-x86/bin/mkbootimg/internal/stdlib/runpy.py", line 174, in _run_module_as_main
  File "/data.ssd/philip/android/quartz64/rk/out/host/linux-x86/bin/mkbootimg/internal/stdlib/runpy.py", line 72, in _run_code
  File "/data.ssd/philip/android/quartz64/rk/out/host/linux-x86/bin/mkbootimg/__main__.py", line 12, in <module>
  File "/data.ssd/philip/android/quartz64/rk/out/host/linux-x86/bin/mkbootimg/internal/stdlib/runpy.py", line 174, in _run_module_as_main
  File "/data.ssd/philip/android/quartz64/rk/out/host/linux-x86/bin/mkbootimg/internal/stdlib/runpy.py", line 72, in _run_code
  File "/data.ssd/philip/android/quartz64/rk/out/host/linux-x86/bin/mkbootimg/mkbootimg.py", line 316, in <module>
  File "/data.ssd/philip/android/quartz64/rk/out/host/linux-x86/bin/mkbootimg/mkbootimg.py", line 303, in main
  File "/data.ssd/philip/android/quartz64/rk/out/host/linux-x86/bin/mkbootimg/mkbootimg.py", line 165, in write_header
ValueError: DTB image must not be empty.
[ 85% 100625/117108] build out/target/product/rk3566_rgo/installed-files-ramdisk-debug.txt
Installed file list: out/target/product/rk3566_rgo/installed-files-ramdisk-debug.txt
03:21:44 ninja failed with: exit status 1

#### failed to build some targets (04:41:15 (hh:mm:ss)) ####
  Reply
#3
before that I can see 
Code:
FAILED: out/target/product/rk3566_rgo/boot.img

but I can't see the reason for it

complete output is here https://pscan.uk/stuff/quartz64log.txt
  Reply
#4
I finally got this working (big thanks to Paul on the chat).
Here are the steps that I did:-
Install Ubuntu 18.04 server edition (i then put xfce4 on top).
Install all the packages that Google tell you to install to compile AOSP.
Additionally install using apt-get install:-
libssl-dev
device-tree-compiler
liblz4-tool

Also do pip install pyelftools (I didn't need sudo for this)

cd into rk from the unpacked tar.gz

do the following:-
source/envsetup.sh
lunch (pick the build you want from the menu, I went for rk3566_rgo-userdebug)
./build.sh -AUCKu

If you open the build.sh in a text editor it tells you what the AUCKu options mean.

I will write this up properly on the wiki

The build from the tar file seems one version older than the dd images. I am waiting for the pinenote SDK to download because I suspect it might also work and be newer
  Reply
#5
The pinenote SDK offered rk3566_rgo-userdebug as an option but it doesn't compile :-(
  Reply
#6
I have started writing up what I have gotten to work so far here https://wiki.pine64.org/wiki/Android_SDK_for_RK3566
  Reply
#7
(11-05-2021, 11:46 AM)dieselnutjob Wrote: I have started writing up what I have gotten to work so far here https://wiki.pine64.org/wiki/Android_SDK_for_RK3566

Thanks, thumbs up!
  Reply
#8
Can anyone help me to compile for "rk3566_rgo-userdebug" ?

I am getting:-
Code:
FAILED: out/soong/.intermediates/bootable/recovery/minui/libminui/android_arm64_armv8-a_cortex-a55_static/obj/bootable/recovery/minui/rgb888_to_gray_256_neon.o

Why would this be different to the code for the PineNote ?
  Reply
#9
I've been looking on how to compile android for a while, so think you for the instructions. I want to get the quartz64 but I don't have the financese yet to get one. going to try and use your instruction to build android 9 for the rockpro64.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Android on SOQuartz alistson 2 1,416 10-29-2024, 01:27 PM
Last Post: tllim
  Android 12.1 Kernel 5.10 Quartz64-a shaggy013 2 4,555 12-08-2022, 06:52 PM
Last Post: shaggy013
  Android SDK Build. west0330 1 1,541 12-01-2022, 10:55 AM
Last Post: shaggy013
  Android 12 L Quartz64 and Quartz64pro shaggy013 13 9,852 09-22-2022, 08:00 AM
Last Post: shaggy013
Photo Android 11 ATV shaggy013 2 3,011 05-20-2022, 03:25 PM
Last Post: shaggy013
  Android 11 4k HDR shaggy013 6 5,005 05-17-2022, 10:10 AM
Last Post: shaggy013
Big Grin Android 12 Tablet , Box/Atv shaggy013 3 3,802 05-17-2022, 09:19 AM
Last Post: shaggy013
  Android SDK download keaton 2 3,492 11-23-2021, 03:20 PM
Last Post: keaton

Forum Jump:


Users browsing this thread: 2 Guest(s)