* Re: [gentoo-user] usb webcam
[not found] <10849572.23471224286510326.JavaMail.root@mx1.canmail.org>
@ 2008-10-17 23:43 ` RYAN vAN GINNEKEN
2008-10-18 8:26 ` Alan McKinnon
2008-10-18 10:22 ` Shouting (was Re: [gentoo-user] usb webcam) Dirk Heinrichs
0 siblings, 2 replies; 3+ messages in thread
From: RYAN vAN GINNEKEN @ 2008-10-17 23:43 UTC (permalink / raw
To: gentoo-user
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" <alan.mckinnon@gmail.com> wrote:
> On Friday 17 October 2008 20:02:58 RYAN vAN GINNEKEN wrote:
> > ----- "KH" <gentoo-user@konstantinhansen.de> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] usb webcam
2008-10-17 23:43 ` [gentoo-user] usb webcam RYAN vAN GINNEKEN
@ 2008-10-18 8:26 ` Alan McKinnon
2008-10-18 10:22 ` Shouting (was Re: [gentoo-user] usb webcam) Dirk Heinrichs
1 sibling, 0 replies; 3+ messages in thread
From: Alan McKinnon @ 2008-10-18 8:26 UTC (permalink / raw
To: gentoo-user
On Saturday 18 October 2008 01:43:58 RYAN vAN GINNEKEN wrote:
> 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!!!
The usual answer is "try them and see what happens"
Devs usually hard-mask packages for the following reasons (sort of in order of
decreasing frequency)
- the package will not build (stupid code)
- the package depends on something else that is not in portage
- the package is horribly buggy but seems to work sometimes
- the package wreaks half of the other packages on your machine
- the package is a developer testing version and you're not supposed to use it
- the package breaks your hardware
the last one is extremely rare. So try those packages by all means, and note
what happens at each step. If they really are unusable and you know your way
around, it's not that hard to remove them. Irritating and time-consuming yes,
but hard and dangerous no
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Shouting (was Re: [gentoo-user] usb webcam)
2008-10-17 23:43 ` [gentoo-user] usb webcam RYAN vAN GINNEKEN
2008-10-18 8:26 ` Alan McKinnon
@ 2008-10-18 10:22 ` Dirk Heinrichs
1 sibling, 0 replies; 3+ messages in thread
From: Dirk Heinrichs @ 2008-10-18 10:22 UTC (permalink / raw
To: gentoo-user
Am Samstag, 18. Oktober 2008 01:43:58 schrieb RYAN vAN GINNEKEN:
> ANYWHO SHOULD I EVEN BE USING THESE
Could you please stop SHOUTING, we can hear you.
Bye...
Dirk
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-10-18 10:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <10849572.23471224286510326.JavaMail.root@mx1.canmail.org>
2008-10-17 23:43 ` [gentoo-user] usb webcam RYAN vAN GINNEKEN
2008-10-18 8:26 ` Alan McKinnon
2008-10-18 10:22 ` Shouting (was Re: [gentoo-user] usb webcam) Dirk Heinrichs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox