Package: src:openni2
Version: 2.2.0.33+dfsg-7
Severity: normal
Tags: sid buster
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-7

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/openni2_2.2.0.33+dfsg-7_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-7/porting_to.html

[...]
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnImageStream.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnImageStream.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/XnImageStream.o 
DDK/XnImageStream.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnGeneralProperty.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnGeneralProperty.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/XnGeneralProperty.o 
DDK/XnGeneralProperty.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnActualGeneralProperty.d
 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnActualGeneralProperty.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/XnActualGeneralProperty.o 
DDK/XnActualGeneralProperty.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnIntPropertySynchronizer.d
 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnIntPropertySynchronizer.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/XnIntPropertySynchronizer.o
 DDK/XnIntPropertySynchronizer.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnPixelStream.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnPixelStream.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/XnPixelStream.o 
DDK/XnPixelStream.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnProperty.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnProperty.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/XnProperty.o 
DDK/XnProperty.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnFrameStream.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnFrameStream.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/XnFrameStream.o 
DDK/XnFrameStream.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnOniDepthStream.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnOniDepthStream.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/XnOniDepthStream.o 
DriverImpl/XnOniDepthStream.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnOniIRStream.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnOniIRStream.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/XnOniIRStream.o 
DriverImpl/XnOniIRStream.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnOniDriver.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnOniDriver.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/XnOniDriver.o 
DriverImpl/XnOniDriver.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnOniColorStream.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnOniColorStream.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/XnOniColorStream.o 
DriverImpl/XnOniColorStream.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnExportedOniDriver.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnExportedOniDriver.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/XnExportedOniDriver.o 
DriverImpl/XnExportedOniDriver.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnOniMapStream.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnOniMapStream.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/XnOniMapStream.o 
DriverImpl/XnOniMapStream.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnOniDevice.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnOniDevice.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/XnOniDevice.o 
DriverImpl/XnOniDevice.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnOniStream.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnOniStream.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/XnOniStream.o 
DriverImpl/XnOniStream.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnFormats.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnFormats.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/XnFormats.o 
Formats/XnFormats.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnFormatsStatus.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnFormatsStatus.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/XnFormatsStatus.o 
Formats/XnFormatsStatus.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnCodecs.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnCodecs.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/XnCodecs.o 
Formats/XnCodecs.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnStreamCompression.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnStreamCompression.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/XnStreamCompression.o 
Formats/XnStreamCompression.cpp
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
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnSensorDepthStream.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnSensorDepthStream.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/XnSensorDepthStream.o 
Sensor/XnSensorDepthStream.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnCmosInfo.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnCmosInfo.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/XnCmosInfo.o 
Sensor/XnCmosInfo.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnWholePacketProcessor.d
 ../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnWholePacketProcessor.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/XnWholePacketProcessor.o 
Sensor/XnWholePacketProcessor.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnHostProtocol.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnHostProtocol.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/XnHostProtocol.o 
Sensor/XnHostProtocol.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnSensorFPS.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnSensorFPS.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/XnSensorFPS.o 
Sensor/XnSensorFPS.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnWavelengthCorrectionDebugProcessor.d
 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnWavelengthCorrectionDebugProcessor.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/XnWavelengthCorrectionDebugProcessor.o
 Sensor/XnWavelengthCorrectionDebugProcessor.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnSensorIRStream.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnSensorIRStream.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/XnSensorIRStream.o 
Sensor/XnSensorIRStream.cpp
g++ -MD -MP -MT "./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/Bayer.d 
../../../Bin/Intermediate/x64-Release/libPS1080.so.0/Bayer.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/Bayer.o Sensor/Bayer.cpp
g++ -MD -MP -MT 
"./../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnSensorFirmwareParams.d
 ../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnSensorFirmwareParams.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/XnSensorFirmwareParams.o 
Sensor/XnSensorFirmwareParams.cpp
Sensor/XnSensorFirmwareParams.cpp: In member function 'XnStatus 
XnSensorFirmwareParams::AddFirmwareParam(XnActualIntProperty&, XnUInt16, 
XnFWVer, XnFWVer, XnUInt16)':
Sensor/XnSensorFirmwareParams.cpp:251:10: error: may write format character '(' 
at offset 3 past the end of the destination [-Werror=format-overflow=]
 XnStatus XnSensorFirmwareParams::AddFirmwareParam(XnActualIntProperty& 
Property, XnUInt16 nFirmwareParam, XnFWVer nMinVer /* = 
XN_SENSOR_FW_VER_UNKNOWN */, XnFWVer nMaxVer /* = XN_SENSOR_FW_VER_UNKNOWN */, 
XnUInt16 nValueIfNotSupported /* = 0 */)
          ^~~~~~~~~~~~~~~~~~~~~~
Sensor/XnSensorFirmwareParams.cpp:251:10: note: directive argument in the range 
[0, 65535]
Sensor/XnSensorFirmwareParams.cpp:266:9: note: format output between 5 and 208 
bytes into a destination of size 200
  sprintf(csNewName, "%s (%d)", Property.GetName(), nFirmwareParam);
  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
../../../ThirdParty/PSCommon/BuildSystem/CommonCppMakefile:130: recipe for 
target 
'../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnSensorFirmwareParams.o' 
failed
make[3]: *** 
[../../../Bin/Intermediate/x64-Release/libPS1080.so.0/XnSensorFirmwareParams.o] 
Error 1
make[3]: Leaving directory 
'/<<BUILDDIR>>/openni2-2.2.0.33+dfsg/Source/Drivers/PS1080'
Makefile:121: recipe for target 'Source/Drivers/PS1080' failed
make[2]: *** [Source/Drivers/PS1080] Error 2
make[2]: Leaving directory '/<<BUILDDIR>>/openni2-2.2.0.33+dfsg'
debian/rules:10: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/openni2-2.2.0.33+dfsg'
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to