Package: scim-thai
Version: 0.1.3-4
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-enumerator-value

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. 
>  -DSCIM_THAI_LOCALEDIR=\"/usr/share/locale\" 
> -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -Wdate-time -D_FORTIFY_SOURCE=2 
> -I/usr/include/scim-1.0   -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o thai_la-scim_thai_imengine.lo `test -f 
> 'scim_thai_imengine.cpp' || echo './'`scim_thai_imengine.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. 
> -DSCIM_THAI_LOCALEDIR=\"/usr/share/locale\" 
> -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -Wdate-time -D_FORTIFY_SOURCE=2 
> -I/usr/include/scim-1.0 -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -c scim_thai_imengine.cpp  -fPIC -DPIC -o 
> .libs/thai_la-scim_thai_imengine.o
> In file included from /usr/include/thai/thwctype.h:69:0,
>                  from scim_thai_imengine.cpp:30:
> /usr/include/thai/thctype.h:372:19: error: left operand of shift expression 
> '(-1 << 3)' is negative [-fpermissive]
>    _th_CClassMsk = _th_bitmsk(1, 3),  /*   Thai consonant shape masks */
>                    ^
> 
> /usr/include/thai/thctype.h:372:19: error: enumerator value for 
> '_th_CClassMsk' is not an integer constant
>    _th_CClassMsk = _th_bitmsk(1, 3),  /*   Thai consonant shape masks */
>                    ^
> 
> /usr/include/thai/thctype.h:378:19: error: left operand of shift expression 
> '(-1 << 3)' is negative [-fpermissive]
>    _th_VClassMsk = _th_bitmsk(4, 3),  /*   Thai vowel class masks */
>                    ^
> 
> /usr/include/thai/thctype.h:378:19: error: enumerator value for 
> '_th_VClassMsk' is not an integer constant
>    _th_VClassMsk = _th_bitmsk(4, 3),  /*   Thai vowel class masks */
>                    ^
> 
> Makefile:601: recipe for target 'thai_la-scim_thai_imengine.lo' failed
> make[3]: *** [thai_la-scim_thai_imengine.lo] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to