Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48923 - xfractint 20.2.05 (x86) and 20.3.00 (~x86) fail to emerge
Summary: xfractint 20.2.05 (x86) and 20.3.00 (~x86) fail to emerge
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-25 03:01 UTC by Joël
Modified: 2004-04-26 01:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joël 2004-04-25 03:01:57 UTC
Hi,
When I try to emerge xfractint-20.2.05 I get the following result:

==============================
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-misc/xfractint-20.2.05 to /
>>> md5 src_uri xfract20.2.05.tar.gz
>>> Unpacking source...
>>> Unpacking xfract20.2.05.tar.gz to /var/tmp/portage/xfractint-20.2.05/work
 * Applying xfractint-20.02p05.patch...
                       [ ok ]
>>> 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=\".
\" -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

>>> 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
Comment 1 Joël 2004-04-25 03:01:57 UTC
Hi,
When I try to emerge xfractint-20.2.05 I get the following result:

==============================
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-misc/xfractint-20.2.05 to /
>>> md5 src_uri xfract20.2.05.tar.gz
>>> Unpacking source...
>>> Unpacking xfract20.2.05.tar.gz to /var/tmp/portage/xfractint-20.2.05/work
 * Applying xfractint-20.02p05.patch...
                       [ ok ]
>>> 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=\".
\" -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

>>> 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
Comment 2 Joël 2004-04-25 03:07:13 UTC
Same thing happens with xfractint 20.3.00 (in ~x86).
Comment 3 Peter Jensen 2004-04-25 04:08:32 UTC
A bit of experimenting shows that the "-funroll-all-loops" 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 ...
Comment 4 Joël 2004-04-25 04:30:22 UTC
Thanks Peter, you're right.

Do you know if this ebuild could automatically replace -funroll-all-loops with -funroll-loops (which solves the problem) ?
Comment 5 Peter Jensen 2004-04-25 04:45:39 UTC
Why, yes.  Just add "flag-o-matic" to the "inherit" 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.
Comment 6 Michal Januszewski (RETIRED) gentoo-dev 2004-04-25 08:37:26 UTC
This is fixed now in CVS. Thank you both for the quick fix :)
Comment 7 Peter Jensen 2004-04-25 10:45:06 UTC
I want to reopen this bug, since the fix didn't work.  Examine this code from the 20.2.05 ebuild:

src_compile() {
        cd ${S}
        cp Makefile Makefile.orig
        sed -e "s:CFLAGS = :CFLAGS = $CFLAGS :" Makefile.orig >Makefile

        replace-flags "-funroll-all-loops" "-funroll-loops"
        MAKEOPTS='-j1' emake
}

Now wouldn'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 'sed' will do the trick.

As I don'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.
Comment 8 Michal Januszewski (RETIRED) gentoo-dev 2004-04-25 22:55:59 UTC
No need to do so - it's already fixed in the CVS. Just wait for the changes to propagate to the rsync mirrors :)
Comment 9 Joël 2004-04-26 01:06:10 UTC
Everying is now fine, thank you !  :-)