Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 348001

Summary: =x11-drivers/xf86-video-xgi-1.6.0 [PPC] - xgi_accel.c:206: error: ‘CurrentColorDepth’ undeclared (first use in this function)
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: [OLD] LibraryAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, ppc
Priority: High Keywords: PMASKED
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard: Removal due 2011-03-14
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 344827    
Attachments: x11-drivers:xf86-video-xgi-1.6.0:20101207-033327.log [ppc, fail]
x11-drivers:xf86-video-xgi-1.5.1:20101208-163455.log [ppc, fail]

Description Jeroen Roovers (RETIRED) gentoo-dev 2010-12-07 03:40:42 UTC
Tue Dec  7 04:39:56 CET 2010
Portage 2.1.9.25 (default/linux/powerpc/ppc32/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r1-JeR ppc)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r1-JeR-ppc-740-750-with-gentoo-1.12.14
Timestamp of tree: Mon, 06 Dec 2010 16:15:01 +0000
distcc 3.1 powerpc-unknown-linux-gnu [enabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.6.3-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="*"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -Wall -ggdb"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/app-defaults/XTerm /usr/share/X11/app-defaults/XTerm-color /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -Wall -ggdb"
DISTDIR="/aches/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distcc distlocks fixlafiles fixpackages metadata-transfer news notitles parallel-fetch protect-owned sandbox sfperms sign splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ "
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="en en_GB nl"
MAKEOPTS="-j4"
PKGDIR="/keeps/gentoo/packages/marga"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/keeps/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib alsa apache2 asf audiofile bash-completion berkdb bl bluetooth bzip2 cairo cdda cddb cdio cdparanoia cdr chroot cli consolekit cpath cracklib crypt cscope css cups curl custom-cflags custom-cxxflags cxx dbus dga dillo divx dri dv dvd dvdr dvdread ecap edl elf encode examples extras fame fasttrack fbcon ffmpeg flac flash fontforge foomaticdb fortran fpx freetype ftp fts3 gcrypt gd gdbm ggi gif gimpprint glib glitz glut gmedia gnokii gnome gnutella gnutls gpm gs gtk gtk2 iconv icu id3tag idn imlib inkjar ipv6 jingle jpeg kate kpathsea lame lcms libcaca libnl libnotify libsamplerate live logrotate lzo mad magic matroska midi mikmod mjpeg mng modplug modules mozilla mozsvg mozxmlterm mp3 mpeg mplayer mudflap musepack ncurses nethack network network-cron nl nls nptl nptlonly nsplugin offensive ogg opengl openmp openssl optimisememory pam pcre pda pdf perl physfs plotutils png postgres ppc pppd python qt3support quicktime readline realmedia rtc rtsp rubytests samba screenshot secure-delete server session sftplogging shout sid skins smi smux snmp speex spell ssl stream svg sysfs syslog system-sqlite tcpd test tetex tga theora threads tiff truetype unicode upnp usb userlocales utils v4l v4l2 vala vcd vidix vim vlm vorbis wildmidi winbind wmp xanim xml xml2 xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="r128 radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-07 03:41:23 UTC
Created attachment 256569 [details]
x11-drivers:xf86-video-xgi-1.6.0:20101207-033327.log [ppc, fail]
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-12-08 15:55:24 UTC
Does xf86-video-xgi-1.5.1 also fail?

Possibly this was caused by http://cgit.freedesktop.org/xorg/driver/xf86-video-xgi/commit/?id=b03d7713bb2fcb7ab1da527aeb6111f7f36c11b7
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-08 16:38:30 UTC
Created attachment 256658 [details]
x11-drivers:xf86-video-xgi-1.5.1:20101208-163455.log [ppc, fail]

(In reply to comment #2)
> Does xf86-video-xgi-1.5.1 also fail?

In exactly the same way.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-08 17:23:31 UTC
(In reply to comment #3)
> Created an attachment (id=256658) [details]
> x11-drivers:xf86-video-xgi-1.5.1:20101208-163455.log [ppc, fail]
> 
> (In reply to comment #2)
> > Does xf86-video-xgi-1.5.1 also fail?
> 
> In exactly the same way.

I must add that I can't reproduce this on x86 - 1.6.0 builds fine.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-12-08 22:43:07 UTC
Indeed, the problematic code in xgi_accel.c is behind #if X_BYTE_ORDER == X_BIG_ENDIAN
Comment 6 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-02-14 07:46:19 UTC
That was fixed by lu_zero for previous version. Is there any reason the patch was dropped?

Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2011-02-14 11:40:26 UTC
This needs to be commited upstream, not kept here as local patch...
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2011-02-14 11:55:26 UTC
Update: upstream is mostly dead + the code is horrible horrible thing, so i am rather willing to lastrite this thing.
Comment 9 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-02-14 11:58:37 UTC
Was the patch ever sent upstream?

As there are still people who use this hardware and no alternative exists besides vesa, I would be inclined to keep it.
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2011-04-14 16:35:06 UTC
Removed from the tree.