When attempting to build media-libs/giflib-4.1.3 , it fails with an error that it cannot find the header file 'rle.h'. In particular, [snip] creating gifrotat if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../lib -mcpu= athlon-xp -march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall -mcpu=athlon-xp -march=athlon-xp -O3 -pipe -fomit-frame-pointer -MT gif2rle.o -MD -MP -MF ".dep s/gif2rle.Tpo" \ -c -o gif2rle.o `test -f 'gif2rle.c' || echo './'`gif2rle.c; \ then mv -f ".deps/gif2rle.Tpo" ".deps/gif2rle.Po"; \ else rm -f ".deps/gif2rle.Tpo"; exit 1; \ fi gif2rle.c:38:80: rle.h: No such file or directory gif2rle.c: In function `DumpScreen2Rle': gif2rle.c:245: error: `rle_pixel' undeclared (first use in this function) gif2rle.c:245: error: (Each undeclared identifier is reported only once gif2rle.c:245: error: for each function it appears in.) gif2rle.c:245: error: `rows' undeclared (first use in this function) gif2rle.c:250: warning: implicit declaration of function `RLE_SET_BIT' gif2rle.c:250: error: `rle_dflt_hdr' undeclared (first use in this function) gif2rle.c:250: error: `RLE_ALPHA' undeclared (first use in this function) gif2rle.c:258: warning: implicit declaration of function `rle_putcom' gif2rle.c:259: warning: implicit declaration of function `rle_put_setup' gif2rle.c:262: error: syntax error before ')' token gif2rle.c:262: error: syntax error before ')' token gif2rle.c:243: warning: unused variable `j' gif2rle.c:246: warning: unused variable `GifRow' gif2rle.c:248: warning: unused variable `ColorMapEntry' gif2rle.c: At top level: gif2rle.c:266: error: syntax error before "if" gif2rle.c:274: error: syntax error before string constant gif2rle.c:274: warning: type defaults to `int' in declaration of `GifQprintf' gif2rle.c:274: error: conflicting types for `GifQprintf' ../lib/gif_lib.h:226: error: previous declaration of `GifQprintf' gif2rle.c:274: warning: data definition has no type or storage class gif2rle.c:277: error: `j' undeclared here (not in a function) gif2rle.c:277: warning: type defaults to `int' in declaration of `rows' gif2rle.c:277: error: `rows' used prior to declaration gif2rle.c:277: error: `ColorMapEntry' undeclared here (not in a function) gif2rle.c:277: warning: data definition has no type or storage class gif2rle.c:278: error: `j' undeclared here (not in a function) gif2rle.c:278: warning: type defaults to `int' in declaration of `rows' gif2rle.c:278: error: conflicting types for `rows' gif2rle.c:277: error: previous declaration of `rows' gif2rle.c:278: error: `ColorMapEntry' undeclared here (not in a function) gif2rle.c:278: warning: data definition has no type or storage class gif2rle.c:279: error: `j' undeclared here (not in a function) gif2rle.c:279: warning: type defaults to `int' in declaration of `rows' gif2rle.c:279: error: conflicting types for `rows' gif2rle.c:278: error: previous declaration of `rows' gif2rle.c:279: error: `ColorMapEntry' undeclared here (not in a function) gif2rle.c:279: warning: data definition has no type or storage class gif2rle.c:280: error: syntax error before '}' token gif2rle.c:281: error: syntax error before '&' token gif2rle.c:281: warning: type defaults to `int' in declaration of `rle_putrow' gif2rle.c:281: warning: data definition has no type or storage class gif2rle.c:284: error: syntax error before '&' token gif2rle.c:284: warning: type defaults to `int' in declaration of `rle_puteof' gif2rle.c:284: warning: data definition has no type or storage class gif2rle.c:279: error: storage size of `rows' isn't known make[2]: *** [gif2rle.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/giflib-4.1.3/work/giflib-4.1.3/util ' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/giflib-4.1.3/work/giflib-4.1.3' make: *** [all] Error 2 !!! ERROR: media-libs/giflib-4.1.3 failed. !!! Function src_compile, Line 25, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Note that when I run 'locate rle.h', I get: /usr/share/doc/giflib-4.1.3-r1/html/doc/gif2rle.html /usr/include/urt/rle.h so it does look like I have the correct header file on the system, just perhaps in the wrong place. Reproducible: Always Steps to Reproduce: 1. emerge --update --deep world Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 2.6.13-gentoo-r2 i686) ================================================================= System uname: 2.6.13-gentoo-r2 i686 AMD Athlon(TM) XP 3000+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow X aac alsa apache2 apm arts avi berkdb bitmap-fonts cpdflib crypt cups curl dvd eds emboss encode esd fam foomaticdb fortran gd gd-external gdbm gif gmp gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib innodb ipv6 java jpeg junit kde ldap libg++ libwww mad mikmod mjpeg mmx mmxext motif mozilla mp3 mpeg mysql ncurses nls nvidia oan oav ogg oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline samba sdl sftplogging spell sqlite sse ssl svga tcpd threads tiff truetype truetype-fonts type1-fonts unicode vorbis xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
*** This bug has been marked as a duplicate of 107497 ***