[Debian-med-packaging] Bug#957408: kma: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:03:43 BST 2020


Package: src:kma
Version: 1.2.21-1
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/kma_1.2.21-1_unstable_gcc10.log
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
/usr/bin/ld: libkma.a(compress.o):./hashmapkma.h:53: multiple definition of `getKeyPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:53: first defined here
/usr/bin/ld: libkma.a(compress.o):./valueshash.h:41: multiple definition of `cmpValuesPtr'; libkma.a(index.o):./valueshash.h:41: first defined here
/usr/bin/ld: libkma.a(compress.o):./valueshash.h:40: multiple definition of `valuesKeyPtr'; libkma.a(index.o):./valueshash.h:40: first defined here
/usr/bin/ld: libkma.a(compress.o):./hashmap.h:42: multiple definition of `updateValuePtr'; libkma.a(index.o):./hashmap.h:42: first defined here
/usr/bin/ld: libkma.a(compress.o):./hashmap.h:41: multiple definition of `addUniqueValues'; libkma.a(index.o):./hashmap.h:41: first defined here
/usr/bin/ld: libkma.a(compress.o):./hashmap.h:40: multiple definition of `hashMapGet'; libkma.a(index.o):./hashmap.h:40: first defined here
/usr/bin/ld: libkma.a(compress.o):./hashmap.h:39: multiple definition of `hashMap_add'; libkma.a(index.o):./hashmap.h:39: first defined here
/usr/bin/ld: libkma.a(compress.o):./hashmapkma.h:57: multiple definition of `intpos_bin_contaminationPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:57: first defined here
/usr/bin/ld: libkma.a(compress.o):./hashmapkma.h:56: multiple definition of `hashMap_get'; /tmp/ccdBAKdT.o:./hashmapkma.h:56: first defined here
/usr/bin/ld: libkma.a(decon.o):./hashmapkma.h:52: multiple definition of `getExistPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:52: first defined here
/usr/bin/ld: libkma.a(decon.o):./hashmap.h:42: multiple definition of `updateValuePtr'; libkma.a(index.o):./hashmap.h:42: first defined here
/usr/bin/ld: libkma.a(decon.o):./hashmapkma.h:53: multiple definition of `getKeyPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:53: first defined here
/usr/bin/ld: libkma.a(decon.o):./hashmapkma.h:54: multiple definition of `getValueIndexPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:54: first defined here
/usr/bin/ld: libkma.a(decon.o):./decon.h:24: multiple definition of `addCont'; libkma.a(index.o):./decon.h:24: first defined here
/usr/bin/ld: libkma.a(decon.o):./decon.h:23: multiple definition of `deConNode_ptr'; libkma.a(index.o):./decon.h:23: first defined here
/usr/bin/ld: libkma.a(decon.o):./updateindex.h:26: multiple definition of `dumpIndex'; libkma.a(index.o):./updateindex.h:26: first defined here
/usr/bin/ld: libkma.a(decon.o):./updateindex.h:25: multiple definition of `updateAnnotsPtr'; libkma.a(index.o):./updateindex.h:25: first defined here
/usr/bin/ld: libkma.a(decon.o):./updateindex.h:24: multiple definition of `update_DB'; libkma.a(index.o):./updateindex.h:24: first defined here
/usr/bin/ld: libkma.a(decon.o):./hashmap.h:41: multiple definition of `addUniqueValues'; libkma.a(index.o):./hashmap.h:41: first defined here
/usr/bin/ld: libkma.a(decon.o):./hashmap.h:40: multiple definition of `hashMapGet'; libkma.a(index.o):./hashmap.h:40: first defined here
/usr/bin/ld: libkma.a(decon.o):./hashmap.h:39: multiple definition of `hashMap_add'; libkma.a(index.o):./hashmap.h:39: first defined here
/usr/bin/ld: libkma.a(decon.o):./hashmapkma.h:61: multiple definition of `hashMapKMA_addExist_ptr'; /tmp/ccdBAKdT.o:./hashmapkma.h:61: first defined here
/usr/bin/ld: libkma.a(decon.o):./hashmapkma.h:60: multiple definition of `hashMapKMA_addValue_ptr'; /tmp/ccdBAKdT.o:./hashmapkma.h:60: first defined here
/usr/bin/ld: libkma.a(decon.o):./hashmapkma.h:59: multiple definition of `hashMapKMA_addKey_ptr'; /tmp/ccdBAKdT.o:./hashmapkma.h:59: first defined here
/usr/bin/ld: libkma.a(decon.o):./hashmapkma.h:58: multiple definition of `getSizePtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:58: first defined here
/usr/bin/ld: libkma.a(decon.o):./hashmapkma.h:57: multiple definition of `intpos_bin_contaminationPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:57: first defined here
/usr/bin/ld: libkma.a(decon.o):./hashmapkma.h:56: multiple definition of `hashMap_get'; /tmp/ccdBAKdT.o:./hashmapkma.h:56: first defined here
/usr/bin/ld: libkma.a(decon.o):./hashmapkma.h:55: multiple definition of `getValuePtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:55: first defined here
/usr/bin/ld: libkma.a(hashmap.o):./hashmap.h:42: multiple definition of `updateValuePtr'; libkma.a(index.o):./hashmap.h:42: first defined here
/usr/bin/ld: libkma.a(hashmap.o):./hashmap.h:39: multiple definition of `hashMap_add'; libkma.a(index.o):./hashmap.h:39: first defined here
/usr/bin/ld: libkma.a(hashmap.o):./hashmap.h:40: multiple definition of `hashMapGet'; libkma.a(index.o):./hashmap.h:40: first defined here
/usr/bin/ld: libkma.a(hashmap.o):./hashmap.h:41: multiple definition of `addUniqueValues'; libkma.a(index.o):./hashmap.h:41: first defined here
/usr/bin/ld: libkma.a(hashmap.o):./hashmapkma.h:61: multiple definition of `hashMapKMA_addExist_ptr'; /tmp/ccdBAKdT.o:./hashmapkma.h:61: first defined here
/usr/bin/ld: libkma.a(hashmap.o):./hashmapkma.h:60: multiple definition of `hashMapKMA_addValue_ptr'; /tmp/ccdBAKdT.o:./hashmapkma.h:60: first defined here
/usr/bin/ld: libkma.a(hashmap.o):./hashmapkma.h:59: multiple definition of `hashMapKMA_addKey_ptr'; /tmp/ccdBAKdT.o:./hashmapkma.h:59: first defined here
/usr/bin/ld: libkma.a(hashmap.o):./hashmapkma.h:58: multiple definition of `getSizePtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:58: first defined here
/usr/bin/ld: libkma.a(hashmap.o):./hashmapkma.h:57: multiple definition of `intpos_bin_contaminationPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:57: first defined here
/usr/bin/ld: libkma.a(hashmap.o):./hashmapkma.h:56: multiple definition of `hashMap_get'; /tmp/ccdBAKdT.o:./hashmapkma.h:56: first defined here
/usr/bin/ld: libkma.a(hashmap.o):./hashmapkma.h:55: multiple definition of `getValuePtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:55: first defined here
/usr/bin/ld: libkma.a(hashmap.o):./hashmapkma.h:54: multiple definition of `getValueIndexPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:54: first defined here
/usr/bin/ld: libkma.a(hashmap.o):./hashmapkma.h:53: multiple definition of `getKeyPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:53: first defined here
/usr/bin/ld: libkma.a(hashmap.o):./hashmapkma.h:52: multiple definition of `getExistPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:52: first defined here
/usr/bin/ld: libkma.a(hashmapkma.o):./hashmapkma.h:52: multiple definition of `getExistPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:52: first defined here
/usr/bin/ld: libkma.a(hashmapkma.o):./hashmapkma.h:53: multiple definition of `getKeyPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:53: first defined here
/usr/bin/ld: libkma.a(hashmapkma.o):./hashmapkma.h:55: multiple definition of `getValuePtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:55: first defined here
/usr/bin/ld: libkma.a(hashmapkma.o):./hashmapkma.h:54: multiple definition of `getValueIndexPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:54: first defined here
/usr/bin/ld: libkma.a(hashmapkma.o):./hashmapkma.h:57: multiple definition of `intpos_bin_contaminationPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:57: first defined here
/usr/bin/ld: libkma.a(hashmapkma.o):./hashmapkma.h:56: multiple definition of `hashMap_get'; /tmp/ccdBAKdT.o:./hashmapkma.h:56: first defined here
/usr/bin/ld: libkma.a(hashmapkma.o):./hashmapkma.h:61: multiple definition of `hashMapKMA_addExist_ptr'; /tmp/ccdBAKdT.o:./hashmapkma.h:61: first defined here
/usr/bin/ld: libkma.a(hashmapkma.o):./hashmapkma.h:58: multiple definition of `getSizePtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:58: first defined here
/usr/bin/ld: libkma.a(hashmapkma.o):./hashmapkma.h:60: multiple definition of `hashMapKMA_addValue_ptr'; /tmp/ccdBAKdT.o:./hashmapkma.h:60: first defined here
/usr/bin/ld: libkma.a(hashmapkma.o):./hashmapkma.h:59: multiple definition of `hashMapKMA_addKey_ptr'; /tmp/ccdBAKdT.o:./hashmapkma.h:59: first defined here
/usr/bin/ld: libkma.a(hashtable.o):./hashmapkma.h:56: multiple definition of `hashMap_get'; /tmp/ccdBAKdT.o:./hashmapkma.h:56: first defined here
/usr/bin/ld: libkma.a(hashtable.o):./hashmapkma.h:61: multiple definition of `hashMapKMA_addExist_ptr'; /tmp/ccdBAKdT.o:./hashmapkma.h:61: first defined here
/usr/bin/ld: libkma.a(hashtable.o):./hashmapkma.h:60: multiple definition of `hashMapKMA_addValue_ptr'; /tmp/ccdBAKdT.o:./hashmapkma.h:60: first defined here
/usr/bin/ld: libkma.a(hashtable.o):./hashmapkma.h:59: multiple definition of `hashMapKMA_addKey_ptr'; /tmp/ccdBAKdT.o:./hashmapkma.h:59: first defined here
/usr/bin/ld: libkma.a(hashtable.o):./hashmapkma.h:58: multiple definition of `getSizePtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:58: first defined here
/usr/bin/ld: libkma.a(hashtable.o):./hashmapkma.h:57: multiple definition of `intpos_bin_contaminationPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:57: first defined here
/usr/bin/ld: libkma.a(hashtable.o):./hashmapkma.h:55: multiple definition of `getValuePtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:55: first defined here
/usr/bin/ld: libkma.a(hashtable.o):./hashmapkma.h:54: multiple definition of `getValueIndexPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:54: first defined here
/usr/bin/ld: libkma.a(hashtable.o):./hashmapkma.h:53: multiple definition of `getKeyPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:53: first defined here
/usr/bin/ld: libkma.a(hashtable.o):./hashmapkma.h:52: multiple definition of `getExistPtr'; /tmp/ccdBAKdT.o:./hashmapkma.h:52: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:15: kma_index] Error 1
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:12: kma] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:8: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debian-med-packaging mailing list