[Debian-med-packaging] Bug#667271: maqview: ftbfs with GCC-4.7
Matthias Klose
doko at debian.org
Tue Apr 3 23:10:42 UTC 2012
Package: maqview
Version: 0.2.5-1
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.
stdhash.hh:496:81: error: 'direct_insert_aux' 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/maqview_0.2.5-1_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.
[...]
gcc -DHAVE_CONFIG_H -I. -DHAVE_FREEGLUT -g -O2 -Wall -W -DMAQ_LONGREADS -MT btree.o -MD -MP -MF .deps/btree.Tpo -c -o btree.o btree.c
mv -f .deps/btree.Tpo .deps/btree.Po
gcc -DHAVE_CONFIG_H -I. -DHAVE_FREEGLUT -g -O2 -Wall -W -DMAQ_LONGREADS -MT maqmap_index.o -MD -MP -MF .deps/maqmap_index.Tpo -c -o maqmap_index.o maqmap_index.c
maqmap_index.c: In function 'notify':
maqmap_index.c:43:69: warning: unused parameter 'pos' [-Wunused-parameter]
maqmap_index.c: In function 'read_map_index':
maqmap_index.c:387:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
maqmap_index.c: In function 'read_map_next_to':
maqmap_index.c:403:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mv -f .deps/maqmap_index.Tpo .deps/maqmap_index.Po
gcc -DHAVE_CONFIG_H -I. -DHAVE_FREEGLUT -g -O2 -Wall -W -DMAQ_LONGREADS -MT zrio.o -MD -MP -MF .deps/zrio.Tpo -c -o zrio.o zrio.c
zrio.c: In function 'get_max_dist':
zrio.c:437:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
zrio.c: In function 'build_index':
zrio.c:466:24: warning: variable 'state' set but not used [-Wunused-but-set-variable]
mv -f .deps/zrio.Tpo .deps/zrio.Po
g++ -DHAVE_CONFIG_H -I. -DHAVE_FREEGLUT -g -O2 -MT stdhashc.o -MD -MP -MF .deps/stdhashc.Tpo -c -o stdhashc.o stdhashc.cc
In file included from stdhashc.cc:2:0:
stdhash.hh: In instantiation of 'bool hash_map_misc<keytype_t, valtype_t>::insert(const keytype_t&, const valtype_t&) [with keytype_t = unsigned int; valtype_t = int]':
stdhashc.cc:72:51: required from here
stdhash.hh:496:81: error: 'direct_insert_aux' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
stdhash.hh:496:81: note: declarations in dependent base '__lh3_hash_base_class<unsigned int>' are not found by unqualified lookup
stdhash.hh:496:81: note: use 'this->direct_insert_aux' instead
make[2]: *** [stdhashc.o] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
More information about the Debian-med-packaging
mailing list