Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348277 - app-emulation/emul-linux-x86-medialibs should include libv4l helper programs
Summary: app-emulation/emul-linux-x86-medialibs should include libv4l helper programs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks: emul-tracker
  Show dependency tree
 
Reported: 2010-12-09 16:22 UTC by Jure Varlec
Modified: 2011-01-09 11:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jure Varlec 2010-12-09 16:22:58 UTC
Certain parts of libv4l are not part of the libv4l{1,2}.so libraries, but are separate executables, the reason being licencing issues. Specifically for media-libs/libv4l-0.8.1, this means files /usr/lib64/libv4l/ov51{1,8}-decomp. The app-emulation/emul-linux-x86-medialibs-20100915 ebuild does not install these files into /usr/lib32/libv4l. Therefore, trying to use an ov511 or ov518 based webcam from a 32-bit program fails.

An easy workaround is possible: symlink /usr/lib64/libv4l/ov51{1,8}-decomp into /usr/lib32/libv4l. This works because the library runs these executables and pipes data to/from them, so there is no mixing of 32- and 64-bit code.

I see two possible solutions. Either provide 32-bit executables in the app-emulation/emul-linux-x86-medialibs package, or have it depend on media-libs/libv4l and provide symlinks.

Reproducible: Always

Steps to Reproduce:
1. Connect an ov511 or ov518 based webcam.
2. Start a 32-bit video app, i.e. skype.
3. Start video test.
Actual Results:  
Nothing happens. If skype is run from a terminal, libv4l prints an error trying to start the helper program.

Expected Results:  
Webcam video plays.

Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r3, 2.6.35-gentoo-r12 x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-r12-x86_64-AMD_Athlon-tm-_II_X3_440_Processor-with-gentoo-1.12.13
Timestamp of tree: Thu, 18 Nov 2010 07:15:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula googleearth AdobeFlash-10.1 AdobeFlash-10"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-ggdb -O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /usr/share/config/kdm/kdmrc /usr/share/hal/fdi/"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-ggdb -O2 -march=native -pipe"
DISTDIR="/var/distfiles"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-z,now,--as-needed,-O1,--hash-style=gnu,--sort-common"
LINGUAS="en_GB en en_US sl"
MAKEOPTS="-j5"
PKGDIR="/var/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/kde-sunset"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit X a52 aac aalib acpi alsa amd64 ao audiofile avahi berkdb blas bluetooth boost branding bzip2 cairo cdparanoia cdr cjk cli cracklib crypt cups curl cxx dbus djvu dmx dnotify dri dts dvd dvdr emacs emboss encode exif expat fam ffmpeg fftw firefox fits flac fontconfig foomaticdb fortran ftp gcj gd gdbm gif gimp ginac git glib glut gmp gnuplot gnutls gphoto2 gpm gs gsl gstreamer gtk gzip hal hamlib handbook hdf hdf5 iconv icu idn ieee1394 imagemagick imlib inotify ipod ipv6 jack java javascript joystick jpeg kde kpathsea lapack latex lcms leim libcaca libnotify libsamplerate lm_sensors lzma lzo mad maildir matroska metric mikmod mime mmap mmx mmxext mng modules mp3 mp4 mpeg mplayer msn mudflap multilib musepack ncurses nls nodrm nptl nptlonly nsplugin octave offensive ogg openal openexr opengl openmp oss pam pango pch pcmcia pcre pdf perl phonon plasma plotutils png ppds pppd pulseaudio python q16 qt3support qt4 raw readline recode ruby samba scanner sdl session sftp slang slp smp socks5 sox spell sqlite sqlite3 sse sse2 sse3 sse4 sse4a ssl startup-notification subversion svg sysfs syslog sysvipc tcpd theora threads tiff truetype unicode usb v4l v4l2 vcd videos vorbis vpx webkit wmf x264 xcb xcomposite xft xine xinerama xinetd xml xorg xosd xpm xulrunner xv xvid zeroconf zip zlib zsh-completion" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en en_US sl" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pacho Ramos gentoo-dev 2010-12-30 14:44:29 UTC
+*emul-linux-x86-medialibs-20100915-r1 (30 Dec 2010)
+
+  30 Dec 2010; Pacho Ramos <pacho@gentoo.org>
+  +emul-linux-x86-medialibs-20100915-r1.ebuild:
+  Include all libv4l libs, bug #348277 by Jure Varlec.
+

If it fixes the problem for you, please comment it here to fast stabilize it ;-)

Thanks
Comment 2 Jure Varlec 2011-01-08 11:08:52 UTC
Confirmed to work with my ov511, thank you.
Comment 3 Pacho Ramos gentoo-dev 2011-01-09 11:03:45 UTC
+  09 Jan 2011; Pacho Ramos <pacho@gentoo.org>
+  emul-linux-x86-medialibs-20100915-r1.ebuild:
+  amd64 stable, bug #348277 (doesn't really need to wait a full month since it
+  simply installs two more files that was causing older releases to not work
+  fine for all setups).