Bug#811848: openni: FTBFS with GCC 6: no match for

Martin Michlmayr tbm at hpe.com
Wed Jan 20 02:36:37 UTC 2016


Package: openni
Version: 1.5.4.0-13
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-no-match

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.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> ../../../../../Wrappers/OpenNI.jni/org_OpenNI_NativeMethods.cpp:2688:67: warning: narrowing conversion of 'nBitsPerSample' from 'jshort {aka short int}' to 'XnUInt16 {aka short unsigned int}' inside { } [-Wnarrowing]
> ../../../../../Wrappers/OpenNI.jni/org_OpenNI_NativeMethods.cpp:2688:67: warning: narrowing conversion of 'nChannels' from 'jbyte {aka signed char}' to 'XnUInt8 {aka unsigned char}' inside { } [-Wnarrowing]
> In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
>                  from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
> /usr/include/c++/6/system_error:107:5: error: expected unqualified-id before 'int'
>      equivalent(int __i, const error_condition& __cond) const noexcept;
>      ^
> 
> /usr/include/c++/6/system_error:107:5: error: expected ')' before 'int'
> /usr/include/c++/6/system_error:107:5: error: expected ')' before 'int'
> /usr/include/c++/6/system_error:107:5: error: expected ')' before 'int'
> /usr/include/c++/6/system_error:110:5: error: expected unqualified-id before 'const'
>      equivalent(const error_code& __code, int __i) const noexcept;
>      ^
> 
> /usr/include/c++/6/system_error:110:5: error: expected ')' before 'const'
> /usr/include/c++/6/system_error:110:5: error: expected ')' before 'const'
> /usr/include/c++/6/system_error:110:5: error: expected ')' before 'const'
> /usr/include/c++/6/system_error: In function 'bool std::operator==(const std::error_code&, const std::error_condition&)':
> ../../../../../Samples/NiViewer/glh/glh_linear.h:80:33: error: expected unqualified-id before '(' token
>  #define     equivalent(a,b)     (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false)
>                                  ^
> 
> ../../../../../Samples/NiViewer/glh/glh_linear.h:80:42: error: no match for 'operator+' (operand types are 'const std::error_condition' and 'float')
>  #define     equivalent(a,b)     (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false)
>                                            
> 



More information about the pkg-multimedia-maintainers mailing list