First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 48923
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: Michal Januszewski <spock@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Joël <world.root@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 48923 depends on: Show dependency tree
Bug 48923 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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

------- Comment #1 From Joël 2004-04-25 03:01:57 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ël

------- Comment #2 From Joël 2004-04-25 03:07:13 0000 -------
Same thing happens with xfractint 20.3.00 (in ~x86).

------- Comment #3 From Peter Jensen 2004-04-25 04:08:32 0000 -------
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 From Joël 2004-04-25 04:30:22 0000 -------
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 From Peter Jensen 2004-04-25 04:45:39 0000 -------
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 From Michal Januszewski 2004-04-25 08:37:26 0000 -------
This is fixed now in CVS. Thank you both for the quick fix :)

------- Comment #7 From Peter Jensen 2004-04-25 10:45:06 0000 -------
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 From Michal Januszewski 2004-04-25 22:55:59 0000 -------
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 From Joël 2004-04-26 01:06:10 0000 -------
Everying is now fine, thank you !  :-)

First Last Prev Next    No search results available      Search page      Enter new bug