Portage 2.1.2_pre1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.18-gentoo i686) ================================================================= System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) M processor 2.13GHz Gentoo Base System version 1.12.5 Last Sync: Wed, 20 Sep 2006 20:00:07 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-java/java-config: 1.3.6-r1, 2.0.29 dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 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.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium-m -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo" 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" PORTDIR_OVERLAY="/usr/portage/local/layman/portage-xgl /usr/portage/local/layman/sunrise /usr/portage/local/layman/gnome-experimental" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 acpi alsa asf bash-completion berkdb bitmap-fonts cdr cgwd cli crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode firefox foomaticdb fortran gdbm gif gimp glitz gnome gpm gstreamer gtk gtk2 hal hdaps imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kerberos kernel_linux ldap libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdf perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd truetype truetype-fonts type1-fonts udev userland_GNU v4l video_cards_fglrx video_cards_radeon vorbis win32codecs xcomposite xml xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
In function 'spca5xx_close': /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:2487: warning: initialization makes pointer from integer without a cast /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca5xx_do_ioctl': /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:2547: warning: initialization makes pointer from integer without a cast /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca5xx_ioctl': /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3091: warning: implicit declaration of function 'video_usercopy' /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca5xx_read': /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3110: warning: initialization makes pointer from integer without a cast /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca5xx_mmap': /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3209: warning: initialization makes pointer from integer without a cast /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c: At top level: /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3261: error: variable 'spca50x_template' has initializer but incomplete type /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3262: error: unknown field 'owner' specified in initializer /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: excess elements in struct initializer /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: (near initialization for 'spca50x_template') /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3263: error: unknown field 'name' specified in initializer /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: excess elements in struct initializer /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: (near initialization for 'spca50x_template') /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3264: error: unknown field 'type' specified in initializer /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: excess elements in struct initializer /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: (near initialization for 'spca50x_template') /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3265: error: unknown field 'hardware' specified in initializer /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: excess elements in struct initializer /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: (near initialization for 'spca50x_template') /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3266: error: unknown field 'fops' specified in initializer /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: excess elements in struct initializer /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: (near initialization for 'spca50x_template') /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error: unknown field 'release' specified in initializer /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error: 'video_device_release' undeclared here (not in a function) /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: excess elements in struct initializer /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: (near initialization for 'spca50x_template') /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3270: error: unknown field 'minor' specified in initializer /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: excess elements in struct initializer /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: (near initialization for 'spca50x_template') /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'cd_to_spca50x': /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3338: warning: implicit declaration of function 'to_video_device' /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3338: warning: initialization makes pointer from integer without a cast /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3339: warning: return makes pointer from integer without a cast /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca50x_create_sysfs': /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:3448: warning: implicit declaration of function 'video_device_create_file' /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca5xx_probe': /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:5504: warning: implicit declaration of function 'video_device_alloc' /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:5504: warning: assignment makes pointer from integer without a cast /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of 'sizeof' to incomplete type 'struct video_device' /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of 'sizeof' to incomplete type 'struct video_device' /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of 'sizeof' to incomplete type 'struct video_device' /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:5509: error: dereferencing pointer to incomplete type /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:5511: warning: implicit declaration of function 'video_set_drvdata' /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:5516: warning: implicit declaration of function 'video_register_device' /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: 'VFL_TYPE_GRABBER' undeclared (first use in this function) /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: (Each undeclared identifier is reported only once /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: for each function it appears in.) /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:5545: error: dereferencing pointer to incomplete type /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:5546: warning: implicit declaration of function 'video_device_release' /var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.c:5548: warning: implicit declaration of function 'video_unregister_device' make[2]: *** [/var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501/drivers/usb/spca5xx.o] Error 1 make[1]: *** [_module_/var/tmp/portage/spca5xx-20060501/work/spca5xx-20060501] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.18-gentoo' make: *** [default] Error 2
I can confirm the same problem with suspend2-sources-2.6.18. # emerge --info Gentoo Base System version 1.12.5 Portage 2.1.2_pre1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend2-r5 i686) ================================================================= System uname: 2.6.17-suspend2-r5 i686 Mobile AMD Athlon(tm) XP 2600+ Last Sync: Wed, 20 Sep 2006 20:20:01 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.3-r1, 2.0.29 dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 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.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -funroll-loops" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.unina.it/pub/linux/distributions/gentoo" LANG="it_IT" LC_ALL="it_IT.utf8" LINGUAS="it" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 7zip X aac aalib acpi aim alsa apache2 audiofile berkdb bitmap-fonts bzip2 caps cdparanoia cdr cli crypt cups dba dbase dbus dga dio dlloader dri dts dvb dvd dvdr dvdread elibc_glibc emboss encode esd fam fbcon ffmpeg fftw firefox flac flatfile fortran ftp gcj gdbm geoip gif gnutls gpm gps gstreamer gtk hal iconv icq ieee1394 imagemagick imap imlib input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog jabber jack javascript jpeg jpeg2k kernel_linux lcms lesstif libcaca libg++ libgda linguas_it mad matroska mbox md5sum mhash mikmod mime mmap mmx mng motif mp3 mpeg msn nas ncurses nis nls nptl nptlonly nsplugin odbc offensive ogg opengl oscar oss pam pcmcia pcre pdf perl php pic png posix postgres ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session sharedmem sndfile soap sockets sox spell spl sse ssl svg sysvipc szip tcltk tcpd tetex theora threads tiff timidity truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l vcd video_cards_fbdev video_cards_v4l video_cards_vesa video_cards_via vorbis win32codecs wmf wxwindows xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid yahoo zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS Thanks.
I found a patch for spca5xx-20060501 and kernel 2.6.18 at this adress : http://lists.alioth.debian.org/pipermail/pkg-spca5xx-devel/2006-September/000210.html
Created attachment 97760 [details] spca5xx fix for kernels >=2.6.18 attached the ebuild/patch to compile with kernels >=2.6.18
(In reply to comment #4) > attached the ebuild/patch to compile with kernels >=2.6.18 Thanks, works for me.
Same problem here. However, I removed the spca5xx directory from portage and unpacked the tar.bz2 attached to media-video didn't solve the problem. Error log and emerge --info follows.
# ACCEPT_KEYWORDS="~x86" emerge spca5xx Calculating dependencies... done! >>> Emerging (1 of 1) media-video/spca5xx-20060501-r1 to / * spca5xx-20060501.tar.gz MD5 ;-) ... [ ok ] * spca5xx-20060501.tar.gz RMD160 ;-) ... [ ok ] * spca5xx-20060501.tar.gz SHA1 ;-) ... [ ok ] * spca5xx-20060501.tar.gz SHA256 ;-) ... [ ok ] * spca5xx-20060501.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking spca5xx-20060501.tar.gz ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.18 * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking spca5xx-20060501.tar.gz to /var/tmp/portage/spca5xx-20060501-r1/work tar: spca5xx-20060501/drivers: implausibly old time stamp 1970-01-01 01:00:00 * Converting spca5xx-20060501/Makefile to use M= instead of SUBDIRS= ... [ ok ] * Applying spca-20060501-defines.patch ... [ ok ] * Applying spca-20060501-2.6.18.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/spca5xx-20060501-r1/work/spca5xx-20060501 ... * Preparing spca5xx module Building SPCA5XX driver for 2.5/2.6 kernel. Remember: you must have read/write access to your kernel source tree. make -C /usr/src/linux M=/var/tmp/portage/spca5xx-20060501-r1/work/spca5xx-20060501 CC=i686-pc-linux-gnu-gcc modules make[1]: Entering directory `/usr/src/linux-2.6.18' CC [M] /var/tmp/portage/spca5xx-20060501-r1/work/spca5xx-20060501/drivers/usb/spca5xx.o CC [M] /var/tmp/portage/spca5xx-20060501-r1/work/spca5xx-20060501/drivers/usb/spcadecoder.o /var/tmp/portage/spca5xx-20060501-r1/work/spca5xx-20060501/drivers/usb/spcadecoder.c: In function 'fun_D': /var/tmp/portage/spca5xx-20060501-r1/work/spca5xx-20060501/drivers/usb/spcadecoder.c:809: warning: value computed is not used /var/tmp/portage/spca5xx-20060501-r1/work/spca5xx-20060501/drivers/usb/spcadecoder.c: In function 'yuv_decode': /var/tmp/portage/spca5xx-20060501-r1/work/spca5xx-20060501/drivers/usb/spcadecoder.c:2265: error: 'VIDEO_PALETTE_RGB565' undeclared (first use in this function) /var/tmp/portage/spca5xx-20060501-r1/work/spca5xx-20060501/drivers/usb/spcadecoder.c:2265: error: (Each undeclared identifier is reported only once (...) /var/tmp/portage/spca5xx-20060501-r1/work/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca50x_create_sysfs': /var/tmp/portage/spca5xx-20060501-r1/work/spca5xx-20060501/drivers/usb/spca5xx.c:3448: warning: implicit declaration of function 'video_device_create_file' make[2]: *** [/var/tmp/portage/spca5xx-20060501-r1/work/spca5xx-20060501/drivers/usb/spca5xx.o] Error 1 make[1]: *** [_module_/var/tmp/portage/spca5xx-20060501-r1/work/spca5xx-20060501] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.18' make: *** [default] Error 2
Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.18 i686) ================================================================= System uname: 2.6.18 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz Gentoo Base System version 1.12.4 Last Sync: Sun, 24 Sep 2006 01:50:01 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-java/java-config: 1.3.0-r2, 2.0.26-r4 dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r1 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 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.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -fomit-frame-pointer -funroll-loops" 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/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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -fomit-frame-pointer -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ ftp://darkstar.ist.utl.pt/pub/gentoo/ ftp://ftp.rnl.ist.utl.pt/pub/gentoo/ ftp://mirrors1.netvisao.pt/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="pt" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X Xaw3d aac aalib acpi activefilter ada aimextras akode alsa amarok amazon apache2 artworkextra asf asterisk auctex audacious backtrace bash-completion berkdb big-tables bitmap-fonts blas blender-game bluetooth boo bzip2 c++ cairo calendar caps ccache cddb cdparanoia cdr cdrom chipcard cli clisp cmucl crypt cscope css csv cups cursors cvs cvsgraph dbus dhcp dlloader dri dvd dvi ecsteve ecsteve2 eds effects elibc_glibc emacs emboss encode enscript epson erandom escreen esd estraier etwin examples exif festival ffmpeg firefox flac foomaticdb fortran fping gd gdbm gdm geoip geometry geos gg gif gimp gimpprint ginac gkrellm glade glibc-compat20 glut gmail gmailtimestamps gmp gmttria gnokii gnuplot gnutls gphoto2 gpm gprof graphviz gstreamer gtk gtk2 gtkhtml guile gzip hal haskell hbci icons ieee1394 imagemagick imlib imlib2 infopipe inkjar input_devices_keyboard input_devices_mouse input_devices_synaptics irda isdnlog jabber java javascript jikes jpeg kde kdm kernel_linux kig-scripting kipi lapack latex lcd lcms ldb leim lesstif libg++ libwww linguas_pt logrotate logwatch lua mad mailwrapper mikmod mime mmx mng mod_lisp monkey mono motif mozdevelop mozsha1 mozsvg mp3 mpeg mplayer musepack music musicbrainz mysql mysqli mzscheme nautilus ncurses neXt nfs nls nntp nosource nptl nptlonly ocaml offensive ofx ogg ogre on-the-fly-crypt openal opengl oss pam pascal pci pcntl pcre pdf perl php plotutils plugin png pnp posix postgres ppds pppd preview-latex print python qhull qt-static qt3 qt4 quicktime quotes rdesktop readline real reflection reiser4 reiserfs ruby samba sametime sbcl sdl session slp sms sndfile speex spell spl sql sqlite sqlite3 sse sse-filters sse2 ssl stats stencil-buffer subtitles subversion svg svga svgz tcltk tcpd tetex theora threads thumbnail tidy tiff tomsfastmath transcode truetype truetype-fonts type1 type1-fonts udev usb userland_GNU v4l v4l2 video_cards_ati video_cards_fbdev video_cards_radeon video_cards_vesa videos vim vim-with-x visualization vnc vorbis wifi win32codecs wma wmf wxwindows xanim xcomposite xext xft xine xml xmms xorg xpm xprint xrandr xscreensaver xv yaz zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Same Error here! Patch DOES NOT work for me.
Hello! Now my spca5xx compiles fine! I NEED TO activate this: CONFIG_VIDEO_V4L1_COMPAT=y Then I can compile!
(In reply to comment #10) > I NEED TO activate this: > > CONFIG_VIDEO_V4L1_COMPAT=y Can you test if you can compile without the proposed patch? I will do so, also. Thanks.
Created attachment 98159 [details] spca5xx-20060501-r1.ebuild I made this ebuild using proposed patch to correct the problem; if the kernel version is =2.6.18, it checks also that VIDEO_V4L1_COMPAT is set and apply the proposed patch. Otherwise, the ebuild acts completely like spca5xx-20060501 in portage. HTH, please feedback if you try this ebuild.
Hi! Your eBuild is working! Compiles fine with Kernel 2.6.18 I modifed a little bit your eBuild! See Bug http://bugs.gentoo.org/show_bug.cgi?id=146124 for more Info!
Created attachment 98173 [details] spca5xx-20060501-r1.ebuild spca5xx-20060501-r1.ebuild
Created attachment 98174 [details, diff] spca5xx-20060501-vodunvibe-Nospaceleftondevice.patch spca5xx-20060501-vodunvibe-Nospaceleftondevice.patch
And forgot to say, (In reply to comment #11) > (In reply to comment #10) > > I NEED TO activate this: > > > > CONFIG_VIDEO_V4L1_COMPAT=y > Can you test if you can compile without the proposed patch? I will do so, also. > Thanks. No, i can't! I must use this patch!
New eBuilds are ready ;) Get them here: http://bugs.gentoo.org/show_bug.cgi?id=146124 Includes your 2.6.18 Patch!
BlackBox spca5xx # cat /var/log/sandbox/sandbox-media-video_-_spca5xx-20060501-r1-13306.log open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d
(In reply to comment #18) > BlackBox spca5xx # cat > /var/log/sandbox/sandbox-media-video_-_spca5xx-20060501-r1-13306.log Sorry, I don't understand. You didn't provide enough information to debug this error, like on what kernel are you building onto, what is your system setup, and so on. You refer to 'new portage', but which version? Please attach also a 'emerge --info'. Thanks.
I am sry, this is the wrong bug, i posted wrong, forget is here ;)
This bug is rather hard to review. Please, try and make things easy for us. Keep one bug for one issue - anything related to the no space left on device issue should be on the seperate bug. Secondly, never attach tarballs unless you have a good reason. Attach a diff of changes to the ebuild, and then the patch itself separately, and nothing else. I haven't looked at the patch as it hasn't been attached individually. However, the ebuild is applying it conditionally based on kernel version. Ideally the patch should work unconditionally (i.e. through #if LINUX_VERSION_CODE checks) and should be applied in all builds. This kind of patch is suitable to send upstream, which is the ultimate aim.
(In reply to comment #21) > Attach a diff of > changes to the ebuild, and then the patch itself separately, and nothing else. Well, I cannot understand why attaching a proposed ebuild will be so different, but I'll stick with what you say. > However, > the ebuild is applying it conditionally based on kernel version. Ideally the > patch should work unconditionally (i.e. through #if LINUX_VERSION_CODE checks) > and should be applied in all builds. Probably it does, but I didn't try it. When I introduced the conditionals, I intended to keep the new ebuild same as the portage one unless the kernel version, to assure a correct build on kernel that I didn't test. > This kind of patch is suitable to send > upstream, which is the ultimate aim. That's a good idea, also. Thanks.
If you attach whole ebuilds, we have to download them and diff them to see all the changes, we generally maintain enough packages to not know the ebuilds from memory very well. The patch isn't suitable for upstream unless it can be applied unconditionally. And you won't make any changes for older kernels if you use LINUX_VERSION_CODE checks. Mike: bump, you have 1 week to fix this in the stable tree :P
20060501-r1 inCVS
(In reply to comment #24) > 20060501-r1 inCVS Works for me with suspend2-sources-2.6.18, x86, gcc-4.1.1. I will try with <2.6.18 and I'll report you. Thanks.
(In reply to comment #25) > I will try with > <2.6.18 and I'll report you. Tested also with suspend2-sources-2.6.17-r6, does emerge. Thanks again.
*** Bug 155886 has been marked as a duplicate of this bug. ***
>=20060501-r1 needs to be stabilized, reopening.
on amd64 is working good for me
CC [M] /var/tmp/portage/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.o CC [M] /var/tmp/portage/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spcadecoder.o /var/tmp/portage/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spcadecoder.c: In function ‘fun_D’: /var/tmp/portage/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spcadecoder.c:809: warning: value computed is not used /var/tmp/portage/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:39:26: error: linux/config.h: No such file or directory /var/tmp/portage/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca50x_init_isoc’: /var/tmp/portage/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:1624: warning: assignment from incompatible pointer type /var/tmp/portage/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca50x_create_sysfs’: /var/tmp/portage/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:3451: warning: ignoring return value of ‘video_device_create_file’, declared with attribute warn_unused_result /var/tmp/portage/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:3452: warning: ignoring return value of ‘video_device_create_file’, declared with attribute warn_unused_result /var/tmp/portage/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:3453: warning: ignoring return value of ‘video_device_create_file’, declared with attribute warn_unused_result make[2]: *** [/var/tmp/portage/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.o] Error 1 make[1]: *** [_module_/var/tmp/portage/spca5xx-20060501-r2/work/spca5xx-20060501] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.19-joe' make: *** [default] Error 2 !!! ERROR: media-video/spca5xx-20060501-r2 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 1255: Called linux-mod_src_compile linux-mod.eclass, line 510: Called die !!! Unable to make KERNELDIR=/usr/src/linux default. !!! If you need support, post the topmost build error, and the call stack if relevant. Hmmm... seems like linux/config.h has been removed in version 2.6.19 of the kernel. This is easily fixed by substituting reference to linux/config.h with linux/autoconf.h in the drivers/usb/spca5xx.c file.
Created attachment 104133 [details, diff] Change linux/config.h to linux/autoconf.h in spca5xx This is a very simple patch that changes linux/config.h to linux/autoconf.h in spca5xx.c file. The linux/config.h file seems to be deprecated and I checked this file out in 2.6.18 of the kernel. It was just including the autoconf.h file. The config.h was included in 2.6.18 for backward compatability.
try new dropped media-video/gspca
Created attachment 104740 [details] spca5xx-20060501-r2.ebuild, using the patch from comment #31 (In reply to comment #30) /var/tmp/portage/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:39:26: > error: linux/config.h: No such file or directory I'm seeing this as well. Could the bug please be reopened? make[1]: Entering directory `/usr/src/linux-2.6.19-suspend2-r1' CC [M] /Gentoo/Portage/build/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.o /Gentoo/Portage/build/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:39:26: error: linux/config.h: No such file or directory /Gentoo/Portage/build/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca50x_init_isoc': /Gentoo/Portage/build/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:1624: warning: assignment from incompatible pointer type With the patch from comment #31, I'm able to compile spca5xx. Attached is a new ebuild which uses this patch. alexander@blatt ~/Programme/Source/qc-usb-messenger-0.8 $ emerge --info Portage 2.1.2_rc4-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-suspend2-r1.045 i686) ================================================================= System uname: 2.6.19-suspend2-r1.045 i686 Intel(R) Celeron(R) M processor 1.50GHz Gentoo Base System version 1.12.8 Last Sync: Tue, 26 Dec 2006 12:20:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 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.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer" 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/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/Gentoo/Portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig buildpkg ccache collision-protect distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS=" http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo http://distfiles.gentoo.org/ " LANG="de_DE.UTF-8" LINGUAS="de" PKGDIR="/Gentoo/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="/Gentoo/Portage/build" PORTDIR="/Gentoo/Portage/tree" PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 alsa alsa_cards_via82xx alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol berkdb bitmap-fonts cli cracklib crypt dlloader dri elibc_glibc esd fortran gdbm gnome gstreamer hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog kdeenablefinal kdehiddenvisibility kernel_linux libedit libg++ libnotify linguas_de ncurses nls nptl nptlonly pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_vesa video_cards_vga video_cards_via xorg zlib" Unset: CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS