Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22115 - emerge fails when emerging media-gfx/gimp-1.2.4 on ~x86
Summary: emerge fails when emerging media-gfx/gimp-1.2.4 on ~x86
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 41656 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-02 14:03 UTC by Bjarke Freund-Hansen
Modified: 2011-10-30 22:18 UTC (History)
2 users (show)

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


Attachments
Complete output of emerge gimp (bug,257.10 KB, text/plain)
2003-06-02 14:12 UTC, Bjarke Freund-Hansen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bjarke Freund-Hansen 2003-06-02 14:03:14 UTC
I'm currently running gimp-1.2.3-r3, I decided to upgrade from x86 to ~x86, but
when it was gimp's turn to upgrade from 1.2.3-r3 to 1.2.4 it failed. I tried 4
or 5 times, but it still fails with the same problem.

Here's a snip of (what I think is) the importent output, I'll attatch the
complete output:

# emerge gimp
>>> Unpacking source...
>>> Unpacking gimp-1.2.4.tar.bz2 to /var/tmp/portage/gimp-1.2.4/work
>>> Source unpacked.
aalib
gnome
perl
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.

<snip: configure and a few hundred lines of fine compiling>

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../..                             -I../../
intl                    -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/li
b/glib/include -I/usr/X11R6/include                             -I/usr/include -
DDEFAULTPATH=\""~/.gimp-1.2/gimpressionist:/usr/share/gimp/1.2/gimpressionist"\"
         -DLOCALEDIR=\""/usr/share/locale"\" -DGTK_DISABLE_COMPAT_H  -march=k6-2
 -O3 -pipe -Wall -c preview.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../..                             -I../../
intl                    -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/li
b/glib/include -I/usr/X11R6/include                             -I/usr/include -
DDEFAULTPATH=\""~/.gimp-1.2/gimpressionist:/usr/share/gimp/1.2/gimpressionist"\"
         -DLOCALEDIR=\""/usr/share/locale"\" -DGTK_DISABLE_COMPAT_H  -march=k6-2
 -O3 -pipe -Wall -c repaint.c
{standard input}: Assembler messages:
{standard input}:2081: Error: value of ffffffffffffff7e too large for field of 1
 bytes at 00000000000018a6
make[4]: *** [repaint.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/gimp-1.2.4/work/gimp-1.2.4/plug-ins
/gimpressionist'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gimp-1.2.4/work/gimp-1.2.4/plug-ins
/gimpressionist'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-1.2.4/work/gimp-1.2.4/plug-ins
'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-1.2.4/work/gimp-1.2.4'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-gfx/gimp-1.2.4 failed.
!!! Function src_compile, Line 74, Exitcode 2
!!! (no error message)

Calculating dependencies  ...done!
>>> emerge (1 of 1) media-gfx/gimp-1.2.4 to /
>>> md5 src_uri ;-) gimp-1.2.4.tar.bz2

# emerge info
Portage 2.0.48 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-openmosix-r4 i586 AMD-K6(tm) 3D processor
GENTOO_MIRRORS="http://gentoo.linux.no http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg
ncurses nls pdflib png spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb
slang readline arts aalib bonobo svga tcltk java guile X sdl gpm tcpd pam libwww
ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl mozilla cdr 3dfx
evo gtk2 ipv6 samba tiff usb -quicktime"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=k6-2 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=k6-2 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j4"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

This is my 3'rd bug report, so tell me if I should do anything diffrent in my
future bugreports.
Comment 1 Bjarke Freund-Hansen 2003-06-02 14:12:15 UTC
Created attachment 12698 [details]
Complete output of emerge gimp
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-06-02 14:14:00 UTC
seems that k6* is broken
flag-o-magic has to be included with

inherit flag-o-matic

replace-flags k6-3 i586
replace-flags k6-2 i586
replace-flags k6 i586

reporter: can you confirm that i586 is working ?
Comment 3 Menno Schaap 2003-06-02 14:15:26 UTC
I can confirm this, I get the same error. I have a k6-2 (550) as well. I also tried basic cflags and cxxflags (-march=i586 -O2 -pipe), however the result is the same.

Of course I can give you more info if needed.
Menno
Comment 4 Menno Schaap 2003-06-02 14:44:00 UTC
Sorry for the confusion:
I wanted to confirm to Bjarke Freund, not to Martin. However, it answers his question as well (not with confirm but with "negative"). I posted at the same moment as Martin.

Menno
Comment 5 Bjarke Freund-Hansen 2003-06-02 15:32:13 UTC
confirmed, that is, to Martin. ;)

I emerged with:
CFLAGS="-march=i586 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=i586 -O3 -pipe -fomit-frame-pointer"

And everything works fine. Thanks.
Comment 6 foser (RETIRED) gentoo-dev 2003-06-02 15:52:10 UTC
hmm and if you compile with arch k6-* set and without -fomit-frame-pointer ?

It uses strip-flags and that should've been filter-flags , i think strip-flags always filtered -fomit-frame-pointer but doesn't anymore . Please test and report back.
Comment 7 Bjarke Freund-Hansen 2003-06-02 17:14:20 UTC
If you look at my attachment you'll see that it did infact strip -fomit-frame-pointer and compiles only with: -march=k6-2 -O3 -pipe

So it seems that "-march=i586 -O3 -pipe" works, but not "-march=k6-2 -O3 -pipe".

I could try with k6 instead of k6-2 to see if it makes a diffrence?
Comment 8 foser (RETIRED) gentoo-dev 2003-06-02 17:25:35 UTC
hmm you are correct.. still i remember seeing this before and no using k6 won't make a difference.
Comment 9 foser (RETIRED) gentoo-dev 2003-06-02 18:21:30 UTC
relevant bug #15559

it's maybe also in combination with the gcc that's used.
Comment 10 foser (RETIRED) gentoo-dev 2003-06-07 12:21:26 UTC
ok to be on the safe side i've added a replace flags for k6* to i586 . Please test the current 1.2.4 ebuild so we can be sure it works right.
Comment 11 foser (RETIRED) gentoo-dev 2003-06-16 11:11:55 UTC
i just assume everyone nods yes.
Comment 12 Bjarke Freund-Hansen 2003-06-16 13:11:38 UTC
yes, nodding. I had some harddisk problems, so I haven't been able to emerge until now.
Comment 13 foser (RETIRED) gentoo-dev 2004-04-03 03:13:21 UTC
*** Bug 41656 has been marked as a duplicate of this bug. ***