Ошибка компиляции AOSP с сервером ниндзя и джек - PullRequest
0 голосов
/ 03 сентября 2018

Я пытаюсь собрать ПЗУ для Nexus 6P. Но я сталкиваюсь с ошибками сервера Джек и комплекта ниндзя. Я следовал ниже упомянутых шагов для процесса сборки. Пожалуйста, проверьте журналы ошибок и предложите. TIA:)

ШАГОВ: 1. Повторите команду синхронизации для загрузки исходного кода
2. Загрузите ядро ​​устройства и дерево поставщиков из хранилища lineageOS и Themuppets Github.
3. исходная сборка / envsetup.sh
4. обед aosp_arm-eng
5. сделать -j4

    sudo make -j4
    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=8.1.0                                              
    TARGET_PRODUCT=aosp_arm
    TARGET_BUILD_VARIANT=eng
    TARGET_BUILD_TYPE=release
    TARGET_ARCH=arm
    TARGET_ARCH_VARIANT=armv7-a
    TARGET_CPU_VARIANT=generic
    HOST_ARCH=x86_64
    HOST_2ND_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-4.15.0-29-generic-x86_64-with-Ubuntu-16.04-xenial
    HOST_CROSS_OS=windows
    HOST_CROSS_ARCH=x86
    HOST_CROSS_2ND_ARCH=x86_64
    HOST_BUILD_TYPE=release
    BUILD_ID=OPM6.171019.030.E1
    OUT_DIR=out
    ============================================
    **ninja: no work to do.
    ninja: no work to do.**
    No need to regenerate ninja file
    [  0% 240/64197] Check module type: out/target/common/obj/APPS/Contacts_intermediates/link_type
    packages/apps/Contacts/Android.mk: warning: Contacts
    .
    .
    .
    .
    .
    .
    .
    .
    external/libcxx/include/set:400:28: note: in instantiation of member function 'std::__1::__tree<const google::protobuf::FieldDescriptor *, google::protobuf::compiler::java::(anonymous namespace)::FieldDescriptorCompare, std::__1::allocator<const google::protobuf::FieldDescriptor *> >::~__tree' requested here
    class _LIBCPP_TEMPLATE_VIS set
                                                    ^
    external/libcxx/include/__tree:968:7: note: from 'diagnose_if' attribute on '__trigger_diagnostics':
            _LIBCPP_DIAGNOSE_WARNING(!__invokable<_Compare const&, _Tp const&, _Tp const&>::value,
            ^                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    external/libcxx/include/__config:1058:20: note: expanded from macro '_LIBCPP_DIAGNOSE_WARNING'
            __attribute__((diagnose_if(__VA_ARGS__, "warning")))
                                    ^           ~~~~~~~~~~~
    1 warning generated.
    [  7% 4543/64197] Ensuring Jack server is installed and started
    FAILED: setup-jack-server
    /bin/bash -c "(prebuilts/sdk/tools/jack-admin install-server prebuilts/sdk/tools/jack-launcher.jar prebuilts/sdk/tools/jack-server-4.11.ALPHA.jar  2>&1 || (exit 0) ) && (JACK_SERVER_VM_ARGUMENTS=\"-Dfile.encoding=UTF-8 -XX:+TieredCompilation\" prebuilts/sdk/tools/jack-admin start-server 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update server prebuilts/sdk/tools/jack-server-4.11.ALPHA.jar 4.11.ALPHA 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-4.32.CANDIDATE.jar 4.32.CANDIDATE || exit 47 )"
    Jack server already installed in "/home/arun/.jack-server"
    Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/arun/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
    **Jack server failed to (re)start, try 'jack-diagnose' or see Jack server log
    No Jack server running. Try 'jack-admin start-server'
    No Jack server running. Try 'jack-admin start-server'**
    [  7% 4546/64197] //system/libvintf:assemble_vintf clang++ assemble_vintf.cpp [linux]
    **ninja: build stopped: subcommand failed.**
    12:02:42 ninja failed with: exit status 1
    build/core/main.mk:21: recipe for target 'run_soong_ui' failed
    make: *** [run_soong_ui] Error 1
...