[Hackage] #594: Unhelpful error message for "module found in multiple packages"

#594: Unhelpful error message for "module found in multiple packages" ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.1 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ I was checking whether cabal-install would install my "extcore" package, and got: {{{ $ sudo cabal install extcore --enable-library-profiling --reinstall Resolving dependencies... Configuring extcore-0.3... Preprocessing library extcore-0.3... Building extcore-0.3... Language/Core/Core.hs:6:7: Could not find module `Data.Generics': it was found in multiple packages: base-3.0.3.1 syb cabal: Error: some packages failed to install: extcore-0.3 failed during the building phase. The exception was: exit: ExitFailure 1 }}} This is an unhelpful error message because it gives the user no information about what they have to do to continue. Since I'm the package author, I was able to figure out that I needed to change the .cabal file to depend on base >= 4. In general, the error message should explain that this is a bug in the package description and to report it to the package maintainer. cabal-install 0.6.2, library version 1.6.0.3. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/594 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage