[Debian-med-packaging] Bug#851466: khmer: autopkgtest is failing

Adrian Bunk bunk at debian.org
Thu Jan 19 08:08:38 UTC 2017


Control: reassign -1 release.debian.org
Control: retitle -1 nmu: bzip2_1.0.6-8

On Sun, Jan 15, 2017 at 10:29:25AM +0100, Andreas Tille wrote:
> Package: khmer
> Severity: normal
> 
> Hi,
> 
> the autopkgtest of khmer is failing[1] with
> 
> ...
> + c++ -o test-prog-static -std=c++11 /usr/share/doc/khmer-common/test-compile.cc /usr/lib/x86_64-linux-gnu/liboxli.a /usr/lib/x86_64-linux-gnu/libz.a /usr/lib/x86_64-linux-gnu/libbz2.a
> /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libbz2.a(bzlib.o): relocation R_X86_64_32S against symbol `BZ2_crc32Table' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libbz2.a(compress.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libbz2.a(decompress.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libbz2.a(blocksort.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: error: ld returned 1 exit status
> ...
> 
> The solution probably would be to fix the makefile to include -fPIC.

What is required is a binNMU of bzip2 with PIE:

  nmu bzip2_1.0.6-8 . ANY . -m "Rebuild static library with PIE"

> Kind regards
> 
>        Andreas.
> 
> [1] https://ci.debian.net/data/packages/unstable/amd64/k/khmer/20170112_131441.autopkgtest.log.gz

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Debian-med-packaging mailing list