This seems to be a clone of bug #230089, but applicable to 1.2.0 instead of 1.1.0 - namely that the build tools do not find ivtv.h where hey should and thus cannot compile this ebuild. Perhaps the same patch will work for this also. Note that I am trying to build on a Sabayon 3.5 system, though I pretty that has nothing to do with it. Reproducible: Always Steps to Reproduce: 1. emerge =media-tv/ivtv-1.2.0 Actual Results: Calculating dependencies... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) media-tv/ivtv-1.2.0 to / * ivtv-1.2.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking ivtv-1.2.0.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-sabayon-r1/build * Found sources for kernel version: * 2.6.25-sabayon-r1 * * Make sure that your I2C and V4L kernel drivers are loaded as * modules, and not compiled into the kernel, or IVTV will not * work. * * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.25-sabayon-r1/build * Found sources for kernel version: * 2.6.25-sabayon-r1 * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking ivtv-1.2.0.tar.gz to /var/tmp/portage/media-tv/ivtv-1.2.0/work * Applying ivtv-1.2.0-v4l2-dbg-include.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/media-tv/ivtv-1.2.0/work/ivtv-1.2.0 ... * Preparing saa717x module WARNING: Symbol version dump /usr/src/linux-2.6.25-sabayon-r1/Module.symvers is missing; modules will have no dependencies and modversions. Building modules, stage 2. created ivtv-svnversion.h v4l2-dbg.cpp: In function ‘int main(int, char**)’: v4l2-dbg.cpp:332: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:332: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:332: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:332: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:360: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:360: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:360: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:360: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:386: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:386: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp: In function ‘void parse_crop(char*, unsigned int&, v4l2_rect&)’: v4l2-ctl.cpp:1097: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp:1097: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp:1097: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp:1097: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp: In function ‘int main(int, char**)’: v4l2-ctl.cpp:1231: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp:1231: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp:1252: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp:1252: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp:1273: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp:1273: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp:1296: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp:1296: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp:1296: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp:1296: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp:1432: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp:1432: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp:1432: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp:1432: warning: deprecated conversion from string constant to ‘char*’ v4l2-ctl.cpp:1432: warning: deprecated conversion from string constant to ‘char*’ ivtvctl.c:66:24: error: linux/ivtv.h: No such file or directory ivtvctl.c: In function ‘main’: ivtvctl.c:608: error: storage size of ‘frame’ isn’t known ivtvctl.c:620: error: ‘IVTV_IOC_DMA_FRAME’ undeclared (first use in this function) ivtvctl.c:620: error: (Each undeclared identifier is reported only once ivtvctl.c:620: error: for each function it appears in.) ivtvctl.c:608: warning: unused variable ‘frame’ ivtvctl.c:632: error: storage size of ‘frame’ isn’t known ivtvctl.c:632: warning: unused variable ‘frame’ make: *** [ivtvctl.o] Error 1 make: *** Waiting for unfinished jobs.... v4l2-ctl.cpp: At global scope: v4l2-ctl.cpp:802: warning: ‘char* pts_to_string(char*, long unsigned int)’ defined but not used * * ERROR: media-tv/ivtv-1.2.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3206: Called die * The specific snippet of code: * emake INCDIR="${KV_DIR}/include" || die "failed to build utils " * The die message: * failed to build utils * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/lib/entropy/logs/media-tv:ivtv-1.2.0:20080708-142505.log'. * The ebuild environment file is located at '/var/tmp/portage/media-tv/ivtv-1.2.0/temp/environment'. * Expected Results: Compiled and installed ivtv-1.2.0 emerge --info Portage 2.1.5.3 (default-linux/x86/2007.0, gcc-4.2.3, glibc-2.7-r1, 2.6.25-sabayon-r1 i686) ================================================================= System uname: 2.6.25-sabayon-r1 i686 Intel(R) Atom(TM) CPU 230 @ 1.60GHz Timestamp of tree: Fri, 04 Jul 2008 09:03:01 +0000 distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5-r1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 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.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i586-pc-linux-gnu" CFLAGS="-Os -march=i686" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm/ /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-Os -march=i686" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="" LINGUAS="en" MAKEOPTS="-j2 -s " PKGDIR="/usr/portage/packages" 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/portage/local/layman/sabayon" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx 7Zip X a52 aac aalib accessibility acl acpi aiglx aim alsa artswrappersuid asf audiofile avahi berkdb bidi bluetooth bzip2 cairo cdda cddb cdr chm cjk cli commercial config_wizard cpudetection cracklib crypt css cups dbox2 dbus device-mapper dga dri dts dv dvb dvd dvdr dvdread dvi dxr3 encode exscalibar extramodules fam fame fat ffmpeg fftw firefox flac flash foomatic-db fortran freetype gcj gdbm gif gimpprint gnutls gphoto2 gpm gs gsm gstreamer gtk hal hfs iconv icq ieee1394 imap inotify ipod ipv6 irc irda isdnlog jabber jack jfs jingle joystick jpeg kde kdeenablefinal kdehiddenvisibility kerberos kickoff kipi lame lcd libao libnotify live lj lm_sensors logitech-mouse lzo mad mail midi mikmod mjpeg mmx mng mozdevelop mp3 mp3rtp mpeg msn mudflap musepack musicbrainz ncurses network new-login nls nptl nptlonly nsplugin ntfs ogg openal openexr opengl openmp pam pcmcia pcre pda perl png povray ppds pppd pulseaudio pwdb python qt3 qt3support qt4 quotas rar rdesktop readline real reflection reiserfs rss scanner sdl session slp sms speex spell spl spreadsheet ssl startup-notification stream svg switch_all_desktops sysfs tcpd theora tiff tracker truetype udev unicode usb v4l v4l2 visualization voice vorbis weather wifi win32codecs wmf x264 x86 xcb xfs xine xinerama xml xorg xpm xprint xulrunner xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y" 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" 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 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" APACHE2_MPMS="prefork" CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="audio audio_alsa" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
You're using an unsupported kernel and according to the Changelog 27 Jun 2008; Doug Goldstein <cardoe@gentoo.org> +ivtv-1.1.0.ebuild, +ivtv-1.2.0.ebuild: add support for 2.6.24 and 2.6.25 with two new versions it should work. Please test with gentoo-sources. Also, assure * Make sure that your I2C and V4L kernel drivers are loaded as * modules, and not compiled into the kernel, or IVTV will not * work. does not apply.
(In reply to comment #1) > You're using an unsupported kernel and according to the Changelog > > 27 Jun 2008; Doug Goldstein <cardoe@gentoo.org> +ivtv-1.1.0.ebuild, > +ivtv-1.2.0.ebuild: > add support for 2.6.24 and 2.6.25 with two new versions > > > it should work. Please test with gentoo-sources. If I manually move ivtv.h to /usr/src/linux and try and emerge (which I should really not do), the ebuild compiles but fails on the install since now it sees a conflict with this file while installing. However, the resultant binaries in the work area work as expected. Therefore, there is no problem of ivtv-1.2.0 with working with 2.6.25 - as long as the header file is found in it's proper location. I will try and see if I can test with gentoo-sources, but as of right now I am convinced that the bug is simply the same as #230089 and as much has been noted within the comments for that bug - just that the patch that came out only fixed the 1.1 case. > Also, assure > > * Make sure that your I2C and V4L kernel drivers are loaded as > * modules, and not compiled into the kernel, or IVTV will not > * work. > > does not apply. > Since the binaries work as mentioned above, this case has been taken care of. Regards, -Varun
I just wanted to confirm this. v4l and I2C are loaded as modules, but ivtv just does not compile. This is extremely frustrating, as 2.6.25 is marked stable under amd64 and I need ivtv-1.2.0 for my tv card. So same problem with amd64 branch...
Applied the same patch as 1.1.0.