Package: libghc6-time-dev
Version: 1.0-3
Severity: grave
Justification: renders package unusable


This simple script:

import Data.Time.LocalTime

main = do
        now <- getZonedTime
        putStrLn $ show now

Is getting me the following compile errors:
$ ghc -fglasgow-exts t.hs            
t.o: In function `sF1_info':
(.text+0x39): undefined reference to
`timezm1zi0_DataziTimeziLocalTimeziLocalTime_zdf2_closure'
t.o: In function `sF6_info':
(.text+0xc3): undefined reference to
`timezm1zi0_DataziTimeziLocalTimeziLocalTime_getZZonedTime_closure'
t.o: In function `Main_main_srt':
(.rodata+0x0): undefined reference to
`timezm1zi0_DataziTimeziLocalTimeziLocalTime_getZZonedTime_closure'
t.o: In function `Main_main_srt':
(.rodata+0x4): undefined reference to
`timezm1zi0_DataziTimeziLocalTimeziLocalTime_zdf2_closure'
collect2: ld returned 1 exit status

But using the interpreter it is ok:
$ runhaskell t.hs
2007-01-12 19:09:02.890111 BRST

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (900, 'testing'), (700, 'stable'), (400, 'unstable'), (150, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to 
en_US.iso8859-1)

Versions of packages libghc6-time-dev depends on:
ii  ghc6 [libghc6-base-dev]       6.6-3      GHC - the Glasgow Haskell Compilat
ii  ghc6-prof [libghc6-base-prof] 6.6-3      Profiling libraries for the Glasgo

libghc6-time-dev recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to