<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>70010</bug_id>
          
          <creation_ts>2004-11-03 23:02 0000</creation_ts>
          <short_desc>latex2rtf-1.9.15-r2 fails to compile</short_desc>
          <delta_ts>2005-05-15 08:02:39 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>TEST-REQUEST</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mystilleef@gmail.com</reporter>
          <assigned_to>text-markup@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>mystilleef@gmail.com</who>
            <bug_when>2004-11-03 23:02:13 0000</bug_when>
            <thetext>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!
&gt;&gt;&gt; emerge (1 of 1) dev-tex/latex2rtf-1.9.15-r2 to /
&gt;&gt;&gt; md5 files   ;-) ChangeLog
&gt;&gt;&gt; md5 files   ;-) metadata.xml
&gt;&gt;&gt; md5 files   ;-) latex2rtf-1.9.15-r1.ebuild
&gt;&gt;&gt; md5 files   ;-) latex2rtf-1.9.15-r2.ebuild
&gt;&gt;&gt; md5 files   ;-) files/digest-latex2rtf-1.9.15-r1
&gt;&gt;&gt; md5 files   ;-) files/digest-latex2rtf-1.9.15-r2
&gt;&gt;&gt; md5 files   ;-) files/latex2rtf-1.9.15-direntry.patch
&gt;&gt;&gt; md5 files   ;-) files/latex2rtf-1.9.15-definitions.c.diff
&gt;&gt;&gt; md5 files   ;-) files/latex2rtf-Makefile-gentoo.diff
&gt;&gt;&gt; md5 src_uri ;-) latex2rtf-1.9.15.tar.gz
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; 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 ]&gt;&gt;&gt; Source unpacked.
perl -pi.bak -e &apos;$date=scalar localtime; s/\(.*/($date)&quot;;/&apos; 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=\&quot;/usr/share/latex2rtf/\&quot; -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=\&quot;/usr/share/latex2rtf/\&quot; -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
&gt;&gt;&gt; Test phase [not enabled]: dev-tex/latex2rtf-1.9.15-r2

&gt;&gt;&gt; Install latex2rtf-1.9.15-r2 into /var/tmp/portage/latex2rtf-1.9.15-r2/image/
category dev-tex
Makefile:107: *** Recursive variable `CC&apos; 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!
&gt;&gt;&gt; emerge (1 of 1) dev-tex/latex2rtf-1.9.15-r2 to /
&gt;&gt;&gt; md5 files   ;-) ChangeLog
&gt;&gt;&gt; md5 files   ;-) metadata.xml
&gt;&gt;&gt; md5 files   ;-) latex2rtf-1.9.15-r1.ebuild
&gt;&gt;&gt; md5 files   ;-) latex2rtf-1.9.15-r2.ebuild
&gt;&gt;&gt; md5 files   ;-) files/digest-latex2rtf-1.9.15-r1
&gt;&gt;&gt; md5 files   ;-) files/digest-latex2rtf-1.9.15-r2
&gt;&gt;&gt; md5 files   ;-) files/latex2rtf-1.9.15-direntry.patch
&gt;&gt;&gt; md5 files   ;-) files/latex2rtf-1.9.15-definitions.c.diff
&gt;&gt;&gt; md5 files   ;-) files/latex2rtf-Makefile-gentoo.diff
&gt;&gt;&gt; md5 src_uri ;-) latex2rtf-1.9.15.tar.gz
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; 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 ]&gt;&gt;&gt; Source unpacked.
perl -pi.bak -e &apos;$date=scalar localtime; s/\(.*/($date)&quot;;/&apos; 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=\&quot;/usr/share/latex2rtf/\&quot; -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=\&quot;/usr/share/latex2rtf/\&quot; -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
&gt;&gt;&gt; Test phase [none]: dev-tex/latex2rtf-1.9.15-r2

&gt;&gt;&gt; Install latex2rtf-1.9.15-r2 into /var/tmp/portage/latex2rtf-1.9.15-r2/image/
category dev-tex
Makefile:107: *** Recursive variable `CC&apos; 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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-w -pipe -fomit-frame-pointer -march=athlon -ffast-math         -ftracer
-mpreferred-stack-boundary=2 -Os -s -fPIC -fpic&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-w -pipe -fomit-frame-pointer -march=athlon -ffast-math       -ftracer
-mpreferred-stack-boundary=2 -Os -s -fPIC -fpic&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache digest distlocks fixpackages maketest sandbox
sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo
http://open-systems.ufl.edu/mirrors/gentoo&quot;MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage /usr/local/bmg-main
/usr/local/overlays/bmg-gnome-current.alternative&quot;
SYNC=&quot;rsync://rsync.namerica.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-11-06 00:11:39 0000</bug_when>
            <thetext>Thanks for the bug report. It should be fixed in CVS. Please test.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bart.braem@gmail.com</who>
            <bug_when>2005-05-15 08:02:39 0000</bug_when>
            <thetext>Works for me...</thetext>
          </long_desc>
      
    </bug>

</bugzilla>