tags 650600 + wheezy
thanks

On 2011-12-01 01:05 +0100, Steve McIntyre wrote:

> Package: ytree
> Version: 1.94-1
> Severity: serious
> Tags: sid
>
> ytree FTBFS in a current sid system. Build logs for armhf [1] and
> s390x [2] show this easily, but it's not limited to these new
> architectures. Building on amd64 shows the same problem, failure to
> find curses.h:
>
> ...
> make[1]: Entering directory 
> `/build/buildd-ytree_1.94-1-armhf-BIybyp/ytree-1.94'
> cc -D_GNU_SOURCE -DWITH_UTF8 -O2 -g -Wall  -DCOLOR_SUPPORT  
> -DREADLINE_SUPPORT   -c -o arc.o arc.c
> In file included from arc.c:10:0:
> ytree.h:42:20: fatal error: curses.h: No such file or directory
> compilation terminated.
> ...
>
> Looks like you need to update the build-deps to include
> libncurses5-dev explicitly.

No, that would be wrong since ytree links against ncursesw, not ncurses.

> The existing build-deps used to pull it in
> via libreadline-dev, but that doesn't work any more.

If it worked before, then ytree has included the wrong headers.  To use
ncursesw, it needs to #include <ncursesw/curses.h> rather than just
curses.h.  Or it could add /usr/include/ncursesw to the include path.

Cheers,
       Sven



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to