Bug#667158: esys-particle: ftbfs with GCC-4.7

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


Package: esys-particle
Version: 2.1-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.

../Geometry/CircularNeighbourTable.hpp:227:81: error: 'getVecIndex' 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/esys-particle_2.1-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.

[...]
In file included from ../Geometry/CircularNeighbourTable.h:116:0,
                 from ../Geometry/ParticleGenerator.h:18,
                 from ../Geometry/BlockGenerator.h:17,
                 from BlockGenerator.cpp:14:
../Geometry/CircularNeighbourTable.hpp: In instantiation of 'void esys::lsm::CircularNeighbourTable<TmplParticle>::insert(esys::lsm::CircularNeighbourTable<TmplParticle>::Particle*) [with TmplParticle = SimpleParticle; esys::lsm::CircularNeighbourTable<TmplParticle>::Particle = SimpleParticle]':
BlockGenerator.cpp:129:35:   required from here
../Geometry/CircularNeighbourTable.hpp:227:81: error: 'getVecIndex' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../Geometry/CircularNeighbourTable.hpp:227:81: note: declarations in dependent base 'esys::lsm::NeighbourTable<SimpleParticle>' are not found by unqualified lookup
../Geometry/CircularNeighbourTable.hpp:227:81: note: use 'this->getVecIndex' instead
../Geometry/CircularNeighbourTable.hpp:228:81: error: 'getVecIndex' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../Geometry/CircularNeighbourTable.hpp:228:81: note: declarations in dependent base 'esys::lsm::NeighbourTable<SimpleParticle>' are not found by unqualified lookup
../Geometry/CircularNeighbourTable.hpp:228:81: note: use 'this->getVecIndex' instead
make[4]: *** [BlockGenerator.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile:  mpicxx -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include -I../Foundation -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c GeometryInfo.cpp -o GeometryInfo.o >/dev/null 2>&1
libtool: compile:  mpicxx -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include -I../Foundation -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c VtkXmlWriter.cpp -o VtkXmlWriter.o >/dev/null 2>&1
libtool: compile:  mpicxx -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include -I../Foundation -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c ParticleFitter.cpp -o ParticleFitter.o >/dev/null 2>&1
libtool: compile:  mpicxx -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include -I../Foundation -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c GranularGougeBlock3D.cpp -o GranularGougeBlock3D.o >/dev/null 2>&1
libtool: compile:  mpicxx -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include -I../Foundation -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c GougeBlock3D.cpp -o GougeBlock3D.o >/dev/null 2>&1
libtool: compile:  mpicxx -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include -I../Foundation -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c RandomBlockGenerator.cpp -o RandomBlockGenerator.o >/dev/null 2>&1
libtool: compile:  mpicxx -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include -I../Foundation -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c SphAggGougeBlock.cpp -o SphAggGougeBlock.o >/dev/null 2>&1
make[4]: Leaving directory `/«PKGBUILDDIR»/Geometry'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_build: make -j10 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 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