[Lsb-infrastructure] devchk build fail with change

Denis Silakov silakov at ispras.ru
Wed Jul 9 00:14:43 PDT 2008


Wichmann, Mats D wrote:
> after finally having applied the bug 2039 patch 3
> stuff, the application battery is building through
> cleanly.
>
> One devchk check is now failing with the gcc build:
>
> curses_h.c line 35:
>
> CompareConstant(__NCURSES_H,1,2485,architecture,1.1,NULL)
>
>
> This is an odd one; it's the protection constant present 
> in the upstream header, it's one case where we need it 
> purely for usefulness purposes - to protect against the
> native ncurses.h header also being included - and not
> for inclusion in the specification.  Perhaps this was
> the one valid reason for Csrconly, but I bet we can
> find some other way to express this situation.
>   

There is a simple way to drop the constant from the devchk tests:

UPDATE Constant SET Ctype='Unknown' WHERE Cname='__NCURSES_H';


-- 
Regards,
Denis.



More information about the lsb-infrastructure mailing list