[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#667187: google-gadgets: ftbfs with GCC-4.7



Package: google-gadgets
Version: 0.11.2-5
Severity: important
Tags: sid wheezy
User: debian-gcc@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.

scriptable_enumerator.h:71:5: error: 'RegisterMethod' 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/google-gadgets_0.11.2-5_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.

[...]
scriptable_enumerator.h:83:5: note: use 'this->RegisterMethod' instead
scriptable_enumerator.h:86:5: error: 'RegisterProperty' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
scriptable_enumerator.h:86:5: note: declarations in dependent base 'ggadget::ScriptableHelper<ggadget::ScriptableInterface>' are not found by unqualified lookup
scriptable_enumerator.h:86:5: note: use 'this->RegisterProperty' instead
scriptable_enumerator.h: In instantiation of 'void ggadget::ScriptableEnumerator<E, Wrapper, Param, ClassId>::DoClassRegister() [with E = ggadget::framework::FoldersInterface; Wrapper = ggadget::framework::ScriptableFileSystem::Impl::ScriptableFolder; Param = ggadget::framework::ScriptableFileSystem::Impl*; long unsigned int ClassId = 7860059052583358941ul]':
scriptable_file_system.cc:957:1:   required from here
scriptable_enumerator.h:71:5: error: 'RegisterMethod' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
scriptable_enumerator.h:71:5: note: declarations in dependent base 'ggadget::ScriptableHelper<ggadget::ScriptableInterface>' are not found by unqualified lookup
scriptable_enumerator.h:71:5: note: use 'this->RegisterMethod' instead
scriptable_enumerator.h:75:5: error: 'RegisterMethod' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
scriptable_enumerator.h:75:5: note: declarations in dependent base 'ggadget::ScriptableHelper<ggadget::ScriptableInterface>' are not found by unqualified lookup
scriptable_enumerator.h:75:5: note: use 'this->RegisterMethod' instead
scriptable_enumerator.h:79:5: error: 'RegisterMethod' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
scriptable_enumerator.h:79:5: note: declarations in dependent base 'ggadget::ScriptableHelper<ggadget::ScriptableInterface>' are not found by unqualified lookup
scriptable_enumerator.h:79:5: note: use 'this->RegisterMethod' instead
scriptable_enumerator.h:83:5: error: 'RegisterMethod' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
scriptable_enumerator.h:83:5: note: declarations in dependent base 'ggadget::ScriptableHelper<ggadget::ScriptableInterface>' are not found by unqualified lookup
scriptable_enumerator.h:83:5: note: use 'this->RegisterMethod' instead
scriptable_enumerator.h:86:5: error: 'RegisterProperty' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
scriptable_enumerator.h:86:5: note: declarations in dependent base 'ggadget::ScriptableHelper<ggadget::ScriptableInterface>' are not found by unqualified lookup
scriptable_enumerator.h:86:5: note: use 'this->RegisterProperty' instead
make[5]: *** [libggadget-1.0_la-scriptable_file_system.lo] Error 1
make[5]: Leaving directory `/«PKGBUILDDIR»/ggadget'
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 -j1 returned exit code 2
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



Reply to: