[Reproducible-builds] Bug#791516: FTBFS: ld: partview.o .. PartitionViewer16staticMetaObjectE .. recompile with -fPIC

Chris West (Faux) solo-debianbugs at goeswhere.com
Sun Jul 5 17:41:12 UTC 2015

Source: cuba
Version: 3.0+20111124-2
Severity: serious
Tags: sid stretch
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs

Dear Maintainer,

The package fails to build:
gcc -shared -Wl,-soname,libcuba.so.3 -o libcuba.so.3.0 *.o -lm
/usr/bin/ld: partview.o: relocation R_X86_64_32 against `_ZN15PartitionViewer16staticMetaObjectE' can not be used when making a shared object; recompile with -fPIC
partview.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
makefile:211: recipe for target 'libcuba.so.3.0' failed
make[1]: *** [libcuba.so.3.0] Error 1

Full build log:

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-21-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

More information about the Reproducible-builds mailing list