Package Details: cabal-static 3.2.0.0-2

Git Clone URL: https://aur.archlinux.org/cabal-static.git (read-only, click to copy)
Package Base: cabal-static
Description: The command-line interface for Cabal and Hackage. Statically linked.
Upstream URL: https://hackage.haskell.org/package/cabal-install
Licenses: custom:BSD3
Conflicts: cabal-install
Provides: cabal-install
Submitter: nshepperd
Maintainer: nshepperd
Last Packager: nshepperd
Votes: 5
Popularity: 0.005837
First Submitted: 2017-10-28 15:43
Last Updated: 2020-05-15 21:37

Required by (27)

Sources (2)

Latest Comments

1 2 Next › Last »

nshepperd commented on 2020-05-15 21:40

I pushed a release update to patch 3.2.0.0 for ghc-8.8 and 8.10. It builds on my ghc-8.10 machine now.

nshepperd commented on 2020-05-15 20:13

@xuanruiqi: Hm, I couldn't reproduce that earlier, but I do get that same error now. It looks like the bootstrap script hardcodes HTTP_VER="4000.3.12". I'll try manually updating that and maybe patching the script...

Now that arch has ghc 8.10 we also have a problem that cabal-install has upper bound of base <4.14. Looks like there might be some patches needed for that too.

xuanruiqi commented on 2020-05-03 13:50

@nshepperd: would you mind checking and confirming that this package indeed builds properly? I'm still having the same bug with HTTP, even when building in a clean chroot.

xuanruiqi commented on 2020-04-11 09:09

I still get the same bug with HTTP. Seems it somehow just wants me to install HTTP-4000.3.12.

nshepperd commented on 2020-04-08 21:50

Updated to 3.2.0.0 which should be compatible with ghc-8.8.

yodaembedding commented on 2020-03-16 10:44

I tried installing in a clean chroot. But according to https://github.com/haskell/cabal/issues/6327, it looks like cabal 3.0.0.0 is currently incompatible with the latest ghc (8.8.3) and requires an older version like 8.6.5.

Configuring HTTP-4000.3.12...
Setup: Encountered missing or private dependencies:
base >=4.3.0.0 && <4.13


Error during cabal-install bootstrap:
Configuring the HTTP package failed.
==> ERROR: Build failed, check /mnt/data/tmp/chroot64/mulhaq/build

nshepperd commented on 2020-01-31 17:02

Pushed EXTRA_CONFIGURE_OPTS="" as per @watashi, plus some build() code to detect environment file and optionally rename it.

nshepperd commented on 2020-01-31 16:37

@nnolte: You're using ghc-8.6.5? Do you have a file at $HOME/.ghc/x86_64-linux-8.6.5/environments/default? I've discovered that ghc reads this environment file which overrides the sandbox and completely messes up the build. Unable to find a way around this so far, apart from temporarily renaming the file.

nnolte commented on 2020-01-21 09:06

cabal-static fails to build for me, even when reinstalling all dependencies with a cleared cache (ghc, ghc-static, ghc-libs)

Distribution/Verbosity.hs:91:10: error:
    • No instance for (Binary (Set VerbosityFlag))
        arising from a use of ‘binary-0.8.6.0:Data.Binary.Class.$dmput’
      There are instances for similar types:
        instance Binary a =>
                 Binary (containers-0.6.0.1:Data.Set.Internal.Set a)
          -- Defined in ‘binary-0.8.6.0:Data.Binary.Class’
    • In the expression:
        binary-0.8.6.0:Data.Binary.Class.$dmput @(Verbosity)
      In an equation for ‘put’:
          put = binary-0.8.6.0:Data.Binary.Class.$dmput @(Verbosity)
      In the instance declaration for ‘Binary Verbosity’
   |
91 | instance Binary Verbosity
   |          ^^^^^^^^^^^^^^^^

Distribution/Verbosity.hs:91:10: error:
    • No instance for (Binary (Set VerbosityFlag))
        arising from a use of ‘binary-0.8.6.0:Data.Binary.Class.$dmget’
      There are instances for similar types:
        instance Binary a =>
                 Binary (containers-0.6.0.1:Data.Set.Internal.Set a)
          -- Defined in ‘binary-0.8.6.0:Data.Binary.Class’
    • In the expression:
        binary-0.8.6.0:Data.Binary.Class.$dmget @(Verbosity)
      In an equation for ‘Distribution.Compat.Prelude.get’:
          Distribution.Compat.Prelude.get
            = binary-0.8.6.0:Data.Binary.Class.$dmget @(Verbosity)
      In the instance declaration for ‘Binary Verbosity’
   |
91 | instance Binary Verbosity
   |          ^^^^^^^^^^^^^^^^

Error during cabal-install bootstrap:
Compiling the Setup script failed.
==> ERROR: A failure occurred in build().
    Aborting...
Error making: cabal-static

watashi commented on 2018-09-24 14:36

I think we should use EXTRA_CONFIGURE_OPTS="" ./bootstrap.sh --sandbox instead of ./bootstrap.sh --sandbox to build cabal, there is no need to build profiling lib, this can save some building time.