Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257463 - media-tv/ivtv compilation fails 2.6.25-r7 kernel
Summary: media-tv/ivtv compilation fails 2.6.25-r7 kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-03 06:40 UTC by Scott E
Modified: 2009-03-25 09:40 UTC (History)
0 users

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


Attachments
Kernel Config (.config,40.34 KB, text/plain)
2009-02-03 06:40 UTC, Scott E
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott E 2009-02-03 06:40:08 UTC
I have a PVR-350 card that worked on previous versions of the kernel.
I did an emerge --sync and now fails to compile.
media-tv/ivtv compilation fails on this line:
In file included from ivtvctl.c:66:
linux/ivtv.h:48: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
make: *** [ivtvctl.o] Error 1
make: *** Waiting for unfinished jobs....
v4l2-ctl.cpp:802: warning: 'char* pts_to_string(char*, long unsigned int)' defined but not used
 *
 * ERROR: media-tv/ivtv-1.2.0-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3289:  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/tmp/portage/media-tv/ivtv-1.2.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-tv/ivtv-1.2.0-r1/temp/environment'.
 *

Reproducible: Always

Steps to Reproduce:
1. enable modules in menuconfig
2. make clean
3. make && make modules_install
4. emerge ivtv
Actual Results:  
In file included from ivtvctl.c:66:
linux/ivtv.h:48: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
make: *** [ivtvctl.o] Error 1
make: *** Waiting for unfinished jobs....
v4l2-ctl.cpp:802: warning: 'char* pts_to_string(char*, long unsigned int)' defined but not used
 *
 * ERROR: media-tv/ivtv-1.2.0-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3289:  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/tmp/portage/media-tv/ivtv-1.2.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-tv/ivtv-1.2.0-r1/temp/environment'.
 *

Expected Results:  
Complete the emerge of ivtv

CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
USE="-gtk -gnome -unicode X qt3support qt3 qt4 dvd alsa mysql ivtv mad aac encode imlib ogg xvid x264 v4l win32codecs kde nls readline gif jpg jpeg png tiff raw sdl arts nptl nptlonly mythtv dbus hal lirc opengl transmitter apache2 a52 quicktime win32codecs ssl vhosts"
VIDEO_CARDS="v4l vesa vga fbdev i810"
LIRC_DEVICES="all"
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
Comment 1 Scott E 2009-02-03 06:40:43 UTC
Created attachment 180774 [details]
Kernel Config
Comment 2 Scott E 2009-03-04 07:38:24 UTC
Gentoo now uses ivtv-utils
Comment 3 Matthijs 2009-03-25 09:40:31 UTC
(In reply to comment #2)
> Gentoo now uses ivtv-utils
> 
Strange .. as I have the same issue with the 2.6.25 kernel and ivtv but ivtv-utils says:

* Messages for package media-tv/ivtv-utils-1.3.0-r1:

 * This package is only for the fully in-kernel
 * IVTV driver shipping with kernel 2.6.26 and higher
 *
 * You will need to either:
 * a) emerge a 2.6.26.x or higher kernel
 * b) emerge media-tv/ivtv

So I guess for the 2.6.25 you need ivtv?