Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 305379 - Failed to emerge media-video/linux-uvc-0.1.0_pre250
Summary: Failed to emerge media-video/linux-uvc-0.1.0_pre250
Status: RESOLVED DUPLICATE of bug 252553
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-16 10:45 UTC by easycat
Modified: 2010-03-12 14:53 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description easycat 2010-02-16 10:45:34 UTC
emerge linux-uvc and error!!

 * Preparing uvcvideo module
make -j3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= KERNEL_DIR=/usr/src/linux 
Building USB Video Class driver...
make[1]: Entering directory `/usr/src/linux-2.6.32-zen6'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
  CC [M]  /var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_driver.o
/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_driver.c: 在函数‘uvc_register_video’中:
/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_driver.c:1472: 警告:从不兼容的指针类型赋值
  CC [M]  /var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_queue.o
  CC [M]  /var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_v4l2.o
/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_v4l2.c: 在函数‘uvc_v4l2_do_ioctl’中:
/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_v4l2.c:989: 警告:传递‘v4l_compat_translate_ioctl’的第 1 个参数时在不兼容的指针类型间转换
include/media/v4l2-ioctl.h:285: 附注:需要类型‘struct file *’,但实参的类型为‘struct inode *’
/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_v4l2.c:989: 警告:传递‘v4l_compat_translate_ioctl’的第 2 个参数时将指针赋给整数,未作类型转换
include/media/v4l2-ioctl.h:285: 附注:需要类型‘int’,但实参的类型为‘struct file *’
/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_v4l2.c:989: 警告:传递‘v4l_compat_translate_ioctl’的第 3 个参数时将整数赋给指针,未作类型转换
include/media/v4l2-ioctl.h:285: 附注:需要类型‘void *’,但实参的类型为‘unsigned int’
/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_v4l2.c:989: 错误:提供给函数‘v4l_compat_translate_ioctl’的实参太多
/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_v4l2.c: 在函数‘uvc_v4l2_ioctl’中:
/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_v4l2.c:1002: 警告:传递‘video_usercopy’的第 1 个参数时在不兼容的指针类型间转换
include/media/v4l2-ioctl.h:298: 附注:需要类型‘struct file *’,但实参的类型为‘struct inode *’
/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_v4l2.c:1002: 警告:传递‘video_usercopy’的第 2 个参数时将指针赋给整数,未作类型转换
include/media/v4l2-ioctl.h:298: 附注:需要类型‘unsigned int’,但实参的类型为‘struct file *’
/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_v4l2.c:1002: 警告:传递‘video_usercopy’的第 4 个参数时将整数赋给指针,未作类型转换
include/media/v4l2-ioctl.h:298: 附注:需要类型‘v4l2_kioctl’,但实参的类型为‘long unsigned int’
/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_v4l2.c:1002: 错误:提供给函数‘video_usercopy’的实参太多
/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_v4l2.c: 在文件层:
/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_v4l2.c:1102: 错误:‘v4l_compat_ioctl32’未声明(不在函数内)
make[2]: *** [/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_v4l2.o] 错误 1
make[1]: *** [_module_/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250] 错误 2
make[1]: Leaving directory `/usr/src/linux-2.6.32-zen6'
make: *** [uvcvideo] 错误 2
 * ERROR: media-video/linux-uvc-0.1.0_pre250 failed:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  KERNEL_DIR=/usr/src/linux  
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3545:  Called linux-mod_src_compile
 *   environment, line 2744:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" 						CROSS_COMPILE=${CHOST}- 						LDFLAGS=\"$(get_abi_LDFLAGS)\" 						${BUILD_FIXES} 						${BUILD_PARAMS} 				${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 * 
 * If you need support, post the output of 'emerge --info =media-video/linux-uvc-0.1.0_pre250',
 * the complete build log and the output of 'emerge -pqv =media-video/linux-uvc-0.1.0_pre250'.
 * The complete build log is located at '/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/temp/environment'.
 * S: '/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250'

>>> Failed to emerge media-video/linux-uvc-0.1.0_pre250, Log file:

>>>  '/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/temp/build.log'

 * Messages for package media-video/linux-uvc-0.1.0_pre250:

 * ERROR: media-video/linux-uvc-0.1.0_pre250 failed:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  KERNEL_DIR=/usr/src/linux  
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3545:  Called linux-mod_src_compile
 *   environment, line 2744:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" 						CROSS_COMPILE=${CHOST}- 						LDFLAGS=\"$(get_abi_LDFLAGS)\" 						${BUILD_FIXES} 						${BUILD_PARAMS} 				${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 * 
 * If you need support, post the output of 'emerge --info =media-video/linux-uvc-0.1.0_pre250',
 * the complete build log and the output of 'emerge -pqv =media-video/linux-uvc-0.1.0_pre250'.
 * The complete build log is located at '/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/temp/environment'.
 * S: '/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250'

===================================================================================
Portage 2.1.7.17 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11-r1, 2.6.32-zen6 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-zen6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 15 Feb 2010 21:30:01 +0000
app-shells/bash:     4.1_p2
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://61.135.158.199"
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="zh_CN zh"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/gentoo-taiwan /usr/local/portage/layman/gentoo-china /usr/local/portage"
SYNC="rsync://61.135.158.199/gentoo-portage"
USE="R X a52 aac acl acpi alsa amd64 bash-completion berkdb binary bittorrent bmp bzip2 c++ cairo cdr cdrw cli cracklib crypt cups cxx dbus divx dri dri2 dvd dvdr dvdread encode evdev ffmpeg flac fortran freetype fuse gdbm gimp gpm gstreamer hal iconv id3 ipv6 jingle jpeg jpeg2k lame laptop libnotify mmx mmxext modules mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap multilib ncurses nls nptl nptlonly ogg ogm opengl openmp openssl pam pcre perl png pppd pstricks python qt3support qt4 readline reflection scim sdl secure-delete session sip spl sse sse2 sse3 ssl startup-notification stun svg sysfs tcpd theora truetype ubuntu uncode unicode usb usplugin v4l vcd video vorbis wav webdav wifi wma wmf wmp x264 xcb xinetd xorg xosd xulrunner 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN zh" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa radeonhd radeon fglrx" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
==================================================================================================
[ebuild  N    ] media-video/linux-uvc-0.1.0_pre250 

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



Reproducible: Always
Comment 1 renato gallo 2010-02-16 11:28:00 UTC
uvc module is now included in the kernel have you tried just looking to the menuconfig ?
Comment 2 Doktor Notor 2010-02-17 03:50:13 UTC
Dupe of Bug 252553.

(In reply to comment #1)
> uvc module is now included in the kernel have you tried just looking to the
> menuconfig ?
> 

Yeah, but the userspace stuff is still needed. The driver should be nuked from the ebuild altogether.
Comment 3 Thomas Sachau gentoo-dev 2010-03-12 14:53:36 UTC
(In reply to comment #2)
> Dupe of Bug 252553.

Thanks for your work on many bugs, reduces the amount of work for bugwranglers.

As a side note: Since genstef is now inactive since months, it is probably the best idea to find some other Gentoo developer, who could look at his packages.



*** This bug has been marked as a duplicate of bug 252553 ***