LinuxSir.cn,穿越时空的Linuxsir!

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

升级gcc 循环依赖问题....

[复制链接]
发表于 2010-10-29 19:29:01 | 显示全部楼层 |阅读模式
[nomerge      ] sys-devel/gcc-4.4.4-r2 [4.1.2] USE="fortran gtk mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite (-hardened) (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla"
[ebuild     U ]  sys-libs/glibc-2.11.2 [2.6.1] USE="nls -debug -gd -glibc-omitfp (-hardened) (-multilib) -profile (-selinux) -vanilla" 15,996 kB
[ebuild  NS   ]   sys-devel/gcc-4.4.4-r2 [4.1.2] USE="fortran gtk mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite (-hardened) (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla" 61,588 kB

Total: 2 packages (1 upgrade, 1 in new slot), Size of downloads: 77,583 kB

* Error: circular dependencies:

('ebuild', '/', 'sys-devel/gcc-4.4.4-r2', 'merge') depends on
  ('ebuild', '/', 'sys-libs/glibc-2.11.2', 'merge') (buildtime)
('ebuild', '/', 'sys-libs/glibc-2.11.2', 'merge') depends on
  ('ebuild', '/', 'sys-devel/gcc-4.4.4-r2', 'merge') (buildtime)

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

* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.


我应该怎么做...
emerge -C 吗....
发表于 2010-10-29 23:18:31 | 显示全部楼层
你看下sys-libs/glibc的ebuild就知道原因,方法了
sys-libs/glibc-2.10.1-r1.ebuild 里 依赖 DEPEND=">=sys-devel/gcc-3.4.4   
glibc-2.11.2.ebuild   DEPEND=">=sys-devel/gcc-3.4.4   但对x86             x86? ( >=sys-devel/gcc-4.3 )

而   sys-devel/gcc-4.4.4-r2   依赖是               elibc_glibc? ( >=sys-libs/glibc-2.8 )

所以 。万无一失的是   先升 到  sys-libs/glibc-2.10.1 ,再升gcc 到  gcc-4.4.4-r2。然后  glibc-2.11.2
如果想偷懒,则  --nodeps
或 改ebuild  欺骗portage   sys-devel/gcc-4.4.4-r2.ebuild  里  >=sys-libs/glibc-2.8  改成  >=sys-libs/glibc-2.6

话说回来,我已经够懶的了,你比我还-----  哈哈
回复 支持 反对

使用道具 举报

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

本版积分规则

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