After upgrading to sys-kernel/gentoo-sources-2.6.24-r4 media-tv/wis-go7007-0.9.8-r2 will no longer emerge. Reproducible: Always Steps to Reproduce: 1. emerge wis-go7007 Actual Results: Emerge fails with the following output: >>> Emerging (1 of 2) media-tv/wis-go7007-0.9.8-r2 to / * wis-go7007-linux-0.9.8.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.24-gentoo-r4/build * Found sources for kernel version: * 2.6.24-gentoo-r4 * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking wis-go7007-linux-0.9.8.tar.bz2 to /var/tmp/portage/media-tv/wis-go7007-0.9.8-r2/work * Applying wis-go7007-0.9.8-fix-udev.diff ... [ ok ] * Applying wis-go7007-0.9.8-kernel-2.6.17.diff ... [ ok ] * Applying snd.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/media-tv/wis-go7007-0.9.8-r2/work/wis-go7007-linux-0.9.8 ... * Preparing go7007 module ***** Using kernel source in /usr/src/linux-2.6.24-gentoo-r4 ***** make modules -C /usr/src/linux-2.6.24-gentoo-r4 M=/var/tmp/portage/media-tv/wis-go7007-0.9.8-r2/work/wis-go7007-linux-0.9.8/kernel make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo-r4' CC [M] /var/tmp/portage/media-tv/wis-go7007-0.9.8-r2/work/wis-go7007-linux-0.9.8/kernel/go7007-v4l2.o CC [M] /var/tmp/portage/media-tv/wis-go7007-0.9.8-r2/work/wis-go7007-linux-0.9.8/kernel/go7007-driver.o CC [M] /var/tmp/portage/media-tv/wis-go7007-0.9.8-r2/work/wis-go7007-linux-0.9.8/kernel/go7007-i2c.o /var/tmp/portage/media-tv/wis-go7007-0.9.8-r2/work/wis-go7007-linux-0.9.8/kernel/go7007-i2c.c:299: error: unknown field 'algo_control' specified in initializer /var/tmp/portage/media-tv/wis-go7007-0.9.8-r2/work/wis-go7007-linux-0.9.8/kernel/go7007-i2c.c:299: warning: initialization from incompatible pointer type make[2]: *** [/var/tmp/portage/media-tv/wis-go7007-0.9.8-r2/work/wis-go7007-linux-0.9.8/kernel/go7007-i2c.o] Error 1 make[1]: *** [_module_/var/tmp/portage/media-tv/wis-go7007-0.9.8-r2/work/wis-go7007-linux-0.9.8/kernel] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r4' make: *** [all] Error 2 * * ERROR: media-tv/wis-go7007-0.9.8-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3158: Called linux-mod_src_compile * environment, line 2398: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CC=\"$(get-KERNEL_CC)\" LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS= KERNELSRC=/usr/src/linux all * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-tv/wis-go7007-0.9.8-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-tv/wis-go7007-0.9.8-r2/temp/environment'. * Expected Results: emerge completes successfully. There is a patch and an updated tarball @ http://nikosapi.org/wiki/index.php/WIS_Go7007_Linux_driver. I followed these steps: 1. ebuild /usr/portage/media-tv/wis-go7007/wis-go7007-0.9.8-r2.ebuild unpack 2. patch the go7007-i2c.c and go7007-usb.c 3. ebuild /usr/portage/media-tv/wis-go7007/wis-go7007-0.9.8-r2.ebuild compile 4. ebuild /usr/portage/media-tv/wis-go7007/wis-go7007-0.9.8-r2.ebuild install 5. ebuild /usr/portage/media-tv/wis-go7007/wis-go7007-0.9.8-r2.ebuild qmerge Everything worked great.
Created attachment 149559 [details] Updated tarball from site listed in bug report.
# 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-r4 i686) ================================================================= System uname: 2.6.24-gentoo-r4 i686 Intel(R) Celeron(R) CPU 2.20GHz Timestamp of tree: Sun, 13 Apr 2008 10:15:01 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.4-r6 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.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=pentium4 -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/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo" MAKEOPTS="-j1" 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://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl alsa bacula-clientonly berkdb cli client-only cracklib crypt divx4linux dri dts dv dvd dvdread examples fortran gdbm gpm gtk iconv isdnlog lirc logrotate logwatch mailwrapper midi mmx mmxext mpeg mudflap mysql mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses netboot nls nptl nptlonly oggvorbis openmp pam pcre perl png pppd python quicktime readline real reflection rtc session spl sse sse2 ssl tcpd transcode unicode usb v4l v4l2 win32codecs x86 xorg xv xvid zlib zvbi" 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="digimatrix" USERLAND="GNU" VIDEO_CARDS="sis vesa fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I found a patch at: http://blog.zoeloelip.be/2007/02/19/go7007-driver-update/ The 2.6.24 edition works fine for me, when I compile and install the driver manual with: make && make install USE_UDEV=y
Created attachment 154625 [details] Ebuild overlay including patch I was going to file this as a bug, but found someone already sent it. I made an ebuild with the patch, as version wis-go7007-0.9.8-r9999. I am uploading it here in case someone finds it useful.
(In reply to comment #4) Tried the ebuild, installs fine.. but it won't regonize my tuner as a v4l device. I tried plugging it in and out: Is one of the patches you supplied for fixing sound problems, because I still havn't found a solution to my sound problem...? PanicToshiba ~ # dmesg | tail -n 5 usb 1-3: new high speed USB device using ehci_hcd and address 8 usb 1-3: configuration #1 chosen from 1 choice usb 1-3: USB disconnect, address 8 usb 1-3: new high speed USB device using ehci_hcd and address 9 usb 1-3: configuration #1 chosen from 1 choice PanicToshiba ~ # lsusb Bus 001 Device 009: ID 093b:a004 Plextor Corp. Bus 001 Device 003: ID 1058:0702 Western Digital Technologies, Inc. Bus 001 Device 001: ID 0000:0000 Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 003: ID 046d:c50c Logitech, Inc. Bus 002 Device 004: ID 046d:abd0 Logitech, Inc. Bus 002 Device 002: ID 0451:2036 Texas Instruments, Inc. TUSB2036 Hub Bus 002 Device 001: ID 0000:0000 PanicToshiba ~ # ls /dev/v4l ls: cannot access /dev/v4l: No such file or directory PanicToshiba ~ # ls /sys/class/video4linux/ PanicToshiba ~ # lsmod Module Size Used by wis_sony_tuner 6664 0 wis_uda1342 2304 0 wis_saa7115 4352 0 go7007_usb 10500 0 go7007 48256 4 wis_sony_tuner,wis_uda1342,wis_saa7115,go7007_usb snd_go7007 3364 1 go7007 vboxdrv 35328 0 svgalib_helper 10276 0 ipw2200 128964 0 fglrx 705792 11 PanicToshiba ~ # eselect kernel show Current kernel symlink: /usr/src/linux-2.6.24-gentoo-r4
Created attachment 156049 [details, diff] patch for 2.6.24 for wis-go7007 By adding this to the ebuild and the small attached patch, it works for me. if kernel_is ge 2 6 24; then epatch "${FILESDIR}/wis-go7007_0.9.8_2.6.24.patch" fi
Alright, wis-go7007-0.9.8-r3.ebuild is in the tree, uses patches from http://home.comcast.net/~bender647/go7007/ and requires 2.6.26. Lemme know how that works.