latex2rtff-1.9.15-r2 fails to compile Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge -pv latex2rtf 3. emerge latex2rtf Actual Results: [01:53 AM root(distfiles)]# emerge -v latex2rtf Calculating dependencies ...done! >>> emerge (1 of 1) dev-tex/latex2rtf-1.9.15-r2 to / >>> md5 files ;-) ChangeLog >>> md5 files ;-) metadata.xml >>> md5 files ;-) latex2rtf-1.9.15-r1.ebuild >>> md5 files ;-) latex2rtf-1.9.15-r2.ebuild >>> md5 files ;-) files/digest-latex2rtf-1.9.15-r1 >>> md5 files ;-) files/digest-latex2rtf-1.9.15-r2 >>> md5 files ;-) files/latex2rtf-1.9.15-direntry.patch >>> md5 files ;-) files/latex2rtf-1.9.15-definitions.c.diff >>> md5 files ;-) files/latex2rtf-Makefile-gentoo.diff >>> md5 src_uri ;-) latex2rtf-1.9.15.tar.gz >>> Unpacking source... >>> Unpacking latex2rtf-1.9.15.tar.gz to /var/tmp/portage/latex2rtf-1.9.15-r2/work * Applying latex2rtf-1.9.15-definitions.c.diff ... [ ok ] * Applying latex2rtf-Makefile-gentoo.diff ... [ ok ] * Applying latex2rtf-1.9.15-direntry.patch ... [ ok ]>>> Source unpacked. perl -pi.bak -e '$date=scalar localtime; s/\(.*/($date)";/' version.h gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o l2r_fonts.o l2r_fonts.c rm version.h.bak gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o direct.o direct.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o encode.o encode.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o commands.o commands.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o stack.o stack.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o funct1.o funct1.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o tables.o tables.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o chars.o chars.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o ignore.o ignore.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -DCFGDIR=\"/usr/share/latex2rtf/\" -c cfg.c -o cfg.o gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -DCFGDIR=\"/usr/share/latex2rtf/\" -c main.c -o main.o gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o util.o util.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o parser.o parser.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o lengths.o lengths.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o counters.o counters.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o preamble.o preamble.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o letterformat.o letterformat.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o equation.o equation.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o convert.o convert.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o xref.o xref.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o definitions.o definitions.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o graphics.o graphics.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o mygetopt.o mygetopt.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o style.o style.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char l2r_fonts.o direct.o encode.o commands.o stack.o funct1.o tables.o chars.o ignore.o cfg.o main.o util.o parser.o lengths.o counters.o preamble.o letterformat.o equation.o convert.o xref.o definitions.o graphics.o mygetopt.o style.o -o latex2rtf >>> Test phase [not enabled]: dev-tex/latex2rtf-1.9.15-r2 >>> Install latex2rtf-1.9.15-r2 into /var/tmp/portage/latex2rtf-1.9.15-r2/image/ category dev-tex Makefile:107: *** Recursive variable `CC' references itself (eventually). Stop. !!! ERROR: dev-tex/latex2rtf-1.9.15-r2 failed. !!! Function src_install, Line 33, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. [01:54 AM root(distfiles)]# mkconf [01:57 AM root(distfiles)]# emerge -v latex2rtf Calculating dependencies ...done! >>> emerge (1 of 1) dev-tex/latex2rtf-1.9.15-r2 to / >>> md5 files ;-) ChangeLog >>> md5 files ;-) metadata.xml >>> md5 files ;-) latex2rtf-1.9.15-r1.ebuild >>> md5 files ;-) latex2rtf-1.9.15-r2.ebuild >>> md5 files ;-) files/digest-latex2rtf-1.9.15-r1 >>> md5 files ;-) files/digest-latex2rtf-1.9.15-r2 >>> md5 files ;-) files/latex2rtf-1.9.15-direntry.patch >>> md5 files ;-) files/latex2rtf-1.9.15-definitions.c.diff >>> md5 files ;-) files/latex2rtf-Makefile-gentoo.diff >>> md5 src_uri ;-) latex2rtf-1.9.15.tar.gz >>> Unpacking source... >>> Unpacking latex2rtf-1.9.15.tar.gz to /var/tmp/portage/latex2rtf-1.9.15-r2/work * Applying latex2rtf-1.9.15-definitions.c.diff ... [ ok ] * Applying latex2rtf-Makefile-gentoo.diff ... [ ok ] * Applying latex2rtf-1.9.15-direntry.patch ... [ ok ]>>> Source unpacked. perl -pi.bak -e '$date=scalar localtime; s/\(.*/($date)";/' version.h gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o l2r_fonts.o l2r_fonts.c rm version.h.bak gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o direct.o direct.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o encode.o encode.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o commands.o commands.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o stack.o stack.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o funct1.o funct1.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o tables.o tables.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o chars.o chars.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o ignore.o ignore.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -DCFGDIR=\"/usr/share/latex2rtf/\" -c cfg.c -o cfg.o gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -DCFGDIR=\"/usr/share/latex2rtf/\" -c main.c -o main.o gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o util.o util.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o parser.o parser.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o lengths.o lengths.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o counters.o counters.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o preamble.o preamble.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o letterformat.o letterformat.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o equation.o equation.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o convert.o convert.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o xref.o xref.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o definitions.o definitions.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o graphics.o graphics.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o mygetopt.o mygetopt.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char -c -o style.o style.c gcc -w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic -DUNIX -g -Wall -fsigned-char l2r_fonts.o direct.o encode.o commands.o stack.o funct1.o tables.o chars.o ignore.o cfg.o main.o util.o parser.o lengths.o counters.o preamble.o letterformat.o equation.o convert.o xref.o definitions.o graphics.o mygetopt.o style.o -o latex2rtf >>> Test phase [none]: dev-tex/latex2rtf-1.9.15-r2 >>> Install latex2rtf-1.9.15-r2 into /var/tmp/portage/latex2rtf-1.9.15-r2/image/ category dev-tex Makefile:107: *** Recursive variable `CC' references itself (eventually). Stop. !!! ERROR: dev-tex/latex2rtf-1.9.15-r2 failed. !!! Function src_install, Line 33, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Expect the package to compile cleanly and successfully [02:01 AM root(distfiles)]# emerge info Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041021-r0, 2.6.9-nitro2 i686) ================================================================= System uname: 2.6.9-nitro2 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.4 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-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic" CHOST="i686-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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-w -pipe -fomit-frame-pointer -march=athlon -ffast-math -ftracer -mpreferred-stack-boundary=2 -Os -s -fPIC -fpic" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache digest distlocks fixpackages maketest sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo"MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/local/overlays/bmg-gnome-current.alternative" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X alsa avi bindist cdr cjk crypt cups curl dvd encode esd f77 faad flac foomaticdb gif gnome gnutls gstreamer gtk2 gtkhtml hal howl imlib ithreads jpeg libg++ libwww mad makecheck mikmod mmx mmx2 mng mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib pic png ppds quicktime readline real samba sdl slang speex spell ssl svg svga tcpd tetex theora threads tiff truetype unicode usb userlocales x86 xine xml2 xv zlib"
Thanks for the bug report. It should be fixed in CVS. Please test.
Works for me...