Details
-
Wish
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
./build.sh docker adds some stuff to share/docker/Dockerfile so you can run it locally;
When TravisCI runs the JAVA=11 environment, .travis/script.sh modifies the Dockerfile to be openjdk:11 instead of openjdk:8, but if I locally modify Dockerfile to be openjdk:11, then ./build.sh docker fails trying to install forrest
Successfully tagged avro-build-ci:latest + docker build -t avro-build -f share/docker/DockerfileLocal . Sending build context to Docker daemon 86.45MB Step 1/5 : FROM avro-build-ci ---> 9d838b1234ee Step 2/5 : RUN curl -L -s "https://www.apache.org/dyn/closer.lua?action=download&filename=/forrest/apache-forrest-0.9-sources.tar.gz" | tar -xzf - -C /usr/local/ && curl -L -s "https://www.apache.org/dyn/closer.lua?action=download&filename=/forrest/apache-forrest-0.9-dependencies.tar.gz" | tar -xzf - -C /usr/local/ && mv /usr/local/apache-forrest-0.9 /usr/local/apache-forrest && cd /usr/local/apache-forrest/main && ./build.sh ---> Running in 9be9f649ce33 Using classpath: ../lib/endorsed/jakarta-bcel-20040329.jar:../lib/endorsed/jakarta-regexp-1.5.jar:../lib/endorsed/xalan-2.7.1.jar:../lib/endorsed/xercesImpl-2.9.1.jar:../lib/endorsed/xml-apis-1.3.04.jar Buildfile: build.xmlinit: -------------------------------------------------------------- Using Apache Ant version 1.7.1 compiled on September 26 2008 Build file /usr/local/apache-forrest/main/build.xml Use 'build.[sh|bat] -projecthelp' to see other options. Build system home /usr/local/apache-forrest/tools/ant Build number 0 Project Name Forrest build file Java Version 1.6 Timestamp 201910130035 This is: apache-forrest 0.9 -------------------------------------------------------------- compile: Created dir: /usr/local/apache-forrest/build/classes Compiling 33 source files to /usr/local/apache-forrest/build/classes error: Source option 5 is no longer supported. Use 6 or later. error: Target option 1.5 is no longer supported. Use 1.6 or later.BUILD FAILED /usr/local/apache-forrest/main/build.xml:522: Compile failed; see the compiler error output for details.Total time: 0 seconds The command '/bin/bash -o pipefail -c curl -L -s "https://www.apache.org/dyn/closer.lua?action=download&filename=/forrest/apache-forrest-0.9-sources.tar.gz" | tar -xzf - -C /usr/local/ && curl -L -s "https://www.apache.org/dyn/closer.lua?action=download&filename=/forrest/apache-forrest-0.9-dependencies.tar.gz" | tar -xzf - -C /usr/local/ && mv /usr/local/apache-forrest-0.9 /usr/local/apache-forrest && cd /usr/local/apache-forrest/main && ./build.sh' returned a non-zero code: 1
Attachments
Issue Links
- links to