Scala 3 broken on oraclelinux
francisdb opened this issue · 2 comments
francisdb commented
> [ 3/10] RUN case 3.0.0-RC2 in "3"*) URL=https://github.com/lampepfl/dotty/releases/download/3.0.0-RC2/scala3-3.0.0-RC2.tar.gz SCALA_DIR=/usr/share/scala3-3.0.0-RC2 ;; *) URL=https://downloads.typesafe.com/scala/3.0.0-RC2/scala-3.0.0-RC2.tgz SCALA_DIR=/usr/share/scala-3.0.0-RC2 ;; esac && curl -fsL $URL | tar xfz - -C /usr/share && mv $SCALA_DIR /usr/share/scala && chown -R root:root /usr/share/scala && chmod -R 755 /usr/share/scala && ln -s /usr/share/scala/bin/* /usr/local/bin && case 3.0.0-RC2 in "3"*) echo "@main def main = println(util.Properties.versionMsg)" > test.scala ;; *) echo "println(util.Properties.versionMsg)" > test.scala ;; esac && scala test.scala && rm test.scala:
#6 4.980 /usr/share/scala/bin/common: line 136: find: command not found
#6 4.982 /usr/share/scala/bin/common: line 136: find: command not found
#6 4.984 /usr/share/scala/bin/common: line 136: find: command not found
#6 4.987 /usr/share/scala/bin/common: line 136: find: command not found
#6 4.989 /usr/share/scala/bin/common: line 136: find: command not found
#6 4.992 /usr/share/scala/bin/common: line 136: find: command not found
#6 4.994 /usr/share/scala/bin/common: line 136: find: command not found
#6 4.997 /usr/share/scala/bin/common: line 136: find: command not found
#6 4.999 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.002 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.004 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.007 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.010 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.032 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.034 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.037 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.041 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.044 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.047 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.049 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.052 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.056 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.058 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.061 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.063 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.065 /usr/share/scala/bin/common: line 136: find: command not found
#6 5.352 Error: Could not find or load main class dotty.tools.scripting.Main
#6 5.352 Caused by: java.lang.ClassNotFoundException: dotty.tools.scripting.Main
francisdb commented
francisdb commented
as a workaround we can do this:
microdnf install findutils