eta-spark-core icon indicating copy to clipboard operation
eta-spark-core copied to clipboard

Unable to build, missing scala package

Open qhua948 opened this issue 6 years ago • 3 comments

Resolving dependencies...
Configuring eta-spark-0.1.0.0...
Building eta-spark-0.1.0.0...
Failed to install eta-spark-0.1.0.0
Build log ( /home/e/.etlas/logs/eta-0.7.1.3/eta-spark-0.1.0.0-7ff8V9lSSWZ9EXhvpzvsij.log ):
etlas: Entering directory '.'
Configuring eta-spark-0.1.0.0...
Preprocessing library for eta-spark-0.1.0.0..
Building library for eta-spark-0.1.0.0..

src/Spark/Core/Internal/Types.hs:8:8: error:
    Could not find module ‘Scala’
    Use -v to see a list of the files searched for.
  |
8 | import Scala
  |        ^^^^^
etlas: Leaving directory '.'
etlas: Error: some packages failed to install:
eta-spark-0.1.0.0-7ff8V9lSSWZ9EXhvpzvsij failed during the building phase. The
exception was:
ExitFailure 1

qhua948 avatar Apr 09 '18 04:04 qhua948

@qhua948 Should be fixed with the latest version. Can you confirm?

Jyothsnasrinivas avatar Apr 09 '18 05:04 Jyothsnasrinivas

FIY I just managed to build the project with etlas build --allow-newer base eta-spark-core

etlas version 1.3.0.0 compiled using version 2.1.0.0 of the etlas-cabal library index-state 2018-10-18T02:26:16Z

andreabedini avatar Oct 18 '18 06:10 andreabedini

@andreabedini Thanks for bringing this up.

--allow-newer-base is a default in the latest etlas (v1.5.0.0 and above).

Jyothsnasrinivas avatar Oct 20 '18 06:10 Jyothsnasrinivas