Bug 97013 - ivtv-0.2.0_rc3-r4 won't compile with a 2.6.12 kernel
Bug#: 97013 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: bug-wranglers@gentoo.org Reported By: ronsayers@yahoo.com
Component: Applications
URL: 
Summary: ivtv-0.2.0_rc3-r4 won't compile with a 2.6.12 kernel
Keywords:  InCVS
Status Whiteboard: 
Opened: 2005-06-24 21:21 0000
Description:   Opened: 2005-06-24 21:21 0000
ivtv driver fails when building on 2.6.12. The program builds fine in 2.6.11. I
received the same error witn ivtv-0.2.0-rc3. I have tried building with clean
installs of the vanilla-sources and gentoo-sources

Reproducible: Always
Steps to Reproduce:
1.Select 2.6.12 kernel in grub menu
2.(optional) rebuild toolchain, emerge system, emerge world
3.emerge ivtv

Actual Results:  
make[1]: Entering directory `/usr/src/linux-2.6.12'
  CC [M]  /var/tmp/portage/ivtv-0.2.0_rc3-r4/work/ivtv-0.2.0-rc3j/driver/msp3400.o
  CC [M]  /var/tmp/portage/ivtv-0.2.0_rc3-r4/work/ivtv-0.2.0-rc3j/driver/saa7115.o
/var/tmp/portage/ivtv-0.2.0_rc3-r4/work/ivtv-0.2.0-rc3j/driver/saa7115.c: In
function `saa7115_detect_client':
/var/tmp/portage/ivtv-0.2.0_rc3-r4/work/ivtv-0.2.0-rc3j/driver/saa7115.c:1139:
error: structure has no member named `id'
/var/tmp/portage/ivtv-0.2.0_rc3-r4/work/ivtv-0.2.0-rc3j/driver/saa7115.c:1141:
error: structure has no member named `id'
make[2]: ***
[/var/tmp/portage/ivtv-0.2.0_rc3-r4/work/ivtv-0.2.0-rc3j/driver/saa7115.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** Waiting for unfinished jobs....
make[1]: ***
[_module_/var/tmp/portage/ivtv-0.2.0_rc3-r4/work/ivtv-0.2.0-rc3j/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12'
make: *** [all] Error 2


Expected Results:  
clean compile

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.12623 i686)
=================================================================
System uname: 2.6.12623 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun 20 2005, 05:22:19)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo
http://adelie.polymtl.ca/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/fluidportage/trunk"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apache2 apm avi berkdb bitmap-fonts cdr crypt cups curl
divx4linux dv dvd dvdread emboss encode esd fam fftw flac foomaticdb fortran
gdbm gif gnome gpm gtk gtk2 imagemagick imlib ipv6 jpeg libg++ libwww lirc mad
mikmod mjpeg mmx motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss
pdflib perl php png python qt quicktime readline sdl spell ssl svga tcpd tiff
transcode truetype truetype-fonts type1-fonts usb v4l v4l2 vorbis xine xml2 xmms
xv xvid xvidinfo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #1 From Doug Goldstein 2005-06-25 15:47:32 0000 -------
Fixed in CVS.

------- Comment #2 From ron sayers 2005-06-25 17:38:34 0000 -------
Thanks Doug.