You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug, including details regarding any error messages, version, and platform.
running:
archery docker run java-jni-manylinux-2014
causing
java-jni-manylinux-201x.dockerfile:38
--------------------
37 | ARG maven=3.9.3
38 | >>> RUN yum install -y java-$java-openjdk-devel && \
39 | >>> yum clean all && \
40 | >>> curl https://dlcdn.apache.org/maven/maven-3/${maven}/binaries/apache-maven-${maven}-bin.tar.gz | \
41 | >>> tar xfz - -C /usr/local && \
42 | >>> ln -s /usr/local/apache-maven-${maven}/bin/mvn /usr/local/bin
43 |
--------------------
ERROR: failed to solve: process "/bin/bash -i -c yum install -y java-$java-openjdk-devel && yum clean all && curl https://dlcdn.apache.org/maven/maven-3/${maven}/binaries/apache-maven-${maven}-bin.tar.gz | tar xfz - -C /usr/local && ln -s /usr/local/apache-maven-${maven}/bin/mvn /usr/local/bin" did not complete successfully: exit code: 2
Service 'java-jni-manylinux-2014' failed to build
Error: `docker-compose --file /root/zhenw/arrow/docker-compose.yml build --build-arg BUILDKIT_INLINE_CACHE=1 java-jni-manylinux-2014` exited with a non-zero exit code 1, see the process log above.
it seems the link for maven version 3.5.4 is no longer available
curl https://dlcdn.apache.org/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
</body></html>
the maven version in .env seems 3.5.4 but the argument is actually correct.
#11 ERROR: process "/bin/bash -i -c curl https://dlcdn.apache.org/maven/maven-3/${maven}/binaries/apache-maven-${maven}-bin.tar.gz | tar xfz - -C /usr/local" did not complete successfully: exit code: 2
------
> [ 6/11] RUN curl https://dlcdn.apache.org/maven/maven-3/3.9.3/binaries/apache-maven-3.9.3-bin.tar.gz | tar xfz - -C /usr/local:
^M100 196 100 196 0 0 914 0 --:--:-- --:--:-- --:--:-- 911
0.493
0.493 gzip: stdin: not in gzip format
0.494 tar: Child returned status 1
0.494 tar: Error is not recoverable: exiting now
Activity
zinking commentedon Aug 4, 2023
the maven version in .env seems 3.5.4 but the argument is actually correct.
zinking commentedon Aug 4, 2023
3.9.4 seems works, let me create a pr
[-]maven 3.5.4 causing docker build failure[/-][+]maven 3.9.3 causing docker build failure[/+][-]maven 3.9.3 causing docker build failure[/-][+][CI][Java] Maven 3.9.3 causing Docker build failure[/+]zinking commentedon Aug 8, 2023
as discussed centos7 is not supported.
kou commentedon Aug 11, 2023
This is also happen on Ubuntu 22.04: https://github.com/ursacomputing/crossbow/actions/runs/5818829907/job/15776016691#step:6:3163
apacheGH-37022: [CI][Java] Use the official Maven download URL
GH-37022: [CI][Java] Use the official Maven download URL (#37119)
apacheGH-37022: [CI][Java] Use the official Maven download URL (apach…