[GHC] #8783: make ghc-pwd-bindist script /bin/sh compatible for Solaris
GHC
ghc-devs at haskell.org
Wed Mar 12 13:06:35 UTC 2014
#8783: make ghc-pwd-bindist script /bin/sh compatible for Solaris
-------------------------------------+-------------------------------------
Reporter: maeder | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.8.1
Component: Build System | Version: 7.8.1-rc2
Resolution: | Keywords:
Operating System: Solaris | Architecture: Unknown/Multiple
Type of failure: Building GHC | Difficulty: Easy (less than 1
failed | hour)
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+-------------------------------------
Comment (by kgardas):
Replying to [comment:6 maeder]:
> I try to cross-compile for x86_64-pc-solaris2.
>
> {{{
> inplace/bin/hsc2hs: LD_LIBRARY_PATH=/home/pub-bkb/pc-
solaris/ghc/ghc-7.6.3/lib/ghc-7.6.3/process-1.1.0.2:/home/pub-bkb/pc-
solaris/ghc/ghc-7.6.3/lib/ghc-7.6.3/directory-1.2.0.1:/home/pub-bkb/pc-
solaris/ghc/ghc-7.6.3/lib/ghc-7.6.3/unix-2.6.0.1:/home/pub-bkb/pc-
solaris/ghc/ghc-7.6.3/lib/ghc-7.6.3/time-1.4.0.1:/home/pub-bkb/pc-
solaris/ghc/ghc-7.6.3/lib/ghc-7.6.3/old-locale-1.0.0.5:/home/pub-bkb/pc-
solaris/ghc/ghc-7.6.3/lib/ghc-7.6.3/filepath-1.3.0.1:/home/pub-bkb/pc-
solaris/ghc/ghc-7.6.3/lib/ghc-7.6.3/containers-0.5.0.0:/home/pub-bkb/pc-
solaris/ghc/ghc-7.6.3/lib/ghc-7.6.3/bytestring-0.10.0.2:/home/pub-bkb/pc-
solaris/ghc/ghc-7.6.3/lib/ghc-7.6.3/deepseq-1.3.0.1:/home/pub-bkb/pc-
solaris/ghc/ghc-7.6.3/lib/ghc-7.6.3/array-0.4.0.1:/home/pub-bkb/pc-
solaris/ghc/ghc-7.6.3/lib/ghc-7.6.3/base-4.6.0.1:/home/pub-bkb/pc-
solaris/ghc/ghc-7.6.3/lib/ghc-7.6.3/integer-gmp-0.5.0.0:/home/pub-bkb/pc-
solaris/ghc/ghc-7.6.3/lib/ghc-7.6.3/ghc-prim-0.3.0.0:/home/pub-bkb/pc-
solaris/ghc/ghc-7.6.3/lib/ghc-7.6.3:: ist kein Kennzeichner
> gmake[1]: *** [compiler/stage1/build/Fingerprint.hs] Fehler 1
> }}}
>
> The message "ist kein Kennzeichner" is the german version of the above
"is not an identifier".
This is IMHO caused by using export LD_LIBRARY_PATH=.... somewhere in
build machinery and not by hard-coding /bin/sh. Anyway, if you use your
patch and then look into processed config.mk what value is saved into
SHELL variable?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8783#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list