Bug#935207: cabal-install should depend on the ghc version it supports.

peterc peter.chubb at data61.csiro.au
Wed Aug 21 02:14:42 BST 2019


Package: cabal-install
Version: 2.2.0.0-3

Dear Maintainer,
     Debian-packaged ghc is now at 8.6.5; cabal-install contains a
     version of cabal that works only with ghc <= 8.5

     1.  We need a version of cabal-install that works with the
     current packaged ghc
     2.  cabal-install should have a dependency on the actual versions
     supported, so apt doesn't install a later version (of ghc) than
     can be used.

Example current output:
cabal configure --enable-tests --disable-library-vanilla --enable-shared --enable-executable-dynamic
Warning: Unknown/unsupported 'ghc' version detected (Cabal 2.2.0.1 supports
'ghc' version < 8.5): /usr/bin/ghc is version 8.6.5



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'oldoldstable'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf, armel, i386, powerpc, arm64, riscv64

Kernel: Linux 5.2.0-08441-gfec88ab0af97 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cabal-install depends on:
ii  ghc         8.6.5+dfsg1-3
ii  libatomic1  9.2.1-2
ii  libc6       2.28-10
ii  libffi6     3.2.1-9
ii  libgmp10    2:6.1.2+dfsg-4
ii  zlib1g      1:1.2.11.dfsg-1+b1

Versions of packages cabal-install recommends:
ii  curl  7.65.3-1
ii  wget  1.20.3-1+b1

cabal-install suggests no packages.

-- no debconf information



More information about the Pkg-haskell-maintainers mailing list