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
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/
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libc6-dev-i386 (not installed)
ProcVersionSign
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:
Unpacking libc6-dev-i386 (2.23-0ubuntu3) ...
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/include/
ErrorMessage: trying to overwrite '/usr/include/
InstallationDate: Installed on 2016-05-20 (18 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.12~
SourcePackage: glibc
Title: package libc6-dev-i386 (not installed) failed to install/upgrade: trying to overwrite '/usr/include/
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Changed in glibc (Ubuntu): | |
importance: | Undecided → High |
Changed in hundredpapercuts: | |
status: | New → Confirmed |
importance: | Undecided → High |
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' libavutil. so.55' failed
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
library.mak:98: recipe for target 'libavutil/