For some unkown reason, lgrind cannot find the lgrindef file. Everything seems to be fine on the build. Looking throught lgrind source code, I find there's a LGRINDEF env var, that's undocumented. When I do: export LGRINDEF=/usr/share/texmf/tex/latex/lgrind/lgrindef then everything works, otherwise, lgrind reports it can't find the lgrindef file. Perhaps this has something to do with the Makefiles (since the #define LGRINDEF is defined there). Couldn't find anything unusual on Makefiles or on the ebuild. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22) ================================================================= System uname: 2.4.22 i686 AMD Athlon(TM) XP 2400+ Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -funroll-loops" 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/ share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ / var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo ftp:/ /ftp.gtlib.cc.gatech.edu/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa apm avi berkdb bonobo cdr crypt cups dga doc dvd encode esd fbcon foomaticdb gdbm ggi gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang sp ell sse ssl svg svga tcltk tcpd tetex tiff truetype x86 xinerama xml xml2 xmms xv zlib"
Sorry for the delay and thank you for reporting the bug and suggesting a solution to it. Fixed in CVS now.