[Hackage] #620: Cabal-1.8.0.2 doesn't build on x86_64, GHC 6.10.4

#620: Cabal-1.8.0.2 doesn't build on x86_64, GHC 6.10.4 -----------------------------+---------------------------------------------- Reporter: Ashley Yakeley | Owner: Type: defect | Status: new Priority: normal | Milestone: Cabal-1.8 Component: Cabal library | Version: HEAD Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | -----------------------------+---------------------------------------------- {{{ $ cabal install 'Cabal >= 0.8' }}} ... {{{ Linking /tmp/Cabal-1.8.0.214524/Cabal-1.8.0.2/dist/setup/setup ... /usr/local/lib/ghc-6.10.4/base-4.1.0.0/libHSbase-4.1.0.0.a(PrelIOUtils.o): In function `__hscore_d_name': PrelIOUtils.c:(.text+0x1c0): multiple definition of `__hscore_d_name' /home/ashley/.cabal/lib/unix-2.4.0.0/ghc-6.10.4/libHSunix-2.4.0.0.a(dirUtils.o):dirUtils.c:(.text+0x0): first defined here /usr/local/lib/ghc-6.10.4/base-4.1.0.0/libHSbase-4.1.0.0.a(PrelIOUtils.o): In function `__hscore_free_dirent': PrelIOUtils.c:(.text+0x4f0): multiple definition of `__hscore_free_dirent' /home/ashley/.cabal/lib/unix-2.4.0.0/ghc-6.10.4/libHSunix-2.4.0.0.a(dirUtils.o):dirUtils.c:(.text+0x10): first defined here /home/ashley/.cabal/lib/unix-2.4.0.0/ghc-6.10.4/libHSunix-2.4.0.0.a(IO.o): In function `sk63_info': (.text+0x30c4): undefined reference to `fcntl_read' /home/ashley/.cabal/lib/unix-2.4.0.0/ghc-6.10.4/libHSunix-2.4.0.0.a(IO.o): In function `sk6A_info': (.text+0x31f0): undefined reference to `fcntl_write' /home/ashley/.cabal/lib/unix-2.4.0.0/ghc-6.10.4/libHSunix-2.4.0.0.a(IO.o): In function `sk8h_info': (.text+0x36cc): undefined reference to `fcntl_read' /home/ashley/.cabal/lib/unix-2.4.0.0/ghc-6.10.4/libHSunix-2.4.0.0.a(IO.o): In function `sl4O_info': (.text+0x3a52): undefined reference to `fcntl_lock' /home/ashley/.cabal/lib/unix-2.4.0.0/ghc-6.10.4/libHSunix-2.4.0.0.a(IO.o): In function `sl6S_info': (.text+0x3cc2): undefined reference to `fcntl_lock' /home/ashley/.cabal/lib/unix-2.4.0.0/ghc-6.10.4/libHSunix-2.4.0.0.a(IO.o): In function `sl9I_info': (.text+0x402a): undefined reference to `fcntl_lock' collect2: ld returned 1 exit status cabal: Error: some packages failed to install: Cabal-1.8.0.2 failed during the configure step. The exception was: exit: ExitFailure 1 }}} {{{ $ uname -a Linux glastonbury 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux }}} -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/620 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#620: Cabal-1.8.0.2 doesn't build on x86_64, GHC 6.10.4 -----------------------------+---------------------------------------------- Reporter: Ashley Yakeley | Owner: Type: defect | Status: new Priority: normal | Milestone: Cabal-1.8 Component: Cabal library | Version: HEAD Severity: major | Resolution: Keywords: | Difficulty: unknown Ghcversion: | Platform: -----------------------------+---------------------------------------------- Changes (by Ashley Yakeley): * severity: normal => major -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/620#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#620: Cabal-1.8.0.2 doesn't build on x86_64, GHC 6.10.4 -----------------------------+---------------------------------------------- Reporter: Ashley Yakeley | Owner: Type: defect | Status: new Priority: normal | Milestone: Cabal-1.8 Component: Cabal library | Version: HEAD Severity: major | Resolution: Keywords: | Difficulty: unknown Ghcversion: 6.10.1 | Platform: Linux -----------------------------+---------------------------------------------- Changes (by Ashley Yakeley): * platform: => Linux * ghcversion: => 6.10.1 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/620#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#620: Cabal-1.8.0.2 doesn't build on x86_64, GHC 6.10.4 -----------------------------+---------------------------------------------- Reporter: Ashley Yakeley | Owner: Type: defect | Status: new Priority: normal | Milestone: Cabal-1.8 Component: Cabal library | Version: HEAD Severity: major | Resolution: Keywords: | Difficulty: unknown Ghcversion: 6.10.1 | Platform: Linux -----------------------------+---------------------------------------------- Comment (by Ashley Yakeley): Fixed by using unix-2.3.2.0. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/620#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#620: Cabal-1.8.0.2 doesn't build on x86_64, GHC 6.10.4 -----------------------------+---------------------------------------------- Reporter: Ashley Yakeley | Owner: Type: defect | Status: closed Priority: normal | Milestone: Cabal-1.8 Component: Cabal library | Version: HEAD Severity: major | Resolution: invalid Keywords: | Difficulty: unknown Ghcversion: 6.10.1 | Platform: Linux -----------------------------+---------------------------------------------- Changes (by duncan): * status: new => closed * resolution: => invalid Comment: Thanks for the report. I can reproduce this. It's a bug in the unix package such that it fails to work with base-4.1. Filed as ghc ticket http://hackage.haskell.org/trac/ghc/ticket/3780 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/620#comment:4 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage