Ticket #128 (new defect)
cabal building broken libraries when module list is not complete
| Reported by: | m@… | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Cabal-2.0 |
| Component: | Cabal library | Version: | 1.1.6 |
| Severity: | major | Keywords: | |
| Cc: | claus | Difficulty: | normal |
| GHC Version: | 6.6 | Platform: |
Description
to reproduce:
- write a *.cabal file for a library, but omit a module in extra-modules list
- install that library
- use the library, and you will get linking errors, pointing out that the left out modules functions are missing (undefined reference)
to workaround:
- make shure that all modules are noticed in *.cabal
to fix (suggestion):
- don't build a library when some of its modules are not in *.cabal
Change History
Note: See
TracTickets for help on using
tickets.
