Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278202 - media-video/em8300-modules fails to compile with an error in em8300.h:269
Summary: media-video/em8300-modules fails to compile with an error in em8300.h:269
Status: RESOLVED DUPLICATE of bug 264459
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-17 20:38 UTC by Kete Tefid
Modified: 2009-07-19 10:10 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 Kete Tefid 2009-07-17 20:38:21 UTC
The bug 239208 is up again.
It's broken.
If you are going to update mplayer, em8300-modules package does not compile with the same errors in bug 239208.
A workaround for this bug is to add "-dxr3" to the mplayer use flags. I have no idea if it has any effect on quality of output video(but it seems so, since high cpu usage is demonstrated).

emerge --info:
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.2.5
Timestamp of tree: Sun, 05 Jul 2009 01:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.8-r1
dev-lang/python:     2.4.4-r9, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-msse3 -O3 -march=k8 -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-msse3 -O3 -march=k8 -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles/"
FEATURES="buildpkg ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms userfetch"
GENTOO_MIRRORS="http://192.168.0.2"
LDFLAGS="-Wl,-O1"
LINGUAS="en ar fa"
MAKEOPTS="-j2"
PKGDIR="/home/sisu/packages_new/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3gp X aac aalib acc acl acpi acpid alsa amd64 amr apache2 apm ares asf avi berkdb bluetooth browserplugin bttv bzip2 cd cdparanoia cdr cli cracklib crypt cups dbus divx4linux dmix dv dvb dvd dvdr dxr3 evdev fa farsi fasttrack ffmpeg firefox flac flash flashplayer fortran gdbm gif gnome gnutella gpm gstreamer gtk gtk2 hal iconv imagemagick ioplug ipv6 isdnlog java javascript jpeg jpg lame lirc m4a mad mid midi mjpeg mmx mmxext mov mozilla mp3 mp4 mpeg mpg mudflap multilib mysql nautilus ncurses nfs nls nptl nptlonly nsplugin nvidia ogg openal openft opengl openmp oss pam pcre pdf perl persian php plug png pnm pppd ps python quicktime ra ram rar readline reflection rm samba sdl session slp spl sse sse2 ssl svn symlink sysfs tcpd tiff truetype unicode unrar usb v4l vcd vorbis wma wmv xcb xine xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ar fa" LIRC_DEVICES="pctv" SANE_BACKENDS="gt68xx" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

The errors:

>>> Emerging (1 of 108) media-video/em8300-modules-0.16.0-r1
 * em8300-0.16.0.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                 [ ok ]
!!! A file is not listed in the Manifest: '/usr/portage/media-video/em8300-modules/em8300-modules-17.2.ebuild'
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.29-gentoo-r5/build
 * Found sources for kernel version:
 *     2.6.29-gentoo-r5
 * Checking for suitable kernel configuration options...                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking em8300-0.16.0.tar.gz to /var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work
 * Applying em8300-modules-0.16.0-i2c.patch ...                                                                                          [ ok ]
>>> Source unpacked in /var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work
>>> Compiling source in /var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules ...
make -j2 KERNEL_LOCATION=/usr/src/linux 
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules modules
make[1]: Entering directory `/usr/src/linux-2.6.29-gentoo-r5'
  CC [M]  /var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/adv717x.o
  CC [M]  /var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/bt865.o
In file included from /var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/../include/linux/em8300.h:202,
                 from /var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/encoder.h:4,
                 from /var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/bt865.c:55:
include/sound/driver.h:1:2: warning: #warning "This file is deprecated"
In file included from /var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/encoder.h:5,
                 from /var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/bt865.c:56:
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/../include/linux/em8300.h:269: error: expected specifier-qualifier-list before 'snd_card_t'
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/bt865.c: In function 'bt865_setup':
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/bt865.c:879: error: 'struct em8300_s' has no member named 'card_nr'
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/bt865.c:880: error: 'struct em8300_s' has no member named 'card_nr'
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/bt865.c: In function 'bt865_detect':
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/bt865.c:941: warning: 'i2c_attach_client' is deprecated (declared at include/linux/i2c.h:434)
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/bt865.c: In function 'bt865_detach_client':
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/bt865.c:970: warning: 'i2c_detach_client' is deprecated (declared at include/linux/i2c.h:435)
make[2]: *** [/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/bt865.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/../include/linux/em8300.h:202,
                 from /var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/adv717x.c:50:
include/sound/driver.h:1:2: warning: #warning "This file is deprecated"
In file included from /var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/adv717x.c:51:
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/../include/linux/em8300.h:269: error: expected specifier-qualifier-list before 'snd_card_t'
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/adv717x.c: In function 'adv717x_setup':
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/adv717x.c:573: error: 'struct em8300_s' has no member named 'card_nr'
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/adv717x.c:575: error: 'struct em8300_s' has no member named 'card_nr'
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/adv717x.c:580: error: 'struct em8300_s' has no member named 'card_nr'
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/adv717x.c:585: error: 'struct em8300_s' has no member named 'card_nr'
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/adv717x.c:586: error: 'struct em8300_s' has no member named 'card_nr'
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/adv717x.c:588: error: 'struct em8300_s' has no member named 'card_nr'
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/adv717x.c:591: error: 'struct em8300_s' has no member named 'card_nr'
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/adv717x.c: In function 'adv717x_detect':
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/adv717x.c:645: warning: 'i2c_attach_client' is deprecated (declared at include/linux/i2c.h:434)
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/adv717x.c: In function 'adv717x_detach_client':
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/adv717x.c:674: warning: 'i2c_detach_client' is deprecated (declared at include/linux/i2c.h:435)
make[2]: *** [/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/adv717x.o] Error 1
make[1]: *** [_module_/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.29-gentoo-r5'
make: *** [build] Error 2
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-07-19 10:10:49 UTC
Closing as duplicate of bug 264459 since all these issues need to be fixed at the same time ( to make it build )

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