[Debian-med-packaging] Bug#667270: maq: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:10:41 UTC 2012


Package: maq
Version: 0.7.1-4
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:415: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/maq_0.7.1-4_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.

[...]
g++ -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2  -Wall -D_FILE_OFFSET_BITS=64 -D_FASTMAP -DMAQ_LONGREADS -D_LARGEFILE64_SOURCE -c -o match.o match.cc
match.cc: In function 'int alt_cal_mm(bit64_t)':
match.cc:58:21: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
match.cc:61:22: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
match.cc: In function 'int alt_cal_err(bit64_t, bit64_t)':
match.cc:67:21: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
match.cc:70:22: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
match.cc: In function 'void match_search(const match_aux_t*, match_data_t*, const nst_bfa1_t*, int, ref_canlist_t*)':
match.cc:292:10: warning: variable 'n_reads' set but not used [-Wunused-but-set-variable]
g++ -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2  -Wall -D_FILE_OFFSET_BITS=64 -D_FASTMAP -DMAQ_LONGREADS -D_LARGEFILE64_SOURCE -c -o sort_mapping.o sort_mapping.cc
sort_mapping.cc: In function 'int ma_make_pair(const match_aux_t*, const match_info_t*, const match_info_t*, pair_info_t*)':
sort_mapping.cc:59:62: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
g++ -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2  -Wall -D_FILE_OFFSET_BITS=64 -D_FASTMAP -DMAQ_LONGREADS -D_LARGEFILE64_SOURCE -c -o assemble.o assemble.cc
assemble.cc: In function 'base_call_aux_t* assemble_cns_collect(assemble_pos_t*, const assemble_aux_t*)':
assemble.cc:106:64: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
g++ -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2  -Wall -D_FILE_OFFSET_BITS=64 -D_FASTMAP -DMAQ_LONGREADS -D_LARGEFILE64_SOURCE -c -o pileup.o pileup.cc
g++ -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2  -Wall -D_FILE_OFFSET_BITS=64 -D_FASTMAP -DMAQ_LONGREADS -D_LARGEFILE64_SOURCE -c -o mapcheck.o mapcheck.cc
mapcheck.cc: In function 'int ma_mapcheck(int, char**)':
mapcheck.cc:60:17: warning: variable 'fpout' set but not used [-Wunused-but-set-variable]
In file included from mapcheck.cc:11:0:
stdhash.hh: In instantiation of 'bool hash_set_misc<keytype_t>::insert(const keytype_t&) [with keytype_t = long long unsigned int]':
mapcheck.cc:24:45:   required from here
stdhash.hh:415: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:415:81: note: declarations in dependent base '__lh3_hash_base_class<long long unsigned int>' are not found by unqualified lookup
stdhash.hh:415:81: note: use 'this->direct_insert_aux' instead
make[2]: *** [mapcheck.o] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»'
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-med-packaging mailing list