LinuxSir.cn,穿越时空的Linuxsir!

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

更新gentoo-china时,提示ebuild里的错误,请问该如何办?

[复制链接]
发表于 2010-1-27 11:33:01 | 显示全部楼层 |阅读模式
更新gentoo-china时,提示ebuild里的错误,请问该如何办?谢谢
  1. [1] "gentoo-china" /usr/local/portage/layman/gentoo-china (cache: parse|ebuild*#metadata-flat#assign)
  2.      Reading  60% * Please fix your package (net-im/eva-20080127) to not use kde.eclass
  3. /usr/local/portage/layman/gentoo-china/net-im/eva/eva-20080127.ebuild: line 19: need-kde: command not found
  4. *
  5. * ERROR: net-im/eva-20080127 failed.
  6. * Call stack:
  7. *               ebuild.sh, line 1879:  Called _source_ebuild
  8. *               ebuild.sh, line 1818:  Called die
  9. * The specific snippet of code:
  10. *           source "${EBUILD}" || die "error sourcing ebuild"
  11. *  The die message:
  12. *   error sourcing ebuild
  13. *
  14. * If you need support, post the topmost build error, and the call stack if relevant.
  15. * This ebuild is from an overlay: '/usr/local/portage/layman/gentoo-china/'
  16. *
  17. Ebuild failed with status 1
  18.      Reading  60%
  19. Could not properly execute /usr/local/portage/layman/gentoo-china/net-im/eva/eva-20080127.ebuild
  20.      Reading  60% * Please fix your package (net-im/eva-9999) to not use kde.eclass
  21. /usr/local/portage/layman/gentoo-china/net-im/eva/eva-9999.ebuild: line 20: need-kde: command not found
  22. *
  23. * ERROR: net-im/eva-9999 failed.
  24. * Call stack:
  25. *               ebuild.sh, line 1879:  Called _source_ebuild
  26. *               ebuild.sh, line 1818:  Called die
  27. * The specific snippet of code:
  28. *           source "${EBUILD}" || die "error sourcing ebuild"
  29. *  The die message:
  30. *   error sourcing ebuild
  31. *
  32. * If you need support, post the topmost build error, and the call stack if relevant.
  33. * This ebuild is from an overlay: '/usr/local/portage/layman/gentoo-china/'
  34. *
  35. Ebuild failed with status 1
  36.      Reading  60%
  37. Could not properly execute /usr/local/portage/layman/gentoo-china/net-im/eva/eva-9999.ebuild
  38.      Reading  63% * Please fix your package (net-misc/kipmsg-0.1.7) to not use kde.eclass
  39. /usr/local/portage/layman/gentoo-china/net-misc/kipmsg/kipmsg-0.1.7.ebuild: line 20: need-kde: command not found
  40. *
  41. * ERROR: net-misc/kipmsg-0.1.7 failed.
  42. * Call stack:
  43. *               ebuild.sh, line 1879:  Called _source_ebuild
  44. *               ebuild.sh, line 1818:  Called die
  45. * The specific snippet of code:
  46. *           source "${EBUILD}" || die "error sourcing ebuild"
  47. *  The die message:
  48. *   error sourcing ebuild
  49. *
  50. * If you need support, post the topmost build error, and the call stack if relevant.
  51. * This ebuild is from an overlay: '/usr/local/portage/layman/gentoo-china/'
  52. *
  53. Ebuild failed with status 1
  54.      Reading  63%
  55. Could not properly execute /usr/local/portage/layman/gentoo-china/net-misc/kipmsg/kipmsg-0.1.7.ebuild
  56.      Reading  63% * Please fix your package (net-misc/kipmsg-0.1.8) to not use kde.eclass
  57. /usr/local/portage/layman/gentoo-china/net-misc/kipmsg/kipmsg-0.1.8.ebuild: line 20: need-kde: command not found
  58. *
  59. * ERROR: net-misc/kipmsg-0.1.8 failed.
  60. * Call stack:
  61. *               ebuild.sh, line 1879:  Called _source_ebuild
  62. *               ebuild.sh, line 1818:  Called die
  63. * The specific snippet of code:
  64. *           source "${EBUILD}" || die "error sourcing ebuild"
  65. *  The die message:
  66. *   error sourcing ebuild
  67. *
  68. * If you need support, post the topmost build error, and the call stack if relevant.
  69. * This ebuild is from an overlay: '/usr/local/portage/layman/gentoo-china/'
  70. *
  71. Ebuild failed with status 1
  72.      Reading  63%
  73. Could not properly execute /usr/local/portage/layman/gentoo-china/net-misc/kipmsg/kipmsg-0.1.8.ebuild
  74.      Reading 100%
复制代码
发表于 2010-1-27 11:58:35 | 显示全部楼层
是更新时还是更新后?可以删掉再添加试试,如果仍有问题请去讨论组报告问题。
回复 支持 反对

使用道具 举报

发表于 2010-1-27 12:07:59 | 显示全部楼层
把输出贴出来吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-1-27 12:32:57 | 显示全部楼层
贴出来了。谢谢
回复 支持 反对

使用道具 举报

发表于 2010-1-27 12:38:56 | 显示全部楼层
你是什么时候更新的?

net-im/eva和net-misc/kipmsg两个包由于上游长期没有更新,前几天已经移除。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-1-27 13:41:20 | 显示全部楼层
Post by coderoar;2065260
你是什么时候更新的?

net-im/eva和net-misc/kipmsg两个包由于上游长期没有更新,前几天已经移除。


我刚刚更新的。
回复 支持 反对

使用道具 举报

发表于 2010-1-27 13:47:17 | 显示全部楼层
那你试试把gentoo-china删除再重新添加吧,看样子是更新失败了。
回复 支持 反对

使用道具 举报

发表于 2010-2-5 11:03:36 | 显示全部楼层
我也碰到同样的问题,重新添加china overlay就好了
回复 支持 反对

使用道具 举报

发表于 2010-2-5 12:58:55 | 显示全部楼层
overlay更新的時候不會自動把缺失的ebuild補上,估計多餘的也不會刪掉。
回复 支持 反对

使用道具 举报

发表于 2010-2-5 19:14:26 | 显示全部楼层
Post by xcxxb;2067578
overlay更新的時候不會自動把缺失的ebuild補上,估計多餘的也不會刪掉。


gentoo-china是通过svn更新的,svn可以补全丢失的文件。遇到本地多出的文件,分两种情况:一是已经添加到svn仓库的,会产生错误;二是没添加的,如果服务器上没有这个文件,就没事。
回复 支持 反对

使用道具 举报

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

本版积分规则

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