Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239208 - media-video/em8300-modules: compile fails with 'I2C_DRIVERID_EEPROM' undefined
Summary: media-video/em8300-modules: compile fails with 'I2C_DRIVERID_EEPROM' undefined
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-01 00:53 UTC by Daniel Santos
Modified: 2009-03-03 10:50 UTC (History)
7 users (show)

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


Attachments
log file (media-video:em8300-modules-0.16.4-r1:20081001-024033.log,3.27 KB, text/plain)
2008-10-01 05:25 UTC, Daniel Santos
Details
em8300-modules Build Log File (em8300-modules-0.16.4-r1-20081009-004349.log,3.20 KB, text/plain)
2008-10-09 00:56 UTC, Barry Salter
Details
Failure logs for all 3 ebuilds (report.txt,29.53 KB, text/plain)
2008-10-21 08:42 UTC, Ioannis Aslanidis (RETIRED)
Details
build log of failure (build.log,3.98 KB, text/plain)
2008-10-21 18:52 UTC, Maxi Combina
Details
em8300-modules-17.2.ebuild (em8300-modules-0.17.2.ebuild,1.08 KB, text/plain)
2008-11-08 23:13 UTC, Christoph Diesch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Santos 2008-10-01 00:53:36 UTC
At first glance, this appears to be an upstream bug caused by using a kernel version approximately >= 2.6.25-2.  See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481463 and/or google on 
em8300 and I2C_DRIVERID_EEPROM.


Portage 2.2_rc11 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r6-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-glibc2.2.5
Timestamp of tree: Tue, 30 Sep 2008 16:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8-sse3 -msse4a -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8-sse3 -msse4a -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.cs.wmich.edu/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ http://osmirrors.cerias.purdue.edu/pub/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US af ar as_IN be be_BY bg br bs ca cs cy da de dz el en en_GB en_ZA es es_AR es_ES et eu fa fi fr fy fy_NL ga ga_IE gl gu gu_IN he hi_IN hr hu it ja ka km ko ku lt mk ml_IN mn mr_IN ms nb nb_NO nds ne nl nn nn_NO nr ns or_IN pa pa_IN pl pt pt_BR pt_PT ro ru rw sh sk sl sr ss st sv sv_SE sw sw_TZ ta te te_IN tg th ti ti_ER tr ts uk ur ur_IN ve vi xh zh zh_CN zh_TW zu"
MAKEOPTS="-j5"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/zugaina /usr/portage/local/layman/sunrise /usr/portage/local/layman/pro-audio /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds 64bit 7zip X Xaw3d a52 aac aalib acl acpi administrator afs aim aimextras aio akode alsa amd64 amr ao aotuv apache apache2 apm applet ares arts asf async audacious audiofile authdaemond authfile autoipd automount avahi backtrace bash-completion berkdb binfilter bittorrent bl bluetooth bonjour boost branding buttons bzip2 c3p0 cairo calendar cdaudio cdb cdda cddb cdparanoia cdr cdrom cegui cg cgi cjk cli commons-digester console cpudetection cpufreq cpulimit cracklib crypt cscope css cups curl curlwrappers cvs daap dbus dedicated dga dirac directfb divx djbfft dmx dolby-record-switch dom4j double-precision dri dts dv dvd dvdnav dvdr dvdread dxr3 eds emboss emoticon encode enscript esd evo excel exif expat extraicons fam fasttrack fbcon ffmpeg fftw firefox flac flash fmod font-server fontconfig fortran ftp fuse fusion gadu gb gcj gd gdb gdbm geos ggi gif ginac git glitz glut gmedia gmp gmtfull gnokii gnutella gnutls gphoto2 gpm graphviz gs gsl gstreamer gtalk gtk gzip hal hddtemp html hwmixer icecast iceweasel iconv icq id3 id3tag idn ieee1394 imagemagick imap imlib inifile insecure-savers irc irda isdnlog ithreads jack java java5 java6 javascript jbig jce jikes jingle jmx jpeg jpeg2k kde kdexdeltas kdrive kerberos keyring lame lcms ldap libcaca libnotify libsamplerate libvisual libwww lirc live lm_sensors log4j logitech-mouse lua lzo mad maildir maps math maxoptimization md5sum meanwhile menesi midi mikmod mime ming mjpeg mmap mmkeys mmx mmxext mng modperl modplug motif mouse mozdevelop mozilla mp2 mp3 mp4 mp4live mpeg mpeg2 msn mtp mudflap multicall multilib multislot musepack musicbrainz mysql mysqli nas ncurses net netjack network njb nls nntp nptl nptlonly nsplugin nss nuv nvidia nvtv objc objc++ objc-gc ode odk offensive ogg openal openexr opengl openmp p2p pam pango pch pcntl pcre pda pdf perl php player plotutils png portaudio posix postproc ppds pppd pulseaudio python qq qt3 qt3support qt4 quicktime radio rar readline reflection rrdcgi rtc ruby samba sametime sasl schroedinger sdl sdl-image sdl-sound seamonkey sensord serpentine session sharedext silc slp smp smtp sndfile snmp soap sockets sound speex spell spl sqlite sqlite3 sse sse2 sse3 sse4a ssl startup-notification stream streamripper subversion suexec svg svgz sysfs syslog sysvipc tagwriting tcl tcpd tetex tga theora threads tidy tiff timidity tk tokenizer transcode translator trayicon truetype tse3 unicode urandom usb userlocales v4l v4l2 vcd vda vhosts videos vim-syntax vim-with-x visualization vorbis vorbis-psy wav wavpack webdav wifi wma wmf wxwindows x264 xanim xattr xcb xcomposite xface xforms xine xinerama xml xmlreader xmlrpc xmlwriter xorg xplanet xpm xprint xscreensaver xsl xv xvid xvmc yaepg yahoo yv12 zeroconf zip 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 auth_digest authn_alias authn_dbd 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 dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US af ar as_IN be be_BY bg br bs ca cs cy da de dz el en en_GB en_ZA es es_AR es_ES et eu fa fi fr fy fy_NL ga ga_IE gl gu gu_IN he hi_IN hr hu it ja ka km ko ku lt mk ml_IN mn mr_IN ms nb nb_NO nds ne nl nn nn_NO nr ns or_IN pa pa_IN pl pt pt_BR pt_PT ro ru rw sh sk sl sr ss st sv sv_SE sw sw_TZ ta te te_IN tg th ti ti_ER tr ts uk ur ur_IN ve vi xh zh zh_CN zh_TW zu" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-01 02:41:50 UTC
Please attach the build log for good measure.
Comment 2 Daniel Santos 2008-10-01 05:25:01 UTC
Created attachment 166888 [details]
log file

oops, sorry, I forgot
Comment 3 Barry Salter 2008-10-09 00:50:17 UTC
Same problem here. Output from emerge --info is below, with the build log as an attachment.

Reproducible: Always
Steps to Reproduce:
1. emerge em8300-modules with kernel 2.6.25 or later
Actual results:
Build fails with "'I2C_DRIVERID_EEPROM' undeclared" error.

Expected Results:
em8300 module(s) built successfully.

Portage 2.2_rc11 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-glibc2.2.5
Timestamp of tree: Thu, 09 Oct 2008 00:26:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
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-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d /usr/X11R6/bin/startx"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo http://ftp.heanet.ie/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en en_US"
MAKEOPTS="-j1"
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/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X X509 Xaw3d a52 aac aalib accessibility ace acl acpi ada admin aiglx aim aimextras allegro alsa amd amd64 amr amrr animgif aoss apache2 apm arj arts artworkextra asf async ati atk audacious audiofile auth authdaemond authfile authlib automount avahi awe32 background bash-completion bc bcmath bdf berkdb big-tables binary-drivers bind-mysql binfilter bittorrent bl blas bluetooth bonobo bootsplash branding buttons bzip2 cairo calendar cap catalogs ccache cdaudio cdda cddb cdparanoia cdr cdrom cdsound cg cgi charconv chardet checkpath chm chroot cjk clamav clamd cli cnamefix colordiff command-args compress config_wizard connectionstatus console contentcache contrib corba cpio cpudetection cracklib crypt crypto_libgcrypt crypto_openssl css ctype cups curl curlwrappers cvs dbase dbm dbus dbx dcraw dedicated depth32 device-mapper dga dhcp dillo dio directfb diskcache divx djbfft djvu dlz dmi dnsdb domain-aware domainkeys double-precision dri dts dvd dvdr dvdread dvi dxr3 dxr3-audio-denoise dynamicplugin ecc editor eds effects elf emboss emoticon emul-linux-x86 enca encode enscript epydoc erandom escreen esd evo evolution examples excel exif exim exiscan exiscan-acl expat extensions extraengine extrafilters extraicons extramodules extras fam fame fastcgi fat fax fbcon fbdev fbsplash ffi ffmpeg fftw fidonet figlet filter finger firefox flac flash flood fltk fmod font-server fontconfig foomaticdb force-cgi-redirect fortran freetds ftp gadu gaim gatos gb gcc-libffi gd gdbm geoip gg ggi gif gimp gimpprint ginac gkrellm glade glep glgd glib glibc-omitfp glsa glut gmail gmedia gmp gnokii gnome gnome-print gnomedb gnuplot gnutls gopher gpgme gphoto2 gpm gprof graphviz gs gsl gsm gssapi gstreamer gtk gtk2 gtkhtml guile gvim gzip h323 hal hald hash hddtemp howl howl-compat hpn html http httpd ical icecast icons iconv icq icu id3 idea ident idn ifsession ignore-case image imagemagick imap imlib inifile innkeywords innodb ipalias iproute2 ipsec ipv6 irc isc isdnlog jabber jack java java5 javacomm javamail javascript jbig jce jcs jikes jingle john joystick jpeg jpeg2k jpty jumpplay junit kde kdexdeltas kdgraphics kdrive keyring kig-scripting lame langpacks latex lcms ldap lha libcaca libclamav libdsk libgda libnotify libtommath libwww lights linuxthreads-tls live lj lm_sensors lmtp logrotate loop-aes lzo lzw mad maildir math matroska mcal mccp md5sum mdb mdnsresponder-compat meanwhile memcache messages mgetty mhash midi mikmod mime mimencode mixer mjpeg mmap mmx mmxext mng mod mod_python mode-force modperl modplug mods module mono motif mouse mozbranding mozcalendar mozilla moznoirc mozsha1 mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpi mplayer msdav msession msn msnextras mudflap multidata multilib multipleip multiprocess multiuser munin-apache munin-dhcp munin-irc munin-squid mysql mysqlfriends mysqli nagios-dns nagios-ntp nagios-ping nagios-ssh nas nat nautilus ncurses net netbeans netboot netjack netpbm network networking nforce2 nfs nis nls nntp nptl nptlonly nsplugin nspr nss ntfs ntlm ntp numeric nvidia nvram oav objc objc++ objc-gc odbc offensive office ofx ogg ole on-the-fly-crypt onaccess openal opendoc opengl openmp openntpd openssh openssl opensslcrypt openstreetmap opera oscar padlock pam pam_timestamp pango parse-clocks pascal passfile paste64 patch pcap pch pcntl pcre pdf pdfkit pear-db perfprofiling perl php physfs pipe player plotutils plugins pmu png polling pop posix ppds pppd pregen print profile ps python qmax qt3 qt3support qt4 quicktime quotes radeon rar rc5 rdesktop readline realmedia reflection regex reiserfs replytolist resolvconf restrict-javascript rewrite rle roundrobin rpm rss rtc rtsp ruby samba sametime sample sasl scanner screen sdl sdl-image sdl-sound sdlaudio seamonkey search sender sensord server session sge shared sharedext sid signatures silc silvercity simplexml skey skins slang slp smime smp sms smtp sndfile snmp soap sockets socks5 sofia-sip songdb sound sounds spamassassin speedo spell spf spl sql sqlite srs sse sse2 ssl startup-notification statistics stats stlport stream subject-rewrite subversion svg svgz swat sysfs syslog sysvipc szip t1lib taglib tagwriting tcl tcltk tcp tcpd tcpmd5 tcpwrapper test tetex text texteffect tga theora threads thumbnail thunderbird tidy tiff timidity tk tokenizer toolbar tools transcode translator trayicon truetype type1 ucs2 ucs4 underscores unicode unix98 unzip usb user-homedirs utempter v4l v4l2 vcd vfat vim vim-pager vim-syntax vim-with-x virtual-users vnc vncviewer vorbis wavpack web webdav winbind winpopup wma wmf wmp wxgtk1 wxwindows xanim xattr xbase xcomposite xext xface xforms xhtml xine xml xmlreader xmlrpc xmlwriter xorg xorg-x11 xpm xscreensaver xsettings xsl xslt xtended xterm xv xvid xvnc yahoo zero-penalty-hit zeroconf zip zlib zvbi" ALSA_CARDS="via82xx via82xx-modem cs46xx cs4281 virmidi" 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 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" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en en_US" USERLAND="GNU" VIDEO_CARDS="fbdev v4l nv nvidia vesa vga radeon radeonhd fglrx apm r128"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 4 Barry Salter 2008-10-09 00:56:51 UTC
Created attachment 167686 [details]
em8300-modules Build Log File
Comment 5 Rob MacKinnon 2008-10-14 06:31:10 UTC
Okay, I hit this one too, anf after creating a patch from a message that I found from March of this year on the dxr3-devel list, I hit a snag on modules/em8300_procfs.c (proc_root undeclared).  After creating a patch for that, I then found a problem with modules/em8300_udev.c.

On a hunch I manhandled the temp ebuild I was making patch commits with and tried out the latest version 0.17.1, which builds clean with 3 warnings on modules/em8300_sysfs.c (lines 296,301,302), and a warning on modules/em8300_alsa.c...

Think we could just version bump this for 0.16.4 to 0.17.1 and forgo the whole ugly multi-patch business and go to the upstream version?
Comment 6 Daniel Santos 2008-10-16 11:22:15 UTC
I don't actually use this, I was just being masochistic and looking for broken ebuilds really, so I don't have much of an opinion, sorry.  Now let me contradict myself (because I enjoy it) and say that I support the version bump as long as the compiled product works & is clean.  What are the warnings btw?  As long as it's not serious warnings like implicit declaration, etc.
Comment 7 Rob MacKinnon 2008-10-20 18:56:20 UTC
First things first...here are the warnings:

/var/tmp/portage/media-video/em8300-modules-0.17.1/work/em8300-0.17.1/modules/em8300_audio.c: In function 'preprocess_digital':
/var/tmp/portage/media-video/em8300-modules-0.17.1/work/em8300-0.17.1/modules/em8300_audio.c:156: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result
/var/tmp/portage/media-video/em8300-modules-0.17.1/work/em8300-0.17.1/modules/em8300_fifo.c: In function 'em8300_fifo_write_nolock':
/var/tmp/portage/media-video/em8300-modules-0.17.1/work/em8300-0.17.1/modules/em8300_fifo.c:206: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result
/var/tmp/portage/media-video/em8300-modules-0.17.1/work/em8300-0.17.1/modules/em8300_sysfs.c: In function 'em8300_sysfs_postregister_driver':
/var/tmp/portage/media-video/em8300-modules-0.17.1/work/em8300-0.17.1/modules/em8300_sysfs.c:296: warning: ignoring return value of 'driver_create_file', declared with attribute warn_unused_result
/var/tmp/portage/media-video/em8300-modules-0.17.1/work/em8300-0.17.1/modules/em8300_sysfs.c: In function 'em8300_sysfs_register_card':
/var/tmp/portage/media-video/em8300-modules-0.17.1/work/em8300-0.17.1/modules/em8300_sysfs.c:301: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
/var/tmp/portage/media-video/em8300-modules-0.17.1/work/em8300-0.17.1/modules/em8300_sysfs.c:302: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
  CC [M]  /var/tmp/portage/media-video/em8300-modules-0.17.1/work/em8300-0.17.1/modules/em8300_params.o
In file included from /var/tmp/portage/media-video/em8300-modules-0.17.1/work/em8300-0.17.1/modules/em8300_alsa.c:25:
include/sound/driver.h:1:2: warning: #warning "This file is deprecated"

As for masochistism...tried to build 0.17.1 on kernel version 2.6.27 and it fails on em8300_fifo.c <sigh> and would seem to fit under the subject of new bug rather then one affecting 0.16.4...
Comment 8 Ioannis Aslanidis (RETIRED) gentoo-dev 2008-10-21 08:37:45 UTC
I have a similar problem with version 0.16.0:

>>> Compiling source in /var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules ...
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.25-gentoo-r7'
  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
  CC [M]  /var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/em8300_main.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/em8300_main.c:54:
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/../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:
In file included 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/em8300_main.c:54:
/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'
include/sound/driver.h:1:2: warning: #warning "This file is deprecated"
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/em8300_main.c: In function 'em8300_irq':
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/em8300_main.c:274: error: 'struct em8300_s' has no member named 'ucode_regs'
/var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/em8300_main.c:277: error: 'struct em8300_s' has no member named 'ucode_regs'...



Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-x86_64-Intel-R-_Pentium-R-_D_CPU_3.00GHz-with-glibc2.2.5
Timestamp of tree: Mon, 20 Oct 2008 21:15:01 +0000
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.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg collision-protect distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US es es_ES el"
MAKEOPTS="-j3"
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/java-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X aac aalib acl acpi alsa amarok amd64 apache2 applet archive artworkextra aspell async audiofile automount background bash-completion berkdb bittorrent bluetooth branding bzip2 cairo ccache cddb cdinstall cdparanoia cdr cdrom cdsound chroot cli color-console consolekit cracklib crypt cups cursors custom-optimization dbus dell directfb disk-partition divx dri dvb dvbplayer dvbsetup dvd dvdarchive dvdchapjump dvdr dvdread dvi dvi2tty dvlfriendlyfnames dvlrecscriptaddon dvlvidprefer dxr2 dxr3 dxr3-audio-denoise eds emboss emoticon emovix enca encode escreen esd evo exif expat fam fastcgi fbcon ffmpeg fftw firefox firefox3 flac flash fortran ftp gd gdbm gdm geoip gif gimp glep glib glibc-compat20 glibc-omitfp glsa glut gmedia gmp gnome gphoto2 gpm graphviz groupwise grub gstreamer gtk hal icons iconv id3 id3tag ieee1394 imagemagick imap inifile ipfilter ipod iproute2 ipsec ipv6 isdnlog jabber java java6 javacomm javamail javascript jpeg jpeg2k kde kdebuild kdm kerberos lame ldap libffi libnotify libwww live lm_sensors logrotate logviewer mad maildir midi mikmod mime mmap mmx mmxext mng mp2 mp3 mp3tunes mp4 mpeg msn mudflap multilib mysql ncurses network nfs nls nptl nptlonly nsplugin nxclient ogg openal opengl openmp openssh openssl pam pcre pda pdf perl pidgin png ppds pppd python qt3 qt3support qt4 quicktime readline realmedia reflection rsync samba sasl sdl session spell spl sqlite sqlite3 sse sse2 sse3 ssh ssl ssse3 startup-notification svg sysfs tcpd theora tiff truetype unicode unzip upnp usb v4l v4l2 vcd vhosts videos vorbis xcb xine xinerama xml xorg xscreensaver xv 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 en_US es es_ES el" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Ioannis Aslanidis (RETIRED) gentoo-dev 2008-10-21 08:38:52 UTC
So how is it possible that a broken ebuild hit the stable branch? ;)
Comment 10 Ioannis Aslanidis (RETIRED) gentoo-dev 2008-10-21 08:42:15 UTC
Created attachment 169264 [details]
Failure logs for all 3 ebuilds

The following ebuilds also failed:
Comment 11 Maxi Combina 2008-10-21 18:50:27 UTC
Similar problem here:

make[1]: Entering directory `/usr/src/linux-2.6.25-gentoo-r8'
  CC [M]  /var/tmp/portage/media-video/em8300-modules-0.16.0-r1/work/em8300-0.16.0/modules/adv717x.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/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’
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.25-gentoo-r8'
make: *** [build] Error 2

====================================================================

# emerge --info
Portage 2.1.4.5 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r8 i686)
=================================================================
System uname: 2.6.25-gentoo-r8 i686 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
Timestamp of tree: Tue, 21 Oct 2008 17:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r15, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=prescott -fomit-frame-pointer"
CHOST="i686-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/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=prescott -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org                 http://distro.ibiblio.org/pub/linux/distributions/gentoo            http://gentoo.cites.uiuc.edu/pub/gentoo/                ftp://mirrors.64hosting.com/pub/mirrors/gentoo/                 ftp://mirror.iawnet.sandia.gov/pub/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O3 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="ca en es pt it en_US"
MAKEOPTS="-j1 "
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/roslin"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dfx 7Zip X a52 aac aalib accessibility acl acpi ada aiglx aim alsa amarok arts artswrappersuid asf audiofile avahi beagle berkdb bidi bluetooth branding bzip2 cairo cdda cdr chm cjk clearcase cli commercial config_wizard cpudetection cracklib crypt css cups dbox2 dbus dga djvu dlloader doc dri dts dv dvb dvd dvdr dvdread dvi dxr3 effects emboss encode esd exif exscalibar ext-man ext-rtf ext-tex extraicons extramodules fam fame fat ffmpeg fftw firefox flac flash foomatic fortran freetype gdbm geoip gif gimpprint glitz glut gnokii gnome gnutls gphoto2 gpm gs gsm gstreamer gtk gtk2 hal hfs iconv icq ieee1394 imap inkjar ipod ipv6 irc irda isdnlog jabber jack java jfs jingle joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kerberos kipi krb4 lame lcd ldap libao libcaca libclamav libnotify live livecd lj lm_sensors logitech lzo mad mail matroska midi mikmod mjpeg mmx mng mono mouse moznocompose moznoirc moznomail mp3 mp3rtp mpeg mplayer msn mudflap musepack musicbrainz ncurses network new nls nptl nptlonly nsplugin ntfs nvidia offensive ogg ole openal openexr opengl openmp pam pascal pcmcia pcre pda pdf perl plugin png povray ppds pppd pulseaudio pwdb python qt qt3 qt3support qt4 quicktime quotas rar rdesktop readline real reflection reiserfs rss ruby samba scanner sdl session skins slp smp sms sndfile speech speex spell spl spreadsheet ssl startup-notification stream streams subversion svg sysfs tcpd theora tiff truetype udev unicode usb v4l v4l2 vcd visualization voice vorbis weather webservices wifi win32codecs winbind wmf wxwindows x264 x86 xfs xine xinerama xml xorg xosd xpm xprint xscreensaver xsl xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="evdev keyboard mouse acecad aiptek digitaledge fpit hyperpen jamstudio joystick magellan mutouch palmax spaceorb summa synaptics tek4957 wacom ur98 vmmouse void wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ca en es pt it en_US" LIRC_DEVICES="audio audio_alsa" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 12 Maxi Combina 2008-10-21 18:52:16 UTC
Created attachment 169340 [details]
build log of failure
Comment 13 Christoph Diesch 2008-11-08 23:13:18 UTC
Created attachment 171137 [details]
em8300-modules-17.2.ebuild

em8300-modules-17.2.ebuild that compile under gentoo-sources-2.6.25-r9
Comment 14 Matthias Schwarzott gentoo-dev 2009-03-03 10:50:53 UTC
Added new version based on 0.16.4-r1.
Thanks for reporting that issue and waiting so long.