#2654: pwd problems
------------------------------+---------------------------------------------
 Reporter:  ajd               |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Milestone:  6.10.1          
Component:  Build System      |        Version:  6.11            
 Severity:  normal            |     Resolution:                  
 Keywords:                    |     Difficulty:  Unknown         
 Testcase:                    |   Architecture:  Unknown/Multiple
       Os:  Unknown/Multiple  |  
------------------------------+---------------------------------------------
Comment (by ajd):

 Okay, so I've got the information now. It is a problem with the system
 pwd, but that problem is caused by GHC, so I think it's still a bug.

 After I installed today's head with {{{ PREFIX=/usr/local }}}, a binary
 called "pwd" was installed into /usr/local/bin. When I typed make again
 inside the GHC source tree, the first lines of output were

 {{{
 Bad args: []
 Usage: pwd {forwardslash|quadruple-backslash}
 Bad args: []
 Usage: pwd {forwardslash|quadruple-backslash}
 }}}

 When I remove /usr/local/bin/pwd (thereby making the first pwd in the PATH
 /bin/pwd), there were no warnings.

 I am on i686 linux. type pwd says shell builtin, which pwd says
 /usr/local/bin/pwd.

 So I think that GHC should not install its own pwd, at least not into the
 public binaries directory.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2654#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to