[GHC] #7700: iOS patch no 3: enable/disable terminfo more precisely by os
GHC
cvs-ghc at haskell.org
Sun Mar 3 11:58:00 CET 2013
#7700: iOS patch no 3: enable/disable terminfo more precisely by os
--------------------------------+-------------------------------------------
Reporter: StephenBlackheath | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 7.8.1
Component: Compiler | Version: 7.7
Resolution: | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: 7724 | Related:
--------------------------------+-------------------------------------------
Changes (by StephenBlackheath):
* owner: igloo =>
* status: closed => new
* resolution: fixed =>
Comment:
Your changes don't quite fix it for darwin -> iOS, because of this
sequence of events:
1. On a darwin -> iOS, PACKAGES_STAGE0 gets terminfo but PACKAGES_STAGE1
doesn't.
2. This line works for everything in PACKAGES_STAGE1, but there's no
similar line for PACKAGES_STAGE0
{{{BUILD_DIRS += $(patsubst %, libraries/%, $(PACKAGES_STAGE1))}}}
3. So {{{libraries/terminfo}}} never gets added to BUILD_DIRS.
The output is this:
{{{
Configuring ghc-pkg-6.9...
ghc-cabal: At least the following dependencies are missing:
terminfo ==0.3.2.5
make[1]: *** [utils/ghc-pkg/dist/package-data.mk] Error 1
make: *** [all] Error 2
}}}
I attach a patch to fix it. When working on it before I suspected some
order dependence in the inclusion of the build dirs, and I haven't sanity
tested a complete build yet.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7700#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list