Gentoo Archives: gentoo-user

From: RYAN vAN GINNEKEN <king@××××××××××××.ca>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] usb webcam
Date: Fri, 17 Oct 2008 23:44:04
Message-Id: 32135853.23491224287038911.JavaMail.root@mx1.canmail.org
1 As stated in my first post of this thread i have added these the the /etc/portage/package.umask
2
3 ooops there it is named the file umask instead of unmask hehehe typo now things are trying to build but i get this error
4
5 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!!!
6
7
8
9 Emerging (1 of 1) media-video/spca5xx-20060501-r1 to /
10 >>> Downloading 'ftp://gentoo.arcticnetwork.ca/pub/gentoo/distfiles/spca5xx-20060501.tar.gz'
11 --17:31:22-- ftp://gentoo.arcticnetwork.ca/pub/gentoo/distfiles/spca5xx-20060501.tar.gz
12 => `/usr/portage/distfiles/spca5xx-20060501.tar.gz'
13 Resolving gentoo.arcticnetwork.ca... 206.75.218.53
14 Connecting to gentoo.arcticnetwork.ca|206.75.218.53|:21... connected.
15 Logging in as anonymous ... Logged in!
16 ==> SYST ... done. ==> PWD ... done.
17 ==> TYPE I ... done. ==> CWD /pub/gentoo/distfiles ... done.
18 ==> PASV ... done. ==> RETR spca5xx-20060501.tar.gz ... done.
19 Length: 192,817 (188K) (unauthoritative)
20
21 100%[====================================>] 192,817 565.78K/s
22
23 17:31:22 (564.45 KB/s) - `/usr/portage/distfiles/spca5xx-20060501.tar.gz' saved [192817]
24
25 * checking ebuild checksums ;-) ... [ ok ]
26 * checking auxfile checksums ;-) ... [ ok ]
27 * checking miscfile checksums ;-) ... [ ok ]
28 * checking spca5xx-20060501.tar.gz ;-) ... [ ok ]
29 * Determining the location of the kernel source code
30 * Found kernel source directory:
31 * /usr/src/linux
32 * Found kernel object directory:
33 * /lib/modules/2.6.25-gentoo-r8/build
34 * Found sources for kernel version:
35 * 2.6.25-gentoo-r8
36 * Checking for suitable kernel configuration options... [ ok ]
37 >>> Unpacking source...
38 >>> Unpacking spca5xx-20060501.tar.gz to /var/tmp/portage/media-video/spca5xx-20060501-r1/work
39 tar: spca5xx-20060501/drivers: implausibly old time stamp 1969-12-31 17:00:00
40 * Converting spca5xx-20060501/Makefile to use M= instead of SUBDIRS= .. [ ok ]
41 * Applying spca-20060501-defines.patch ... [ ok ]
42 * Applying spca-20060501-2.6.18.patch ... [ ok ]
43 >>> Source unpacked.
44 >>> Compiling source in /var/tmp/portage/media-video/spca5xx-20060501-r1/work/spca5xx-20060501 ...
45 * Preparing spca5xx module
46 Building SPCA5XX driver for 2.5/2.6 kernel.
47 Remember: you must have read/write access to your kernel source tree.
48 make -C /usr/src/linux M=/var/tmp/portage/media-video/spca5xx-20060501-r1/work/spca5xx-20060501 CC=i686-pc-linux-gnu-gcc modules
49 make[1]: Entering directory `/usr/src/linux-2.6.25-gentoo-r8'
50 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.
51 make[1]: *** [_module_/var/tmp/portage/media-video/spca5xx-20060501-r1/work/spca5xx-20060501] Error 2
52 make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r8'
53 make: *** [default] Error 2
54 *
55 * ERROR: media-video/spca5xx-20060501-r1 failed.
56 * Call stack:
57 * ebuild.sh, line 49: Called src_compile
58 * environment, line 3125: Called linux-mod_src_compile
59 * environment, line 2398: Called die
60 * The specific snippet of code:
61 * 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}";
62 * The die message:
63 * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS= KERNELDIR=/usr/src/linux default
64 *
65 * If you need support, post the topmost build error, and the call stack if relevant.
66 * A complete build log is located at '/var/tmp/portage/media-video/spca5xx-20060501-r1/temp/build.log'.
67 * The ebuild environment file is located at '/var/tmp/portage/media-video/spca5xx-20060501-r1/temp/environment'.
68 *
69
70 * Messages for package media-video/spca5xx-20060501-r1:
71
72 *
73 * ERROR: media-video/spca5xx-20060501-r1 failed.
74 * Call stack:
75 * ebuild.sh, line 49: Called src_compile
76 * environment, line 3125: Called linux-mod_src_compile
77 * environment, line 2398: Called die
78 * The specific snippet of code:
79 * 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}";
80 * The die message:
81 * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS= KERNELDIR=/usr/src/linux default
82 *
83 * If you need support, post the topmost build error, and the call stack if relevant.
84 * A complete build log is located at '/var/tmp/portage/media-video/spca5xx-20060501-r1/temp/build.log'.
85 * The ebuild environment file is located at '/var/tmp/portage/media-video/spca5xx-20060501-r1/temp/environment'.
86 *
87
88 and this guess i will try v1 as suggested in the error message
89
90 => `/usr/portage/distfiles/gspcav1-01.00.10.tar.gz'
91 Resolving gentoo.arcticnetwork.ca... 206.75.218.53
92 Connecting to gentoo.arcticnetwork.ca|206.75.218.53|:21... connected.
93 Logging in as anonymous ... Logged in!
94 ==> SYST ... done. ==> PWD ... done.
95 ==> TYPE I ... done. ==> CWD /pub/gentoo/distfiles ... done.
96 ==> PASV ... done. ==> RETR gspcav1-01.00.10.tar.gz ... done.
97 Length: 157,997 (154K) (unauthoritative)
98
99 100%[====================================>] 157,997 413.77K/s
100
101 17:40:05 (413.38 KB/s) - `/usr/portage/distfiles/gspcav1-01.00.10.tar.gz' saved [157997]
102
103 * checking ebuild checksums ;-) ... [ ok ]
104 * checking auxfile checksums ;-) ... [ ok ]
105 * checking miscfile checksums ;-) ... [ ok ]
106 * checking gspcav1-01.00.10.tar.gz ;-) ... [ ok ]
107 * The package maintainer made a mistake. You should consider using media-video/gspcav1
108 * instead. This driver is still alpha. --KingTaco
109 * Determining the location of the kernel source code
110 * Found kernel source directory:
111 * /usr/src/linux
112 * Found kernel object directory:
113 * /lib/modules/2.6.25-gentoo-r8/build
114 * Found sources for kernel version:
115 * 2.6.25-gentoo-r8
116 * Checking for suitable kernel configuration options... [ ok ]
117 >>> Unpacking source...
118 >>> Unpacking gspcav1-01.00.10.tar.gz to /var/tmp/portage/media-video/gspca-01.00.10/work
119 *
120 * ERROR: media-video/gspca-01.00.10 failed.
121 * Call stack:
122 * ebuild.sh, line 49: Called src_unpack
123 * environment, line 3146: Called convert_to_m 'src_unpack'
124 * environment, line 754: Called die
125 * The specific snippet of code:
126 * [ ! -f "${1}" ] && die "convert_to_m() requires a filename as an argument";
127 * The die message:
128 * convert_to_m() requires a filename as an argument
129 *
130 * If you need support, post the topmost build error, and the call stack if relevant.
131 * A complete build log is located at '/var/tmp/portage/media-video/gspca-01.00.10/temp/build.log'.
132 * The ebuild environment file is located at '/var/tmp/portage/media-video/gspca-01.00.10/temp/environment'.
133 *
134
135 * Messages for package media-video/gspca-01.00.10:
136
137 * The package maintainer made a mistake. You should consider using media-video/gspcav1
138 * instead. This driver is still alpha. --KingTaco
139 *
140 * ERROR: media-video/gspca-01.00.10 failed.
141 * Call stack:
142 * ebuild.sh, line 49: Called src_unpack
143 * environment, line 3146: Called convert_to_m 'src_unpack'
144 * environment, line 754: Called die
145 * The specific snippet of code:
146 * [ ! -f "${1}" ] && die "convert_to_m() requires a filename as an argument";
147 * The die message:
148 * convert_to_m() requires a filename as an argument
149 *
150 * If you need support, post the topmost build error, and the call stack if relevant.
151 * A complete build log is located at '/var/tmp/portage/media-video/gspca-01.00.10/temp/build.log'.
152 * The ebuild environment file is located at '/var/tmp/portage/media-video/gspca-01.00.10/temp/environment'.
153
154
155
156
157 ----- "Alan McKinnon" <alan.mckinnon@×××××.com> wrote:
158
159 > On Friday 17 October 2008 20:02:58 RYAN vAN GINNEKEN wrote:
160 > > ----- "KH" <gentoo-user@××××××××××××××××.de> wrote:
161 >
162 > > I have tried the additional combos below, but still cannot build
163 > the
164 > > spca5xx port. The first one gives me invalid atom error the rest
165 > just give
166 > > the package mask error mentioned in my first email.
167 > >
168 > > =media-video/spca5xx
169 >
170 > This won't work. An atom with a version prefix must have a version
171 > number.
172 >
173 > > =media-video/spca5xx-20060501-r1 ~x86
174 > > <=media-video/spca5xx-20060501-r1 ~x86
175 > >
176 > > >=media-video/spca5xx-20060501-r1 ~x86
177 > >
178 > > funny thing is i got the masked zoneminder port to build using these
179 > in
180 > > /etc/portage/package.keywords
181 >
182 > You are looking in the wrong place. I would suggest that you first
183 > read all
184 > the portage man pages:
185 >
186 > man emerge
187 > man 5 make.conf
188 > man 5 portage
189 > man 5 ebuild
190 >
191 >
192
193 Alread gone through the first couple but maybe i should take a look at the others.
194
195 >It's a lot of stuff but it's all necessary.
196 >
197 > Now look at your original error and see what is there instead of what
198 > you
199 > think might be there. It clearly says that the package is hard masked,
200 > and
201 > that it is package.mask that is doing it. If you look in that file,
202 > you see:
203 >
204 > nazgul ~ # grep spca /var/portage/profiles/package.mask
205 > # Sorting out media-video/{spca5xx,gspca{,v1}} bug 159176
206 > media-video/spca5xx
207 > media-video/gspca
208 >
209 > You can fiddle with package.keywords for the next century, it won't
210 > make a
211 > difference. You need to unmask these packages with entries
212 > in /etc/portage/package.unmask
213 >
214 >
215 > --
216 > alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] usb webcam Alan McKinnon <alan.mckinnon@×××××.com>
Shouting (was Re: [gentoo-user] usb webcam) Dirk Heinrichs <dirk.heinrichs@××××××.de>