Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126055 - xorg-x11 6.8.2-r6 fails: 'cace' in i128IBMDAC.c instead of 'case'
Summary: xorg-x11 6.8.2-r6 fails: 'cace' in i128IBMDAC.c instead of 'case'
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-13 10:28 UTC by Cody
Modified: 2006-03-14 10:10 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cody 2006-03-13 10:28:51 UTC
Decided to try out the GUI installer. Installer seems to work fine, but installing X11 (everything marked stable) failed. Used a stage 3 tarball, as well as the portage tree from  11 March of this year. 

i686-pc-linux-gnu-gcc -march=i686 -O2 -pipe -march=i686 -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w    -fno-merge-constants -I. -I../../../../../../programs/Xserver/hw/xfree86/common -I../../../../../../programs/Xserver/hw/xfree86/os-support -I../../../../../../programs/Xserver/fb            -I../../../../../../programs/Xserver/mfb -I../../../../../../programs/Xserver/mi -I../../../../../../programs/Xserver/hw/xfree86/int10            -I../../../../../../programs/Xserver/cfb -I../../../../../../programs/Xserver/hw/xfree86/xaa -I../../../../../../programs/Xserver/hw/xfree86/rac            -I../../../../../../programs/Xserver/hw/xfree86/vgahw -I../../../../../../programs/Xserver/hw/xfree86/fbdevhw            -I../../../../../../programs/Xserver/hw/xfree86/ramdac -I../../../../../../programs/Xserver/hw/xfree86/ddc -I../../../../../../programs/Xserver/hw/xfree86/i2c            -I../../../../../../programs/Xserver/Xext -I../../../../../../programs/Xserver/hw/xfree86/xf8_32bpp           -I../../../../../../include/fonts -I../../../../../../programs/Xserver/include -I../../../../../../exports/include/X11            -I../../../../../../programs/Xserver/hw/xfree86/xf24_32bpp -I../../../../../../programs/Xserver/hw/xfree86/shadowfb -I../../../../../../include/extensions 	   -I../../../../../../programs/Xserver/hw/xfree86/vbe  -I../../../../../../programs/Xserver/render  -I../../../../../.. -I../../../../../../exports/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE 				 -D_GNU_SOURCE 				 -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP 	-DXCSECURITY -DTOGCUP  	-DXF86BIGFONT -DDPMSExtension 	  -DPANORAMIX 	 -DRENDER -DRANDR 	-DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE 	 -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH 				-DXFreeXDGA -DXvExtension 				-DXFree86LOADER  -DXFree86Server 				-DXF86VIDMODE 				-DXvMCExtension 				-DSMART_SCHEDULE 				 -DXResExtension 				-DX_BYTE_ORDER=X_LITTLE_ENDIAN 				-DXORG_VERSION_CURRENT="(((6) * 10000000) + ((8) * 100000) + ((2) * 1000) + 0)" -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO  -DIN_MODULE -DXFree86Module    -c i128IBMDAC.c
i128IBMDAC.c: In function `I128ProgramSilverHammer':
i128IBMDAC.c:697: error: `cace' undeclared (first use in this function)
i128IBMDAC.c:697: error: (Each undeclared identifier is reported only once
i128IBMDAC.c:697: error: for each function it appears in.)
i128IBMDAC.c:697: error: parse error before numeric constant
make[7]: *** [i128IBMDAC.o] Error 1
make[7]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/programs/Xserver/hw/xfree86/drivers/i128'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/programs/Xserver/hw/xfree86/drivers'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/programs/Xserver/hw/xfree86'
make[4]: *** [hw/xfree86] Error 2
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/programs/Xserver'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.2-r6 failed.
!!! Function build, Line 973, Exitcode 2
!!! make World failed
!!! If you need support, post the topmost build error, NOT this status message.


emerge info
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Duron(tm)
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups dba eds emboss encode esd ethereal exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile idn imlib ipv6 jpeg kde lcms libg++ libwww mad memlimit mikmod mng motif mozilla mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png posix python qt quicktime readline samba sdl session simplexml slang soap sockets spell spl ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev vorbis xml xml2 xmms xsl xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Cody 2006-03-13 12:44:19 UTC
Decided to look in to the problem a few minutes ago.

Looks like a typo on the erroenous line (697):

'cace' should be 'case' (since it's in a switch block). I'll see if I can get a patch file over to this machine and/or figure out how to restart the install of x11 on that machine (via the installer).
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-13 13:57:16 UTC
(In reply to comment #1)
> Decided to look in to the problem a few minutes ago.
> 
> Looks like a typo on the erroenous line (697):
> 
> 'cace' should be 'case' (since it's in a switch block). I'll see if I can get a
> patch file over to this machine and/or figure out how to restart the install of
> x11 on that machine (via the installer).

I just unpacked it locally, and I can't reproduce your issue.

supernova i128 # ls
CVS          i128dga.c      i128.h        i128init.c  i128reg.h  Imakefile
i128accel.c  i128_driver.c  i128IBMDAC.c  i128.man    IBMRGB.h   Ti302X.h
supernova i128 # grep cace *
supernova i128 #

Line 697:
    case 24: /* 32 bit */

Perhaps you have a filesystem problem?
Comment 3 Cody 2006-03-13 14:11:35 UTC
Didn't think so (I'll check though), but I'll try from scratch again :) 

However...

I noticed that when I grabbed it from xorg's mirrors (at least on this machine which is not the problem machine) it seemed okay, but from gentoo distfiles it seemed to have the cace instead of case. But your suggestion seems more likely the case (pardon the pun), since I know some other people had no problems with installing X11.

So will try again, and if I can still duplicate the problem, I'll go from there.

Thanks for the help!
Comment 4 Cody 2006-03-14 10:10:47 UTC
Changing this to invalid. I got many other errors and a coredump and so I decided to check ram. Loads of errors. Replaced and checked again and seems things are okay.

Apologies for wasting your time on this.