[haskell-platform] #78: Cabal fails to work when haskell-platform-2009.2.0.1 compiled with GHC 6.10.4

haskell-platform haskell-platform at projects.haskell.org
Tue Jul 28 08:38:18 EDT 2009


#78: Cabal fails to work when haskell-platform-2009.2.0.1 compiled with GHC
6.10.4
-----------------------+----------------------------------------------------
 Reporter:  badsheepy  |        Owner:  dons
     Type:  defect     |       Status:  new 
 Priority:  major      |    Milestone:      
Component:  Platform   |   Resolution:      
 Keywords:             |  
-----------------------+----------------------------------------------------
Changes (by dixiecko at gmail.com):

  * owner:  => dons
  * component:  (none-specified) => Platform

Comment:

 I have the same problem, it seems that something is meesed up, because it
 tries to open some binary bulk instead of filename:

 [root at dixie-laptop ~/i]# cabal update
 cabal:  : openFile: does not exist (No such file or directory)

 (I have latest stable Ubuntu, 32bit, ghc 6.10.4):

 Strace (see open("\t",...) line):

 {{{

 open("/home/dixie/.cabal/config",
 O_RDONLY|O_NOCTTY|O_NONBLOCK|O_LARGEFILE) = 3
 fstat64(3, {st_mode=S_IFREG|0644, st_size=1723, ...}) = 0
 ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf889e50) = -1 ENOTTY
 (Inappropriate ioctl for device)
 read(3, "-- This is the configuration file"..., 8192) = 1723
 read(3, ""..., 8192)                    = 0
 close(3)                                = 0
 open("\t", O_RDONLY|O_NOCTTY|O_NONBLOCK|O_LARGEFILE) = -1 ENOENT (No such
 file or directory)
 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
 ...}) = 0
 write(2, "cabal: "..., 7cabal: )               = 7
 write(2, "\t: openFile: does not exist (No s"..., 55    : openFile: does
 not exist (No such file or directory)) = 55
 write(2, "\n"..., 1

 }}}

-- 
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/78#comment:1>
haskell-platform <http://trac.haskell.org/haskell-platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries


More information about the Haskell-platform mailing list