+ -
当前位置:首页 → 问答吧 → [已解决]升级xorg-server 1.7.0

[已解决]升级xorg-server 1.7.0

时间:2009-10-10

来源:互联网

昨天更新portage,发现xorg-server 1.7已经在了(mask状态),于是unmask一堆包后emerge成功,但是接下来emerge x11-drivers/xf86-input-evdev,x11-drivers/xf86-input-keyboard,x11-drivers/xf86-input-synaptics都失败了。错误信息都是类似的:
evdev.c: In function 'EvdevReopenTimer':
evdev.c:322: error: too few arguments to function 'DisableDevice'
evdev.c:337: error: too few arguments to function 'DisableDevice'
evdev.c: In function 'EvdevAddAbsClass':
evdev.c:999: warning: passing argument 3 of 'InitValuatorClassDeviceStruct' makes pointer from integer without a cast
evdev.c:999: error: too few arguments to function 'InitValuatorClassDeviceStruct'
evdev.c:1010: error: too few arguments to function 'xf86InitValuatorAxisStruct'
evdev.c: In function 'EvdevAddRelClass':
evdev.c:1074: warning: passing argument 3 of 'InitValuatorClassDeviceStruct' makes pointer from integer without a cast
evdev.c:1074: error: too few arguments to function 'InitValuatorClassDeviceStruct'
evdev.c:1087: error: too few arguments to function 'xf86InitValuatorAxisStruct'
evdev.c: In function 'EvdevAddButtonClass':
evdev.c:1109: warning: passing argument 3 of 'InitButtonClassDeviceStruct' from incompatible pointer type
evdev.c:1109: error: too few arguments to function 'InitButtonClassDeviceStruct'
make[2]: *** [evdev.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/emuWheel.Tpo .deps/emuWheel.Plo
mv -f .deps/emuMB.Tpo .deps/emuMB.Plo
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-input-evdev-2.2.5/work/xf86-input-evdev-2.2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-input-evdev-2.2.5/work/xf86-input-evdev-2.2.5'
make: *** [all] Error 2
*
* ERROR: x11-drivers/xf86-input-evdev-2.2.5 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3124: Called x-modular_src_compile
* environment, line 3909: Called x-modular_src_make
* environment, line 3949: Called die
* The specific snippet of code:
* emake || die "emake failed"
* The die message:
* emake failed

emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.10.1-r0, 2.6.31-gentoo i686)
=================================================================
System uname: Linux-2.6.31-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T5450_@_1.66GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 09 Oct 2009 00:45:02 +0000
app-shells/bash: 4.0_p28
dev-java/java-config: 2.1.9
dev-lang/python: 2.6.2-r1
dev-util/cmake: 2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.4.3-r3
sys-apps/sandbox: 2.0
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils: 2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
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/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.twaren.net/Linux/Gentoo/ "
LDFLAGS="-Wl,-O1"
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.asia.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt custom-cflags custom-cxxflags dbus dri dts dvd dvdr emboss encode evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde laptop libnotify mad mikmod mmx modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection sdl session spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

作者: suddenkiller   发布时间: 2009-10-10

這種問題還是報到官方bugzilla上去吧。

作者: coderoar   发布时间: 2009-10-10

佩服楼主的奋斗精神

几个包,最好等官方,尽量不要自己去搞,比如libxcb和xorg-server

作者: hubert_star   发布时间: 2009-10-10

google了一下,貌似xf86-input-evdev的版本不够,2.2.99的才行,大家还是暂时用1.6.4的xorg-server吧。

作者: suddenkiller   发布时间: 2009-10-10

xorg-server 1.6 才刚刚 stable 了几天吧,那么快就折腾 1.7 了?
不过,没有人努力,就没有进步,尊敬一下楼主。
最好是除了 emerge 之外,还为 X11 贡献一下源代码吧,好像 X 是最缺人的项目了。

作者: robinswan   发布时间: 2009-10-10

我感覺Xorg是越更新性能越低下。

作者: coderoar   发布时间: 2009-10-10

反正早就用上1.7了,驱动用的是x11 overlay中的live ebuild。

估计xorg-server-1.7还要一些日子才能稳定。一般会在1.7.2/1.7.3的时候unmask的。

作者: zhou3345   发布时间: 2009-10-10

楼上说的不错,* x11 [Git ] (git://git.overlays.gentoo.org/proj/x11这个overlay里的x11-drivers/xf86-input-keyboard-9999和x11-drivers/xf86-input-evdev-9999,就能用了。
感觉用起来跟原来一样,没体会到什么变化,kde 4.3.2也一样,感觉没什么变化。

作者: suddenkiller   发布时间: 2009-10-10

emerge mesa-7.5.2又出错了:
glxcmds.c: In function '__glXClientInfo':
glxcmds.c:1477: warning: pointer targets in passing argument 5 of 'xcb_glx_client_info' differ in signedness
glxcmds.c: In function '__driGetMscRateOML':
glxcmds.c:2261: error: 'XF86VidModeModeLine' undeclared (first use in this function)
glxcmds.c:2261: error: (Each undeclared identifier is reported only once
glxcmds.c:2261: error: for each function it appears in.)
glxcmds.c:2261: error: expected ';' before 'mode_line'
glxcmds.c:2267: warning: implicit declaration of function 'XF86VidModeQueryVersion'
glxcmds.c:2268: warning: implicit declaration of function 'XF86VidModeGetModeLine'
glxcmds.c:2268: error: 'mode_line' undeclared (first use in this function)
gmake[2]: *** [glxcmds.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.5.2/work/Mesa-7.5.2/src/glx/x11'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.5.2/work/Mesa-7.5.2/src'
make: *** [default] Error 1
*
* ERROR: media-libs/mesa-7.5.2 failed.

用了overlay里的mesa-7.6居然也不过。
glxcmds.c: In function '__driGetMscRateOML':
glxcmds.c:2329: error: 'XF86VidModeModeLine' undeclared (first use in this function)
glxcmds.c:2329: error: (Each undeclared identifier is reported only once
glxcmds.c:2329: error: for each function it appears in.)
glxcmds.c:2329: error: expected ';' before 'mode_line'
glxcmds.c:2335: warning: implicit declaration of function 'XF86VidModeQueryVersion'
glxcmds.c:2336: warning: implicit declaration of function 'XF86VidModeGetModeLine'
glxcmds.c:2336: error: 'mode_line' undeclared (first use in this function)
gmake[2]: *** [glxcmds.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.6/work/Mesa-7.6/src/glx/x11'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.6/work/Mesa-7.6/src'
make: *** [default] Error 1

去掉mesa里的xcb flag后,还是报错:
glxcmds.c:43:38: error: X11/extensions/xf86vmode.h: No such file or directory
glxcmds.c: In function '__driGetMscRateOML':
glxcmds.c:2329: error: 'XF86VidModeModeLine' undeclared (first use in this function)
glxcmds.c:2329: error: (Each undeclared identifier is reported only once
glxcmds.c:2329: error: for each function it appears in.)
glxcmds.c:2329: error: expected ';' before 'mode_line'
glxcmds.c:2335: warning: implicit declaration of function 'XF86VidModeQueryVersion'
glxcmds.c:2336: warning: implicit declaration of function 'XF86VidModeGetModeLine'
glxcmds.c:2336: error: 'mode_line' undeclared (first use in this function)
gmake[2]: *** [glxcmds.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.6/work/Mesa-7.6/src/glx/x11'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.6/work/Mesa-7.6/src'
make: *** [default] Error 1

作者: suddenkiller   发布时间: 2009-10-10

用mesa-7.6

xf86vmode.h No such file or directory

是这里的问题。 升级 xf86vidmodeproto 到 2.3

作者: zhou3345   发布时间: 2009-10-10

引用:
作者: zhou3345
用mesa-7.6

xf86vmode.h No such file or directory

是这里的问题。 升级 xf86vidmodeproto 到 2.3
xf86vidmodeproto-2.3不行,用了overlay里的xf86vidmodeproto-9999,也是不行。

作者: suddenkiller   发布时间: 2009-10-10

热门下载

更多