Bug#667139: coin3: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:08:23 UTC 2012


Package: coin3
Version: 3.1.3-2
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.

../../include/Inventor/SbBasic.h:99:5: error: 'cc_debugerror_post' 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/coin3_3.1.3-2_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.

[...]
../../include/Inventor/SbVec2s.h:72:83:   required from here
../../include/Inventor/SbBasic.h:99:5: error: 'cc_debugerror_post' 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 ../../include/Inventor/errors/SoDebugError.h:28:0,
                 from ../../include/Inventor/SbVec2s.h:32,
                 from ../../include/Inventor/SbViewportRegion.h:28,
                 from ../../include/Inventor/actions/SoGLRenderAction.h:30,
                 from SoGLRenderAction.cpp:56:
../../include/Inventor/C/errors/debugerror.h:59:19: note: 'void cc_debugerror_post(const char*, const char*, ...)' declared here, later in the translation unit
In file included from ../../include/Inventor/actions/SoAction.h:27:0,
                 from ../../include/Inventor/actions/SoGLRenderAction.h:27,
                 from SoGLRenderAction.cpp:56:
../../include/Inventor/SbBasic.h: In instantiation of 'void SbDividerChk(const char*, Type) [with Type = float]':
../../include/Inventor/SbVec2f.h:70:81:   required from here
../../include/Inventor/SbBasic.h:99:5: error: 'cc_debugerror_post' 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 ../../include/Inventor/errors/SoDebugError.h:28:0,
                 from ../../include/Inventor/SbVec2s.h:32,
                 from ../../include/Inventor/SbViewportRegion.h:28,
                 from ../../include/Inventor/actions/SoGLRenderAction.h:30,
                 from SoGLRenderAction.cpp:56:
../../include/Inventor/C/errors/debugerror.h:59:19: note: 'void cc_debugerror_post(const char*, const char*, ...)' declared here, later in the translation unit
make[5]: *** [SoAction.lo] Error 1
make[5]: *** [SoGLRenderAction.lo] Error 1
make[5]: Leaving directory `/«PKGBUILDDIR»/src/actions'
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
dh_auto_build: make -j10 returned exit code 2
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the debian-science-maintainers mailing list