
#673: cabal init: fail gracefully if bogus files are found during recursive search for source code ---------------------------------+------------------------------------------ Reporter: byorgey | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: Severity: normal | Keywords: init, search, file, crash Difficulty: easy (<4 hours) | Ghcversion: 6.12.1 Platform: Mac OS | ---------------------------------+------------------------------------------ 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. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/673 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects