Please mask this use flag for now. Maybe new version will allow it to build. Reproducible: Always
Please paste your `emerge --info' in a comment and attach the entire failing build log.
emerge --info Portage 2.2.0_alpha25 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r1, 2.6.37-gentoo x86_64) ================================================================= System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_870_@_2.93GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 01 Mar 2011 23:30:01 +0000 app-shells/bash: 4.1_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.7.0 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) Repositories: gentoo miscellaneous Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind" 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/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going" FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" 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/portage/local/miscellaneous" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow S3TC X a52 aac aalib accessibility acl acpi aften akonadi alsa amarok amd64 amrnb archive ares arts artworkextra audio audiofile automount avahi bash-completion berkdb bidi binary-drivers bittorrent bluetooth bookmarks branding bzip2 cairo calendar cdda cddb cdio cdparanoia cdr chm clamav clamd cleartype cli clucene consolekit corefonts cpudetection cracklib crypt css cups curl cxx dbus deprecated designer-plugin device-mapper devil dga directfb discouraged distribution divx dns doc dri dts dv dvb dvd dvdnav dvdr dvdread ebook eds elisp emacs emboss emerald encode esd eselect etc-proposals evo examples exif expat extra-tools extraicons extras fam fat fax fbcon fbcondecor fbsplash ffmpeg firefox flac flash fltk foomaticdb fortran ftp fts3 fuse gcj gd gdbm gdu gedit ggi gif gimp glep glib glitz gmedia gnome gnutls google google-gadgets gphoto2 gpm gstreamer gtk gtkhtml handbook hddtemp hfs hpcups hpijs html htmlhandbook httpd hyperestraier iconv idn ieee1394 imagemagick imlib inkjar inotify ipv6 isdnlog jack jadetex java java6 jfs joystick jpeg jpeg2k kde kdehiddenvisibility kdrive kerberos konqueror kpathsea lame lcms ldap libcaca libnotify libsamplerate lirc live lm_sensors logrotate mad mail matroska md5sum mdnsresponder-compat mikmod mime mjpeg mmx mmxext mng modules mono mozilla mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql nas nautilus ncurses networking new-login nforce2 nls npp nptl nptlonly nsplugin ntfs nvidia objc odbc offensive ogg ole openal openexr opengl openmp osdmenu pam pango parport pcre pdf perl pipechan plasma pmu png policykit postgres ppds pppd pulseaudio python qt3support qt4 quicktime raptor rar rdesktop readline realmedia reflection regex reiser4 reiserfs reports samba sametime scanner sdl secure-delete semantic-desktop servletapi session sip skins slang slp smbclient smp sndfile snmp sound sounds speex spell spl sql sqlite sse sse2 ssl startup-notification static-ppds stream subversion svg swat sysfs syslog tcpd templates theora thesaurus threads thumbnail thunderbird tidy tiff timidity tk tools truetype type1 udev unicode unsupported usb userlocales utempter utils v4l vcd vdpau vdr video vlm voice vorbis vram wav wavpack weather webkit wmf wmp wordperfect wxwindows x264 xattr xcb xcomposite xforms xfs xine xml xorg xpm xprint xscreensaver xulrunner xv xvid xvmc 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 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia nv vesa" 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, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Linux1 billydv #
ln -s ./stubs.c artec_eplus48u-s.c /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include -I. -I. -I../include -I../include -DLIBDIR="/usr/lib64/sane" -DBACKEND_NAME=artec_eplus48u -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -march=native -O2 -pipe -fno-strict-aliasing -W -Wall -DENABLE_PARPORT_DIRECTIO -MT libartec_eplus48u_la-artec_eplus48u.lo -MD -MP -MF .deps/libartec_eplus48u_la-artec_eplus48u.Tpo -c -o libartec_eplus48u_la-artec_eplus48u.lo `test -f 'artec_eplus48u.c' || echo './'`artec_eplus48u.c mv -f .deps/sane_strstatus.Tpo .deps/sane_strstatus.Plo rm -f as6e-s.c ln -s ./stubs.c as6e-s.c /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include -I. -I. -I../include -I../include -DLIBDIR="/usr/lib64/sane" -DBACKEND_NAME=as6e -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -march=native -O2 -pipe -fno-strict-aliasing -W -Wall -DENABLE_PARPORT_DIRECTIO -MT libas6e_la-as6e.lo -MD -MP -MF .deps/libas6e_la-as6e.Tpo -c -o libas6e_la-as6e.lo `test -f 'as6e.c' || echo './'`as6e.c In file included from /usr/include/libv4l1.h:29:0, from v4l.c:89: /usr/include/libv4l1-videodev.h:23:8: error: redefinition of ‘struct video_capability’ v4l.h:50:8: note: originally defined here /usr/include/libv4l1-videodev.h:36:8: error: redefinition of ‘struct video_channel’ v4l.h:122:8: note: originally defined here /usr/include/libv4l1-videodev.h:72:8: error: redefinition of ‘struct video_picture’ v4l.h:62:8: note: originally defined here /usr/include/libv4l1-videodev.h:130:8: error: redefinition of ‘struct video_window’ v4l.h:91:8: note: originally defined here /usr/include/libv4l1-videodev.h:153:8: error: redefinition of ‘struct video_mmap’ v4l.h:115:8: note: originally defined here /usr/include/libv4l1-videodev.h:160:8: error: redefinition of ‘struct video_mbuf’ v4l.h:108:8: note: originally defined here artec.c: In function ‘artec_sane_read’: artec.c:3576:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result make[2]: *** [libv4l_la-v4l.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/libdll_la-dll.Tpo .deps/libdll_la-dll.Plo mv -f .deps/libabaton_la-abaton.Tpo .deps/libabaton_la-abaton.Plo mv -f .deps/libgphoto2_i_la-gphoto2.Tpo .deps/libgphoto2_i_la-gphoto2.Plo mv -f .deps/libagfafocus_la-agfafocus.Tpo .deps/libagfafocus_la-agfafocus.Plo as6e.c: In function ‘as6e_open’: as6e.c:582:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result mv -f .deps/libapple_la-apple.Tpo .deps/libapple_la-apple.Plo as6e.c: In function ‘sane_as6e_close’: as6e.c:520:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result as6e.c: In function ‘sane_as6e_read’: as6e.c:148:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result as6e.c:214:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result mv -f .deps/libartec_la-artec.Tpo .deps/libartec_la-artec.Plo mv -f .deps/libas6e_la-as6e.Tpo .deps/libas6e_la-as6e.Plo mv -f .deps/libartec_eplus48u_la-artec_eplus48u.Tpo .deps/libartec_eplus48u_la-artec_eplus48u.Plo make[2]: Leaving directory `/var/tmp/portage/media-gfx/sane-backends-1.0.21-r1/work/sane-backends-1.0.21/backend' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/media-gfx/sane-backends-1.0.21-r1/work/sane-backends-1.0.21/backend' make: *** [all-recursive] Error 1 emake failed * ERROR: media-gfx/sane-backends-1.0.21-r1 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2847: Called die * The specific snippet of code: * emake VARTEXFONTS="${T}/fonts" || die; * * If you need support, post the output of 'emerge --info =media-gfx/sane-backends-1.0.21-r1', * the complete build log and the output of 'emerge -pqv =media-gfx/sane-backends-1.0.21-r1'. * The complete build log is located at '/var/tmp/portage/media-gfx/sane-backends-1.0.21-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/sane-backends-1.0.21-r1/temp/environment'. * S: '/var/tmp/portage/media-gfx/sane-backends-1.0.21-r1/work/sane-backends-1.0.21' >>> Failed to emerge media-gfx/sane-backends-1.0.21-r1, Log file: >>> '/var/tmp/portage/media-gfx/sane-backends-1.0.21-r1/temp/build.log' * * The following package has failed to build or install: * * (media-gfx/sane-backends-1.0.21-r1::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/media-gfx/sane-backends-1.0.21-r1/temp/build.log' *
Please attach the full build log file to this bug report.
Created attachment 264553 [details] build.log
Had similar probs this end on my x86,will attch the necessary files Geoff
Created attachment 266583 [details] emerge info
Created attachment 266585 [details] build log for x86
Created attachment 266587 [details] build log for x86
Created attachment 266589 [details] environment file for x86
Created attachment 266591 [details] environment for x86
Comment on attachment 266585 [details] build log for x86 misfire
Comment on attachment 266589 [details] environment file for x86 path-misfire
Created attachment 266593 [details] x86 emerge info
*** Bug 361321 has been marked as a duplicate of this bug. ***
For the record, same problem here on amd64. Fails with USE v4l; builds successfully without.
Just looked at the code, and the difference which causes the problem is trivial. The sane-backend has #define VIDEO_MAX_FRAME 32 struct video_mbuf { int size; /* Total memory to map */ int frames; /* Frames */ int offsets[VIDEO_MAX_FRAME]; }; whereas the libv5l1-videodev.h has struct video_mbuf { int size; /* Total memory to map */ int frames; /* Frames */ int offsets[32]; }; which obviously compiles down to the same thing. A simple patch should fix it. It looks to me like the patch should go to libv4l-videodev.h though.
Spoke too soon. There are other differences as well. however a hack to work around the problem is possible. cd /usr/include mv libv4l1-videodev.h libv4l1-videodev.h1 touch libv4l1-videodev.h emerge sane-backends mv libv4l1-videodev.h1 libv4l1-videodev.h so you are in effect moving the conflict away while you are building sane.
Same problem here. As for other bugs: http://bugs.gentoo.org/show_bug.cgi?id=361705 http://bugs.gentoo.org/show_bug.cgi?id=359735 perhaps downgrading to old sys-kernel/linux-headers-2.6.36.1 could help to compile, as it happened for other packages, but I think it is better to fix it.
In file included from /usr/include/libv4l1.h:29:0, from v4l.c:89: /usr/include/libv4l1-videodev.h:23:8: error: redefinition of 'struct video_capability' v4l.h:50:8: note: originally defined here /usr/include/libv4l1-videodev.h:36:8: error: redefinition of 'struct video_channel' v4l.h:122:8: note: originally defined here /usr/include/libv4l1-videodev.h:72:8: error: redefinition of 'struct video_picture' v4l.h:62:8: note: originally defined here /usr/include/libv4l1-videodev.h:130:8: error: redefinition of 'struct video_window' v4l.h:91:8: note: originally defined here /usr/include/libv4l1-videodev.h:153:8: error: redefinition of 'struct video_mmap' v4l.h:115:8: note: originally defined here /usr/include/libv4l1-videodev.h:160:8: error: redefinition of 'struct video_mbuf' v4l.h:108:8: note: originally defined here v4l.c: In function 'sane_v4l_get_devices': v4l.c:485:1: warning: parameter 'local_only' set but not used [-Wunused-but-set-parameter] v4l.c: In function 'sane_v4l_start': v4l.c:1037:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] v4l.c: In function 'sane_v4l_set_io_mode': v4l.c:1120:1: warning: parameter 'handle' set but not used [-Wunused-but-set-parameter] v4l.c: In function 'sane_v4l_get_select_fd': v4l.c:1131:1: warning: parameter 'handle' set but not used [-Wunused-but-set-parameter] v4l.c:1131:1: warning: parameter 'fd' set but not used [-Wunused-but-set-parameter] make[2]: *** [libv4l_la-v4l.lo] Error 1 With media-gfx/sane-backends-1.0.22
*** Bug 366557 has been marked as a duplicate of this bug. ***
*** Bug 366849 has been marked as a duplicate of this bug. ***
Same problem here... Portage 2.1.9.48 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.38-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-gentoo-2.0.2 Timestamp of tree: Thu, 12 May 2011 17:30:01 +0000 app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 sys-kernel/linux-headers: 2.6.38 (virtual/os-headers) sys-libs/glibc: 2.13-r2 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA skype-eula dlj-1.1 PUEL AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb" 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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -pipe -O2" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FEATURES="assume-digests binpkg-logs candy distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="it_IT.UTF-8" LC_ALL="it_IT.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="it" 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="/home" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/pro-audio /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib acl addbookmarks alias alsa amd64 amr amuled apache2 audiofile autoreplace avi bash-completion berkdb bluetooth boost branding browserplugin bzip2 cdaudio cdb cdda cddb cdinstall cdio cdparanoia cdr cleartype cli clucene codecs connectionstatus contactnotes cpudetection cracklib crypt css ctype cups curl custom-optimization cxx dbus decibel dga divx4linux dlloader dri dts dv dvb dvd dvdr dvdread dxr3 edl emul-linux-x86 encode exif extensions faad fam fame ffmpeg filter firefox flac fontconfig fortran ftp gadu gcj gd gdbm ggi gif gimp gimpprint git glib glitz gnutls gpm groupwise gstreamer highlight history hou iconv idn ieee1394 imagemagick imap imlib inquisitio insecure-drivers ipv6 irc ithreads jack java javascript jingle jpeg jpeg2k kde lame lcd lcdfilter libcaca libnotify live lm_sensors lzo mad matroska messenger mikmod mime mjpeg mmx mmxext modules monkey moodbar mozbranding mozdevelop mozilla mp3 mp4 mpeg msn msword mudflap multilib musepack musicbrainz mysql mysqli mythtv ncurses nepomuk netmeeting nls nodrm nowin nowlistening nptl nptlonly nsplugin objc objc++ objc-gc offensive ogg oggvorbis opengl openmp pam pcre pdf perl phonon php plasma png ppds pppd python qt qt-copy qt3support qt4 quicktime rar rdp readline remote replytolist samba sametime scanner sdl semantic-desktop sensord session slp smp sms sndfile sou sound speex sqlite sse sse2 ssl startup-notification statistics subversion svg sysfs taglib tcpd telepathy texteffect tga theora threads tidy tiff tokenizer translator truetype truetype-fonts udev unicode upnp usb v4l v4l2 vcd video videos visualization vnc vorbis wavpack webdav webpresence wifi winpopup wlm xanim xattr xcb xcomposite xine xinerama xml xmlpatterns xmlreader xmlwriter xorg xscreensaver xv xvid xvmc yahoo zip zlib" ALSA_CARDS="emu10k1" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="tda10046" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" LIRC_DEVICES="livedrive_midi" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="radeon" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 272975 [details, diff] John Heidemann's patch from RedHat bug 693029 I added fixed ebuild into bleeding-edge overlay. (I have no permission to do it in portage tree)
*** Bug 366901 has been marked as a duplicate of this bug. ***
(In reply to comment #24) > Created attachment 272975 [details, diff] > John Heidemann's patch from RedHat bug 693029 It works for me, thanks.
please note that this same error happens with 1.0.22-r1 (and probably 1.0.22)
(In reply to comment #27) > please note that this same error happens with 1.0.22-r1 (and probably 1.0.22) It is. Fixed 1.0.22-r1 in bleeding-edge.
I don't think it's kernel-headers, rather libv4l. If you downgrade from libv4l-0.8.3 to 0.8.1 then sane-backends-1.0.22-r1 builds fine, and presumably the older one as well. Maybe there's an upstream patch, since it looks like the libv4l interface changed. Maybe it's better to mask newer versions of libv4l (in the sane-backends dep) rather than mask the USE flag.
(In reply to comment #29) > the libv4l interface changed. Maybe it's better to mask newer versions of > libv4l (in the sane-backends dep) rather than mask the USE flag. From libv4l-0.8.3 ChangeLog: * Make libv4l1 compile with kernels >= 2.6.38, which no longer have the v4l1 linux/videodev.h header (hdegoede) You should treat http://bugs.gentoo.org/attachment.cgi?id=272975 as "upstream patch" instead of masking USE flag. It's just removing duplicated (and changed!) structs definitions which had to appear in libv4l1-videodev.h since it they are not defined in recent kernel sources.
comment #28 > Fixed 1.0.22-r1 in bleeding-edge. No it is not. I've got the same problem with media-gfx/sane-backends-1.0.22-r1. Compiles with media-gfx/sane-backends -v4l
(In reply to comment #31) > comment #28 > > Fixed 1.0.22-r1 in bleeding-edge. > > No it is not. I've got the same problem with media-gfx/sane-backends-1.0.22-r1. > > Compiles with media-gfx/sane-backends -v4l Be sure your system is using overlay's version. I tried some minites ago: Fri Jun 17 18:58:27 2011 >>> media-gfx/sane-backends-1.0.22-r1 Can you check with eix? You should see: Installed versions: 1.0.22-r1{...}[1] [...] [1] "bleeding-edge" [...]
Is there any estimates on when the fix will be available in the tree?
Thanks everyone for the reports and patches, sorry for the delay I have backported an upstream fix for libv4l-0.8.3+ support in current 1.0.21 and 1.0.22 ebuilds, they should now compile ok for you after your next sync