LinuxSir.cn,穿越时空的Linuxsir!

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

emerge 循环依赖求助(已解决)

[复制链接]
发表于 2011-5-21 11:47:37 | 显示全部楼层 |阅读模式
#emerge -uND @world
------------------------------------------------------------------------------------------------------------------------------------------
...
* Error: circular dependencies:

(dev-util/gtk-doc-am-1.17, ebuild scheduled for merge) depends on
(dev-util/pkgconfig-0.26, ebuild scheduled for merge) (buildtime)
  (dev-libs/glib-2.28.6, ebuild scheduled for merge) (buildtime)
   (dev-util/gtk-doc-am-1.17, ebuild scheduled for merge) (buildtime)

* Note that circular dependencies can often be avoided by temporarily
* disabling USE flags that trigger optional dependencies.
...
======================================================================

我强制去掉glib对gtk-doc-am的依赖后emerge glib,出现下列错误:
--------------------------------------------------------------------------------------------------------------------------------------------
* Applying glib-2.18.1-workaround-gio-test-failure-without-userpriv.patch ...
* Applying glib-2.12.12-fbsd.patch ...
* Applying glib-2.25-punt-python-check.patch ...
* Applying glib-2.24-assert-test-failure.patch ...
* Applying glib-2.26.0-disable-locale-sensitive-test.patch ...
* Applying glib-2.26.0-disable-volumemonitor-broken-test.patch ...
* Running eautoreconf in '/var/tmp/portage/dev-libs/glib-2.28.6/work/glib-2.28.6' ...
* Running aclocal -I /var/tmp/portage/dev-libs/glib-2.28.6/work -I m4macros ...
* Running libtoolize --copy --force --install --automake ...
* Running aclocal -I /var/tmp/portage/dev-libs/glib-2.28.6/work -I m4macros ...
* Running autoconf -I /var/tmp/portage/dev-libs/glib-2.28.6/work ...
* Running autoheader -I /var/tmp/portage/dev-libs/glib-2.28.6/work ...
* Running automake --add-missing --copy ...
* Failed Running automake !
*
* Include in your bugreport the contents of:
*
*   /var/tmp/portage/dev-libs/glib-2.28.6/temp/automake.out
* ERROR: dev-libs/glib-2.28.6 failed (prepare phase):
*   Failed Running automake !
*
* Call stack:
*     ebuild.sh, line   56:  Called src_prepare
*   environment, line 5729:  Called eautoreconf
*   environment, line 1632:  Called eautomake
*   environment, line 1601:  Called autotools_run_tool 'automake' '--add-missing' '--copy'
*   environment, line 1222:  Called die
* The specific snippet of code:
*           die "Failed Running $1 !";
*
* If you need support, post the output of 'emerge --info =dev-libs/glib-2.28.6',
* the complete build log and the output of 'emerge -pqv =dev-libs/glib-2.28.6'.
* The complete build log is located at '/var/tmp/portage/dev-libs/glib-2.28.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/glib-2.28.6/temp/environment'.
* S: '/var/tmp/portage/dev-libs/glib-2.28.6/work/glib-2.28.6'
==========================================================================
我的make.conf文件:
http://paste.ubuntu.com/610911/

还需要提供什么信息?
是在chroot环境中,因为syslog-ng还没安装好。
发表于 2011-5-21 13:00:02 | 显示全部楼层
循环依赖,你可以在emerge -Oav1 其中一个包,然后在编译另一个包就好了。
回复 支持 反对

使用道具 举报

发表于 2011-5-21 13:15:41 | 显示全部楼层
全局的USE标记太乱了。

除了一些基础类的USE,比如硬件支持,音频图片格式,中文支持等。
最好就使用局部的USE /etc/portage/package.use

建议刚装系统时不添加全局的X/gnome/networkmanager之类的USE,从底层开始慢慢向上安装并添加,更新完系统, 加上X安装xorg-server,再继续。 这样一般不会有循环依赖之类的问题。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-21 13:44:49 | 显示全部楼层
已经搞定,谢谢上面2位的回答,我把~amd64改成amd64后成功emerge。
回复 支持 反对

使用道具 举报

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

本版积分规则

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