Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215639 - x11-drivers/xf86-video-i810-2.2.99.901 fails to build
Summary: x11-drivers/xf86-video-i810-2.2.99.901 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Rémi Cardona (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-31 20:29 UTC by Tim Jordan
Modified: 2008-04-14 21:56 UTC (History)
1 user (show)

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


Attachments
emerge log (build.log,56.86 KB, text/plain)
2008-03-31 20:30 UTC, Tim Jordan
Details
emerge log (build.log,45.31 KB, text/plain)
2008-04-01 05:22 UTC, Asim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Jordan 2008-03-31 20:29:44 UTC
x11-drivers/xf86-video-i810-2.2.99.901 fails to build with errors relating to unresolved symbols.



Reproducible: Always

Steps to Reproduce:
1.emerge i810
2.
3.

Actual Results:  
build fails with unresolved symbols

Expected Results:  
build should suceed
Comment 1 Tim Jordan 2008-03-31 20:30:19 UTC
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r9-mactel i686)
=================================================================
System uname: 2.6.23-gentoo-r9-mactel i686 Genuine Intel(R) CPU @ 2.16GHz
Timestamp of tree: Sun, 30 Mar 2008 17:15:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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="/usr/portage"
SYNC="rsync://192.168.1.77/gentoo-portage"
USE="3dnow X a52 aac acl alsa avahi berkdb branding cli cracklib crypt cups divx dri drm dvd dvdread fortran gdbm gif gnome gpm gtk hal iconv ipv6 isdnlog jpeg lcd libvisual lirc lzo mad matroska midi mmx mmxext mng mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly ntplonly opengl openmp pam pcre perl pppd python quicktime rar readline reflection sdl session spl sse sse2 sse3 ssl tcpd theora threads truetype unicode v4l vcd vorbis wavpack win32codecs x264 x86 xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="macmini" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Tim Jordan 2008-03-31 20:30:54 UTC
Created attachment 147901 [details]
emerge log

emerge log
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2008-03-31 22:49:53 UTC
I see you're using the i810 RC on a stable x86 system. Which versions of xorg-server and X libs do you have?
Comment 4 Asim 2008-04-01 05:22:11 UTC
Created attachment 147939 [details]
emerge log
Comment 5 Asim 2008-04-01 05:23:00 UTC
Portage 2.1.4.4 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 i686)
=================================================================
System uname: 2.6.23-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Timestamp of tree: Mon, 31 Mar 2008 07:02:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.tds.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.gentoo.gr.jp ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi afs aiglx alsa avahi avi berkdb bitmap-fonts bluetooth cairo cdr cli cracklib crypt cups dbus divx4linux dri dts dv dvb dvd dvdr dvdread encode faad fame fbcon ffmpeg firefox flac flash fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal iconv isdnlog java javascript joystick jpeg ldap live lm_sensors matroska mcal midi mime mjpeg mmx mmxext moznopango mp3 mpeg mudflap nas ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png ppds pppd python quicktime readline reflection samba scanner session spl sse sse2 ssl stream subtitles tcpd tga theora tiff truetype truetype-fronts type1-fonts unicode usb v4l v4l2 vcd videos vorbis win32codecs winbind wxwindows x264 x86 xine xml xorg xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2008-04-01 06:27:19 UTC
Asim, thanks but what you've just attached is useless as it adds no information to what Tim had already sent.

If either of you could tell me which version of x11-base/xorg-server you are using, I'd appreciate it.
Comment 7 Tim Jordan 2008-04-01 06:51:26 UTC
 x11-base/xorg-server-1.3.0.0-r5
what is the package name for X lib?
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2008-04-01 07:43:40 UTC
Tim, could you try upgrading xorg-server to 1.4.0.90 and then rebuilding the i810 driver ? Thanks
Comment 9 Tim Jordan 2008-04-01 20:18:14 UTC
compiles under 1.4
Could the ebuild be amended to require it?
Comment 10 Albert Zeyer 2008-04-14 19:10:43 UTC
Very much the same error with x11-drivers/xf86-video-i810-2.2.99.902:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -DI830_XV -DI830_USE_XAA -DI830_USE_EXA -O2 -march=nocona -pipe -ggdb -MT i810_cursor.lo -MD -MP -MF .deps/i810_cursor.Tpo -c i810_cursor.c  -fPIC -DPIC -o .libs/i810_cursor.o
In file included from i810_cursor.c:62:
i810.h:89: error: expected declaration specifiers or '...' before 'uint8_t'
i810.h:89: error: expected declaration specifiers or '...' before 'uint8_t'
i810.h:90: error: expected declaration specifiers or '...' before '*' token
i810.h:91: error: expected declaration specifiers or '...' before 'uint8_t'
i810.h:91: warning: type defaults to 'int' in declaration of 'uint8_t'
i810.h:91: error: 'uint8_t' declared as function returning a function
i810.h:91: warning: function declaration isn't a prototype
i810.h:94: error: 'I810ReadByteFunc' declared as function returning a function
i810.h:236: error: expected specifier-qualifier-list before 'I810ReadIndexedByteFunc'
i810_cursor.c: In function 'I810LoadCursorARGB':
i810_cursor.c:133: error: 'uint32_t' undeclared (first use in this function)
i810_cursor.c:133: error: (Each undeclared identifier is reported only once
i810_cursor.c:133: error: for each function it appears in.)
i810_cursor.c:133: error: 'pcurs' undeclared (first use in this function)
i810_cursor.c:133: error: expected expression before ')' token
...
i810_accel.c:629: warning: type defaults to 'int' in declaration of 'type name'
i810_accel.c:629: error: invalid type argument of 'unary *'
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -DI830_XV -DI830_USE_XAA -DI830_USE_EXA -O2 -march=nocona -pipe -ggdb -MT i810_dga.lo -MD -MP -MF .deps/i810_dga.Tpo -c i810_dga.c  -fPIC -DPIC -o .libs/i810_dga.o
make[3]: *** [i810_accel.lo] Error 1
In file included from i810_dga.c:49:
i810.h:89: error: expected declaration specifiers or '...' before 'uint8_t'
i810.h:89: error: expected declaration specifiers or '...' before 'uint8_t'
i810.h:90: error: expected declaration specifiers or '...' before '*' token
i810.h:91: error: expected declaration specifiers or '...' before 'uint8_t'
i810.h:91: warning: type defaults to 'int' in declaration of 'uint8_t'
i810.h:91: error: 'uint8_t' declared as function returning a function
i810.h:91: warning: function declaration isn't a prototype
i810.h:94: error: 'I810ReadByteFunc' declared as function returning a function
i810.h:236: error: expected specifier-qualifier-list before 'I810ReadIndexedByteFunc'
i810_dga.c: In function 'I810DGAInit':
i810_dga.c:114: error: 'struct _I810Rec' has no member named 'noAccel'
make[3]: *** [i810_dga.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-i810-2.2.99.902/work/xf86-video-intel-2.2.99.902/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-i810-2.2.99.902/work/xf86-video-intel-2.2.99.902/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-i810-2.2.99.902/work/xf86-video-intel-2.2.99.902'
make: *** [all] Error 2
 * 
 * ERROR: x11-drivers/xf86-video-i810-2.2.99.902 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2930:  Called x-modular_src_compile
 *             environment, line 3672:  Called x-modular_src_make
 *             environment, line 3708:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 

Comment 11 Albert Zeyer 2008-04-14 19:11:02 UTC
macbook ~ # emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo i686)
=================================================================
System uname: 2.6.24-gentoo i686 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
Timestamp of tree: Mon, 14 Apr 2008 12:03:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/private"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi alsa amarok amr amuled apm applet atm automount bash-completion berkdb bluetooth bzip2 cairo cdr cli cracklib crypt cups d dbus dedicated deskbar dga dhcp divx dri dv dvd dvdr dvdread dvi eap-tls enblend encode evo exif extra-algorithms fasttrack ffmpeg firefox flac ftp galago gd gdbm german gif glib glitz gnome gnutella gnutls gpm gsf gtk h323 hal haskell hddtemp hfs iconv icu id3 id3tag ieee1394 injection ipv6 irda isdnlog isight java javascript jit jpeg jpeg2k kqemu latex lcms lirc lm_sensors lua lzo macbook mad madwifi maps midi mmap mmx mng mozdevelop mp2 mp3 mp4 mpeg mtp mudflap musicbrainz nautilus ncurses net network networking networkmanager njb nls nptl nptlonly nsplugin ntfs ogg opengl openmp oss pam pascal pch pcre pdf perl pidgin pmu png pnm posix postgres postscript ps python qt3support qt4 quicktime rar rc5 rdesktop readline real realmedia reflection reiser4 reiserfs rtc samba screen sdl sdl-image sdl-sound sdlaudio server session sftp sharedmem sift smp sourceview speex spell spl sse sse2 ssl ssse3 subversion svg tcpd theora threads threadsafe tiff timidity trayicon truetype unicode unzip usb v4l2 valgrind vcd video vorbis weak-algorithms win32codecs wma wxwindows x264 x86 xanim xattr xcomposite xext xine xml xmlreader xorg xrandr xscreensaver xv xvid zip zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="inputlirc macmini" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 12 Albert Zeyer 2008-04-14 19:12:40 UTC
Using xorg-server-1.3.0.0-r5, haven't tried any other version yet. Are there any drawbacks in xorg-server-1.4* or why isn't it stable yet?
Comment 13 Albert Zeyer 2008-04-14 19:14:02 UTC
Btw., x11-drivers/xf86-video-i810-2.2.99.903 compiles fine but there are other problems (but this is another bug...):

az@macbook ~ $ glxgears 
libGL error: drmMap of framebuffer failed (Invalid argument)
libGL error: reverting to (slow) indirect rendering
892 frames in 5.4 seconds = 164.583 FPS
[ and very much flickering ]
Comment 14 Albert Zeyer 2008-04-14 19:16:45 UTC
x11-drivers/xf86-video-i810-2.2.1 compiles also fine.
Comment 15 Rémi Cardona (RETIRED) gentoo-dev 2008-04-14 21:56:47 UTC
.903 has a patch for this bug. Please open new bugs for any additional issues.

Thanks