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

Comments

Projects
None yet
3 participants
@ingwinlu
Contributor

ingwinlu commented Jun 11, 2018

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

This comment has been minimized.

Contributor

e1528532 commented Jun 12, 2018

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 ingwinlu removed the low priority label Jun 14, 2018

@ingwinlu

This comment has been minimized.

Contributor

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

This comment has been minimized.

Contributor

ingwinlu commented Aug 28, 2018

Issues in here are widely resolved

@ingwinlu ingwinlu closed this Aug 28, 2018

@markus2330

This comment has been minimized.

Contributor

markus2330 commented Sep 3, 2018

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