Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151347 - compilation of x11-drivers/xf86-video-i810-1.6.5 failed
Summary: compilation of x11-drivers/xf86-video-i810-1.6.5 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-14 09:01 UTC by Stan Behrens
Modified: 2006-10-18 17:21 UTC (History)
1 user (show)

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


Attachments
1.6.5-fix_no_dri.patch (1.6.5-fix_no_dri.patch,1.21 KB, patch)
2006-10-15 18:44 UTC, Joshua Baergen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stan Behrens 2006-10-14 09:01:10 UTC
# emerge xf86-video-i810
 [...]
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -DI830_XV -march=i686 -Os -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT i830_accel.lo -MD -MP -MF .deps/i830_accel.Tpo -c i830_accel.c  -fPIC -DPIC -o .libs/i830_accel.o
i830_accel.c: In function 'CheckTiling':
i830_accel.c:406: error: 'struct _I830Rec' has no member named 'front_tiled'
i830_accel.c:408: error: 'struct _I830Rec' has no member named 'rotated_tiled'
i830_accel.c:410: error: 'struct _I830Rec' has no member named 'BackBuffer'
i830_accel.c:410: error: 'struct _I830Rec' has no member named 'back_tiled'
i830_accel.c:413: error: 'struct _I830Rec' has no member named 'DepthBuffer'
i830_accel.c:413: error: 'struct _I830Rec' has no member named 'depth_tiled'
make[3]: *** [i830_accel.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/xf86-video-i810-1.6.5/work/xf86-video-i810-1.6.5/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xf86-video-i810-1.6.5/work/xf86-video-i810-1.6.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xf86-video-i810-1.6.5/work/xf86-video-i810-1.6.5'
make: *** [all] Error 2

!!! ERROR: x11-drivers/xf86-video-i810-1.6.5 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called x-modular_src_compile
  x-modular.eclass, line 331:   Called x-modular_src_make
  x-modular.eclass, line 326:   Called die

# emerge --info
Portage 2.1.1 (default-linux/x86, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 14 Oct 2006 14:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.6.3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=i686 -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo"
LINGUAS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_i810 video_cards_radeon video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Stan Behrens 2006-10-14 14:22:21 UTC
# ACCEPT_KEYWORDS='~x86' emerge xf86-video-i810
 [...]

Did it for me.
Comment 2 Joshua Baergen (RETIRED) gentoo-dev 2006-10-15 08:19:48 UTC
I can't reproduce this.  Were playing around with the modesetting branch at all?
Comment 3 Wendall Cada 2006-10-15 16:27:55 UTC
Identical error here as well.

# emerge --info
Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17.6 i686)
=================================================================
System uname: 2.6.17.6 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.12.5
Last Sync: Sun, 15 Oct 2006 19:30:01 +0000
distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable
d]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O2 -march=i586 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i586 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://10.10.1.200/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa apache2 applet asf audiofile avi berkdb bitmap-fonts bonobo cdr cgi cli crypt ctype cups curl dba dhcp divx4linux dts dv dvd dvdread eds elibc_glibc encode esd fam fastbuild ffmpeg firefox flac font-server foomaticdb gd gdbm gif gimpprint gnome gnome-print gpm gtk gtk2 gtkhtml hal imlib innodb input_devices_evdev input_devices_keyboard input_devices_mouse jpeg kernel_linux lcms ldap libcamav libsamplerate mad memlimit mikmod mng motif mozsvg mp3 mpeg mpm-threadpool mysql ncurses network nls nntp nptl nptlonly nsplugin offensive ogg oggvorbis opengl pam pcre pdflib pear perl pic png postgres ppds python quicktime readline real samba sdl session spell sqlite ssl svg svga tcltk tcpd threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU v4l vhosts video_cards_mach64 video_cards_mga video_cards_none video_cards_nvidia video_cards_r128 video_cards_radeon video_cards_s3virge video_cards_savage video_cards_sis video_cards_tdfx video_cards_trident video_cards_via vorbis win32codecs wmf xforms xine xinerama xml xml2 xmms xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2006-10-15 18:44:42 UTC
Created attachment 99770 [details, diff]
1.6.5-fix_no_dri.patch

Add the following line to xf86-video-i810.ebuild, just before pkg_setup() is fine:

PATCHES="${FILESDIR}/1.6.5-fix_no_dri.patch"

This should hopefully fix the compile problem.  The driver doesn't build properly on a system using USE="-dri".
Comment 5 Wendall Cada 2006-10-17 20:59:42 UTC
no-dri patch resolves the issue for me.

Wendall
Comment 6 Joshua Baergen (RETIRED) gentoo-dev 2006-10-17 21:15:47 UTC
Donnie, can I commit this right to stable, since stable + -dri can't even build without it currently?  It's from upstream.

I can add it as a conditional !dri to be safe.
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2006-10-17 22:25:27 UTC
(In reply to comment #6)
> Donnie, can I commit this right to stable, since stable + -dri can't even build
> without it currently?  It's from upstream.

Yep.

> I can add it as a conditional !dri to be safe.

Nope.
Comment 8 Joshua Baergen (RETIRED) gentoo-dev 2006-10-18 17:21:23 UTC
Fixed in CVS.