You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "zinking (via GitHub)" <gi...@apache.org> on 2023/08/04 02:14:07 UTC
[GitHub] [arrow] zinking opened a new issue, #37022: maven 3.5.4 causing docker build failure
zinking opened a new issue, #37022:
URL: https://github.com/apache/arrow/issues/37022
### 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>
```
### Component(s)
Release
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] zinking commented on issue #37022: [CI][Java] Maven 3.9.3 causing Docker build failure
Posted by "zinking (via GitHub)" <gi...@apache.org>.
zinking commented on issue #37022:
URL: https://github.com/apache/arrow/issues/37022#issuecomment-1668995164
as discussed centos7 is not supported.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] zinking closed issue #37022: [CI][Java] Maven 3.9.3 causing Docker build failure
Posted by "zinking (via GitHub)" <gi...@apache.org>.
zinking closed issue #37022: [CI][Java] Maven 3.9.3 causing Docker build failure
URL: https://github.com/apache/arrow/issues/37022
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] zinking commented on issue #37022: maven 3.5.4 causing docker build failure
Posted by "zinking (via GitHub)" <gi...@apache.org>.
zinking commented on issue #37022:
URL: https://github.com/apache/arrow/issues/37022#issuecomment-1664895476
3.9.4 seems works, let me create a pr
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] kou commented on issue #37022: [CI][Java] Maven 3.9.3 causing Docker build failure
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #37022:
URL: https://github.com/apache/arrow/issues/37022#issuecomment-1674130818
This is also happen on Ubuntu 22.04: https://github.com/ursacomputing/crossbow/actions/runs/5818829907/job/15776016691#step:6:3163
```text
> [3/5] RUN yum install -y java-1.8.0-openjdk-devel && yum clean all && 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 && ln -s /usr/local/apache-maven-3.9.3/bin/mvn /usr/local/bin:
81.83
81.83 Complete!
82.01 Loaded plugins: fastestmirror, ovl
82.09 Cleaning repos: base centos-sclo-rh epel extras updates
82.15 Cleaning up list of fastest mirrors
0 196 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 196 100 196 0 0 281 0 --:--:-- --:--:-- --:--:-- 281
82.87
82.87 gzip: stdin: not in gzip format
82.87 tar: Child returned status 1
82.87 tar: Error is not recoverable: exiting now
------
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](https://dlcdn.apache.org/maven/maven-3/$%7Bmaven%7D/binaries/apache-maven-$%7Bmaven%7D-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](https://dlcdn.apache.org/maven/maven-3/$%7Bmaven%7D/binaries/apache-maven-$%7Bmaven%7D-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 : Build failed
Error: `docker-compose --file /home/runner/work/crossbow/crossbow/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.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] zinking commented on issue #37022: maven 3.5.4 causing docker build failure
Posted by "zinking (via GitHub)" <gi...@apache.org>.
zinking commented on issue #37022:
URL: https://github.com/apache/arrow/issues/37022#issuecomment-1664882126
the maven version in .env seems 3.5.4 but the argument is actually correct.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] kou closed issue #37022: [CI][Java] Maven 3.9.3 causing Docker build failure
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou closed issue #37022: [CI][Java] Maven 3.9.3 causing Docker build failure
URL: https://github.com/apache/arrow/issues/37022
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org