Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330919 - media-video/em8300-modules-0.18.0 fails to build after kernel upgrade to 2.6.35
Summary: media-video/em8300-modules-0.18.0 fails to build after kernel upgrade to 2.6.35
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on: 331733
Blocks:
  Show dependency tree
 
Reported: 2010-08-02 21:35 UTC by Pavlo Lavrenenko
Modified: 2010-10-20 13:36 UTC (History)
1 user (show)

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


Attachments
build log (build.log,4.79 KB, text/plain)
2010-08-02 21:41 UTC, Pavlo Lavrenenko
Details
bugfix patch itself (em8300-modules-0.18.0-kernel-2.6.35.patch,549 bytes, patch)
2010-08-03 22:01 UTC, Pavlo Lavrenenko
Details | Diff
ebuild patch (em8300-modules-0.18.0.ebuild.patch,441 bytes, patch)
2010-08-03 22:01 UTC, Pavlo Lavrenenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavlo Lavrenenko 2010-08-02 21:35:55 UTC
Rebuilding of media-video/em8300-modules-0.18.0 fails with sys-kernel/gentoo-sources-2.4.35 installed

Reproducible: Always

Steps to Reproduce:
1. build and install sys-kernel/gentoo-sources-2.4.35
2. emerge --oneshot =media-video/em8300-modules-0.18.0

Actual Results:  
>>> Failed to emerge media-video/em8300-modules-0.18.0, Log file:

>>>  '/var/tmp/portage/media-video/em8300-modules-0.18.0/temp/build.log'

Expected Results:  
Built and installed kernel module

Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r2-i686-Intel-R-_Core-TM-2_Duo_CPU_T5670_@_1.80GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 02 Aug 2010 17:25:01 +0000
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/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
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
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/eselect/postgresql /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/sandbox.d /etc/splash /etc/terminfo"       
CXXFLAGS="-march=native -O2 -pipe"                                                                                                                           
DISTDIR="/usr/portage/distfiles"                                                                                                                             
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"              
GENTOO_MIRRORS="ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://de-mirror.org/distro/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://mirror.netcologne.de/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo ftp://gentoo.kiev.ua/ ftp://gentoo.mirrors.tds.net/gentoo ftp://ftp.lug.udel.edu/pub/gentoo/ ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ ftp://mirror.its.uidaho.edu/gentoo/ ftp://gentoo.llarian.net/pub/gentoo ftp://mirrors.rit.edu/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://mirror.datapipe.net/gentoo ftp://lug.mtu.edu/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ ftp://ftp.gtlib.gatech.edu/pub/gentoo "
LANG="uk_UA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en uk"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bidi bluetooth bzip2 cairo cleartype cli consolekit cracklib crypt cups cxx dbus dga djvu dri dvd exif ffmpeg firefox flac fontconfig fortran gdbm gif gnutls gpm gstreamer gtk hal iconv ipv6 java java6 jpeg jpeg2k kde laptop libnotify libsamplerate lm_sensors mad mmap mmx mng modules mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pch pcre pdf perl png pppd pulseaudio python qt3support qt4 readline reflection session smp spl sse sse2 ssl ssse3 startup-notification svg sysfs syslog tcpd theora threads tiff truetype udev unicode usb v4l v4l2 vorbis wifi x264 x86 xcb xcomposite xft xinerama xorg xv 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en uk" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics harness ide java nb profiler websvccommon groovy ruby" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Pavlo Lavrenenko 2010-08-02 21:41:21 UTC
Created attachment 241157 [details]
build log
Comment 2 Pavlo Lavrenenko 2010-08-02 21:43:24 UTC
Possible fix: http://trac-hg.assembla.com/em8300-cgmeiner/changeset/720:0b5aad03ec08
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-08-03 08:03:50 UTC
I guess you mean 2.6.35 instead of 2.4.35...
Comment 4 Pavlo Lavrenenko 2010-08-03 12:07:37 UTC
(In reply to comment #3)
> I guess you mean 2.6.35 instead of 2.4.35...
> 

yeah, my bad
Comment 5 Pavlo Lavrenenko 2010-08-03 22:00:06 UTC
solution from http://bugs.gentoo.org/show_bug.cgi?id=330919#c2 seems to be working
here are patches:
Comment 6 Pavlo Lavrenenko 2010-08-03 22:01:20 UTC
Created attachment 241331 [details, diff]
bugfix patch itself
Comment 7 Pavlo Lavrenenko 2010-08-03 22:01:37 UTC
Created attachment 241333 [details, diff]
ebuild patch
Comment 8 elyes 2010-09-15 13:59:57 UTC
(In reply to comment #7)
> Created an attachment (id=241333) [details]
> ebuild patch
> 

Solved here (Linux-2.6.35-zen2) using this patch:
http://trac-hg.assembla.com/em8300-cgmeiner/changeset/720:0b5aad03ec08
Comment 9 kiorky 2010-10-20 13:15:10 UTC
The proposed ebuild/patch works for me.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2010-10-20 13:32:07 UTC
+  20 Oct 2010; Samuli Suominen <ssuominen@gentoo.org>
+  em8300-modules-0.18.0.ebuild, +files/em8300-modules-0.18.0-2.6.35.patch:
+  Fix building with Linux >= 2.6.35 wrt #330919 by Pavlo Lavrenenko.