Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake haskell #2067

Closed
ingwinlu opened this issue Jun 11, 2018 · 4 comments
Closed

cmake haskell #2067

ingwinlu opened this issue Jun 11, 2018 · 4 comments
Labels

Comments

@ingwinlu
Copy link
Contributor

Steps to Reproduce the Problem

Build Elektra with haskell enabled, same as our build jobs.
Cmake issues the following error multiple times:
ls: cannot access '/home/jenkins/.cabal/lib': No such file or directory.

Expected Result

When the directory does not exist it should not be queried for installed packages.

Actual Result

The warning gets issues multiple times during cmake.

System Information

  • Elektra Version: master

Further Log Files and Output

https://build.libelektra.org/jenkins/blue/organizations/jenkins/libelektra/detail/master/84/pipeline/173

@e1528532
Copy link
Contributor

I've seen that as well but i have no idea what queries that directory. As it doesn't seem to matter apart from the unnecessary output i agree with the low priority for now

@ingwinlu
Copy link
Contributor Author

ingwinlu commented Jun 14, 2018

Further the following just happened on master:

[ 96%] Built target testtool_pluginspec
/home/jenkins/workspace/libelektra_master-Q2SIBK3KE2NBEMJ4WVGJXAXCSCB77DUBUULVLZDKHQEV3WNDXBMA@2/build/src/bindings/haskell/dist/setup/setup:
runProcess: runInteractiveProcess: exec: resource busy (Text file busy)
src/bindings/haskell/CMakeFiles/c2hs_haskell_tests.dir/build.make:78: recipe for target 'src/bindings/haskell/dist/build/testhaskell_basic/testhaskell_basic' failed
make[2]: *** [src/bindings/haskell/dist/build/testhaskell_basic/testhaskell_basic] Error 1
CMakeFiles/Makefile2:15103: recipe for target 'src/bindings/haskell/CMakeFiles/c2hs_haskell_tests.dir/all' failed
make[1]: *** [src/bindings/haskell/CMakeFiles/c2hs_haskell_tests.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 96%] Linking CXX executable ../../../../bin/testtool_samemountpoint
[ 96%] Built target testtool_samemountpoint
[ 96%] Built target regexdispatcher
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
script returned exit code 2

@ingwinlu
Copy link
Contributor Author

Issues in here are widely resolved

@markus2330
Copy link
Contributor

It is an duplicate, I reported the same problem in #2139

Afaik, it is not resolved, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants