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

c2hs #20

Open
joeyh opened this issue Sep 4, 2015 · 3 comments
Open

c2hs #20

joeyh opened this issue Sep 4, 2015 · 3 comments

Comments

@joeyh
Copy link

joeyh commented Sep 4, 2015

git-annex has many build failures due to a dependency using c2hs which is not installed on the builder. Of course, there is currently no way to specify such dependencies in a cabal file.

Would it make sense to have c2hs instaled by default on the builders?

@hvr
Copy link
Member

hvr commented Sep 4, 2015

It's actually already installed, but the reports haven't been regenerated yet since then

Of course, there is currently no way to specify such dependencies in a cabal file

actually there is... via buildtools, that's what causes the message

setup-Simple-Cabal-1.22.4.0-x86_64-linux-ghc-7.10.2: The program 'c2hs' is required but it could not be found.

The problem is rather that cabal isn't supposed to install buildtools automatically (EDIT: this statement is obsolete and applied to the legacy v1-build system; with v2-build cabal is in fact supposed to procure the respective versions of the requested tools as declared via buildtools/build-tool-depends)

@bergmark
Copy link
Collaborator

@hvr can we somehow expose marking packages as "dirty" to get the builder to redo them?

@bergmark
Copy link
Collaborator

Oh i already filed this as #18 :)

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

No branches or pull requests

3 participants