Attempting to emerge xfree-4.2.1-r1 fails. glibc: 2.2.5-r7 gcc: 2.95.3 x-related use flags: 3dfx dga xv Gentoo: 1.2 (~x86 flag enabled) The following is truncated output: tdfx_context.c:745: parse error before `)' tdfx_context.c:746: parse error before `)' tdfx_context.c:747: parse error before `swapInterval' make[5]: *** [tdfx_context.o] Error 1 make[5]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r1/work/xc/lib/GL/mesa/src/drv/tdfx' make[4]: *** [install] Error 2 make[4]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r1/work/xc/lib/GL/mesa/src/drv' make[3]: *** [install] Error 2 make[3]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r1/work/xc/lib/GL' make[2]: *** [install] Error 2 make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r1/work/xc/lib' make[1]: *** [install] Error 2 make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r1/work/xc' make: *** [install] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_install, Line 272, Exitcode 2 !!! (no error message) Attached is more detailed output. -Paul
Created attachment 5518 [details] Detailed output
I found that I also have gcc-3.1.1 on this system for whatever reason. Removing the package and re-building to see what happens. Will report back. -Paul
No dice. It was a longshot but thought I'd try anyhow.
+1 I've been having this problem as well.
Seems to fail in the exact manner on a Gentoo 1.4_rc1 box I built as well.
It works here when I remove the '35_all_4.2.0-tdfx-fix-compiler-warnings.patch.bz2' patch.
*** Bug 11266 has been marked as a duplicate of this bug. ***
Hi. How can i remove 35_all_4.2.0-tdfx-fix-compiler-warnings.patch.bz2 ? You just emerged glide then xfree 4.2.1-r1? Any other tricks? thanks.
The patch is included in the XFree86-4.2.1-patches-1.1.tar.bz2 file (usually in your distfiles directory). Just remove the patch from the tar archive.
But do you you still get the use of the glide libs using that method?
And, it's going to fail the md5sum test.
Should be fixed now, sorry for taking so long. Recommended procedure # USE="3dfx" emerge xfree (add voodoo3 if needed) # emerge glide-v3 (add USE="voodoo3" if needed)
Fixed how so? I'll give it a shot.
Grabbed ebuild file from cvs. Trying build now.
Works for me. Thanks!
Good show Martin. Thanks.