Bug#667090: 3depict: ftbfs with GCC-4.7
Matthias Klose
doko at debian.org
Tue Apr 3 22:45:51 UTC 2012
Package: 3depict
Version: 0.0.9-1
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.
xmlHelper.h:59:2: error: 'stream_cast' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/3depict_0.0.9-1_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
[...]
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/freetype2 -I/usr/include/ -L/usr/lib/ -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include -I/usr/include/libxml2 -L/lib -fopenmp -D_GLIBCXX_PARALLEL -g -O2 -MT 3Depict-basics.o -MD -MP -MF .deps/3Depict-basics.Tpo -c -o 3Depict-basics.o `test -f 'basics.cpp' || echo './'`basics.cpp
mv -f .deps/3Depict-basics.Tpo .deps/3Depict-basics.Po
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/freetype2 -I/usr/include/ -L/usr/lib/ -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include -I/usr/include/libxml2 -L/lib -fopenmp -D_GLIBCXX_PARALLEL -g -O2 -MT 3Depict-ExportPos.o -MD -MP -MF .deps/3Depict-ExportPos.Tpo -c -o 3Depict-ExportPos.o `test -f 'ExportPos.cpp' || echo './'`ExportPos.cpp
mv -f .deps/3Depict-ExportPos.Tpo .deps/3Depict-ExportPos.Po
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/freetype2 -I/usr/include/ -L/usr/lib/ -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include -I/usr/include/libxml2 -L/lib -fopenmp -D_GLIBCXX_PARALLEL -g -O2 -MT 3Depict-ExportRngDialog.o -MD -MP -MF .deps/3Depict-ExportRngDialog.Tpo -c -o 3Depict-ExportRngDialog.o `test -f 'ExportRngDialog.cpp' || echo './'`ExportRngDialog.cpp
mv -f .deps/3Depict-ExportRngDialog.Tpo .deps/3Depict-ExportRngDialog.Po
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/freetype2 -I/usr/include/ -L/usr/lib/ -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include -I/usr/include/libxml2 -L/lib -fopenmp -D_GLIBCXX_PARALLEL -g -O2 -MT 3Depict-glPane.o -MD -MP -MF .deps/3Depict-glPane.Tpo -c -o 3Depict-glPane.o `test -f 'glPane.cpp' || echo './'`glPane.cpp
mv -f .deps/3Depict-glPane.Tpo .deps/3Depict-glPane.Po
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/freetype2 -I/usr/include/ -L/usr/lib/ -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include -I/usr/include/libxml2 -L/lib -fopenmp -D_GLIBCXX_PARALLEL -g -O2 -MT 3Depict-scene.o -MD -MP -MF .deps/3Depict-scene.Tpo -c -o 3Depict-scene.o `test -f 'scene.cpp' || echo './'`scene.cpp
mv -f .deps/3Depict-scene.Tpo .deps/3Depict-scene.Po
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/freetype2 -I/usr/include/ -L/usr/lib/ -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include -I/usr/include/libxml2 -L/lib -fopenmp -D_GLIBCXX_PARALLEL -g -O2 -MT 3Depict-StashDialog.o -MD -MP -MF .deps/3Depict-StashDialog.Tpo -c -o 3Depict-StashDialog.o `test -f 'StashDialog.cpp' || echo './'`StashDialog.cpp
mv -f .deps/3Depict-StashDialog.Tpo .deps/3Depict-StashDialog.Po
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/freetype2 -I/usr/include/ -L/usr/lib/ -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include -I/usr/include/libxml2 -L/lib -fopenmp -D_GLIBCXX_PARALLEL -g -O2 -MT 3Depict-viscontrol.o -MD -MP -MF .deps/3Depict-viscontrol.Tpo -c -o 3Depict-viscontrol.o `test -f 'viscontrol.cpp' || echo './'`viscontrol.cpp
In file included from viscontrol.cpp:19:0:
xmlHelper.h: In instantiation of 'bool XMLGetNextElemAttrib(xmlNode*&, T&, const char*, const char*) [with T = unsigned int; xmlNodePtr = _xmlNode*; xmlNode = _xmlNode]':
viscontrol.cpp:2493:64: required from here
xmlHelper.h:59:2: error: 'stream_cast' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from textures.h:23:0,
from drawables.h:22,
from scene.h:27,
from viscontrol.h:39,
from viscontrol.cpp:20:
basics.h:168:35: note: 'template<class T1, class T2> bool stream_cast(T1&, const T2&)' declared here, later in the translation unit
make[4]: *** [3Depict-viscontrol.o] Error 1
make[4]: Leaving directory `/«PKGBUILDDIR»/src'
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
More information about the debian-science-maintainers
mailing list