- 积分
- 205
贡献1407
飞刀471 FD
注册时间2021-11-15
在线时间35 小时
扫一扫,手机访问本帖
|
完全按照手册里的过程做的,实体机安装ubuntu14.04.6,装的docker,还原的docker镜像,解压的lichee和android源码。
lichee源码编译通过,在编译andorid的时候,到33%就报错了。
make clean之后,再make -j6,到这里还是报错。附件是终端的log保存的文件。
[ 33% 12346/37397] host Java: conscrypt-host (out/host/common/obj/JAVA_LIBRARIES/conscrypt-host_intermediates/classes)
warning: [options] bootstrap class path not set in conjunction with -source 1.7
external/conscrypt/src/openjdk/java/org/conscrypt/Platform.java:45: warning: AlgorithmId is internal proprietary API and may be removed in a future release
import sun.security.x509.AlgorithmId;
^
external/conscrypt/src/openjdk/java/org/conscrypt/Platform.java:274: warning: AlgorithmId is internal proprietary API and may be removed in a future release
return AlgorithmId.get(oid).getName();
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 warnings
[ 33% 12398/37397] Ensure Jack server is installed and started
Jack server already installed in "/root/.jack-server"
Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4096m -cp /root/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
[ 33% 12408/37397] build out/target/common/obj/JAVA_LIBRARIES/bms_intermediates/classes.jack
FAILED: /bin/bash -c "(mkdir -p out/target/common/obj/JAVA_LIBRARIES/bms_intermediates/classes.jack.tmpjill.res ) && (unzip -qo vendor/aw/public/prebuild/lib/libbms/bms.jar -d out/target/common/obj/JAVA_LIBRARIES/bms_intermediates/classes.jack.tmpjill.res ) && (find out/target/common/obj/JAVA_LIBRARIES/bms_intermediates/classes.jack.tmpjill.res -iname \"*.class\" -delete ) && (JACK_VERSION=3.36.CANDIDATE out/host/linux-x86/bin/jack @build/core/jack-default.args --verbose error -D jack.import.resource.policy=keep-first -D jack.import.type.policy=keep-first -D jack.android.min-api-level=1 --import vendor/aw/public/prebuild/lib/libbms/bms.jar --import-resource out/target/common/obj/JAVA_LIBRARIES/bms_intermediates/classes.jack.tmpjill.res --output-jack out/target/common/obj/JAVA_LIBRARIES/bms_intermediates/classes.jack ) && (rm -rf out/target/common/obj/JAVA_LIBRARIES/bms_intermediates/classes.jack.tmpjill.res )"
out/host/linux-x86/bin/jack: line 29: USER: unbound variable
[ 33% 12408/37397] build out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack
FAILED: /bin/bash -c "(mkdir -p out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res ) && (unzip -qo prebuilts/sdk/8/android.jar -d out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res ) && (find out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res -iname \"*.class\" -delete ) && (JACK_VERSION=3.36.CANDIDATE out/host/linux-x86/bin/jack @build/core/jack-default.args --verbose error -D jack.import.resource.policy=keep-first -D jack.import.type.policy=keep-first -D jack.android.min-api-level=1 --import prebuilts/sdk/8/android.jar --import-resource out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res --output-jack out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack ) && (rm -rf out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res )"
out/host/linux-x86/bin/jack: line 29: USER: unbound variable
[ 33% 12408/37397] host Java: bouncycastle-host (out/host/co.../obj/JAVA_LIBRARIES/bouncycastle-host_intermediates/classes)
warning: [options] bootstrap class path not set in conjunction with -source 1.7
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
[ 33% 12408/37397] Building with Jack: out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/with-local/classes.dex
FAILED: /bin/bash out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/with-local/classes.dex.rsp
out/host/linux-x86/bin/jack: line 29: USER: unbound variable
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (16:04 (mm:ss)) ####
root@986353a0d404:~/workspace/allwinner/android#
|
|