From 9b38c141652906803a7b687b6b858ddb9336b26f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 14 Jun 2015 14:43:55 -0400 Subject: [PATCH] debian/cabal-wrapper: Removed this hack which should not be needed anymore. --- debian/cabal-wrapper | 20 -------------------- debian/changelog | 1 + debian/control | 1 - debian/rules | 3 ++- git-annex.cabal | 2 +- 5 files changed, 4 insertions(+), 23 deletions(-) delete mode 100755 debian/cabal-wrapper diff --git a/debian/cabal-wrapper b/debian/cabal-wrapper deleted file mode 100755 index 1326aead75..0000000000 --- a/debian/cabal-wrapper +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# It would be more usual to use: -# export CABAL=./Setup -# But Setup currently has a very bad dependency resolver, and very bad -# debugging output, and tends to eat all memory and die on small buildds. -# -# This should be revisited once Debian has a newer ghc than 7.6.3, -# and hopefully gets the improved dependency resolver from cabal. -set -e - -# Avoid cabal writing to HOME, and avoid local cabal settings -# influencing the build. -HOME=$(mktemp -d) -export HOME - -# Temporary workaround for #763078 -PATH=/usr/lib/llvm-3.4/bin:$PATH -export PATH - -cabal "$@" diff --git a/debian/changelog b/debian/changelog index f7757bfa09..2b2c464e36 100644 --- a/debian/changelog +++ b/debian/changelog @@ -30,6 +30,7 @@ git-annex (5.20150529) UNRELEASED; urgency=medium Fixes: unused, object count in info, unannex. * Improve url parsing to handle some urls containing illegal [] characters in their paths. + * debian/cabal-wrapper: Removed this hack which should not be needed anymore. -- Joey Hess Sat, 30 May 2015 02:07:18 -0400 diff --git a/debian/control b/debian/control index ea532ca812..9fc8d2bc3c 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,6 @@ Priority: optional Build-Depends: debhelper (>= 9), ghc (>= 7.4), - cabal-install, libghc-mtl-dev (>= 2.1.1), libghc-missingh-dev, libghc-data-default-dev, diff --git a/debian/rules b/debian/rules index 927c1c9259..d1393d571d 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,7 @@ #!/usr/bin/make -f -export CABAL=debian/cabal-wrapper +# Avoid using cabal, as it writes to $HOME +export CABAL=./Setup STANDALONE_BUILD=$(shell grep -qe '^Package: git-annex-standalone' debian/control \ && echo 1 || echo 0) diff --git a/git-annex.cabal b/git-annex.cabal index 5d68f1c1d7..ac2b63a4d3 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -1,5 +1,5 @@ Name: git-annex -Version: 5.20150528 +Version: 5.20150529 Cabal-Version: >= 1.8 License: GPL-3 Maintainer: Joey Hess