Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163144 - media-video/gspca-01.00.10 compile fails to compile
Summary: media-video/gspca-01.00.10 compile fails to compile
Status: RESOLVED DUPLICATE of bug 159176
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Mike Doty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-21 23:52 UTC by David Carlos Manuelda
Modified: 2007-03-10 18:40 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
My emerge information (eminfo.txt,8.95 KB, text/plain)
2007-01-21 23:54 UTC, David Carlos Manuelda
Details
Full "emerge gspca" run with failed compile - build.log (build.log,1.33 KB, text/plain)
2007-03-09 00:44 UTC, Ville Witt
Details
Log of user experience (emergerun.log,2.23 KB, text/plain)
2007-03-09 00:52 UTC, Ville Witt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2007-01-21 23:52:02 UTC
I tried to emerge gspca for my webcam, and I got:

emerge gspca

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-video/gspca-01.00.10  0 kB

Total size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

>>> Emerging (1 of 1) media-video/gspca-01.00.10 to /
 * gspcav1-01.00.10.tar.gz MD5 ;-) ...                                                              [ ok ]
 * gspcav1-01.00.10.tar.gz RMD160 ;-) ...                                                           [ ok ]
 * gspcav1-01.00.10.tar.gz SHA1 ;-) ...                                                             [ ok ]
 * gspcav1-01.00.10.tar.gz SHA256 ;-) ...                                                           [ ok ]
 * gspcav1-01.00.10.tar.gz size ;-) ...                                                             [ ok ]
 * checking ebuild checksums ;-) ...                                                                [ ok ]
 * checking auxfile checksums ;-) ...                                                               [ ok ]
 * checking miscfile checksums ;-) ...                                                              [ ok ]
 * checking gspcav1-01.00.10.tar.gz ;-) ...                                                         [ ok ]
/usr/portage/media-video/gspca/gspca-01.00.10.ebuild: line 26: eeinfo: command not found
/usr/portage/media-video/gspca/gspca-01.00.10.ebuild: line 27: eeinfo: command not found
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.19-gentoo-r2/build
 * Found sources for kernel version:
 *     2.6.19-gentoo-r2
 * Checking for suitable kernel configuration options...                                            [ ok ]
>>> Unpacking source...
>>> Unpacking gspcav1-01.00.10.tar.gz to /var/tmp/portage/gspca-01.00.10/work

!!! ERROR: media-video/gspca-01.00.10 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  gspca-01.00.10.ebuild, line 34:   Called convert_to_m '/var/tmp/portage/gspca-01.00.10/work/gspca-01.00.10/gspcav2/Makefile'
  linux-mod.eclass, line 156:   Called die

!!! convert_to_m() requires a filename as an argument
!!! If you need support, post the topmost build error, and the call stack if relevant.


Reproducible: Always

Steps to Reproduce:
1.emerge --sync
2.emerge gspca


Expected Results:  
Compile properly
Comment 1 David Carlos Manuelda 2007-01-21 23:54:03 UTC
Created attachment 107734 [details]
My emerge information

My emerge --info
Comment 2 Pacho Ramos gentoo-dev 2007-01-22 19:17:50 UTC
Try to install media-video/gspcav1-20070110 instead of media-video/gspca-01.00.10
Comment 3 David Carlos Manuelda 2007-01-23 00:41:44 UTC
Ok, media-video/gspcav1-20070110 compiles, loads and works perfectly with my Logitech QuickCam Express (same behaviour than it had with spca5xx).

I will let this bug open because this is package.masked, could any gentoo dev unmask it, and ~amd64 keyword despite this is beta? (I thing is enough with ~amd64 keyword, no need to package.mask it).

Close it when this masking is resolved.
Comment 4 Pacho Ramos gentoo-dev 2007-01-23 19:52:26 UTC
(In reply to comment #3)
> Ok, media-video/gspcav1-20070110 compiles, loads and works perfectly with my
> Logitech QuickCam Express (same behaviour than it had with spca5xx).
> 
> I will let this bug open because this is package.masked, could any gentoo dev
> unmask it, and ~amd64 keyword despite this is beta? (I thing is enough with
> ~amd64 keyword, no need to package.mask it).
> 
> Close it when this masking is resolved.
> 


Can you please attach you kernel config in http://bugs.gentoo.org/show_bug.cgi?id=162939

I cannot make gspcav1 work on my system :-(

Thanks for your help :-)
Comment 5 Tiago Madeira 2007-01-26 15:16:50 UTC
(In reply to comment #3)
> Ok, media-video/gspcav1-20070110 compiles, loads and works perfectly with my
> Logitech QuickCam Express (same behaviour than it had with spca5xx).
> 
> I will let this bug open because this is package.masked, could any gentoo dev
> unmask it, and ~amd64 keyword despite this is beta? (I thing is enough with
> ~amd64 keyword, no need to package.mask it).
> 
> Close it when this masking is resolved.
> 

How to compile media-video/gspcav1-20070110? I have an Acer Orbicam in my laptop and when I try to compile gspca I've got the same error you've got.

Like you said, gspcav1 is masked. My laptop is AMD64. How to unmask it?
Comment 6 Tiago Madeira 2007-01-26 16:27:15 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > Ok, media-video/gspcav1-20070110 compiles, loads and works perfectly with my
> > Logitech QuickCam Express (same behaviour than it had with spca5xx).
> > 
> > I will let this bug open because this is package.masked, could any gentoo dev
> > unmask it, and ~amd64 keyword despite this is beta? (I thing is enough with
> > ~amd64 keyword, no need to package.mask it).
> > 
> > Close it when this masking is resolved.
> > 
> 
> How to compile media-video/gspcav1-20070110? I have an Acer Orbicam in my
> laptop and when I try to compile gspca I've got the same error you've got.
> 
> Like you said, gspcav1 is masked. My laptop is AMD64. How to unmask it?
> 

Oops, I just commented the line in /usr/portage/profiles/package.mask and now it's emerging. Sorry, I'm new in Gentoo. Thanks anyway =)
Comment 7 David Carlos Manuelda 2007-01-27 03:00:31 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #3)
> > > Ok, media-video/gspcav1-20070110 compiles, loads and works perfectly with my
> > > Logitech QuickCam Express (same behaviour than it had with spca5xx).
> > > 
> > > I will let this bug open because this is package.masked, could any gentoo dev
> > > unmask it, and ~amd64 keyword despite this is beta? (I thing is enough with
> > > ~amd64 keyword, no need to package.mask it).
> > > 
> > > Close it when this masking is resolved.
> > > 
> > 
> > How to compile media-video/gspcav1-20070110? I have an Acer Orbicam in my
> > laptop and when I try to compile gspca I've got the same error you've got.
> > 
> > Like you said, gspcav1 is masked. My laptop is AMD64. How to unmask it?
> > 
> 
> Oops, I just commented the line in /usr/portage/profiles/package.mask and now
> it's emerging. Sorry, I'm new in Gentoo. Thanks anyway =)
> 


Don't comment /usr/portage/profiles/package.mask!!!! This is masked by portage system, and, when you sync portage, this changes WILL BE REVERTED TO DEFAULT.

Instead, add "media-video/gspcav1" to /etc/portage/package.unmask and "media-video/gspcav1 ~amd64" to /etc/portage/package.keywords (without quotes), and this way, this changes will not be reverted to default with a sync and thus, this is the correct form of unmasking things (obtained from the gentoo's handbook) :) 
Comment 8 Ville Witt 2007-03-09 00:44:55 UTC
Created attachment 112653 [details]
Full "emerge gspca" run with failed compile - build.log

# emerge gspca
Calculating dependencies... done!

>>> Emerging (1 of 1) media-video/gspca-01.00.10 to /
>>> Downloading 'http://mirror.gbar.dtu.dk/Gentoo/distfiles/gspcav1-01.00.10.tar.gz'
--00:29:52--  http://mirror.gbar.dtu.dk/Gentoo/distfiles/gspcav1-01.00.10.tar.gz
           => `/usr/portage/distfiles/gspcav1-01.00.10.tar.gz'
Resolving mirror.gbar.dtu.dk... 192.38.95.70
Connecting to mirror.gbar.dtu.dk|192.38.95.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 157,997 (154K) [application/x-tar]

100%[====================================>] 157,997       --.--K/s             

00:29:52 (4.27 MB/s) - `/usr/portage/distfiles/gspcav1-01.00.10.tar.gz' saved [157997/157997]

 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking gspcav1-01.00.10.tar.gz ;-) ...                               [ ok ]
/usr/portage/media-video/gspca/gspca-01.00.10.ebuild: line 26: eeinfo: command not found
/usr/portage/media-video/gspca/gspca-01.00.10.ebuild: line 27: eeinfo: command not found
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.19-gentoo-r5/build
 * Found sources for kernel version:
 *     2.6.19-gentoo-r5
 * 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 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call 'src_unpack'
  environment, line 3983:   Called src_unpack
  gspca-01.00.10.ebuild, line 34:   Called convert_to_m '/var/tmp/portage/media-video/gspca-01.00.10/work/gspca-01.00.10/gspcav2/Makefile'
  linux-mod.eclass, line 156:   Called die

!!! 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'.

#
Comment 9 Ville Witt 2007-03-09 00:52:03 UTC
Created attachment 112654 [details]
Log of user experience
Comment 10 Ville Witt 2007-03-09 00:58:10 UTC
I'e got the same error as the ones listed bellow. It is easily reproduceable by simply "emerge --sync && emerge gspca"

#emerge --info
Portage 2.1.2-r9 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 08 Mar 2007 23:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
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 /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gbar.dtu.dk/Gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ "
LINGUAS="dk en"
MAKEOPTS="-j3"
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/layman/xeffects"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib alsa berkdb bitmap-fonts bluetooth cairo cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emboss encode esd fam ffmpeg firefox flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg ldap libcaca libg++ libnotify mad matroska mikmod mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre pdf perl png ppds pppd python quicktime readline reflection sdl session spell spl ssl svg tcpd theora truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs x86 xml xorg xv xvid zlib" ALSA_CARDS="emu10k1" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="dk en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 Pacho Ramos gentoo-dev 2007-03-09 09:57:19 UTC
Please, try to use media-video/gspcav1 instead

Good luck!
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-03-10 18:40:02 UTC
Sorting out the spca5xx/gspca/gspcav1 mess in Bug 159176.

*** This bug has been marked as a duplicate of bug 159176 ***