Stop! Tickets are now managed at GitHub.

Please enter new tickets, and find and edit existing tickets there:


Ticket #78 (closed defect: wontfix)

Opened 5 years ago

Last modified 5 years ago

Cabal fails to work when haskell-platform-2009.2.0.1 compiled with GHC 6.10.4

Reported by: badsheepy Owned by: dons
Priority: major Milestone: 2009.2.0.2
Component: Platform Keywords:
Cc:

Description

Apologies if this should have been posted as a GHC bug or elsewhere.

On my (ubuntu linux) machine, compiling and installing haskell-platform-2009.2.0.1 with GHC 6.10.4 appears to work, however subsequently running cabal gives the following error: $ cabal update cabal: : openFile: does not exist (No such file or directory)

rm -r ~/.cabal makes update work, but then the error resurfaces when using any other cabal option.

Re-compiling with GHC 6.10.3 fixes this bug and makes cabal work again.

Change History

Changed 5 years ago by dixiecko@…

  • owner set to dons
  • component changed from (none-specified) to Platform

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

[root@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

Changed 5 years ago by dons

  • milestone set to 2009.2.0.2

Unknown if this affects 2009.2.0.2 and 6.10.4?

Changed 5 years ago by dons

  • status changed from new to closed
  • resolution set to wontfix

Closing for now. We have released 2009.2.0.2 and GHC 6.10.4

Note: See TracTickets for help on using tickets.