Haskell Platform 2013.2 Proposal Status

George Colpitts george.colpitts at gmail.com
Tue Apr 23 01:29:58 BST 2013


Currently I can't compile the pango package with the current Haskell
Platform:

$ cabal install pango
Resolving dependencies...
Configuring unix-2.6.0.1...
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
...
[35 of 38] Compiling System.Posix.Signals (
dist/build/System/Posix/Signals.hs, dist/build/System/Posix/Signals.o )
/var/folders/9b/rh4y2gy92hgdb6ktv4df1jv00000gn/T/ghc58859_0/ghc58859_0.c:
In function ‘ghc_wrapper_dtXZ_sigismember’:

/var/folders/9b/rh4y2gy92hgdb6ktv4df1jv00000gn/T/ghc58859_0/ghc58859_0.c:8:0:
     warning: dereferencing ‘void *’ pointer

/var/folders/9b/rh4y2gy92hgdb6ktv4df1jv00000gn/T/ghc58859_0/ghc58859_0.c:8:0:
     error: void value not ignored as it ought to be
/var/folders/9b/rh4y2gy92hgdb6ktv4df1jv00000gn/T/ghc58859_0/ghc58859_0.c:
In function ‘ghc_wrapper_dtY8_sigfillset’:

/var/folders/9b/rh4y2gy92hgdb6ktv4df1jv00000gn/T/ghc58859_0/ghc58859_0.c:10:0:
     warning: dereferencing ‘void *’ pointer

/var/folders/9b/rh4y2gy92hgdb6ktv4df1jv00000gn/T/ghc58859_0/ghc58859_0.c:10:0:
     error: invalid use of void expression
/var/folders/9b/rh4y2gy92hgdb6ktv4df1jv00000gn/T/ghc58859_0/ghc58859_0.c:
In function ‘ghc_wrapper_dtYk_sigdelset’:

/var/folders/9b/rh4y2gy92hgdb6ktv4df1jv00000gn/T/ghc58859_0/ghc58859_0.c:12:0:
     warning: dereferencing ‘void *’ pointer

/var/folders/9b/rh4y2gy92hgdb6ktv4df1jv00000gn/T/ghc58859_0/ghc58859_0.c:12:0:
     error: invalid use of void expression
Failed to install unix-2.6.0.1
cabal: Error: some packages failed to install:
directory-1.2.0.1 depends on unix-2.6.0.1 which failed to install.
pango-0.12.4 depends on unix-2.6.0.1 which failed to install.
process-1.1.0.2 depends on unix-2.6.0.1 which failed to install.


That is why I updated the bug with what you quote below. You say there is
no bug here. I didn't know that when I wrote the comment as there was a bug
reported with no indications that it was not a bug and I had the problem
described in the bug trying to do a cabal install of a Haskell package.

If I understand you correctly, since I am using the latest Haskell Platform
it seems pango should be trying to use unix-2.5.1.1 not unix.2.6.0.1. I
have no idea why it is not doing that.

The preceding is why I updated the bug two months ago.

As to why I was concerned about the forthcoming Haskell Platform, as I
wrote earlier in this thread: the bug mentions 7.6.3 as a milestone but
doesn't say it is closed or fixed in 7.6.3 although it does say that it
works in 7.6.1. At the time I started this thread my understanding was that
the forthcoming Platform was going to use 7.6.2 not 7.6.3.


Thanks
George

On Mon, Apr 22, 2013 at 12:39 AM, Mark Lentczner
<mark.lentczner at gmail.com>wrote:

> My point was really that it wasn't a bug, there's nothing to fix:
> unix-2.6.x.y isn't expected to work with ghc-7.4.z.
>
> In the bug's comments you wrote:
>
> *Any chance of a fix for this? Many packages depend on unix and these
> packages can't be installed on Mac OS with the latest Haskell Platform.*
>
> *
> *
> Why do you think this is a problem? Haskell Platform (including the
> latest) ships with a version of the unix package that is compatible with
> the GHC it ships with. Any package that depends on unix should compile on
> Platform out of the box, as long as it works with GHC-7.4.1 & unix-2.5.1.1.
> I'd like to know if there are packages for which this is not true.
>
>





> - Mark
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://projects.haskell.org/pipermail/haskell-platform/attachments/20130423/771e2055/attachment.htm>


More information about the Haskell-platform mailing list