From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KqyzD-0002Gc-R2 for garchives@archives.gentoo.org; Fri, 17 Oct 2008 23:44:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA5E7E02DA; Fri, 17 Oct 2008 23:44:02 +0000 (UTC) Received: from mx1.canmail.org (ns1.canmail.org [66.244.200.225]) by pigeon.gentoo.org (Postfix) with ESMTP id 7ADFEE02DA for ; Fri, 17 Oct 2008 23:44:02 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mx1.canmail.org (Postfix) with ESMTP id 33EF5B00E3 for ; Fri, 17 Oct 2008 17:44:01 -0600 (MDT) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -1.051 X-Spam-Level: X-Spam-Status: No, score=-1.051 tagged_above=-10 required=6.6 tests=[AWL=-0.335, BAYES_00=-2.599, RCVD_IN_PBL=0.905, RCVD_IN_SORBS_DUL=0.877, RDNS_NONE=0.1, WEIRD_PORT=0.001] Received: from mx1.canmail.org ([127.0.0.1]) by localhost (mx1.canmail.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6TIwUFYm2nJh for ; Fri, 17 Oct 2008 17:43:59 -0600 (MDT) Received: from mx1.canmail.org (localhost.localdomain [127.0.0.1]) by mx1.canmail.org (Postfix) with ESMTP id C77F0B002C for ; Fri, 17 Oct 2008 17:43:59 -0600 (MDT) Date: Fri, 17 Oct 2008 17:43:58 -0600 (MDT) From: RYAN vAN GINNEKEN To: gentoo-user@lists.gentoo.org Message-ID: <32135853.23491224287038911.JavaMail.root@mx1.canmail.org> In-Reply-To: <10849572.23471224286510326.JavaMail.root@mx1.canmail.org> Subject: Re: [gentoo-user] usb webcam Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [68.144.18.110] X-Mailer: Zimbra 5.0.9_GA_2533.UBUNTU6 (ZimbraWebClient - FF3.0 (Win)/5.0.9_GA_2533.UBUNTU6) X-Archives-Salt: e27fc1f0-4137-4be3-92c4-fcb066f38067 X-Archives-Hash: 71c72baf0615febecf7098228c5126a3 As stated in my first post of this thread i have added these the the /etc/portage/package.umask ooops there it is named the file umask instead of unmask hehehe typo now things are trying to build but i get this error ANYWHO SHOULD I EVEN BE USING THESE dangerous looking packages ?? are there some usb camera drivers that are stable that i could try please help!!! Emerging (1 of 1) media-video/spca5xx-20060501-r1 to / >>> Downloading 'ftp://gentoo.arcticnetwork.ca/pub/gentoo/distfiles/spca5xx-20060501.tar.gz' --17:31:22-- ftp://gentoo.arcticnetwork.ca/pub/gentoo/distfiles/spca5xx-20060501.tar.gz => `/usr/portage/distfiles/spca5xx-20060501.tar.gz' Resolving gentoo.arcticnetwork.ca... 206.75.218.53 Connecting to gentoo.arcticnetwork.ca|206.75.218.53|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/gentoo/distfiles ... done. ==> PASV ... done. ==> RETR spca5xx-20060501.tar.gz ... done. Length: 192,817 (188K) (unauthoritative) 100%[====================================>] 192,817 565.78K/s 17:31:22 (564.45 KB/s) - `/usr/portage/distfiles/spca5xx-20060501.tar.gz' saved [192817] * 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 kernel object directory: * /lib/modules/2.6.25-gentoo-r8/build * Found sources for kernel version: * 2.6.25-gentoo-r8 * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking spca5xx-20060501.tar.gz to /var/tmp/portage/media-video/spca5xx-20060501-r1/work tar: spca5xx-20060501/drivers: implausibly old time stamp 1969-12-31 17: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/media-video/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/media-video/spca5xx-20060501-r1/work/spca5xx-20060501 CC=i686-pc-linux-gnu-gcc modules make[1]: Entering directory `/usr/src/linux-2.6.25-gentoo-r8' scripts/Makefile.build:46: *** CFLAGS was changed in "/var/tmp/portage/media-video/spca5xx-20060501-r1/work/spca5xx-20060501/Makefile". Fix it to use EXTRA_CFLAGS. Stop. make[1]: *** [_module_/var/tmp/portage/media-video/spca5xx-20060501-r1/work/spca5xx-20060501] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r8' make: *** [default] Error 2 * * ERROR: media-video/spca5xx-20060501-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3125: 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= KERNELDIR=/usr/src/linux default * * 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-video/spca5xx-20060501-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/spca5xx-20060501-r1/temp/environment'. * * Messages for package media-video/spca5xx-20060501-r1: * * ERROR: media-video/spca5xx-20060501-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3125: 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= KERNELDIR=/usr/src/linux default * * 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-video/spca5xx-20060501-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/spca5xx-20060501-r1/temp/environment'. * and this guess i will try v1 as suggested in the error message => `/usr/portage/distfiles/gspcav1-01.00.10.tar.gz' Resolving gentoo.arcticnetwork.ca... 206.75.218.53 Connecting to gentoo.arcticnetwork.ca|206.75.218.53|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/gentoo/distfiles ... done. ==> PASV ... done. ==> RETR gspcav1-01.00.10.tar.gz ... done. Length: 157,997 (154K) (unauthoritative) 100%[====================================>] 157,997 413.77K/s 17:40:05 (413.38 KB/s) - `/usr/portage/distfiles/gspcav1-01.00.10.tar.gz' saved [157997] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking gspcav1-01.00.10.tar.gz ;-) ... [ ok ] * The package maintainer made a mistake. You should consider using media-video/gspcav1 * instead. This driver is still alpha. --KingTaco * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.25-gentoo-r8/build * Found sources for kernel version: * 2.6.25-gentoo-r8 * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking gspcav1-01.00.10.tar.gz to /var/tmp/portage/media-video/gspca-01.00.10/work * * ERROR: media-video/gspca-01.00.10 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 3146: Called convert_to_m 'src_unpack' * environment, line 754: Called die * The specific snippet of code: * [ ! -f "${1}" ] && die "convert_to_m() requires a filename as an argument"; * The die message: * convert_to_m() requires a filename as an argument * * 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-video/gspca-01.00.10/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/gspca-01.00.10/temp/environment'. * * Messages for package media-video/gspca-01.00.10: * The package maintainer made a mistake. You should consider using media-video/gspcav1 * instead. This driver is still alpha. --KingTaco * * ERROR: media-video/gspca-01.00.10 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 3146: Called convert_to_m 'src_unpack' * environment, line 754: Called die * The specific snippet of code: * [ ! -f "${1}" ] && die "convert_to_m() requires a filename as an argument"; * The die message: * convert_to_m() requires a filename as an argument * * 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-video/gspca-01.00.10/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/gspca-01.00.10/temp/environment'. ----- "Alan McKinnon" wrote: > On Friday 17 October 2008 20:02:58 RYAN vAN GINNEKEN wrote: > > ----- "KH" wrote: > > > I have tried the additional combos below, but still cannot build > the > > spca5xx port. The first one gives me invalid atom error the rest > just give > > the package mask error mentioned in my first email. > > > > =media-video/spca5xx > > This won't work. An atom with a version prefix must have a version > number. > > > =media-video/spca5xx-20060501-r1 ~x86 > > <=media-video/spca5xx-20060501-r1 ~x86 > > > > >=media-video/spca5xx-20060501-r1 ~x86 > > > > funny thing is i got the masked zoneminder port to build using these > in > > /etc/portage/package.keywords > > You are looking in the wrong place. I would suggest that you first > read all > the portage man pages: > > man emerge > man 5 make.conf > man 5 portage > man 5 ebuild > > Alread gone through the first couple but maybe i should take a look at the others. >It's a lot of stuff but it's all necessary. > > Now look at your original error and see what is there instead of what > you > think might be there. It clearly says that the package is hard masked, > and > that it is package.mask that is doing it. If you look in that file, > you see: > > nazgul ~ # grep spca /var/portage/profiles/package.mask > # Sorting out media-video/{spca5xx,gspca{,v1}} bug 159176 > media-video/spca5xx > media-video/gspca > > You can fiddle with package.keywords for the next century, it won't > make a > difference. You need to unmask these packages with entries > in /etc/portage/package.unmask > > > -- > alan dot mckinnon at gmail dot com