I tried to emerge fbi 1.31 but it failed when emerging fbi. When I emerged giflib, fbi emerged normal. So I think giflib should be added as a dependency. Correct me if i'm wrong, i'm not using gentoo really long. Reproducible: Always Steps to Reproduce: $ emerge fbi Actual Results: stderr output from emerge: checking for libdir name ... lib checking for endian.h ... yes checking for X11/X.h ... no checking for pcd_open in pcd ... no checking for jpeg_start_compress in jpeg ... yes checking for DGifOpenFileName in ungif ... yes checking for png_read_info in png ... yes checking for TIFFOpen in tiff ... no checking for exif_data_new_from_file in exif ... no checking for curl_easy_init in curl ... no checking for lirc_init in lirc_client ... no fb-gui.c:15: warning: `x11_font' defined but not used jpegtools.c:52: warning: `transmagic' defined but not used gif.c:4:21: gif_lib.h: No such file or directory gif.c:10: error: parse error before "GifFileType" gif.c:10: warning: no semicolon at end of struct or union gif.c:11: warning: type defaults to `int' in declaration of `row' gif.c:11: warning: data definition has no type or storage class gif.c:12: error: parse error before '*' token gif.c:12: warning: type defaults to `int' in declaration of `il' gif.c:12: warning: data definition has no type or storage class gif.c:14: error: parse error before '}' token gif.c:17: error: parse error before "gif_fileread" gif.c:18: warning: return type defaults to `int' gif.c:18: warning: no previous prototype for `gif_fileread' gif.c: In function `gif_fileread': gif.c:19: error: `GifRecordType' undeclared (first use in this function) gif.c:19: error: (Each undeclared identifier is reported only once gif.c:19: error: for each function it appears in.) gif.c:19: error: parse error before "RecordType" gif.c:20: error: `GifByteType' undeclared (first use in this function) gif.c:20: error: `Extension' undeclared (first use in this function) gif.c:25: error: `GIF_ERROR' undeclared (first use in this function) gif.c:25: warning: implicit declaration of function `DGifGetRecordType' gif.c:25: error: dereferencing pointer to incomplete type gif.c:25: error: `RecordType' undeclared (first use in this function) gif.c:28: warning: implicit declaration of function `PrintGifError' gif.c:32: error: `IMAGE_DESC_RECORD_TYPE' undeclared (first use in this function) gif.c:36: error: `EXTENSION_RECORD_TYPE' undeclared (first use in this function) gif.c:39: warning: implicit declaration of function `DGifGetExtension' gif.c:39: error: dereferencing pointer to incomplete type gif.c:41: warning: implicit declaration of function `DGifGetExtensionNext' gif.c:41: error: dereferencing pointer to incomplete type gif.c:50: error: `COMMENT_EXT_FUNC_CODE' undeclared (first use in this function) gif.c:51: error: `GRAPHICS_EXT_FUNC_CODE' undeclared (first use in this function) gif.c:52: error: `PLAINTEXT_EXT_FUNC_CODE' undeclared (first use in this function) gif.c:53: error: `APPLICATION_EXT_FUNC_CODE' undeclared (first use in this function) gif.c:60: error: `TERMINATE_RECORD_TYPE' undeclared (first use in this function) gif.c: In function `gif_init': gif.c:94: error: `GifRecordType' undeclared (first use in this function) gif.c:94: error: parse error before "RecordType" gif.c:97: error: dereferencing pointer to incomplete type gif.c:98: error: dereferencing pointer to incomplete type gif.c:100: error: dereferencing pointer to incomplete type gif.c:101: error: dereferencing pointer to incomplete type gif.c:101: warning: implicit declaration of function `DGifOpenFileHandle' gif.c:102: error: dereferencing pointer to incomplete type gif.c:102: error: dereferencing pointer to incomplete type gif.c:102: error: `GifPixelType' undeclared (first use in this function) gif.c:105: error: `RecordType' undeclared (first use in this function) gif.c:107: error: `IMAGE_DESC_RECORD_TYPE' undeclared (first use in this function) gif.c:108: error: `GIF_ERROR' undeclared (first use in this function) gif.c:108: warning: implicit declaration of function `DGifGetImageDesc' gif.c:108: error: dereferencing pointer to incomplete type gif.c:113: error: dereferencing pointer to incomplete type gif.c:114: error: dereferencing pointer to incomplete type gif.c:123: error: dereferencing pointer to incomplete type gif.c:123: error: dereferencing pointer to incomplete type gif.c:124: error: dereferencing pointer to incomplete type gif.c:124: error: dereferencing pointer to incomplete type gif.c:130: error: dereferencing pointer to incomplete type gif.c:133: error: dereferencing pointer to incomplete type gif.c:133: error: dereferencing pointer to incomplete type gif.c:133: error: dereferencing pointer to incomplete type gif.c:134: error: dereferencing pointer to incomplete type gif.c:135: warning: implicit declaration of function `DGifGetLine' gif.c:135: error: dereferencing pointer to incomplete type gif.c:135: error: dereferencing pointer to incomplete type gif.c:135: error: dereferencing pointer to incomplete type gif.c:135: error: dereferencing pointer to incomplete type gif.c:136: error: dereferencing pointer to incomplete type gif.c:137: error: dereferencing pointer to incomplete type gif.c:137: error: dereferencing pointer to incomplete type gif.c:137: error: dereferencing pointer to incomplete type gif.c:137: error: dereferencing pointer to incomplete type gif.c:138: error: dereferencing pointer to incomplete type gif.c:139: error: dereferencing pointer to incomplete type gif.c:139: error: dereferencing pointer to incomplete type gif.c:139: error: dereferencing pointer to incomplete type gif.c:139: error: dereferencing pointer to incomplete type gif.c:142: error: `TERMINATE_RECORD_TYPE' undeclared (first use in this function) gif.c:152: error: dereferencing pointer to incomplete type gif.c:152: error: dereferencing pointer to incomplete type gif.c:153: error: dereferencing pointer to incomplete type gif.c:153: error: dereferencing pointer to incomplete type gif.c:159: warning: implicit declaration of function `DGifCloseFile' gif.c:159: error: dereferencing pointer to incomplete type gif.c:160: error: dereferencing pointer to incomplete type gif.c:161: error: dereferencing pointer to incomplete type gif.c: In function `gif_read': gif.c:170: error: `GifColorType' undeclared (first use in this function) gif.c:170: error: `cmap' undeclared (first use in this function) gif.c:173: error: dereferencing pointer to incomplete type gif.c:175: error: dereferencing pointer to incomplete type gif.c:175: error: dereferencing pointer to incomplete type gif.c:175: error: dereferencing pointer to incomplete type gif.c:177: error: dereferencing pointer to incomplete type gif.c:177: error: dereferencing pointer to incomplete type gif.c:177: error: dereferencing pointer to incomplete type gif.c:177: error: dereferencing pointer to incomplete type gif.c:180: error: dereferencing pointer to incomplete type gif.c:180: error: dereferencing pointer to incomplete type gif.c:180: error: dereferencing pointer to incomplete type gif.c:182: error: dereferencing pointer to incomplete type gif.c:183: error: dereferencing pointer to incomplete type gif.c:183: error: dereferencing pointer to incomplete type gif.c:184: error: dereferencing pointer to incomplete type gif.c:185: error: dereferencing pointer to incomplete type gif.c:186: error: dereferencing pointer to incomplete type gif.c:187: error: dereferencing pointer to incomplete type gif.c: In function `gif_done': gif.c:199: error: dereferencing pointer to incomplete type gif.c:200: error: dereferencing pointer to incomplete type gif.c:201: error: dereferencing pointer to incomplete type gif.c:202: error: dereferencing pointer to incomplete type gif.c:203: error: dereferencing pointer to incomplete type make: *** [gif.o] Error 1 !!! ERROR: media-gfx/fbi-1.31 failed. !!! Function src_compile, Line 26, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected Results: It should just install fbi Gentoo Base System version 1.4.16 Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r4 i686) ================================================================= System uname: 2.6.10-gentoo-r4 i686 Pentium III (Coppermine) Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -march=pentium3" CHOST="i686-pc-linux-gnu" COMPILER="" 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/terminfo /etc/env.d" CXXFLAGS="-O3 -pipe -march=pentium3" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://vlaai.snt.utwente.nl/pub/os/linux/gentoo/ http://vlaai.snt.utwente.nl/pub/os/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="aalib apm arts avi berkdb bitmap-fonts crypt cups encode f77 fbcon font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl spell ssl svga tcpd truetype truetype-fonts type1-fonts x86 xml2 xmms xv zlib"
You're right - I've just added giflib to the deps. Thanks.