mathabstrction Apprentice
Joined: 12 Aug 2012 Posts: 212
|
Posted: Tue Oct 30, 2012 6:11 pm Post subject: 配置crossdev之后,不能正常emerge了。 |
|
|
GENTOO wu # emerge --sync
"/etc/make.conf", line 24: [Errno 2] No such file or directory: '/usr/portage/local/layman/make.conf'
Traceback (most recent call last):
File "/usr/bin/emerge", line 50, in <module>
retval = emerge_main()
File "/usr/lib64/portage/pym/_emerge/main.py", line 1656, in emerge_main
settings, trees, mtimedb = load_emerge_config()
File "/usr/lib64/portage/pym/_emerge/actions.py", line 3039, in load_emerge_config
trees = portage.create_trees(trees=trees, **kwargs)
File "/usr/lib64/portage/pym/portage/__init__.py", line 505, in create_trees
env=env, eprefix=eprefix)
File "/usr/lib64/portage/pym/portage/proxy/objectproxy.py", line 31, in __call__
return result(*args, **kwargs)
File "/usr/lib64/portage/pym/portage/package/ebuild/config.py", line 300, in __init__
tolerant=tolerant, allow_sourcing=True) or {}
File "/usr/lib64/portage/pym/portage/util/__init__.py", line 603, in getconfig
key=lex.get_token()
File "/usr/lib64/python3.2/shlex.py", line 96, in get_token
spec = self.sourcehook(self.read_token())
File "/usr/lib64/python3.2/shlex.py", line 251, in sourcehook
return (newfile, open(newfile, "r"))
IOError: [Errno 2] No such file or directory: '/usr/portage/local/layman/make.conf'
GNU nano 2.3.1 文件: /etc/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=k8 -O2"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="jpeg jack-tmpfs jack portaudio lash svga nsplugin mmx sse udev sse2"
INPUT_DEVICES="evdev"
VIDEO_CARDS="gmplayer intel vesa fbdev fbcon"
GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo/ http://ftp.swin.edu.au/gentoo ftp://ftp.sw$
SYNC="rsync://rsync.br.gentoo.org/gentoo-portage"
PORTAGE_ELOG_CLASSES="info warn error log qa"
PORTAGE_ELOG_SYSTEM="save"
PORT_LOGDIR="/var/log/portage"
source /usr/portage/local/layman/make.conf
PORTDIR_OVERLAY="/usr/local/portage" |
|