[Pkg-haskell-maintainers] Bug#738428: GenBind.evalConstCExpr: Casts are not implemented yet

John Millikin jmillikin at gmail.com
Wed Apr 16 02:15:43 UTC 2014


The version of libncursesw5-dev packaged in Debian Unstable includes this macro:

        #define NCURSES_BITS(mask,shift) (NCURSES_CAST(chtype,(mask))
<< ((shift) + NCURSES_ATTR_SHIFT))

which differs from the version on my build machine:

        #define NCURSES_BITS(mask,shift) ((mask) << ((shift) +
NCURSES_ATTR_SHIFT))

The new NCURSES_CAST() is breaking c2hs, which added support for
integer casts in version 0.16.6 (unstable has 0.16.5).

My recommendation is to upgrade the c2hs package version to at least
0.16.6. I've verified that "cabal install c2hs==0.16.6" lets ncurses
build on unstable.


On Tue, Apr 15, 2014 at 4:08 PM, Joachim Breitner <nomeata at debian.org> wrote:
> Hi,
>
>
> Am Dienstag, den 15.04.2014, 15:58 -0700 schrieb John Millikin:
>> haskell-ncurses=0.2.1 builds successfully with c2hs=0.16.3 and
>> libncursesw5-dev=5.9-10ubuntu4 on my machine. I suspect this may be an
>> architecture-specific failure; have you seen similar errors on
>> architectures other than s390x?
>
> yes:
> http://aws-logs.debian.net/ftbfs-logs/2014/02/08/haskell-ncurses_0.2.1-4_unstable.log
> http://www.warperbbs.de/stuff/buildlogs/haskell-ncurses_0.2.1-4_amd64.build
>
> Greetings,
> Joachim
>
> --
> Joachim "nomeata" Breitner
> Debian Developer
>   nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: F0FBF51F
>   JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
>



More information about the Pkg-haskell-maintainers mailing list