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
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"
turn down your CFLAGS and try again
Russel, can you try with some toned down CFLAGS please?
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.
Created attachment 12546 [details] proposed XaoS 3.1 ebuild (GGI disabled) This Works For Me. I have only tested the X11 driver.
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.
*** Bug 21910 has been marked as a duplicate of this bug. ***
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
reclosing the bug
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" ----