Binary package hint: ghc6
hkarau@htop:~/repos/repos/spam/haskell/libs/hsemail-1.2$ lsb_release -rd
Description: Ubuntu hardy (development branch)
Release: 8.04
ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.8.2
I installed the new ghc6 package and now cabal packages won't install. I've tried hsemail, old-time, & old-local.
for example:
runghc Setup.lhs
<interactive>: /usr/lib/ghc-6.8.2/lib/Cabal-1.2.3.0/HSCabal-1.2.3.0.o: unknown symbol `oldzmtimezm1zi0zi0zi0_SystemziTime_a97_closure'
ghc-6.8.2: unable to load package `Cabal-1.2.3.0'
If I run strace on it:
strace runghc Setup.lhs
execve("/usr/bin/runghc", ["runghc", "Setup.lhs"], [/* 38 vars */]) = 0
brk(0) = 0x80a0000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ef4000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/tls/i686/sse2/cmov/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/tls/i686/sse2/cmov", 0xbfcb67f0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/tls/i686/sse2/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/tls/i686/sse2", 0xbfcb67f0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/tls/i686/cmov/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/tls/i686/cmov", 0xbfcb67f0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/tls/i686/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/tls/i686", 0xbfcb67f0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/tls/sse2/cmov/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/tls/sse2/cmov", 0xbfcb67f0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/tls/sse2/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/tls/sse2", 0xbfcb67f0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/tls/cmov/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/tls/cmov", 0xbfcb67f0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/tls/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/tls", 0xbfcb67f0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/i686/sse2/cmov/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/i686/sse2/cmov", 0xbfcb67f0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/i686/sse2/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/i686/sse2", 0xbfcb67f0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/i686/cmov/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/i686/cmov", 0xbfcb67f0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/i686/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/i686", 0xbfcb67f0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/sse2/cmov/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/sse2/cmov", 0xbfcb67f0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/sse2/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/sse2", 0xbfcb67f0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/cmov/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/cmov", 0xbfcb67f0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=166197, ...}) = 0
mmap2(NULL, 166197, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ecb000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libutil.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\n\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9696, ...}) = 0
mmap2(NULL, 12432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ec7000
mmap2(0xb7ec9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7ec9000
close(3) = 0
open("/usr/X11R6/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\n\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9684, ...}) = 0
mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ec3000
mmap2(0xb7ec5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7ec5000
close(3) = 0
open("/usr/X11R6/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@4\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=149328, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ec2000
mmap2(NULL, 147584, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e9d000
mmap2(0xb7ec0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23) = 0xb7ec0000
close(3) = 0
open("/usr/X11R6/lib/libgmp.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgmp.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\205"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=274416, ...}) = 0
mmap2(NULL, 277288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e59000
mmap2(0xb7e9c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x42) = 0xb7e9c000
close(3) = 0
open("/usr/X11R6/lib/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/librt.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\31"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=30624, ...}) = 0
mmap2(NULL, 33360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e50000
mmap2(0xb7e57000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7e57000
close(3) = 0
open("/usr/X11R6/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260e\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1364388, ...}) = 0
mmap2(NULL, 1369712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d01000
mmap2(0xb7e4a000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x149) = 0xb7e4a000
mmap2(0xb7e4d000, 9840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e4d000
close(3) = 0
open("/usr/X11R6/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20H\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=112354, ...}) = 0
mmap2(NULL, 94688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ce9000
mmap2(0xb7cfd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xb7cfd000
mmap2(0xb7cff000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7cff000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ce8000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ce7000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7ce76b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7e4a000, 4096, PROT_READ) = 0
munmap(0xb7ecb000, 166197) = 0
set_tid_address(0xb7ce76f8) = 14620
set_robust_list(0xb7ce7700, 0xc) = 0
futex(0xbfcb70a0, 0x81 /* FUTEX_??? */, 1) = 0
rt_sigaction(SIGRTMIN, {0xb7ced2c0, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb7ced340, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="htop", ...}) = 0
gettimeofday({1207634566, 798477}, NULL) = 0
brk(0) = 0x80a0000
brk(0x80c1000) = 0x80c1000
mmap2(NULL, 2097152, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ae7000
munmap(0xb7ae7000, 102400) = 0
munmap(0xb7c00000, 946176) = 0
rt_sigaction(SIGVTALRM, {0x8078990, [], SA_RESTART}, NULL, 8) = 0
gettimeofday({1207634566, 800772}, NULL) = 0
timer_create(0xfffffffa /* CLOCK_??? */, {(nil), SIGVTALRM, SIGEV_SIGNAL, {...}}, {(nil)}) = 0
timer_settime(0, 0, {it_interval={0, 20000000}, it_value={0, 20000000}}, NULL) = 0
rt_sigaction(SIGINT, {0x80796e0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, NULL, {0x80796e0, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x80796e0, [], 0}, NULL, 8) = 0
getrusage(RUSAGE_SELF, {ru_utime={0, 0}, ru_stime={0, 8000}, ...}) = 0
gettimeofday({1207634566, 803519}, NULL) = 0
stat64("/usr/local/sbin/ghc", 0xb7b7e038) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/ghc", 0xb7b7e0c0) = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/ghc", 0xb7b7e148) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/ghc", {st_mode=S_IFREG|0755, st_size=111, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigaction(SIGINT, {SIG_IGN}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [QUIT], [], 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
vfork() = 14621
waitpid(14621, <interactive>: /usr/lib/ghc-6.8.2/lib/Cabal-1.2.3.0/HSCabal-1.2.3.0.o: unknown symbol `oldzmtimezm1zi0zi0zi0_SystemziTime_a97_closure'
ghc-6.8.2: unable to load package `Cabal-1.2.3.0'
[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 14621
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [QUIT], [], 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
getrusage(RUSAGE_SELF, {ru_utime={0, 0}, ru_stime={0, 8000}, ...}) = 0
gettimeofday({1207634567, 291159}, NULL) = 0
rt_sigprocmask(SIG_BLOCK, [], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
timer_delete(0) = 0
fcntl64(0, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(1, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(2, F_GETFL) = 0x2 (flags O_RDWR)
rt_sigprocmask(SIG_BLOCK, [TTOU], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
getrusage(RUSAGE_SELF, {ru_utime={0, 0}, ru_stime={0, 8000}, ...}) = 0
gettimeofday({1207634567, 293006}, NULL) = 0
exit_group(1) = ?
Process 14620 detached
ProblemType: Bug
Architecture: i386
Date: Tue Apr 8 01:04:39 2008
DistroRelease: Ubuntu 8.04
Package: ghc6 6.8.2-2ubuntu1 [modified: usr/lib/ghc-6.8.2/package.conf.old]
PackageArchitecture: i386
ProcEnviron:
SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
LANG=en_CA.UTF-8
SourcePackage: ghc6
Uname: Linux 2.6.22-14-generic i686
Repo steps: hackage. haskell. org/packages/ hackage. html for a list) zi0zi0_ SystemziTime_ a97_closure
1)Install the ghc6 package
2)Download a cabal package (see http://
3)Untar it
4)run "runghc Setup.hs" or "runghc Setup.lhs" (depending on the setup instructions)
5)Note that cabal fails to run with missing symbol oldzmtimezm1zi0