Package: openni2 Version: 2.2.0.33+dfsg-5 Severity: important User: [email protected] Usertags: ftbfs-gcc-6
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 ... > g++ -MD -MP -MT > "./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnFormatsMirror.d > ../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnFormatsMirror.o" -c > -Wall -O2 -DNDEBUG -I. -IInclude -I../../../Include > -I../../../ThirdParty/PSCommon/XnLib/Include -I../../../ThirdParty/LibJPEG > -I../../DepthUtils -fPIC -fvisibility=hidden -Werror -o > ../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnFormatsMirror.o > Formats/XnFormatsMirror.cpp > Formats/XnFormatsMirror.cpp: In function 'XnStatus > XnMirrorOneBytePixels(XnUChar*, XnUInt32, XnUInt32)': > Formats/XnFormatsMirror.cpp:46:40: error: array subscript is below array > bounds [-Werror=array-bounds] > XnUInt8* pDestEnd = &pLineBuffer[0] - 1; > ^ > > Formats/XnFormatsMirror.cpp: In function 'XnStatus > XnMirrorTwoBytePixels(XnUChar*, XnUInt32, XnUInt32)': > Formats/XnFormatsMirror.cpp:79:41: error: array subscript is below array > bounds [-Werror=array-bounds] > XnUInt16* pDestEnd = &pLineBuffer[0] - 1; > ^ > > Formats/XnFormatsMirror.cpp: In function 'XnStatus > XnMirrorThreeBytePixels(XnUChar*, XnUInt32, XnUInt32)': > Formats/XnFormatsMirror.cpp:115:40: error: array subscript is below array > bounds [-Werror=array-bounds] > XnUInt8* pDestEnd = &pLineBuffer[0] - 1; > ^ > -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

