[Debian-med-packaging] Bug#832068: mash: FTBFS on kfreebsd-amd64: /usr/lib/libcapnp.a: error adding symbols: Bad value

Aaron M. Ucko amu at alum.mit.edu
Thu Jul 21 23:34:56 UTC 2016


Source: mash
Version: 1.1-2
Severity: important
Justification: fails to build from source

The kfreebsd-amd64 build of mash failed:

  g++ -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -O3 -std=c++11 -Isrc -I/usr/include -I /usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -o mash libmash.a /usr/lib/libcapnp.a /usr/lib/libkj.a -L/usr/lib -lgsl -lgslcblas -lstdc++ -lz -lm -lpthread -fPIE -pie -Wl,-z,relro -Wl,-z,now
  /usr/bin/ld: /usr/lib/libcapnp.a(layout.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
  /usr/lib/libcapnp.a: error adding symbols: Bad value
  collect2: error: ld returned 1 exit status
  Makefile:35: recipe for target 'mash' failed

Please fix it to link dynamically against libcapnp (and libkj), which
is best practice anyway.

Thanks!

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information



More information about the Debian-med-packaging mailing list