ocramz / petsc-hs

Haskell bindings for PETSc and SLEPc
GNU General Public License v3.0
20 stars 4 forks source link

Travis (dumb) build failure after installing PETSc, SLEPc and stack #12

Closed ocramz closed 8 years ago

ocramz commented 8 years ago

This Travis script, used in 040cb2f . What does the "Error parsing targets: No local directories found as children of /home/travis/build/ocramz/petsc-hs/petsc" line mean?

faulty script:

https://github.com/ocramz/petsc-hs/blob/040cb2fcbf9f977c97889766afe3156542f290bd/.travis.yml

full Travis log : https://travis-ci.org/ocramz/petsc-hs/jobs/96878320

log error section:

$ ./stack-build.sh $STACK_ARGS $PETSC_DIR $PETSC_ARCH $SLEPC_DIR $SLEPC_ARCH Preparing to install GHC to an isolated location. This will not interfere with any system-level installation. Preparing to download ghc-7.10.2 ... ghc-7.10.2: download has begun ghc-7.10.2: 61.49 MiB / 87.60 MiB ( 70.20%) downloaded... ghc-7.10.2: 87.60 MiB / 87.60 MiB (100.00%) downloaded... Downloaded ghc-7.10.2. Unpacking GHC into /tmp/stack-setup124318/ ... Configuring GHC ... Installing GHC ... Installed GHC. Error parsing targets: No local directories found as children of /home/travis/build/ocramz/petsc-hs/petsc The command "./stack-build.sh $STACK_ARGS $PETSC_DIR $PETSC_ARCH $SLEPC_DIR $SLEPC_ARCH" exited with 1.

ocramz commented 8 years ago

Note that git clone https://github.com/ocramz/petsc-hs.git && cd petsc-hs && make stack_build && stack exec petsc-example works as advertised

ocramz commented 8 years ago

directory mismatch in the .travis file