FTBFS: ld: partview.o .. PartitionViewer16staticMetaObjectE .. recompile with -fPIC

Bug #1507788 reported by Logan Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cuba (Debian)
Fix Released
Unknown
cuba (Ubuntu)
Triaged
High
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/791516:

Source: cuba
Version: 3.0+20111124-2
Severity: serious
Tags: sid stretch
Justification: fails to build from source
User: <email address hidden>
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:
https://reproducible.debian.net/rb-pkg/unstable/amd64/cuba.html

-- 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)

Tags: ftbfs
Logan Rosen (logan)
Changed in cuba (Ubuntu):
status: New → Triaged
importance: Undecided → High
tags: added: ftbfs
description: updated
Changed in cuba (Debian):
importance: Undecided → Unknown
Changed in cuba (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.