Bug#701302: kiwix: ftbfs with GCC-4.8

Matthias Klose doko at debian.org
Sat Feb 23 11:21:03 UTC 2013


Package: src:kiwix
Version: 0.9~beta6.8-1
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.8

The package fails to build in a test rebuild on at least amd64 with
gcc-4.8/g++-4.8, but succeeds to build with gcc-4.7/g++-4.7. The
severity of this report may be raised before the jessie release.

  FSDirectory.h:92:5: error: looser throw specifier for 'virtual lucene::store::FSDirectory::FSIndexInput::SharedHandle::~SharedHandle() throw (CLuceneError&)'

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/kiwix_0.9~beta6.8-1_unstable_gcc48.log
The last lines of the build log are at the end of this report.

To build with GCC 4.8, either set CC=gcc-4.8 CXX=g++-4.8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev

The test rebuild was done with eglibc-2.17 and GCC-4.8, so some issues
might be caused by the updated glibc.

[...]
   ^
cluceneAccessor.cpp:75:1: note: in expansion of macro 'NS_IMPL_ISUPPORTS1'
 NS_IMPL_ISUPPORTS1(CluceneAccessor, ICluceneAccessor)
 ^
cluceneAccessor.cpp: In destructor 'CluceneAccessor::~CluceneAccessor()':
cluceneAccessor.cpp:85:18: warning: deleting object of polymorphic class type 'kiwix::CluceneSearcher' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
     delete this->searcher;
                  ^
cluceneAccessor.cpp: At global scope:
cluceneAccessor.cpp:90:15: warning: unused parameter 'winDirectory' [-Wunused-parameter]
 NS_IMETHODIMP CluceneAccessor::OpenReadableDatabase(const nsACString &unixDirectory, const nsACString &winDirectory, mozbool *retVal) {
               ^
cluceneAccessor.cpp:184:1: warning: missing initializer for member 'mozilla::Module::CIDEntry::service' [-Wmissing-field-initializers]
 };
 ^
cluceneAccessor.cpp:184:1: warning: missing initializer for member 'mozilla::Module::CIDEntry::getFactoryProc' [-Wmissing-field-initializers]
cluceneAccessor.cpp:184:1: warning: missing initializer for member 'mozilla::Module::CIDEntry::constructorProc' [-Wmissing-field-initializers]
cluceneAccessor.cpp:189:1: warning: missing initializer for member 'mozilla::Module::ContractIDEntry::cid' [-Wmissing-field-initializers]
 };
 ^
cluceneAccessor.cpp:196:1: warning: missing initializer for member 'mozilla::Module::getFactoryProc' [-Wmissing-field-initializers]
 };
 ^
cluceneAccessor.cpp:196:1: warning: missing initializer for member 'mozilla::Module::loadProc' [-Wmissing-field-initializers]
cluceneAccessor.cpp:196:1: warning: missing initializer for member 'mozilla::Module::unloadProc' [-Wmissing-field-initializers]
In file included from cluceneAccessor.cpp:35:0:
/usr/lib/xulrunner-devel-10.0/include/mozilla/ModuleUtils.h:156:1: warning: unused parameter 'aCompMgr' [-Wunused-parameter]
 NSGetModule(nsIComponentManager* aCompMgr,         \
 ^
cluceneAccessor.cpp:199:1: note: in expansion of macro 'NS_IMPL_MOZILLA192_NSGETMODULE'
 NS_IMPL_MOZILLA192_NSGETMODULE(&kCluceneAccessorModule)
 ^
/usr/lib/xulrunner-devel-10.0/include/mozilla/ModuleUtils.h:156:1: warning: unused parameter 'aLocation' [-Wunused-parameter]
 NSGetModule(nsIComponentManager* aCompMgr,         \
 ^
cluceneAccessor.cpp:199:1: note: in expansion of macro 'NS_IMPL_MOZILLA192_NSGETMODULE'
 NS_IMPL_MOZILLA192_NSGETMODULE(&kCluceneAccessorModule)
 ^
make[5]: *** [libCluceneAccessor_la-cluceneAccessor.lo] Error 1
make[5]: Leaving directory `/«PKGBUILDDIR»/src/components/cluceneAccessor'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/«PKGBUILDDIR»/src/components/cluceneAccessor'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/src/components'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»/src'
make[1]: *** [all-recursive] Error 1
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



More information about the Debian-edu-pkg-team mailing list