Bug#667195: gtkmathview: ftbfs with GCC-4.7
Matthias Klose
doko at debian.org
Tue Apr 3 23:09:22 UTC 2012
Package: gtkmathview
Version: 0.8.0-7
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.
../../../src/frontend/common/TemplateBuilder.hh:54:42: error: redeclaration of 'SmartPtr<typename ElementBuilder::type> elem'
The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/gtkmathview_0.8.0-7_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.
[...]
custom_reader_Builder.cc:33:19: required from here
../../../src/frontend/common/TemplateBuilder.hh:50:113: error: 'linkerAssoc' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../../../src/frontend/common/TemplateBuilder.hh:50:113: note: declarations in dependent base 'custom_reader_Builder' are not found by unqualified lookup
../../../src/frontend/common/TemplateBuilder.hh:50:113: note: use 'this->linkerAssoc' instead
../../../src/frontend/common/TemplateBuilder.hh:54:111: error: redeclaration of 'SmartPtr<BoxMLActionElement> elem'
../../../src/frontend/common/TemplateBuilder.hh:50:49: error: 'SmartPtr<BoxMLActionElement> elem' previously declared here
../../../src/frontend/common/TemplateBuilder.hh:55:2: error: 'linkerAdd' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../../../src/frontend/common/TemplateBuilder.hh:55:2: note: declarations in dependent base 'custom_reader_Builder' are not found by unqualified lookup
../../../src/frontend/common/TemplateBuilder.hh:55:2: note: use 'this->linkerAdd' instead
../../../src/frontend/common/TemplateBuilder.hh: In instantiation of 'SmartPtr<typename ElementBuilder::type> TemplateBuilder<Model, Builder, RefinementContext>::getElement(const typename Model::Element&) const [with ElementBuilder = TemplateBuilder<custom_reader_Model, custom_reader_Builder, TemplateReaderRefinementContext<customXmlReader> >::BoxML_decor_ElementBuilder; Model = custom_reader_Model; Builder = custom_reader_Builder; RefinementContext = TemplateReaderRefinementContext<customXmlReader>; typename ElementBuilder::type = BoxMLDecorElement; typename Model::Element = SmartPtr<customXmlReader>]':
../../../src/frontend/common/TemplateBuilder.hh:64:81: required from 'SmartPtr<typename ElementBuilder::target_type> TemplateBuilder<Model, Builder, RefinementContext>::updateElement(const typename Model::Element&) const [with ElementBuilder = TemplateBuilder<custom_reader_Model, custom_reader_Builder, TemplateReaderRefinementContext<customXmlReader> >::BoxML_decor_ElementBuilder; Model = custom_reader_Model; Builder = custom_reader_Builder; RefinementContext = TemplateReaderRefinementContext<customXmlReader>; typename ElementBuilder::target_type = BoxMLElement; typename Model::Element = SmartPtr<customXmlReader>]'
../../../src/frontend/common/TemplateBuilder.hh:160:5: required from 'TemplateBuilder<Model, Builder, RefinementContext>::TemplateBuilder() [with Model = custom_reader_Model; Builder = custom_reader_Builder; RefinementContext = TemplateReaderRefinementContext<customXmlReader>]'
../../../src/frontend/common/TemplateBuilder.hh:1450:70: required from 'static SmartPtr<T> TemplateBuilder<Model, Builder, RefinementContext>::create() [with Model = custom_reader_Model; Builder = custom_reader_Builder; RefinementContext = TemplateReaderRefinementContext<customXmlReader>]'
custom_reader_Builder.cc:33:19: required from here
../../../src/frontend/common/TemplateBuilder.hh:50:113: error: 'linkerAssoc' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../../../src/frontend/common/TemplateBuilder.hh:50:113: note: declarations in dependent base 'custom_reader_Builder' are not found by unqualified lookup
../../../src/frontend/common/TemplateBuilder.hh:50:113: note: use 'this->linkerAssoc' instead
../../../src/frontend/common/TemplateBuilder.hh:54:111: error: redeclaration of 'SmartPtr<BoxMLDecorElement> elem'
../../../src/frontend/common/TemplateBuilder.hh:50:49: error: 'SmartPtr<BoxMLDecorElement> elem' previously declared here
../../../src/frontend/common/TemplateBuilder.hh:55:2: error: 'linkerAdd' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../../../src/frontend/common/TemplateBuilder.hh:55:2: note: declarations in dependent base 'custom_reader_Builder' are not found by unqualified lookup
../../../src/frontend/common/TemplateBuilder.hh:55:2: note: use 'this->linkerAdd' instead
make[5]: *** [libfrontend_custom_reader_la-custom_reader_Builder.lo] Error 1
make[5]: Leaving directory `/«PKGBUILDDIR»/src/frontend/custom_reader'
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
More information about the debian-science-maintainers
mailing list