Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

build failed on AArch64, Fedora 33, Java 11  #3679

@LutzWeischerFujitsu

Description

@LutzWeischerFujitsu

[jw@cn05 heron]$ bazel build --config=centos heron/...
WARNING: Output base '/home/jw/.cache/bazel/_bazel_jw/385d1a67d6fa97fd7c95da8717fcbfef' is on NFS. This may lead to surprising failures and undetermined behavior.
Starting local Bazel server and connecting to it...
WARNING: /home/jw/.cache/bazel/_bazel_jw/385d1a67d6fa97fd7c95da8717fcbfef/external/remote_java_tools_linux/BUILD:671:11: in hdrs attribute of cc_library rule @remote_java_tools_linux//:combiners: Artifact 'external/remote_java_tools_linux/java_tools/src/tools/singlejar/zip_headers.h' is duplicated (through '@remote_java_tools_linux//:transient_bytes' and '@remote_java_tools_linux//:zip_headers'). Since this rule was created by the macro 'cc_library', the error might have been caused by the macro implementation
WARNING: /home/jw/apache/heron/heron/healthmgr/tests/java/BUILD:52:13: in srcs attribute of java_library rule //heron/healthmgr/tests/java:healthmgr-tests: please do not import '//heron/healthmgr/src/java:org/apache/heron/healthmgr/HealthManager.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'java_library', the error might have been caused by the macro implementation
INFO: Analyzed 610 targets (599 packages loaded, 6272 targets configured).
INFO: Found 610 targets...
ERROR: /home/jw/.cache/bazel/_bazel_jw/385d1a67d6fa97fd7c95da8717fcbfef/external/org_apache_zookeeper/BUILD.bazel:7:8: Executing genrule @org_apache_zookeeper//:zookeeper-srcs failed (Exit 1)

BUILD FAILED
/tmp/zookeeper.5bPOS/build.xml:410: java.net.UnknownHostException: repo1.maven.org
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:220)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.base/java.net.Socket.connect(Socket.java:609)
at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:289)
at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
at java.base/sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:265)
at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:203)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:189)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:168)
at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:766)
at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:676)
at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:666)

Total time: 2 seconds
Buildfile: /tmp/zookeeper.5bPOS/build.xml

init:
[mkdir] Created dir: /tmp/zookeeper.5bPOS/build/classes
[mkdir] Created dir: /tmp/zookeeper.5bPOS/build/lib
[mkdir] Created dir: /tmp/zookeeper.5bPOS/build/package/lib
[mkdir] Created dir: /tmp/zookeeper.5bPOS/build/test/lib

ivy-download:
[get] Getting: https://repo1.maven.org/maven2/org/apache/ivy/ivy/2.5.0-rc1/ivy-2.5.0-rc1.jar
[get] To: /tmp/zookeeper.5bPOS/zookeeper-server/src/main/resources/lib/ivy-2.5.0-rc1.jar
[get] Error getting https://repo1.maven.org/maven2/org/apache/ivy/ivy/2.5.0-rc1/ivy-2.5.0-rc1.jar to /tmp/zookeeper.5bPOS/zookeeper-server/src/main/resources/lib/ivy-2.5.0-rc1.jar
ERROR: /home/jw/apache/heron/heron/stmgr/tests/cpp/server/BUILD:5:8 Executing genrule @org_apache_zookeeper//:zookeeper-srcs failed (Exit 1)
INFO: Elapsed time: 288.730s, Critical Path: 10.56s
INFO: 123 processes: 68 internal, 55 local.
FAILED: Build did NOT complete successfully
[jw@cn05 heron]$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions