diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2013-06-02 18:03:26 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-06-04 00:11:24 -0500 |
commit | f4a50a9ddef9c47680995e99c9a8fbe55aa920d2 (patch) | |
tree | b355f38c03417cb11f8dec84633cbfc9f00af497 /haskell | |
parent | 2fe0848ef30e075a91af998cdd2df563d308cd18 (diff) |
haskell/haskell-platform: Removed (build failure)
From: Niels Horn <niels.horn@slackbuilds.org>
To: c.willing@uq.edu.au, SBo Admin List <slackbuilds-devel@slackbuilds.org>
Cc: vmj@linuxbox.fi
Subject: Re: [Slackbuilds-devel] New SBo Upload: haskell-platform
Date: Sat, 13 Apr 2013 22:45:27 -0300
On 03/03/2013 08:19 PM, SBo Admin List wrote:
> New upload: haskell-platform.tar.gz (c.willing@uq.edu.au)
> Maintainer: Christoph Willing
> Email: c.willing@uq.edu.au
> Category: Haskell
> Version: 2012.2.0.0 (db: 2012.2.0.0)
> Home Page: http://hackage.haskell.org/platform/
> Sources (32bit): http://lambda.haskell.org/platform/download/2012.4.0.0/haskell-platform-2012.4.0.0.tar.gz
> MD5SUMS (32bit): f1b1e6c94dddcdfbb36accafe74bdc0f
> Sources (64bit):
> MD5SUMS (64bit):
> Requires: hscolour
> Slackware: 14.0
> Submission md5: c2c1cf114dc42f1fd7e905f025de3085
> Comments: Update to 2012.4.0.0
Hi,
This has been sitting for over a month now in our pending queue, because
we found a problem and it took a while to investigate it better.
haskell-platform simply won't build with the ghc we have in our repo
(7.6.x). I tried to create a patch to get it to build, but had no luck.
I actually got quite far, but I'm not a very experienced haskell
programmer, so I had to give up.
After some discussion with the other admins, we decided that:
- we will not go back to ghc 7.4.x
- this submission will have to be rejected
- for now we will probably have to live without haskell-platform in our
repo, as the version we have there (2012.2.0.0) also does not build with
ghc 7.6.x
There seems to be a newer version of haskell-platform on the horizon
(2013.x) that hopefully solves this incompatibility.
Please resubmit when it comes out if it works with the newer ghc.
I'm cc'ing the maintainer of ghc. If you guys can come up with a
solution, please share it with us!
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'haskell')
-rw-r--r-- | haskell/haskell-platform/README | 10 | ||||
-rw-r--r-- | haskell/haskell-platform/haskell-platform.SlackBuild | 106 | ||||
-rw-r--r-- | haskell/haskell-platform/haskell-platform.info | 10 | ||||
-rw-r--r-- | haskell/haskell-platform/honour_libdir.diff | 10 | ||||
-rw-r--r-- | haskell/haskell-platform/not_update_pkg_db.diff | 28 | ||||
-rw-r--r-- | haskell/haskell-platform/slack-desc | 19 |
6 files changed, 0 insertions, 183 deletions
diff --git a/haskell/haskell-platform/README b/haskell/haskell-platform/README deleted file mode 100644 index 649e455c4638..000000000000 --- a/haskell/haskell-platform/README +++ /dev/null @@ -1,10 +0,0 @@ -The Haskell Platform is a comprehensive, robust development for programming -in Haskell, which not only makes it trivial to get up and running with a full -Haskell development environment, but also provides a comprehensive, standard -base for commercial and open source Haskell development that maximises -interoperability and stability of your code. - -This is intended to be installed on a system that does not already have any -haskell-related components (other than ghc & hscolour, of course) installed, -so for best results (and chance of success), you should remove any of those -before you try to build haskell-platform. diff --git a/haskell/haskell-platform/haskell-platform.SlackBuild b/haskell/haskell-platform/haskell-platform.SlackBuild deleted file mode 100644 index 5204ecaa888d..000000000000 --- a/haskell/haskell-platform/haskell-platform.SlackBuild +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/sh - -# Slackware build script for The Haskell Platform -# -# Written by Jockey S. Kyd (jockey dot kyd at gmail dot com) -# Public domain -# -# From 20120712, Christoph Willing <c.willing@uq.edu.au> - -PRGNAM=haskell-platform -VERSION=${VERSION:-2012.2.0.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$(uname -m)" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$(uname -m) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Ensure libdir is passed to each package -patch -p0 < $CWD/honour_libdir.diff - -# get path and version of ghc -GHC_VERSION=$(ghc --numeric-version) - -# Recommended ghc version for this haskell-platform is ghc-7.4.1 but -# to allow for other ghc versions (current SBo is ghc-7.4.2), -# configure needs the --enable-unsupported-ghc-version option. -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --enable-unsupported-ghc-version \ - --prefix=/usr \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --libdir=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION} - -make - -# unsupport DESTDIR, so work around a bit -patch -p1 < $CWD/not_update_pkg_db.diff -sed -i "s:\(\./Setup copy\):\1 --destdir=$PKG:" scripts/install.sh -make install -# collecting config files -PKGCONFDIR=$PKG/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d -mkdir -p $PKGCONFDIR -for pkg in $(cat packages/platform.packages); do - pkg_conf=packages/${pkg}/${pkg}.conf - if [ -f $pkg_conf ]; then - mv $pkg_conf $PKGCONFDIR - fi -done - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc -if [ -d $PKG/usr/share/doc ]; then - mv $PKG/usr/share/doc/* $PKG/usr/doc/ - rmdir $PKG/usr/share/doc -fi -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -echo "$GHC_PKG recache" > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} - diff --git a/haskell/haskell-platform/haskell-platform.info b/haskell/haskell-platform/haskell-platform.info deleted file mode 100644 index 51c2b359d3b3..000000000000 --- a/haskell/haskell-platform/haskell-platform.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-platform" -VERSION="2012.2.0.0" -HOMEPAGE="http://hackage.haskell.org/platform/" -DOWNLOAD="http://lambda.haskell.org/platform/download/2012.2.0.0/haskell-platform-2012.2.0.0.tar.gz" -MD5SUM="db09bc4279c0ef9e0beb5462b793413b" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="hscolour" -MAINTAINER="Christoph Willing" -EMAIL="c.willing@uq.edu.au" diff --git a/haskell/haskell-platform/honour_libdir.diff b/haskell/haskell-platform/honour_libdir.diff deleted file mode 100644 index 0270e89dc465..000000000000 --- a/haskell/haskell-platform/honour_libdir.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- scripts/build.sh.orig 2012-05-28 04:26:48.000000000 +1000 -+++ scripts/build.sh 2012-09-20 11:12:27.131353968 +1000 -@@ -86,6 +86,7 @@ - fi - - tell ./Setup configure --package-db="../../${PACKAGE_DB}" --prefix="${prefix}" \ -+ --libdir=${libdir} --libsubdir=$PKG \ - --with-compiler=${GHC} --with-hc-pkg=${GHC_PKG} --with-hsc2hs=${HSC2HS} \ - ${HAPPY_FLAG1} ${HAPPY_FLAG2} ${ALEX_FLAG} \ - ${CABAL_INSTALL_FLAG} ${CABAL_PROFILING_FLAG} \ diff --git a/haskell/haskell-platform/not_update_pkg_db.diff b/haskell/haskell-platform/not_update_pkg_db.diff deleted file mode 100644 index 968e32e40769..000000000000 --- a/haskell/haskell-platform/not_update_pkg_db.diff +++ /dev/null @@ -1,28 +0,0 @@ ---- ./scripts/install.sh.orig 2010-12-01 09:49:32.169509005 +0800 -+++ ./scripts/install.sh 2010-12-01 09:58:02.551384509 +0800 -@@ -27,15 +27,16 @@ - ./Setup register ${VERBOSE} --gen-pkg-config="${PKG}.conf" \ - || die "Generating the registration information for the package ${PKG} failed" - -- if [ -f ${PKG}.conf ]; then -- if test "${USER_INSTALL}" = "YES"; then -- GHC_PKG_DB="--user" -- else -- GHC_PKG_DB="--global" -- fi -- ${GHC_PKG} update ${GHC_PKG_DB} "${PKG}.conf" \ -- || die "Registering the package ${PKG} failed" -- fi -+# Uncomment to allow actually registering packages at building time -+# if [ -f ${PKG}.conf ]; then -+# if test "${USER_INSTALL}" = "YES"; then -+# GHC_PKG_DB="--user" -+# else -+# GHC_PKG_DB="--global" -+# fi -+# ${GHC_PKG} update ${GHC_PKG_DB} "${PKG}.conf" \ -+# || die "Registering the package ${PKG} failed" -+# fi - - cd ../.. - } diff --git a/haskell/haskell-platform/slack-desc b/haskell/haskell-platform/slack-desc deleted file mode 100644 index 8480dc360dd6..000000000000 --- a/haskell/haskell-platform/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -haskell-platform: haskell-platform (The Haskell Platform) -haskell-platform: -haskell-platform: The Haskell Platform is a comprehensive, robust development for -haskell-platform: programming in Haskell, which not only makes it trivial to get up -haskell-platform: and running with a full Haskell development environment, but also -haskell-platform: provides a comprehensive, standard base for both commercial and -haskell-platform: open source Haskell development that maximises interoperability -haskell-platform: and stability of your code. -haskell-platform: -haskell-platform: Homepage: http://hackage.haskell.org/platform/ -haskell-platform: |