Firefly开源社区

标题: 请大神帮我看一个rk3399的编译错误 [打印本页]

作者: 15801422455    时间: 2020-1-9 21:33
标题: 请大神帮我看一个rk3399的编译错误
我是按照风火官方的wiki教程编译的


[ 27% 14223/50802] build out/target/pr...bj/ETC/sepolicy_intermediates/sepolicy
out/host/linux-x86/bin/checkpolicy:  loading policy configuration from out/target/product/rk3399_firefly/obj/ETC/sepolicy_intermediates/policy.conf
out/host/linux-x86/bin/checkpolicy:  policy configuration loaded
out/host/linux-x86/bin/checkpolicy:  writing binary representation (version 30) to out/target/product/rk3399_firefly/obj/ETC/sepolicy_intermediates/sepolicy.tmp
out/host/linux-x86/bin/checkpolicy:  loading policy configuration from out/target/product/rk3399_firefly/obj/ETC/sepolicy_intermediates/policy.conf.dontaudit
out/host/linux-x86/bin/checkpolicy:  policy configuration loaded
out/host/linux-x86/bin/checkpolicy:  writing binary representation (version 30) to out/target/product/rk3399_firefly/obj/ETC/sepolicy_intermediates//sepolicy.dontaudit
[ 28% 14462/50802] target Generated: s...snakeyaml/representer/Representer.java
patching file Representer.java
Hunk #1 succeeded at 15 with fuzz 1.
Hunk #2 succeeded at 24 (offset 1 line).
Hunk #3 succeeded at 44 (offset 1 line).
Hunk #4 succeeded at 235 (offset 8 lines).
Successfully applied patch /home/cc/桌面/rk3399-firefly-industry/external/snakeyaml/src/patches/android/Representer.patch into copy of file out/target/product/rk3399_firefly/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/representer/Representer.java
[ 28% 14483/50802] Ensure Jack server is installed and started
Jack server already installed in "/home/cc/.jack-server"
Server is already running
[ 28% 14485/50802] build out/target/co...RIES/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 )"
1 error during configuration. Try --help-properties for help.
  Property 'jack.library.output.zip' (in Options): file 'out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack' can not be created (required because 'jack.library' (defined in Options) is set to true and 'jack.library.output.container' (defined in Options) is set to 'zip')
[ 28% 14485/50802] Building with Jack:...l_intermediates/with-local/classes.dex
FAILED: /bin/bash out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/with-local/classes.dex.rsp
2 errors during configuration. Try --help-properties for help.
  Property 'jack.dex.output.dir' (in Options): directory 'out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/jack-rsc' is not writable (required because 'jack.dex.output.container' (defined in Options) is set to 'dir')
  Property 'jack.library.output.zip' (in Options): file 'out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/classes.jack' can not be created (required because 'jack.library' (defined in Options) is set to true and 'jack.library.output.container' (defined in Options) is set to 'zip')
[ 28% 14485/50802] host Java: bouncyca...uncycastle-host_intermediates/classes)
警告: [options] 未与 -source 1.7 一起设置引导类路径
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
1 个警告
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] 错误 1
cc@cc-Z97-HD3:~/桌面/rk3399-firefly-industry-71-20190926$

作者: jpchen    时间: 2020-1-10 09:04
这种情况主要是由于 jack-server 本身编译器限制,同一个网络端口号不能多个用户同时使用
/home/xxx/.jack-server/config.properties
/home/xxx/.jack-settings

确保两个配置文件存在,并且权限设置为 0600:
这两个配置文件需要配置两个端口号,分别为服务端端口号,及客户端端口号,两个配置文件
中的端口号要匹配。
jack.server.service.port=8074
jack.server.admin.port=8075

SERVER_PORT_SERVICE=8074
SERVER_PORT_ADMIN=8075





欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1