[Debian-med-packaging] Bug#667208: imagevis3d: ftbfs with GCC-4.7
Matthias Klose
doko at debian.org
Tue Apr 3 23:09:36 UTC 2012
Package: imagevis3d
Version: 2.0.1-4
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7
The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.
main.cpp:434:20: error: redeclaration of 'size_t j'
The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/imagevis3d_2.0.1-4_unstable-gcc47.log
The last lines of the build log are at the end of this report.
Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html
To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
[...]
Project MESSAGE: Shared build, ensuring there will be image plugins linked in.
cd CmdLineConverter/ && make -f Makefile
make[2]: Entering directory `/«PKGBUILDDIR»/CmdLineConverter'
g++ -c -DPACKAGE_MANAGER -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I. -I../Tuvok/IO/3rdParty/boost -I../Tuvok/3rdParty/GLEW -I../Tuvok/IO/exception -I../Tuvok/Basics -I../Tuvok/Basics/3rdParty -I../Tuvok -I/usr/X11R6/include -I. -o HRConsoleOut.o DebugOut/HRConsoleOut.cpp
g++ -c -DPACKAGE_MANAGER -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I. -I../Tuvok/IO/3rdParty/boost -I../Tuvok/3rdParty/GLEW -I../Tuvok/IO/exception -I../Tuvok/Basics -I../Tuvok/Basics/3rdParty -I../Tuvok -I/usr/X11R6/include -I. -o main.o main.cpp
g++ -m64 -Wl,-O1 -o Build/uvfconvert HRConsoleOut.o main.o -L/usr/lib -L/usr/X11R6/lib64 -L../Tuvok/Build -L../Tuvok/IO/expressions -lTuvok -L/usr/lib -L/usr/X11R6/lib64 -LIO/expressions -ltuvokexpr -lGLEW -ljpeg -ltiff -lbz2 -lz -lQtOpenGL -lQtGui -lQtCore -lGLU -lGL -lpthread
make[2]: Leaving directory `/«PKGBUILDDIR»/CmdLineConverter'
cd ExtractDebugInfo/ && /usr/bin/qmake /«PKGBUILDDIR»/ExtractDebugInfo/ExtractDebugInfo.pro -nocache QMAKE_STRIP=: PREFIX=/usr QMAKE_CXXFLAGS=-DPACKAGE_MANAGER -o Makefile
Project MESSAGE: Shared build, ensuring there will be image plugins linked in.
cd ExtractDebugInfo/ && make -f Makefile
make[2]: Entering directory `/«PKGBUILDDIR»/ExtractDebugInfo'
g++ -c -DPACKAGE_MANAGER -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I.. -I../Tuvok/Basics/3rdParty -I../Tuvok -I. -o main.o main.cpp
g++ -m64 -Wl,-O1 -o Build/ExtractDebugInfo main.o -L/usr/lib -L../Tuvok/Build -L../Tuvok/IO/expressions -lTuvok -L/usr/lib -L/usr/X11R6/lib64 -LIO/expressions -ltuvokexpr -lz -lQtOpenGL -lGLU -lGL -lQtGui -lQtCore -lpthread
make[2]: Leaving directory `/«PKGBUILDDIR»/ExtractDebugInfo'
cd UVFReader/ && /usr/bin/qmake /«PKGBUILDDIR»/UVFReader/UVFReader.pro -nocache QMAKE_STRIP=: PREFIX=/usr QMAKE_CXXFLAGS=-DPACKAGE_MANAGER -o Makefile
Project MESSAGE: Shared build, ensuring there will be image plugins linked in.
cd UVFReader/ && make -f Makefile
make[2]: Entering directory `/«PKGBUILDDIR»/UVFReader'
g++ -c -DPACKAGE_MANAGER -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I. -I../Tuvok/IO/3rdParty/boost -I../Tuvok/3rdParty/GLEW -I../Tuvok -I../Tuvok/Basics/3rdParty -I../Tuvok/Basics -I/usr/X11R6/include -I. -o HRConsoleOut.o ../CmdLineConverter/DebugOut/HRConsoleOut.cpp
g++ -c -DPACKAGE_MANAGER -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I. -I../Tuvok/IO/3rdParty/boost -I../Tuvok/3rdParty/GLEW -I../Tuvok -I../Tuvok/Basics/3rdParty -I../Tuvok/Basics -I/usr/X11R6/include -I. -o main.o main.cpp
main.cpp: In function 'int main(int, char**)':
main.cpp:434:20: error: redeclaration of 'size_t j'
main.cpp:420:23: error: 'size_t j' previously declared here
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»/UVFReader'
make[1]: *** [sub-UVFReader-make_default-ordered] Error 2
dh_auto_build: make -j1 returned exit code 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
More information about the Debian-med-packaging
mailing list