Ticket #673 (new defect)
cabal init: fail gracefully if bogus files are found during recursive search for source code
| Reported by: | byorgey | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | cabal-install-0.16 |
| Component: | cabal-install tool | Version: | |
| Severity: | normal | Keywords: | init, search, file, crash |
| Cc: | Difficulty: | easy (<4 hours) | |
| GHC Version: | 6.12.1 | Platform: | Mac OS |
Description
cabal init does a recursive search looking for things that look like Haskell modules to be added to the exports list. The following error messages were reported by Ivan Miljenovic:
cabal: /scratch/ghc-6.12.1/distrib/installer-scripts/MacOS: does not exist cabal: /tmp/pulse-a7kaqGHss6Yh/native: inappropriate type
Not sure exactly what causes these errors, but in any case cabal init should not crash.
Change History
Note: See
TracTickets for help on using
tickets.
