--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: hugs: Crashes when using ByteString and cpphs
- From: John Goerzen <jgoerzen@complete.org>
- Date: Wed, 12 Sep 2007 17:56:34 -0500
- Message-id: <20070912225634.9322.19114.reportbug@katherina.lan.complete.org>
Package: hugs
Version: 98.200609.21-5
Severity: important
When run under -98 +o "-Fcpphs --noline", hugs crashes like this:
runhugs: Error occurred
ERROR "/usr/lib/hugs/packages/base/Data/ByteString.hs":1924 -
Unterminated nested comment {- ...
And, in fact, about a page after that, we see:
-- finalizer, excellent idea.
#if !defined(__OpenBSD__)
let unmap = c_munmap p l >> return ()
#else
With no corresponding #endif. So the closing -} is eliminated by the
preprocessor.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages hugs depends on:
ii libc6 2.6-2 GNU C Library: Shared libraries
ii libhugs-base-bundled [lib 98.200609.21-5 Basic libraries
ii libhugs-haskell98-bundled 98.200609.21-5 Compatibility with Haskell 98
ii libncurses5 5.6-3 Shared libraries for terminal hand
ii libreadline5 5.2-3 GNU readline and history libraries
Versions of packages hugs recommends:
pn libhugs-alut <none> (no description available)
pn libhugs-cabal <none> (no description available)
pn libhugs-fgl <none> (no description available)
pn libhugs-glut <none> (no description available)
pn libhugs-haskell-src <none> (no description available)
pn libhugs-haxml <none> (no description available)
pn libhugs-hgl <none> (no description available)
ii libhugs-hunit-bundled [li 98.200609.21-5 A unit testing framework for Haske
ii libhugs-mtl-bundled [libh 98.200609.21-5 Monad transformer library
ii libhugs-network-bundled [ 98.200609.21-5 Networking-related facilities
pn libhugs-openal <none> (no description available)
pn libhugs-opengl <none> (no description available)
ii libhugs-parsec-bundled [l 98.200609.21-5 Monadic parser combinators
ii libhugs-quickcheck-bundle 98.200609.21-5 Automatic testing of Haskell progr
pn libhugs-stm <none> (no description available)
pn libhugs-time <none> (no description available)
ii libhugs-unix-bundled [lib 98.200609.21-5 POSIX functionality
pn libhugs-x11 <none> (no description available)
pn libhugs-xhtml <none> (no description available)
-- no debconf information
--- End Message ---