Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25046 - emerge gtk+ fails to compile in demos/
Summary: emerge gtk+ fails to compile in demos/
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-22 04:31 UTC by Peter Weilbacher
Modified: 2003-07-25 07:16 UTC (History)
0 users

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


Attachments
all the emerge output (gtk+-errors,370.93 KB, text/plain)
2003-07-23 08:18 UTC, Peter Weilbacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Weilbacher 2003-07-22 04:31:26 UTC
This is different from bug 21277, I don't get an error about PNGs and I do not
have gcc-3.3 installed... This is with gtk+-2.2.1 which seems to be Gentoo's
stable gtk+ version.

These are the messages including the error, and below I also append the output
of "emerge info":

creating gtk-demo
make[3]: Leaving directory
`/var/tmp/portage/gtk+-2.2.1/work/gtk+-2.2.1/demos/gtk-demo'
make[3]: Entering directory `/var/tmp/portage/gtk+-2.2.1/work/gtk+-2.2.1/demos'
(topdir=`cd .. && pwd` ; curdir=`pwd` ; \
  cd . &&                                    \
        GDK_PIXBUF_MODULE_FILE=$topdir/gdk-pixbuf/gdk-pixbuf.loaders
$topdir/gdk-pixbuf/gdk-pixbuf-csource --build-list \
                apple_red apple-red.png gnome_foot gnome-foot.png
>$curdir/test-inline-pixbufs.h || (rm -f $curdir/test-inline-pixbufs.h && false))
make[3]: *** [test-inline-pixbufs.h] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.2.1/work/gtk+-2.2.1/demos'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.2.1/work/gtk+-2.2.1/demos'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.2.1/work/gtk+-2.2.1'
make: *** [all-recursive-am] Error 2

                !!! ERROR: x11-libs/gtk+-2.2.1 failed.
                !!! Function src_compile, Line 64, Exitcode 2
                !!! (no error message)


Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.21 i686 Celeron (Mendocino)
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
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 crypt encode foomaticdb gif imlib java jpeg libg++ libwww mad mmx
motif mpeg ncurses oggvorbis pdflib png quicktime sdl slang spell truetype xml2
zlib gdbm berkdb readline X gpm tcpd pam ssl perl python opengl gtk gnome bonobo
-kde -qt -nls -3dnow -cups -avi esd -arts apm -svga -mikmod xv xmms -emacs -curl
-cdr"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 foser (RETIRED) gentoo-dev 2003-07-23 05:13:58 UTC
can you attach a bigger blurb of output ?
Comment 2 Peter Weilbacher 2003-07-23 08:18:40 UTC
Created attachment 14921 [details]
all the emerge output
Comment 3 Peter Weilbacher 2003-07-23 08:22:30 UTC
Not sure what you want to find in there, though...

I have also tried to run the problematic command manually:
root # /var/tmp/portage/gtk+-2.2.1/work/gtk+-2.2.1/demos
demos # GDK_PIXBUF_MODULE_FILE=../gdk-pixbuf/gdk-pixbuf.loaders ../gdk-pixbuf/gdk-pixbuf-csource --build-list apple_red apple-red.png gnome_foot gnome-foot.png
Illegal instruction

Hmm, see anything wrong in my emerge settings? "-march=pentium2" can't be too wrong for the Mendocino??
Comment 4 foser (RETIRED) gentoo-dev 2003-07-23 10:33:32 UTC
i don't know, try something more conservative like -march i686 or i486
Comment 5 Peter Weilbacher 2003-07-24 02:05:47 UTC
No, still the same error with
   CHOST="i386-pc-linux-gnu"
   CFLAGS="-march=i386 -pipe"
Any other ideas short of recompiling everything with these settings?
Comment 6 Peter Weilbacher 2003-07-25 05:46:30 UTC
I re-emerged libpng using
   CHOST="i686-pc-linux-gnu"
   CFLAGS="-march=pentium2 -mmmx -mno-sse -mno-sse2 -mno-3dnow -fomit-frame-pointer -O3 -pipe"
before compiling gtk+ _again_, and now it worked. GCC seems to assume these extra features for a PII while my Mendocino does not have them, and it seems that libpng (whose lib the GTK+ compile uses) actually uses one of these features...
Comment 7 foser (RETIRED) gentoo-dev 2003-07-25 07:16:35 UTC
optimizations problem, closing. I suggest stop using pentium2 for arch, cause it might trigger more problems.