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

Bug 231157

Summary: media-video/ffmpeg-0.4.9_p20080326 creates wrong pkg-config files.
Product: Gentoo Linux Reporter: Patrick Holthaus <patrick.holthaus>
Component: [OLD] LibraryAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Patrick Holthaus 2008-07-08 12:37:33 UTC
Applications depending on ffmpeg cannot find includes due to errors 

in /usr/lib/pkgconfig/libpostproc.pc:
The last line should be:
Cflags: -I${includedir}/libpostproc
instead of:
Cflags: -I${includedir}

in /usr/lib/pkgconfig/libavcodec.pc:
The last line should be:
Cflags: -I${includedir}/libavcodec
instead of:
Cflags: -I${includedir}

The same problem occurs with all .pc files:
/usr/lib64/pkgconfig/libavcodec.pc
/usr/lib64/pkgconfig/libavdevice.pc
/usr/lib64/pkgconfig/libavfilter.pc
/usr/lib64/pkgconfig/libavformat.pc
/usr/lib64/pkgconfig/libavutil.pc
/usr/lib64/pkgconfig/libpostproc.pc
/usr/lib64/pkgconfig/libswscale.pc



Reproducible: Always

Steps to Reproduce:
1. emerge "=media-video/ffmpeg-0.4.9_p20080326"


Actual Results:  
1. The .pc files contain no references to subfolders in ${includedir}.
2. Applications depending on ffmpeg like xine-lib fail to compile.

Expected Results:  
1. The .pc files should contain references to subfolders in ${includedir}.
2. Applications depending on ffmpeg like xine-libs should compile fine.

emerge --info:
Portage 2.2_rc1 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-rc8-git5 x86_64)
=================================================================
System uname: Linux-2.6.26-rc8-git5-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-glibc2.2.5
Timestamp of tree: Tue, 08 Jul 2008 09:45:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     9999
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -mtune=core2 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=core2 -mtune=core2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS=""
LINGUAS="de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/openrc /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/java-overlay /usr/local/portage/layman/kdesvn-portage /usr/local/portage/personal /usr/local/portage/java-experimental"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 avahi beagle berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dell dri dv dvb dvd dvdr dvdread eds emboss encode evo fam fbcon ffmpeg firefox fortran gdbm gif gnome gnome-keyring gpm gstreamer gtk gtk2 hal iconv ieee1394 ipv6 isdnlog java java5 java6 jpeg kde kdgraphics kerberos laptop ldap libnotify logitech-mouse mad mikmod mmx mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin obex offensive ogg opengl openmp pam pcmcia pcre pdf perl plasma png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba sasl sdl session sndfile spell spl sse sse2 ssl startup-notification svg tcpd tiff truetype unicode usb userlocales v4l v4l2 vorbis wifi xcb xml xorg xscreensaver xv zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2008-07-08 14:19:24 UTC

*** This bug has been marked as a duplicate of bug 223701 ***