Here is /usr/lib/pkgconfig/avifile.pc --- prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include/avifile Name: avifile Description: A library for reading and writing of compressed video Requires: Version: 0.7.38 Libs: -L${libdir} -laviplay Cflags: -I${includedir} --- the includedir line is wrong - the ebuild actually installs headers to /usr/include/avifile-0.7 Reproducible: Always Steps to Reproduce: luke@fish luke $ emerge info Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-love6) ================================================================= System uname: 2.6.3-love6 i686 AMD Duron(tm) processor Gentoo Base System version 1.4.10 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-pipe -Os -march=athlon -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -Os -march=athlon -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo ftp://203.16.234.19/pub/gentoo/ ftp://203.16.234.20/pub/gentoo/ http://gentoo.ccccom.com ftp://gentoo.ccccom.com ftp://mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo http://mirrors.tds.net/gentoo http://mirror.tucdemonic.org/gentoo/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://212.219.247.10/sites/www.ibiblio.org/gentoo/ http://212.219.247.11/sites/www.ibiblio.org/gentoo/ http://212.219.247.12/sites/www.ibiblio.org/gentoo/ http://212.219.247.13/sites/www.ibiblio.org/gentoo/ http://212.219.247.14/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d acpi alsa ardour-ksi arts artswrappersuid avi berkdb cdr cups emacs encode foomaticdb gdbm gif gpm gtk gtk2 gtkhtml guile imlib ipv6 jack java jpeg kde ldap leim libg++ libwww mad maildir mbox mikmod motif moznocompose moznoirc moznomail mpeg ncurses nls nvidia oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang sox spell ssl tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
this totally broke evidence for me :) ive added avifile-0.7.38.20030710-r1 which addresses this issue