Package: haskell-devscripts
Version: 0.6.11
Severity: normal

When a profiled version of a template haskell library is built, an error
like the following results:
XQueryInterpreter.hs:29:20:
    cannot find normal object file `dist/build/XQueryCompiler.o'
    while linking an interpreted expression
dh_haskell_build: command returned error code 256

Since TH requires the normal versions of the library to be present, and we pass
--disable-library-vanilla to cabal configure, things fall apart.

Two possible solutions:
  * Build the GHC normal and profiled libraries in the same cabal invocation
  * Add a dh_haskell_configure flag to control whether 
--disable-library-vanilla will
    be passed, and filter the extra non-profiled libs ourselves (less efficient 
obviously)

I'll see about writing a patch to fix this over the next few days.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18.8-domU-linode7 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



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

Reply via email to