package libc6-dev-i386 (not installed) failed to install/upgrade: trying to overwrite '/usr/include/bits', which is also in package libc6-dev-amd64:i386 2.23-0ubuntu3

Bug #1589987 reported by Paul
68
This bug affects 11 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Expired
High
Unassigned
glibc (Ubuntu)
Expired
High
Unassigned

Bug Description

I'm trying to build ffmpeg static and shared, i keep running into what appears to be a problem with things like libc not being compiled with -fPIC which causes me nothing but errors as I progress. One such error is this one:

[ERROR] /usr/bin/ld: /home/mondain/workspace/github-infrared5/red5pro-cauldron/src/main/lib/amd64-Linux-gpp/libavcodec.a(hevc_cabac.o): relocation R_X86_64_PC32 against symbol `ff_h264_cabac_tables' can not be used when making a shared object; recompile with -fPIC

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libc6-dev-i386 (not installed)
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Tue Jun 7 09:12:16 2016
DuplicateSignature:
 package:libc6-dev-i386:(not installed)
 Unpacking libc6-dev-i386 (2.23-0ubuntu3) ...
 dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.23-0ubuntu3_amd64.deb (--unpack):
  trying to overwrite '/usr/include/bits', which is also in package libc6-dev-amd64:i386 2.23-0ubuntu3
ErrorMessage: trying to overwrite '/usr/include/bits', which is also in package libc6-dev-amd64:i386 2.23-0ubuntu3
InstallationDate: Installed on 2016-05-20 (18 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.12~ubuntu16.04.1
SourcePackage: glibc
Title: package libc6-dev-i386 (not installed) failed to install/upgrade: trying to overwrite '/usr/include/bits', which is also in package libc6-dev-amd64:i386 2.23-0ubuntu3
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Paul (mondain) wrote :
Revision history for this message
Paul (mondain) wrote :

Heres the configure command for reference:

./configure --disable-debug --disable-doc --disable-avdevice --disable-programs --disable-decoders --disable-encoders --disable-filters --disable-muxers --disable-demuxers --disable-indevs --disable-outdevs --disable-swscale-alpha --disable-symver --disable-protocols --disable-bsfs --disable-parsers --disable-symver --disable-iconv --enable-shared --enable-static --enable-swresample --enable-swscale --enable-pthreads --enable-pic --enable-asm --enable-yasm --enable-decoder=aac --enable-decoder=h264 --enable-decoder=libspeex --enable-parser=h264,aac --prefix="$(pwd)/linux" --extra-cflags="-fPIC -mcmodel=large" --extra-cxxflags="-fPIC -mcmodel=large" --pkg-config-flags="--static"

Heres the output of make:

/usr/bin/ld: libavutil/color_utils.o(.text+0x25c): unresolvable R_X86_64_PLTOFF64 relocation against symbol `log@@GLIBC_2.2.5'
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
library.mak:98: recipe for target 'libavutil/libavutil.so.55' failed

tags: removed: need-duplicate-check
Revision history for this message
Hardiksingh Rathore (hardiksingh-rathore) wrote :

sudo aptitude install libc6-dev:i386

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in glibc (Ubuntu):
status: New → Confirmed
Changed in glibc (Ubuntu):
importance: Undecided → High
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Paul White (paulw2u) wrote :

We are sorry that we do not always have the capacity to review all reported bugs in a timely manner.

Ubuntu 16.04 (xenial) reached end-of-life on April 29, 2021.

I'm setting this bug to "Incomplete" as it's not seen any activity for some time. If this is still an issue when using a currently maintained release of Ubuntu then please let us know otherwise this bug report can be left to expire in approximately 60 days time.

Changed in hundredpapercuts:
status: Confirmed → Incomplete
Changed in glibc (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for glibc (Ubuntu) because there has been no activity for 60 days.]

Changed in glibc (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for One Hundred Papercuts because there has been no activity for 60 days.]

Changed in hundredpapercuts:
status: Incomplete → Expired
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.