Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 87817

Summary: libmpeg3 is not compiled with fPIC by default causing the build to fail
Product: Gentoo Linux Reporter: Paul Betts <betts.62>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul Betts 2005-04-03 11:02:44 UTC
Emerging ffmpeg on the default 2005.0 profile does not compile it with the -fPIC flag which I do believe is required on x86_64. Emerging it with USE="pic" fixes it however.

Reproducible: Always
Steps to Reproduce:
Using default AMD64 2005.0 profile:
1. emerge ffmpeg


Actual Results:  
Compile failure

Expected Results:  
Compile correctly

Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-2.3.4.20050125-r1, 2.6.11-nitro2 x86_64)
=================================================================
System uname: 2.6.11-nitro2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar  4 2005, 20:56:19)]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acl acpi aim alsa arts avi berkdb bitmap-fonts bmp bonobo bzlib
canna cdr cjk crypt cups curl dga directfb dvd dvdr emacs encode esd ethereal
evo exif fam flac font-server fortran ftp gif gmp gnome gphoto2 gpm gstreamer
gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jack java jp2 jpeg junit kde
kerberos ldap libwww lzw lzw-tiff mozilla mp3 mpeg msn mssql ncurses nls nptl
offensive oggvorbis openal opengl oscar pam pda pdflib perl png python qt
quicktime readline samba sasl scanner sdl soap sockets spell ssl svg tcpd tetex
tiff truetype truetype-fonts type1-fonts unicode usb userlocales videos xine
xinerama xml xml2 xmms xosd xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Paul Betts 2005-04-03 11:05:36 UTC
Wrong library in description