[Pkg-haskell-maintainers] Bug#774802: Incompatibility between Setup.hs and cabal-install when using hgettext

Sven Bartscher sven.bartscher at weltraumschlangen.de
Wed Jan 7 19:01:18 UTC 2015


Source: haskell-hgettext
Version: 0.1.30-2
Severity: grave

When trying to build a package, that uses function from hgettext in
its Setup.hs, with cabal-install and libghc-cabal-dev is installed,
the build fails with a bunch of messages about not matching command
line options.

This happens, because the function from hgettext are compiled against
the ghc version of the cabal library, but when compiling the Setup.hs
it's compiled against the newer libghc-cabal-dev version. This results
in a compiled binary that doesn't seem to be able to parse its command
line options.

This can be fixed by ensuring that hgettext is built against
libghc-cabal-dev, since that ensures that libghc-cabal-dev is
installed when compiling the Setup.hs of other packages.

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Pkg-haskell-maintainers mailing list