Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21155 - emerge x11-misc/xaos-3.1_pre5 failed
Summary: emerge x11-misc/xaos-3.1_pre5 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
: 21910 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-17 09:06 UTC by daktak
Modified: 2004-05-03 07:54 UTC (History)
2 users (show)

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


Attachments
proposed XaoS 3.1 ebuild (GGI disabled) (xaos-3.1.ebuild,1.62 KB, text/plain)
2003-05-29 13:08 UTC, Michael Leuchtenburg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description daktak 2003-05-17 09:06:31 UTC
gcc: lib/libuiggi.a: No such file or directory
make[1]: *** [/var/tmp/portage/xaos-3.1_pre5/work/XaoS-3.1pre5/bin/xaos] Error 1
make[1]: Leaving directory `/var/tmp/portage/xaos-3.1_pre5/work/XaoS-3.1pre5/src'
make: *** [default] Error 2

!!! ERROR: x11-misc/xaos-3.1_pre5 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! (no error message)



Reproducible: Always
Steps to Reproduce:
1. emerge xaos
2.
3.

Actual Results:  
ui_svga.c:74: warning: passing arg 3 of `gl_write' discards qualifiers from
pointer target type
rm -f /var/tmp/portage/xaos-3.1_pre5/work/XaoS-3.1pre5/src/lib/libuisvga.a
ar rc /var/tmp/portage/xaos-3.1_pre5/work/XaoS-3.1pre5/src/lib/libuisvga.a
ui_svga.o 
ranlib /var/tmp/portage/xaos-3.1_pre5/work/XaoS-3.1pre5/src/lib/libuisvga.a 
make[2]: Leaving directory
`/var/tmp/portage/xaos-3.1_pre5/work/XaoS-3.1pre5/src/ui/ui-drv/svga'
gcc -march=pentium4 -O3 -pipe -ffast-math -fPIC -mno-sse2 -mmmx -msse
-mfpmath=sse,387 -falign-functions=4 -fomit-frame-pointer -I/usr/include/ncurses
  -I/usr/X11R6/include   -I/usr/X11R6/include  -I/usr/X11R6/include
-I/var/tmp/portage/xaos-3.1_pre5/work/XaoS-3.1pre5/src/include  -o
/var/tmp/portage/xaos-3.1_pre5/work/XaoS-3.1pre5/bin/xaos lib/libui.a
lib/libui-hlp.a lib/libengine.a lib/libutil.a lib/libfilter.a lib/libuiaa.a
lib/libuiggi.a lib/libuix11.a lib/libuidga.a lib/libuisvga.a  -lpng -lz -lm
-lvgagl -lvga -laa -lncurses -lslang -lgpm      -L/usr/X11R6/lib  
-L/usr/X11R6/lib -lX11  -lXext -lXxf86dga -lXxf86vm -lggi 
gcc: lib/libuiggi.a: No such file or directory
make[1]: *** [/var/tmp/portage/xaos-3.1_pre5/work/XaoS-3.1pre5/bin/xaos] Error 1
make[1]: Leaving directory `/var/tmp/portage/xaos-3.1_pre5/work/XaoS-3.1pre5/src'
make: *** [default] Error 2

!!! ERROR: x11-misc/xaos-3.1_pre5 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! (no error message)


Expected Results:  
emerged :D
Comment 1 daktak 2003-05-17 09:11:28 UTC
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 1.50GHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.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 avi crypt encode libg++ mikmod ncurses nls pdflib xml2 xv zlib gtkhtml gdbm berkdb slang readline tetex bonobo ggi tcltk java guile gpm tcpd pam libwww ssl python esd imlib motif mozilla aalib acpi alsa apm -arts cdr cups directfb dvd fbcon gif gnome gtk gtk2java jpeg -kde mmx mpeg oggvorbis opengl pda perl png -prebuilt -qt samba sdl spell sse svga tiff truetype usb X xmms -quicktime xinerama"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -ffast-math -fPIC -mno-sse2 -mmmx -msse -mfpmath=sse,387 -falign-functions=4 -fomit-frame-pointer"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox distcc ccache"
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-05-17 09:46:10 UTC
turn down your CFLAGS and try again
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-05-25 12:32:17 UTC
Russel, can you try with some toned down CFLAGS please?
Comment 4 Michael Leuchtenburg 2003-05-29 13:05:38 UTC
I have had the exact same problem, building Xaos with CFLAGS="". This problem also exists if I build 3.1pre5, 3.1pre6, or 3.1 (release) by hand.

The problem seems to trace to an actual bug in the build process for xaos. If you build it, you will see something like this:
gcc -D__OPTIMIZE__ -Wall  -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align  -Wwrite-strings -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -mcpu=pentiumpro -fstrength-reduce -ffast-math -fomit-frame-pointer -pipe -fno-exceptions -Os -fstrict-aliasing -malign-double -mno-ieee-fp -I/usr/include/ncurses   -I/usr/X11R6/include   -I/usr/X11R6/include  -I/usr/X11R6/include -I/home/dyfrgi/Programs/xaos/XaoS-3.1/src/include   -c -o ui_ggi.o ui_ggi.c
/home/dyfrgi/Programs/xaos/XaoS-3.1/src/include/xerror.h:7: parse error before "char"
... (more lines go here)
make[2]: *** [ui_ggi.o] Error 1

You can build it yourself if you want to see the full output, as it's rather large. In any case, it's not a problem with the ebuild, it's a problem with the upstream.

There are a horde of bugs in that file other than the header bug (it's needing some #defines that haven't been defined there), so for now the only thing I can suggest is building with USE="-ggi". That does work for me.

I am attaching an ebuild for xaos 3.1 (release) with ggi support removed. It Works For Me, but I have of course marked it as masked. I will also be filing a bug report for the new version of xaos, also including the new ebuild.
Comment 5 Michael Leuchtenburg 2003-05-29 13:08:05 UTC
Created attachment 12546 [details]
proposed XaoS 3.1 ebuild (GGI disabled)

This Works For Me. I have only tested the X11 driver.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2003-05-30 04:12:28 UTC
george,

added the version bump to portage -- note the policy violations in the original ebuild :/

Please follow up on the ggi issue -- it's disabled right now.
Comment 7 George Shapovalov (RETIRED) gentoo-dev 2003-05-30 17:50:43 UTC
*** Bug 21910 has been marked as a duplicate of this bug. ***
Comment 8 George Shapovalov (RETIRED) gentoo-dev 2003-06-03 00:32:25 UTC
Hi guys.

So, any test reports on 3.1? I would like to unmask it, as its actually a release, while stable profile only has the _pre5.
Also, I removed the ggi suport in _pre5 as well. No revision bump not to force recompilation on users for whom it worked..

ggi support does seem to be broken :(, however I was unable to find any related reports. Also form the description on the site it looks like its a new feature in 3.1 (and some pre's), may be it's not yet properly done? I'll try to look into it again shortly.

George
Comment 9 George Shapovalov (RETIRED) gentoo-dev 2004-01-07 18:25:58 UTC
reclosing the bug
Comment 10 Srepfler Srgjan 2004-05-03 07:54:26 UTC
Can someone check if the ebuild still works, I tried with both gcc 3.3.3_pre_thingamajig(don't remember) and 3.4 and nothing. In the end I had this USE and tried ggi,-ggi,X,-X,svga,-svga and combinations. It's not my normal USE it's just that I tried to make as less possible clutter but it didn't help.

----
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
USE="svga -X -ggi"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
----