ULL-ESIT-GRADOII-TFG / TFG-Eleazar-18

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

stack build #16

Open crguezl opened 6 years ago

crguezl commented 6 years ago
[~/campus-virtual/1718/tfg1718/eleazar/TFG-Eleazar-18(master)]$ stack exec scriptflow -- test.sf 
Downloaded lts-12.0 build plan.    
AesonException "Error in $.packages.cassava.constraints.flags['bytestring--lt-0_10_4']: Invalid flag name: \"bytestring--lt-0_10_4\""
$ stack build
Downloaded lts-12.0 build plan.    
AesonException "Error in $.packages.cassava.constraints.flags['bytestring--lt-0_10_4']: Invalid flag name: \"bytestring--lt-0_10_4\""
EleDiaz commented 6 years ago

Realizo una build de cero para comprobar el error. Aún así el error ocurre en stack. Es posible que stack este desactualizado. Le recomiendo eliminar el .stack del directorio $HOME y también el .stack-work en la carpeta del proyecto.

Informaré de si tengo errores al realizar la instalación desde cero.

EleDiaz commented 6 years ago

Actualmente uso la versión 1.9.1 de stack compilada de Git por el comando run, pero la versión 1.7.1 la he estado usando durante los últimos meses, sin problemas.

La salida esperada debe ser parecida a la siguiente:

Downloaded lts-12.0 build plan.
Preparing to install GHC (tinfo6) to an isolated location.
This will not interfere with any system-level installation.
Downloaded ghc-tinfo6-8.4.3.
Installed GHC.
Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/
Downloading root
Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/
Downloading timestamp
Downloading snapshot
Downloading mirrors
Cannot update index (no local copy)
Downloading index
Updated package index downloaded
Update complete
Populated index cache.
[1 of 2] Compiling Main             ( /home/eleazardd/.stack/setup-exe-src/setup-mPHDZzAJ.hs, /home/eleazardd/.stack/setup-exe-src/setup-mPHDZzAJ.o )
[2 of 2] Compiling StackSetupShim   ( /home/eleazardd/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /home/eleazardd/.stack/setup-exe-src/setup-shim-mPHDZzAJ.o )
Linking /home/eleazardd/.stack/setup-exe-cache/x86_64-linux-tinfo6/tmp-Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.3 ...
base-orphans-0.7: download
StateVar-1.1.1.0: download
cabal-doctest-1.0.6: download
StateVar-1.1.1.0: configure
base-compat-0.10.4: download
byteable-0.1.1: download
basement-0.0.7: download
alex-3.2.4: download
blaze-builder-0.4.1.0: download

Y continuaría descargando depencias.