[Debian-med-packaging] Bug#667325: plink: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:11:40 UTC 2012


Package: plink
Version: 1.07-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.

sets.cpp:771:37: error: redeclaration of 'std::vector<Individual*>::iterator i'

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/plink_1.07-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.

[...]
sets.cpp:317:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp:323:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp:329:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp:332:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp:367:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp:370:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp: In member function 'void Set::initialiseSetMapping()':
sets.cpp:412:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp:413:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp: In member function 'void Set::empiricalSetPValues()':
sets.cpp:618:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp:619:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp:631:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp:632:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp:642:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp:643:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp: In member function 'vector_t Set::profileTestScore()':
sets.cpp:703:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp:713:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp:771:37: error: redeclaration of 'std::vector<Individual*>::iterator i'
sets.cpp:703:12: error: 'int i' previously declared here
sets.cpp: In member function 'vector_t Set::fitLDSetTest(vector_t&, bool)':
sets.cpp:905:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp:975:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sets.cpp: In member function 'vector_t Set::fitStepwiseModel()':
sets.cpp:1042:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make[1]: *** [sets.o] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the Debian-med-packaging mailing list