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
Created attachment 241157 [details] build log
Possible fix: http://trac-hg.assembla.com/em8300-cgmeiner/changeset/720:0b5aad03ec08
I guess you mean 2.6.35 instead of 2.4.35...
(In reply to comment #3) > I guess you mean 2.6.35 instead of 2.4.35... > yeah, my bad
solution from http://bugs.gentoo.org/show_bug.cgi?id=330919#c2 seems to be working here are patches:
Created attachment 241331 [details, diff] bugfix patch itself
Created attachment 241333 [details, diff] ebuild patch
(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
The proposed ebuild/patch works for me.
+ 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.