app-text/gpdf-2.8.1-r1 fails to compile Reproducible: Always Steps to Reproduce: 1. emerge =gpdf-2.8.1-r1 2. 3. Actual Results: GPOutputDev.cc: In function `gint lookupGlyph(GnomeFont*, CharCode)': GPOutputDev.cc:734: error: invalid use of undefined type `struct _GnomeFont' /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-font.h:44: error: forward declaration of `struct _GnomeFont' GPOutputDev.cc:736: error: invalid use of undefined type `struct _GnomeFont' /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-font.h:44: error: forward declaration of `struct _GnomeFont' make[4]: *** [GPOutputDev.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/gpdf-2.8.1-r1/work/gpdf-2.8.1/xpdf' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gpdf-2.8.1-r1/work/gpdf-2.8.1/xpdf' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/gpdf-2.8.1-r1/work/gpdf-2.8.1/xpdf' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gpdf-2.8.1-r1/work/gpdf-2.8.1' make: *** [all] Error 2 Expected Results: success Gentoo Base System version 1.4.16 Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r14 x86_64) ================================================================= System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3400+ Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r2 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-pipe -O3 -march=k8" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /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="-pipe -O3 -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa berkdb bitmap-fonts cdr crypt dvd emul-linux-x86 encode esd f77 fam flac font-server fortran gif gpm gtk gtk2 imlib ipv6 java jp2 jpeg lzw lzw-tiff mozilla mp3 multilib ncurses network nls oggvorbis opengl oss pam perl png python readline samba speex spell sqlite ssl tcpd theora tiff truetype truetype-fonts type1-fonts usb userlocales xml xml2 xmms xpm xrandr xv zlib"
It appears to be missing a dependancy that xpdf uses. I emerged xpdf and then gpdf with no errors.
gpdf doesn't depend on xpdf, it includes the source. Please try gpdf-2.8.2, and see if you can reproduce the problem.
With some unmasking gpdf-2.8.2 works fine. Thanks.