Ticket #5765 (closed bug: worksforme)

Opened 17 months ago

Last modified 8 months ago

ghc-cabal build failure with nonsense error message

Reported by: jimstutt Owned by: igloo
Priority: low Milestone: 7.6.2
Component: Compiler Version: 7.2.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: x86
Type of failure: Building GHC failed Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description (last modified by igloo) (diff)

Trying to install a second user instance of ghc-7.2.2 from ghc-7.2.2-src.tar.bz2 with config.mk.in edited to integer-simple and $GHC_PACKAGE_PATH set gives the following message:

"Configuring Cabal-1.12.0... ghc-cabal: At least the following dependencies are missing 
base >=4 && <3 && >=2 && <5
filepath  >=1 && < 1.3
unix >= 2.0 && <2.6
make[1]: ** [libraries/Cabal/cabal/dist-boot/package-data.mk] Error 1
make: ***[all] Error 1"

Change History

Changed 17 months ago by igloo

  • owner set to igloo
  • difficulty set to Unknown
  • description modified (diff)
  • milestone set to 7.4.1

Thanks for the report. I'll take a look.

Changed 17 months ago by igloo

  • priority changed from normal to low
  • milestone changed from 7.4.1 to 7.6.1

Changed 9 months ago by igloo

  • milestone changed from 7.6.1 to 7.6.2

Changed 8 months ago by igloo

  • status changed from new to closed
  • resolution set to worksforme

I couldn't reproduce this.

Note that you should make changes in mk/build.mk, not mk/config.mk.in (see Building/Using#Buildconfiguration for more info), and it shouldn't be necessary to set GHC_PACKAGE_PATH in order to build GHC.

If you're still having problems, could you please reopen and clarify why you're setting GHC_PACKAGE_PATH and which packages you have installed where?

Note: See TracTickets for help on using tickets.