Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78697 - emerge gfontview fails.
Summary: emerge gfontview fails.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-19 10:34 UTC by Ludovico Poggioli
Modified: 2005-03-08 10:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ludovico Poggioli 2005-01-19 10:34:26 UTC
the frst error complains about a missing library, exactly, "dialogs.C:40:21: gif_lib.h: No such file or directory"

Reproducible: Always
Steps to Reproduce:
1.emerge gfontview
2.
3.

Actual Results:  
compile fails

Expected Results:  
clean compile

xeon root # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1,
2.6.10-gentoo-r5 i686)
=================================================================
System uname: 2.6.10-gentoo-r5 i686 Intel(R) Xeon(TM) CPU 2.00GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
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/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acpi alsa apm avi bash-completion berkdb bitmap-fonts
bonobo cdr crypt cups directfb divx4linux doc dvd dvdr dvdread encode esd evo
f77 fam flac font-server foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer
gtk gtk2 gtkhtml i8x0 imagemagick imlib ipv6 jpeg ldap libg++ libwww mad mikmod
mmx motif mozilla moznocompose moznoirc moznomail mpeg ncurses nls nptl ogg
oggvorbis opengl oss pam pdflib perl png python quicktime readline scanner sdl
spell sse sse2 ssl svg svga tcpd tiff truetype truetype-fonts type1-fonts usb
xine xml xml2 xmms xv xvid zlib linguas_it"

xeon root # emerge gfontview
Calculating dependencies  ...done!
>>> emerge (1 of 1) app-misc/gfontview-0.5.0-r6 to /
>>> md5 src_uri ;-) gfontview-0.5.0.tar.gz
>>> Unpacking source...
>>> Unpacking gfontview-0.5.0.tar.gz to /var/tmp/portage/gfontview-0.5.0-r6/work
 * Applying gfontview-0.5.0-gcc-34.patch.gz ...                                
                                                     [ ok ]>>> Source unpacked.
nls
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking how to run the C preprocessor... cc -E
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=pentium4 -pipe
-fomit-frame-pointer -ftracer ) works... yes
checking whether the C compiler (gcc -O2 -march=pentium4 -pipe
-fomit-frame-pointer -ftracer ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for POSIXized ISC... no
checking for ANSI C header files... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...
checking for c++... c++
checking whether the C++ compiler (c++ -O2 ) works... yes
checking whether the C++ compiler (c++ -O2 ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for a BSD compatible install... /bin/install -c
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for limits.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for bool type... yes
checking for strstr... yes
checking for strtol... yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.5... yes
checking for gnome-config... /usr/bin/gnome-config
checking for TT_Init_FreeType in -lttf... yes
checking for T1_InitLib in -lt1... yes
checking for EGifOpenFileName in -lgif... yes
checking for lpr... /usr/bin/lpr
updating cache ./config.cache
creating ./config.status
creating Makefile
creating intl/Makefile
creating po/Makefile.in
creating gfontview.spec
creating gfontview.lsm
creating config.h
make  all-recursive
make[1]: Entering directory
`/var/tmp/portage/gfontview-0.5.0-r6/work/gfontview-0.5.0'
Making all in po
make[2]: Entering directory
`/var/tmp/portage/gfontview-0.5.0-r6/work/gfontview-0.5.0/po'
PATH=../src:$PATH /usr/bin/xgettext --default-domain=gfontview --directory=.. \
  --add-comments --keyword=_ --keyword=N_ \
  --files-from=./POTFILES.in \
&& test ! -f gfontview.po \
   || ( rm -f ./gfontview.pot \
        && mv gfontview.po ./gfontview.pot )
rm -f cat-id-tbl.tmp
sed -f ../intl/po2tbl.sed ./gfontview.pot \
| sed -e "s/@PACKAGE NAME@/gfontview/" > cat-id-tbl.tmp
if cmp -s cat-id-tbl.tmp ./cat-id-tbl.c; then \
  rm cat-id-tbl.tmp; \
else \
  echo cat-id-tbl.c changed; \
  rm -f ./cat-id-tbl.c; \
  mv cat-id-tbl.tmp ./cat-id-tbl.c; \
fi
cd . && rm -f stamp-cat-id && echo timestamp > stamp-cat-id
make[2]: Leaving directory
`/var/tmp/portage/gfontview-0.5.0-r6/work/gfontview-0.5.0/po'
Making all in intl
make[2]: Entering directory
`/var/tmp/portage/gfontview-0.5.0-r6/work/gfontview-0.5.0/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/gfontview-0.5.0-r6/work/gfontview-0.5.0/intl'
make[2]: Entering directory
`/var/tmp/portage/gfontview-0.5.0-r6/work/gfontview-0.5.0'
c++ -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\""/usr/share/locale"\"
-I/usr/include/freetype    -O2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-1.0
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -c gfont.C
c++ -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\""/usr/share/locale"\"
-I/usr/include/freetype    -O2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-1.0
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -c dialogs.C
dialogs.C:40:21: gif_lib.h: No such file or directory
dialogs.C: In function `const char* getGIFError(int)':
dialogs.C:2277: error: `D_GIF_ERR_OPEN_FAILED' undeclared (first use this
   function)
dialogs.C:2277: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
dialogs.C:2278: error: `E_GIF_ERR_OPEN_FAILED' undeclared (first use this
   function)
dialogs.C:2282: error: `E_GIF_ERR_WRITE_FAILED' undeclared (first use this
   function)
dialogs.C:2286: error: `E_GIF_ERR_HAS_SCRN_DSCR' undeclared (first use this
   function)
dialogs.C:2289: error: `E_GIF_ERR_HAS_IMAG_DSCR' undeclared (first use this
   function)
dialogs.C:2292: error: `E_GIF_ERR_NO_COLOR_MAP' undeclared (first use this
   function)
dialogs.C:2295: error: `E_GIF_ERR_DATA_TOO_BIG' undeclared (first use this
   function)
dialogs.C:2298: error: `E_GIF_ERR_NOT_ENOUGH_MEM' undeclared (first use this
   function)
dialogs.C:2301: error: `E_GIF_ERR_DISK_IS_FULL' undeclared (first use this
   function)
dialogs.C:2304: error: `E_GIF_ERR_CLOSE_FAILED' undeclared (first use this
   function)
dialogs.C:2308: error: `E_GIF_ERR_NOT_WRITEABLE' undeclared (first use this
   function)
dialogs.C:2312: error: `D_GIF_ERR_READ_FAILED' undeclared (first use this
   function)
dialogs.C:2316: error: `D_GIF_ERR_NOT_GIF_FILE' undeclared (first use this
   function)
dialogs.C:2319: error: `D_GIF_ERR_NO_SCRN_DSCR' undeclared (first use this
   function)
dialogs.C:2322: error: `D_GIF_ERR_NO_IMAG_DSCR' undeclared (first use this
   function)
dialogs.C:2325: error: `D_GIF_ERR_NO_COLOR_MAP' undeclared (first use this
   function)
dialogs.C:2328: error: `D_GIF_ERR_WRONG_RECORD' undeclared (first use this
   function)
dialogs.C:2331: error: `D_GIF_ERR_DATA_TOO_BIG' undeclared (first use this
   function)
dialogs.C:2334: error: `D_GIF_ERR_NOT_ENOUGH_MEM' undeclared (first use this
   function)
dialogs.C:2337: error: `D_GIF_ERR_CLOSE_FAILED' undeclared (first use this
   function)
dialogs.C:2340: error: `D_GIF_ERR_NOT_READABLE' undeclared (first use this
   function)
dialogs.C:2343: error: `D_GIF_ERR_IMAGE_DEFECT' undeclared (first use this
   function)
dialogs.C:2346: error: `D_GIF_ERR_EOF_TOO_SOON' undeclared (first use this
   function)
dialogs.C: In function `bool make_gif(GtkWidget*, GdkImage*, char*)':
dialogs.C:2362: error: `GifFileType' undeclared (first use this function)
dialogs.C:2362: error: `giffile' undeclared (first use this function)
dialogs.C:2363: error: `ColorMapObject' undeclared (first use this function)
dialogs.C:2363: error: `gifColorMap' undeclared (first use this function)
dialogs.C:2364: error: `GifByteType' undeclared (first use this function)
dialogs.C:2364: error: `GlblGifBuffer' undeclared (first use this function)
dialogs.C:2364: error: `GlblGifBufferPtr' undeclared (first use this function)
dialogs.C:2369: error: parse error before `)' token
dialogs.C:2373: error: `MakeMapObject' undeclared (first use this function)
dialogs.C:2406: error: `EGifOpenFileName' undeclared (first use this function)
dialogs.C:2408: error: `GifLastError' undeclared (first use this function)
dialogs.C:2413: error: `EGifPutScreenDesc' undeclared (first use this function)
dialogs.C:2414: error: `GIF_ERROR' undeclared (first use this function)
dialogs.C:2417: error: `EGifCloseFile' undeclared (first use this function)
dialogs.C:2422: error: `GRAPHICS_EXT_FUNC_CODE' undeclared (first use this
   function)
dialogs.C:2422: error: `EGifPutExtension' undeclared (first use this function)
dialogs.C:2424: error: `EGifPutImageDesc' undeclared (first use this function)
dialogs.C:2462: error: `EGifPutLine' undeclared (first use this function)
make[2]: *** [dialogs.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gfontview-0.5.0-r6/work/gfontview-0.5.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gfontview-0.5.0-r6/work/gfontview-0.5.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: app-misc/gfontview-0.5.0-r6 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Ludovico Poggioli 2005-03-08 10:15:28 UTC
After updating media-libs/giflib to 4.1.3 from 4.1.0-r3 the package compile clean.