Bug 48923 - xfractint 20.2.05 (x86) and 20.3.00 (~x86) fail to emerge
|
Bug#:
48923
|
Product: Gentoo Linux
|
Version: 2004.0
|
Platform: x86
|
|
OS/Version: Linux
|
Status: CLOSED
|
Severity: major
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: spock@gentoo.org
|
Reported By: world.root@gmail.com
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: xfractint 20.2.05 (x86) and 20.3.00 (~x86) fail to emerge
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-04-25 03:01 0000
|
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
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
Same thing happens with xfractint 20.3.00 (in ~x86).
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 ...
Thanks Peter, you're right.
Do you know if this ebuild could automatically replace -funroll-all-loops with -funroll-loops (which solves the problem) ?
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.
This is fixed now in CVS. Thank you both for the quick fix :)
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.
No need to do so - it's already fixed in the CVS. Just wait for the changes to
propagate to the rsync mirrors :)
Everying is now fine, thank you ! :-)