<?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>48923</bug_id>
          
          <creation_ts>2004-04-25 03:01 0000</creation_ts>
          <short_desc>xfractint 20.2.05 (x86) and 20.3.00 (~x86) fail to emerge</short_desc>
          <delta_ts>2004-04-26 01:06:10 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>2004.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>world.root@gmail.com</reporter>
          <assigned_to>spock@gentoo.org</assigned_to>
          <cc>gentoo-bugs@pekaje.homeip.net</cc>

      

      
          <long_desc isprivate="0">
            <who>world.root@gmail.com</who>
            <bug_when>2004-04-25 03:01:57 0000</bug_when>
            <thetext>Hi,
When I try to emerge xfractint-20.2.05 I get the following result:

==============================
Calculating dependencies ...done!
&gt;&gt;&gt; emerge (1 of 1) x11-misc/xfractint-20.2.05 to /
&gt;&gt;&gt; md5 src_uri xfract20.2.05.tar.gz
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking xfract20.2.05.tar.gz to /var/tmp/portage/xfractint-20.2.05/work
 * Applying xfractint-20.02p05.patch...
                       [ ok ]
&gt;&gt;&gt; Source unpacked.
gcc -pipe -O3 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse,387 -maccumulate-outgoing-args -mno-align-stringops -fomit-frame-pointer -ffast-math -funroll-all-loops -fsch
ed-spec-load -fprefetch-loop-arrays -ftracer -fmove-all-movables --param max-gcse-passes=4 -I. -DXFRACT -DNOBSTRING   -g -DBIG_ANSI_C -DLINUX -Os -fno-builtin   -c -o hc.o
 hc.c
cc1: warning: -fprefetch-loop-arrays is not supported with -Os
gcc -pipe -O3 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse,387 -maccumulate-outgoing-args -mno-align-stringops -fomit-frame-pointer -ffast-math -funroll-all-loops -fsch
ed-spec-load -fprefetch-loop-arrays -ftracer -fmove-all-movables --param max-gcse-passes=4 -I. -DXFRACT -DNOBSTRING   -g -DBIG_ANSI_C -DLINUX -Os -fno-builtin -DSRCDIR=\&quot;.
\&quot; -c unix.c
cc1: warning: -fprefetch-loop-arrays is not supported with -Os
gcc -o hc -pipe -O3 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse,387 -maccumulate-outgoing-args -mno-align-stringops -fomit-frame-pointer -ffast-math -funroll-all-loops
 -fsched-spec-load -fprefetch-loop-arrays -ftracer -fmove-all-movables --param max-gcse-passes=4 -I. -DXFRACT -DNOBSTRING   -g -DBIG_ANSI_C -DLINUX -Os -fno-builtin hc.o u
nix.o
./hc /c
HC - FRACTINT Help Compiler.

Compiling: help.src
   Error help.src 45: Unexpected end of DocContent entry.
   Error help.src 46: Unexpected end of DocContent entry.
   Error help.src 47: Unexpected end of DocContent entry.
   Error help.src 48: Unexpected end of DocContent entry.
   Error help.src 49: Unexpected end of DocContent entry.
   Error help.src 50: Unexpected end of DocContent entry.
   Error help.src 51: Unexpected end of DocContent entry.
   Error help.src 52: Unexpected end of DocContent entry.
   Error help.src 53: Unexpected end of DocContent entry.
   Error help.src 54: Unexpected end of DocContent entry.
   Error help.src 55: Unexpected end of DocContent entry.
   Error help.src 56: Unexpected end of DocContent entry.
   Error help.src 57: Unexpected end of DocContent entry.
   Error help.src 58: Unexpected end of DocContent entry.
   Error help.src 59: Unexpected end of DocContent entry.
   Error help.src 60: Unexpected end of DocContent entry.
   Error help.src 61: Unexpected end of DocContent entry.
   Error help.src 62: Unexpected end of DocContent entry.
   Error help.src 65: Unexpected end of DocContent entry.
   Error help.src 66: Unexpected end of DocContent entry.
   Error help.src 67: Unexpected end of DocContent entry.
   Error help.src 68: Unexpected end of DocContent entry.
   Error help.src 69: Unexpected end of DocContent entry.
   Error help.src 70: Unexpected end of DocContent entry.
   Error help.src 71: Unexpected end of DocContent entry.
   Fatal help.src 71: Too many errors!

Compiler Status:
      25 Errors
       0 Warnings
make: *** [fractint.hlp] Error 26

&gt;&gt;&gt; Install xfractint-20.2.05 into /var/tmp/portage/xfractint-20.2.05/image/ category x11-misc
./hc /c
HC - FRACTINT Help Compiler.

Compiling: help.src
   Error help.src 45: Unexpected end of DocContent entry.
   Error help.src 46: Unexpected end of DocContent entry.
   Error help.src 47: Unexpected end of DocContent entry.
   Error help.src 48: Unexpected end of DocContent entry.
   Error help.src 49: Unexpected end of DocContent entry.
   Error help.src 50: Unexpected end of DocContent entry.
   Error help.src 51: Unexpected end of DocContent entry.
   Error help.src 52: Unexpected end of DocContent entry.
   Error help.src 53: Unexpected end of DocContent entry.
   Error help.src 54: Unexpected end of DocContent entry.
   Error help.src 55: Unexpected end of DocContent entry.
   Error help.src 56: Unexpected end of DocContent entry.
   Error help.src 57: Unexpected end of DocContent entry.
   Error help.src 58: Unexpected end of DocContent entry.
   Error help.src 59: Unexpected end of DocContent entry.
   Error help.src 60: Unexpected end of DocContent entry.
   Error help.src 61: Unexpected end of DocContent entry.
   Error help.src 62: Unexpected end of DocContent entry.
   Error help.src 65: Unexpected end of DocContent entry.
   Error help.src 66: Unexpected end of DocContent entry.
   Error help.src 67: Unexpected end of DocContent entry.
   Error help.src 68: Unexpected end of DocContent entry.
   Error help.src 69: Unexpected end of DocContent entry.
   Error help.src 70: Unexpected end of DocContent entry.
   Error help.src 71: Unexpected end of DocContent entry.
   Fatal help.src 71: Too many errors!

Compiler Status:
      25 Errors
       0 Warnings
make: *** [fractint.hlp] Error 26

!!! ERROR: x11-misc/xfractint-20.2.05 failed.
!!! Function src_install, Line 47, Exitcode 2
!!! (no error message)
====================================

Does someone know how to solve this?

Thanks, Jo</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>world.root@gmail.com</who>
            <bug_when>2004-04-25 03:01:57 0000</bug_when>
            <thetext>Hi,
When I try to emerge xfractint-20.2.05 I get the following result:

==============================
Calculating dependencies ...done!
&gt;&gt;&gt; emerge (1 of 1) x11-misc/xfractint-20.2.05 to /
&gt;&gt;&gt; md5 src_uri xfract20.2.05.tar.gz
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking xfract20.2.05.tar.gz to /var/tmp/portage/xfractint-20.2.05/work
 * Applying xfractint-20.02p05.patch...
                       [ ok ]
&gt;&gt;&gt; Source unpacked.
gcc -pipe -O3 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse,387 -maccumulate-outgoing-args -mno-align-stringops -fomit-frame-pointer -ffast-math -funroll-all-loops -fsch
ed-spec-load -fprefetch-loop-arrays -ftracer -fmove-all-movables --param max-gcse-passes=4 -I. -DXFRACT -DNOBSTRING   -g -DBIG_ANSI_C -DLINUX -Os -fno-builtin   -c -o hc.o
 hc.c
cc1: warning: -fprefetch-loop-arrays is not supported with -Os
gcc -pipe -O3 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse,387 -maccumulate-outgoing-args -mno-align-stringops -fomit-frame-pointer -ffast-math -funroll-all-loops -fsch
ed-spec-load -fprefetch-loop-arrays -ftracer -fmove-all-movables --param max-gcse-passes=4 -I. -DXFRACT -DNOBSTRING   -g -DBIG_ANSI_C -DLINUX -Os -fno-builtin -DSRCDIR=\&quot;.
\&quot; -c unix.c
cc1: warning: -fprefetch-loop-arrays is not supported with -Os
gcc -o hc -pipe -O3 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse,387 -maccumulate-outgoing-args -mno-align-stringops -fomit-frame-pointer -ffast-math -funroll-all-loops
 -fsched-spec-load -fprefetch-loop-arrays -ftracer -fmove-all-movables --param max-gcse-passes=4 -I. -DXFRACT -DNOBSTRING   -g -DBIG_ANSI_C -DLINUX -Os -fno-builtin hc.o u
nix.o
./hc /c
HC - FRACTINT Help Compiler.

Compiling: help.src
   Error help.src 45: Unexpected end of DocContent entry.
   Error help.src 46: Unexpected end of DocContent entry.
   Error help.src 47: Unexpected end of DocContent entry.
   Error help.src 48: Unexpected end of DocContent entry.
   Error help.src 49: Unexpected end of DocContent entry.
   Error help.src 50: Unexpected end of DocContent entry.
   Error help.src 51: Unexpected end of DocContent entry.
   Error help.src 52: Unexpected end of DocContent entry.
   Error help.src 53: Unexpected end of DocContent entry.
   Error help.src 54: Unexpected end of DocContent entry.
   Error help.src 55: Unexpected end of DocContent entry.
   Error help.src 56: Unexpected end of DocContent entry.
   Error help.src 57: Unexpected end of DocContent entry.
   Error help.src 58: Unexpected end of DocContent entry.
   Error help.src 59: Unexpected end of DocContent entry.
   Error help.src 60: Unexpected end of DocContent entry.
   Error help.src 61: Unexpected end of DocContent entry.
   Error help.src 62: Unexpected end of DocContent entry.
   Error help.src 65: Unexpected end of DocContent entry.
   Error help.src 66: Unexpected end of DocContent entry.
   Error help.src 67: Unexpected end of DocContent entry.
   Error help.src 68: Unexpected end of DocContent entry.
   Error help.src 69: Unexpected end of DocContent entry.
   Error help.src 70: Unexpected end of DocContent entry.
   Error help.src 71: Unexpected end of DocContent entry.
   Fatal help.src 71: Too many errors!

Compiler Status:
      25 Errors
       0 Warnings
make: *** [fractint.hlp] Error 26

&gt;&gt;&gt; Install xfractint-20.2.05 into /var/tmp/portage/xfractint-20.2.05/image/ category x11-misc
./hc /c
HC - FRACTINT Help Compiler.

Compiling: help.src
   Error help.src 45: Unexpected end of DocContent entry.
   Error help.src 46: Unexpected end of DocContent entry.
   Error help.src 47: Unexpected end of DocContent entry.
   Error help.src 48: Unexpected end of DocContent entry.
   Error help.src 49: Unexpected end of DocContent entry.
   Error help.src 50: Unexpected end of DocContent entry.
   Error help.src 51: Unexpected end of DocContent entry.
   Error help.src 52: Unexpected end of DocContent entry.
   Error help.src 53: Unexpected end of DocContent entry.
   Error help.src 54: Unexpected end of DocContent entry.
   Error help.src 55: Unexpected end of DocContent entry.
   Error help.src 56: Unexpected end of DocContent entry.
   Error help.src 57: Unexpected end of DocContent entry.
   Error help.src 58: Unexpected end of DocContent entry.
   Error help.src 59: Unexpected end of DocContent entry.
   Error help.src 60: Unexpected end of DocContent entry.
   Error help.src 61: Unexpected end of DocContent entry.
   Error help.src 62: Unexpected end of DocContent entry.
   Error help.src 65: Unexpected end of DocContent entry.
   Error help.src 66: Unexpected end of DocContent entry.
   Error help.src 67: Unexpected end of DocContent entry.
   Error help.src 68: Unexpected end of DocContent entry.
   Error help.src 69: Unexpected end of DocContent entry.
   Error help.src 70: Unexpected end of DocContent entry.
   Error help.src 71: Unexpected end of DocContent entry.
   Fatal help.src 71: Too many errors!

Compiler Status:
      25 Errors
       0 Warnings
make: *** [fractint.hlp] Error 26

!!! ERROR: x11-misc/xfractint-20.2.05 failed.
!!! Function src_install, Line 47, Exitcode 2
!!! (no error message)
====================================

Does someone know how to solve this?

Thanks, Joël</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>world.root@gmail.com</who>
            <bug_when>2004-04-25 03:07:13 0000</bug_when>
            <thetext>Same thing happens with xfractint 20.3.00 (in ~x86).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo-bugs@pekaje.homeip.net</who>
            <bug_when>2004-04-25 04:08:32 0000</bug_when>
            <thetext>A bit of experimenting shows that the &quot;-funroll-all-loops&quot; flag is responsible for the error.
Just filter it out in the ebuild and all will be well.
At least to the best of my knowledge ...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>world.root@gmail.com</who>
            <bug_when>2004-04-25 04:30:22 0000</bug_when>
            <thetext>Thanks Peter, you&apos;re right.

Do you know if this ebuild could automatically replace -funroll-all-loops with -funroll-loops (which solves the problem) ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo-bugs@pekaje.homeip.net</who>
            <bug_when>2004-04-25 04:45:39 0000</bug_when>
            <thetext>Why, yes.  Just add &quot;flag-o-matic&quot; to the &quot;inherit&quot; line, and follow that line with this line:

replace-flags -funroll-all-loops -funroll-loops

flag-o-matic is quite a nice set of tools :-)

Now we just wait for someone to push the new ebuild to the rsync servers.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spock@gentoo.org</who>
            <bug_when>2004-04-25 08:37:26 0000</bug_when>
            <thetext>This is fixed now in CVS. Thank you both for the quick fix :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo-bugs@pekaje.homeip.net</who>
            <bug_when>2004-04-25 10:45:06 0000</bug_when>
            <thetext>I want to reopen this bug, since the fix didn&apos;t work.  Examine this code from the 20.2.05 ebuild:

src_compile() {
        cd ${S}
        cp Makefile Makefile.orig
        sed -e &quot;s:CFLAGS = :CFLAGS = $CFLAGS :&quot; Makefile.orig &gt;Makefile

        replace-flags &quot;-funroll-all-loops&quot; &quot;-funroll-loops&quot;
        MAKEOPTS=&apos;-j1&apos; emake
}

Now wouldn&apos;t it be more effective if the CFLAGS were changed *before* they were written back to the Makefile? :-)

Just moving the replace-flags line up before the &apos;sed&apos; will do the trick.

As I don&apos;t have the power to reopen the bug, hopefully the original reporter will do so.  Otherwise I will open a new bug report within a day or so.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spock@gentoo.org</who>
            <bug_when>2004-04-25 22:55:59 0000</bug_when>
            <thetext>No need to do so - it&apos;s already fixed in the CVS. Just wait for the changes to propagate to the rsync mirrors :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>world.root@gmail.com</who>
            <bug_when>2004-04-26 01:06:10 0000</bug_when>
            <thetext>Everying is now fine, thank you !  :-)</thetext>
          </long_desc>
      
    </bug>

</bugzilla>