Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
em8300-modules-0.18.0 failed (Solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
elyes
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2008
Posts: 121
Location: Calvados Normandie France

PostPosted: Mon Sep 13, 2010 5:01 pm    Post subject: em8300-modules-0.18.0 failed (Solved) Reply with quote

Hello,

I can't emerge modules for my dxr3, I'm getting an error msg: "ERROR: media-video/em8300-modules-0.18.0 failed"

Code:
 * CPV:  media-video/em8300-modules-0.18.0
 * REPO: gentoo
 * Maintainer: media-video@gentoo.org
 * USE:  elibc_glibc kernel_linux userland_GNU x86
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.35-zen2/build
 * Found sources for kernel version:
 *     2.6.35-zen2
 * Checking for suitable kernel configuration options...                                            [ ok ]
>>> Unpacking source...
>>> Unpacking em8300-0.18.0.tar.gz to /var/tmp/portage/media-video/em8300-modules-0.18.0/work
>>> Source unpacked in /var/tmp/portage/media-video/em8300-modules-0.18.0/work
>>> Preparing source in /var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules ...
make -j2 KERNEL_LOCATION=/usr/src/linux
[ ! -x ./update_em8300_version.sh ] || ./update_em8300_version.sh em8300_version.h
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules modules
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.35-zen2 »
  CC [M]  /var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules/adv717x.o
  CC [M]  /var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules/bt865.o
  CC [M]  /var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules/em8300_main.o
  CC [M]  /var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules/em8300_i2c.o
  CC [M]  /var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules/em8300_audio.o
In file included from /var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules/em8300_models.h:26,
                 from /var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules/em8300_i2c.c:46:
/var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules/../include/linux/em8300.h:394: erreur: field ‘audio_driver_style_lock’ has incomplete type
make[2]: *** [/var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules/em8300_i2c.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
In file included from /var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules/em8300_audio.c:51:
/var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules/../include/linux/em8300.h:394: erreur: field ‘audio_driver_style_lock’ has incomplete type
make[2]: *** [/var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules/em8300_audio.o] Erreur 1
make[1]: *** [_module_/var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-2.6.35-zen2 »
make: *** [build] Erreur 2
emake failed
 * ERROR: media-video/em8300-modules-0.18.0 failed:
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 3492:  Called die
 * The specific snippet of code:
 *       emake KERNEL_LOCATION="${KERNEL_DIR}" || die
 *
 * If you need support, post the output of 'emerge --info =media-video/em8300-modules-0.18.0',
 * the complete build log and the output of 'emerge -pqv =media-video/em8300-modules-0.18.0'.
 * The complete build log is located at '/var/tmp/portage/media-video/em8300-modules-0.18.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/em8300-modules-0.18.0/temp/environment'.
 * S: '/var/tmp/portage/media-video/em8300-modules-0.18.0/work/em8300-0.18.0/modules'


here is my emerge --info:
Code:
Portage 2.1.9.5 (default/linux/x86/10.0/desktop, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-zen2 i686)
=================================================================
System uname: Linux-2.6.35-zen2-i686-Intel-R-_Celeron-R-_CPU_2.60GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 13 Sep 2010 15:45:03 +0000
ccache version 2.4 [enabled]
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/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests ccache distlocks fixlafiles fixpackages news nodoc parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo "
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/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/layman/vdr-devel /usr/local/portage/layman/x11 /usr/local/portage/layman/hardened-development /usr/local/portage/local-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups cupsddk cxx dbus dri dts dvb dvd dvdr dvdread dxr3 emboss encode exif fam ffmpeg firefox flac gdbm gif gnutls gpm gtk hal hardened iconv java jpeg jpeg2k lame lcms ldap libnotify lock mad mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pae pam pango pcre pdf perl png ppds pppd python qt3support quicktime readline reflection scanner sdl session spell sse sse2 ssl startup-notification svg symlink sysfs tcpd theora thunar tiff truetype unicode usb v4l v4l2 vcd vdr vorbis win32codecs x264 x86 xcb xcomposite xml xorg xscreensaver xulrunner xv xvid xvmc 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 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


gcc-config -l:
Code:
$ gcc-config -l
 [1] i686-pc-linux-gnu-4.4.4 *
 [2] i686-pc-linux-gnu-4.4.4-hardenednopie
 [3] i686-pc-linux-gnu-4.4.4-hardenednopiessp
 [4] i686-pc-linux-gnu-4.4.4-hardenednossp
 [5] i686-pc-linux-gnu-4.4.4-vanilla


:oops: mybe there is some thing wrong in my kernel config?

Thank you


Last edited by elyes on Tue Sep 14, 2010 6:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44198
Location: 56N 3W

PostPosted: Mon Sep 13, 2010 7:44 pm    Post subject: Reply with quote

elyes,

It looks like that driver has suffered a few years of bitrot. The kernel has changed and the driver has not kept up.
However, /usr/src/linux/Documentation/video4linux/bttv/Cards says
Code:
Sigma Designs
-------------
   Hollywood plus (em8300, em9010, adv7175), (PCB "M340-10") MPEG DVD decoder
so it may be worth trying the kernel bttv driver.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
elyes
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2008
Posts: 121
Location: Calvados Normandie France

PostPosted: Tue Sep 14, 2010 5:38 pm    Post subject: Reply with quote

Thank you

I'll give it a try
:oops: also I've found this : http://old.nabble.com/em8300-fails-to-compile-with-2.6.35-rc3-td28884334.html
in any case I'll let you know if it works

Best Regards,
Elyes
Back to top
View user's profile Send private message
elyes
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2008
Posts: 121
Location: Calvados Normandie France

PostPosted: Tue Sep 14, 2010 6:45 pm    Post subject: Reply with quote

Hi,

this diff fix the error:
http://trac-hg.assembla.com/em8300-cgmeiner/changeset/720:0b5aad03ec08#file0

Thank you
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44198
Location: 56N 3W

PostPosted: Tue Sep 14, 2010 7:06 pm    Post subject: Reply with quote

elyes,

Would you care to post a bug with the patch link to bugs.gentoo.org.
The dxr3/hollywood+ cards are not much used any more and the patch may well be missed as its not on the main driver site.

Such a bug will enable the gentoo devs to update the ebuild.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
elyes
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2008
Posts: 121
Location: Calvados Normandie France

PostPosted: Wed Sep 15, 2010 2:05 pm    Post subject: Reply with quote

Hello,

:oops: The bug report allready exist (Bug#: 330919) :oops:
anyway I've reply with the patch link.

Best Regards,
Elyes
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum