other-modules omission silently breaks sdist #952

Closed
headprogrammingczar opened this Issue Jun 16, 2012 · 2 comments

Projects

None yet

2 participants

@headprogrammingczar
Collaborator

Cabal compiles executables with modules that don't appear in other-modules. When you cabal sdist, those other modules don't get included and anyone who installs from that tarball will get build failures. There's no warnings from cabal check, or the Hackage checker.

For an example of this problem in action, see the result of 'cabal sdist' on this:
https://github.com/headprogrammingczar/ghc-man-completion/tree/2f570c5349248819d87a5d870206afd86547a2f3

Also see the output of 'cabal check' and 'cabal install' on the github version and the sdist output.

@timthelion

Is this a duplicate of #939 ?

@headprogrammingczar
Collaborator

Yes. Nice catch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment