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 <nome...@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
>   nome...@debian.org | ICQ# 74513189 | GPG-Keyid: F0FBF51F
>   JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata
>


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to