Currently, the stable version of the SDLcam doesn't emerge in my x86 stable install. Calculating dependencies ... done! >>> Emerging (1 of 1) media-video/SDLcam-0.7.3-r1 to / * SDLcam-0.7.3.tar.gz MD5 ;-) ... [ ok ] * SDLcam-0.7.3.tar.gz RMD160 ;-) ... [ ok ] * SDLcam-0.7.3.tar.gz SHA1 ;-) ... [ ok ] * SDLcam-0.7.3.tar.gz SHA256 ;-) ... [ ok ] * SDLcam-0.7.3.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking SDLcam-0.7.3.tar.gz ;-) ... [ ok ]>>> Unpacking source... >>> Unpacking SDLcam-0.7.3.tar.gz to /var/tmp/portage/SDLcam-0.7.3-r1/work * Applying 0.7.3-gcc3.patch ... [ ok ] * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/media-video/SDLcam/files/0.7.3-no-divx.patch * ( 0.7.3-no-divx.patch ) !!! ERROR: media-video/SDLcam-0.7.3-r1 failed. Call stack: ebuild.sh, line 1546: Called dyn_unpack ebuild.sh, line 708: Called src_unpack SDLcam-0.7.3-r1.ebuild, line 26: Called epatch '/usr/portage/media-video/SDLcam/files/0.7.3-no-divx.patch' eutils.eclass, line 198: Called die !!! Cannot find $EPATCH_SOURCE! !!! If you need support, post the topmost build error, and the call stack if relevant. Here is my 'emerge --info': Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.12.5 Last Sync: Thu, 19 Oct 2006 14:20:01 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 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.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fforce-addr -fprefetch-loop-arrays -funroll-loops -fomit-frame-pointer -fstack-protector" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/ /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=pentium4 -O3 -pipe -fforce-addr -fprefetch-loop-arrays -funroll-loops -fomit-frame-pointer -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://mirror.espri.arizona.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://ftp.swin.edu.au/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/gentoo http://gentoo.osuosl.org" LANG="es_MX" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" LINGUAS="es" 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.namerica.gentoo.org/gentoo-portage" USE="x86 X Xaw3d a52 aac aalib acl acpi alsa apache2 audiofile avahi bash-completion berkdb bitmap-fonts bzip2 cairo caps cdr cli cracklib crypt cscope cups curl dbus dga dlloader dri dv dvd eds elibc_glibc emboss encode esd exif fam fbcon firefox flac foomaticdb fortran gcj gd gdbm gif gimp gmp gnome gnutls gphoto2 gpm gstreamer gtk gtkhtml guile hal imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jack java jbig joystick jpeg kerberos kernel_linux krb4 lcms ldap libcaca libg++ libgda linguas_es logrotate mad mikmod mmx mng mono motif mp3 mpeg mssql mysql ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre pda pdf perl pic plotutils png postgres ppds pppd prelude python qt3 qt4 quicktime readline reflection samba sasl sdl session slp sndfile snmp speex spell spl sse ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vhosts video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa vorbis win32codecs wmf xinerama xml xorg xpm xprint xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
I took a look. It does indeed appear that the patch in question is missing. However, it also appears that SDLcam-0.7.3-r2.ebuild (as opposed to 0.7.3-r1) doesn't reference the patch in question. Try that version instead.
(In reply to comment #1) > I took a look. It does indeed appear that the patch in question is missing. > > However, it also appears that SDLcam-0.7.3-r2.ebuild (as opposed to 0.7.3-r1) > doesn't reference the patch in question. > > Try that version instead. > Nope, it doesn't work either. Calculating dependencies ... done! >>> Emerging (1 of 1) media-video/SDLcam-0.7.3-r2 to / * SDLcam-0.7.3.tar.gz MD5 ;-) ... [ ok ] * SDLcam-0.7.3.tar.gz RMD160 ;-) ... [ ok ] * SDLcam-0.7.3.tar.gz SHA1 ;-) ... [ ok ] * SDLcam-0.7.3.tar.gz SHA256 ;-) ... [ ok ] * SDLcam-0.7.3.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking SDLcam-0.7.3.tar.gz ;-) ... [ ok ]>>> Unpacking source... >>> Unpacking SDLcam-0.7.3.tar.gz to /var/tmp/portage/SDLcam-0.7.3-r2/work * Applying 0.7.3-gcc3.patch ... [ ok ] * Applying 0.7.3-linux-2.6.patch ... [ ok ] * Applying SDLcam-0.7.3-tsc.patch ... [ ok ] * Applying SDLcam-0.7.3-prototypes.patch ... [ ok ] * Applying SDLcam-0.7.3-build.patch ... [ ok ]>>> Source unpacked. >>> Compiling source in /var/tmp/portage/SDLcam-0.7.3-r2/work/SDLcam-0.7.3 ... g++ -march=pentium4 -O3 -pipe -fforce-addr -fprefetch-loop-arrays -funroll-loops -fomit-frame-pointer -fstack-protector -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -c main.cpp gcc -march=pentium4 -O3 -pipe -fforce-addr -fprefetch-loop-arrays -funroll-loops -fomit-frame-pointer -fstack-protector -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -Wstrict-prototypes -c init.c g++ -march=pentium4 -O3 -pipe -fforce-addr -fprefetch-loop-arrays -funroll-loops -fomit-frame-pointer -fstack-protector -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -c SDL_v4l.cpp input.h:5: warning: 'class cInput' has virtual functions but non-virtual destructor main.cpp: In function 'int main(int, char**)': main.cpp:145: warning: 'image' may be used uninitialized in this function gcc -march=pentium4 -O3 -pipe -fforce-addr -fprefetch-loop-arrays -funroll-loops -fomit-frame-pointer -fstack-protector -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -Wstrict-prototypes -c SDL_v4l_filters.c input.h:5: warning: 'class cInput' has virtual functions but non-virtual destructor g++ -march=pentium4 -O3 -pipe -fforce-addr -fprefetch-loop-arrays -funroll-loops -fomit-frame-pointer -fstack-protector -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -c webcam.cpp input.h:5: warning: 'class cInput' has virtual functions but non-virtual destructor g++ -march=pentium4 -O3 -pipe -fforce-addr -fprefetch-loop-arrays -funroll-loops -fomit-frame-pointer -fstack-protector -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -c interface.cpp g++ -march=pentium4 -O3 -pipe -fforce-addr -fprefetch-loop-arrays -funroll-loops -fomit-frame-pointer -fstack-protector -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -c configuration.cpp gcc -march=pentium4 -O3 -pipe -fforce-addr -fprefetch-loop-arrays -funroll-loops -fomit-frame-pointer -fstack-protector -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -Wstrict-prototypes -c config_file.c gcc -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -c SDL_v4l_filters_thomas.c SDL_v4l_filters_thomas.c: In function 'yuv420p_to_rgb32': SDL_v4l_filters_thomas.c:154: error: memory input 4 is not directly addressable SDL_v4l_filters_thomas.c:154: error: memory input 5 is not directly addressable SDL_v4l_filters_thomas.c: In function 'yuv420p_to_bgr32': SDL_v4l_filters_thomas.c:256: error: memory input 4 is not directly addressable SDL_v4l_filters_thomas.c:256: error: memory input 5 is not directly addressable make: *** [SDL_v4l_filters_thomas.o] Error 1 make: *** Waiting for unfinished jobs.... input.h:5: warning: 'class cInput' has virtual functions but non-virtual destructor !!! ERROR: media-video/SDLcam-0.7.3-r2 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 608: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant.
use 0.7.3-r2