[GHC] #4305: Add showCommandForUser to process:System.Process

GHC cvs-ghc at haskell.org
Tue Feb 8 05:37:30 CET 2011


#4305: Add showCommandForUser to process:System.Process
--------------------------------------+-------------------------------------
  Reporter:  igloo                    |          Owner:                                   
      Type:  bug                      |         Status:  new                              
  Priority:  normal                   |      Milestone:  Not GHC                          
 Component:  Compiler                 |        Version:  6.12.3                           
Resolution:                           |       Keywords:  System.Process showCommandForUser
  Testcase:                           |      Blockedby:                                   
Difficulty:                           |             Os:  MacOS X                          
  Blocking:                           |   Architecture:  x86                              
   Failure:  GHC doesn't work at all  |  
--------------------------------------+-------------------------------------
Changes (by ikeg):

  * status:  closed => new
 * cc: ikegami.da@… (added)
  * os:  Unknown/Multiple => MacOS X
  * failure:  None/Unknown => GHC doesn't work at all
  * architecture:  Unknown/Multiple => x86
  * type:  proposal => bug
  * keywords:  => System.Process showCommandForUser
  * resolution:  fixed =>


Comment:

 I met a strange error when building `gitit-0.7.3.12` with `ghc
 7.1.20110204` on MacOSX Leopard.

 {{{
 ...
 [19 of 19] Compiling Main             ( gitit.hs, dist/build/gitit/gitit-
 tmp/Main.o )
 Linking dist/build/gitit/gitit ...
 Undefined symbols:
 "_processzm1zi0zi1zi4_SystemziProcess_showCommandForUser_closure",
 referenced from:
       _s4gE_info in libHSghc-7.1.20110204.a(SysTools.o)
       _r12B_srt in libHSghc-7.1.20110204.a(SysTools.o)
 ld: symbol(s) not found
 }}}

 The new function `showCommandForUser` was not found in `System.Process`.

 {{{
 Glasgow Haskell Compiler, Version 7.1.20110204, stage 2 booted by GHC
 version 6.12.3

 % ghci -ignore-dot-ghci
 GHCi, version 7.1.20110204: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Loading package ffi-1.0 ... linking ... done.
 Prelude> :m + System.Process
 Prelude System.Process> :t showCommandForUser

 <interactive>:1:1: Not in scope: `showCommandForUser'
 Prelude System.Process>
 }}}

 I'll add build info more if you need.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4305#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list