LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1010|回复: 6

make.conf中设定的ACCEPT_KEYWORD="~x86",可是emerge --info怎么

[复制链接]
发表于 2006-6-27 10:53:43 | 显示全部楼层 |阅读模式
rt
详细信息:
localhost proc # emerge --info
Portage 2.1.1_pre1-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo i686)
=================================================================
System uname: 2.6.17-gentoo i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -ftracer -fomit-frame-pointer -pipe -O3"
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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium-m -ftracer -fomit-frame-pointer -pipe -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp"
LDFLAGS="-Wl,-O1"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups dba dri eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile idn imlib ipv6 isdnlog jpeg kde kernel_linux lcms libg++ libwww mad memlimit mikmod mng motif mozilla mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png posix pppd python qt quicktime readline reflection samba sdl session simplexml slang soap sockets spell spl ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev userland_GNU vorbis x86 xml xml2 xmms xorg xsl xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

=======make.conf中的信息==========
localhost proc # cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
#CFLAGS="-O2 -march=i686 -pipe"
CFLAGS="-march=pentium-m -ftracer -fomit-frame-pointer -pipe -O3"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1"
MAKEOPTS=""
ACCEPT_KEYWORDS="~x86"
USE=" X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups dba eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile idn imlib ipv6 jpeg kde kernel_linux lcms libg++ libwww mad memlimit mikmod mng motif mozilla mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png posix python qt quicktime readline samba sdl session simplexml slang soap sockets spell spl ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev userland_GNU vorbis x86 xml xml2 xmms xsl xv zlib nptl nptlonly"
FEATURES=""
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp"


============================
这个是为什么啊?
 楼主| 发表于 2006-6-27 10:57:57 | 显示全部楼层
localhost proc # emerge -uDN world

在编译linuxwacom-0.7.2的时候报以下的错误:

In file included from /usr/include/xorg/xisb.h:32,
                 from xf86Wacom.h:77,
                 from xf86Wacom.c:100:
/usr/include/unistd.h:189: error: conflicting types for 'xf86ssize_t'
/usr/include/xorg/xf86_libc.h:86: error: previous declaration of 'xf86ssize_t' was here
In file included from /usr/include/xorg/xisb.h:32,
                 from xf86Wacom.h:77,
                 from xf86Wacom.c:100:
/usr/include/unistd.h:325: error: conflicting types for 'xf86read'
/usr/include/xorg/xf86_ansic.h:273: error: previous declaration of 'xf86read' was here
/usr/include/unistd.h:331: error: conflicting types for 'xf86write'
/usr/include/xorg/xf86_ansic.h:274: error: previous declaration of 'xf86write' was here
/usr/include/unistd.h:418: error: conflicting types for 'xf86usleep'
/usr/include/xorg/xf86_ansic.h:345: error: previous declaration of 'xf86usleep' was here
In file included from /usr/include/xorg/xisb.h:32,
                 from xf86Wacom.h:77,
                 from xf86Wacom.c:100:
/usr/include/unistd.h:935:29: error: macro "getpagesize" passed 1 arguments, but takes just 0
make[3]: *** [xf86Wacom.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/linuxwacom-0.7.2/work/linuxwacom-0.7.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/linuxwacom-0.7.2/work/linuxwacom-0.7.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/linuxwacom-0.7.2/work/linuxwacom-0.7.2'
make: *** [all] Error 2

!!! ERROR: x11-misc/linuxwacom-0.7.2 failed.
Call stack:
  ebuild.sh, line 1540:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  linuxwacom-0.7.2.ebuild, line 116:   Called die

!!! build failed.
!!! If you need support, post the topmost build error, and the call stack if relevant.
回复 支持 反对

使用道具 举报

发表于 2006-6-27 11:29:55 | 显示全部楼层
就是这样的
x86的包和~x86的包是两个不相交的集合
回复 支持 反对

使用道具 举报

发表于 2006-6-27 11:39:03 | 显示全部楼层
是相交的集合吧?
回复 支持 反对

使用道具 举报

发表于 2006-6-27 12:01:50 | 显示全部楼层
http://packages.gentoo.org/search/?sstring=gcc
应该是不相交的
任何一个版本的包在每个平台上都只有一个状态
本来默认的ACCEPTED_KEYWORDS只有一个x86
加了ACCEPT_KEYWORDS="~x86"之后
自然就成了ACCEPT_KEYWORDS="x86 ~x86"
回复 支持 反对

使用道具 举报

发表于 2006-6-27 12:15:08 | 显示全部楼层
可能在某个时期,~arch 和 arch 下的某个包恰好版本相同,比如 arm平台的 gcc 3.4.6-r1 发布后, 随即进入 arch 的portage,此时没有比gcc3.4.6-r1更新的版本了,那么~arch 也才用了这个版本。, 因此是不是也可以说 gcc3.4.6-r1既在arch,又在~arch里头?  
纯粹猜测  我对gentoo的研究远远没有zhllg兄深刻
回复 支持 反对

使用道具 举报

发表于 2006-6-27 12:41:10 | 显示全部楼层
那恐怕应该还是因为你的keywords里有arch,好像没有办法只指定~arch(也就是让emerge --info的结果里只有~arch)的吧?

研究深入不敢当,我也是凭个人理解
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表