LinuxSir.cn,穿越时空的Linuxsir!

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

怎样把改造未进入portage的新版本软件

[复制链接]
发表于 2008-10-11 16:03:20 | 显示全部楼层 |阅读模式
sancho-bin是mldonkey的前端,很好用。最近出了新版0.9.5,可新版ebuild迟迟没有进入portage。我把官方的源文件下载下来,用overlay安装,请问要怎么做?
发表于 2008-10-11 16:59:26 | 显示全部楼层
cp old version's ebuild to new version's ebuild
ebuild ..... manifest
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-11 19:25:09 | 显示全部楼层
Post by zhllg;1892799
cp old version's ebuild to new version's ebuild
ebuild ..... manifest

我已经把从官方下载的源码放到/usr/portage/distfiles了,为什么manifest还会试图从其它地方下载?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-11 20:15:10 | 显示全部楼层
success manifest,but emerge error

  1. Calculating dependencies... done!
  2. [ebuild     U ] net-p2p/sancho-bin-0.9.4.59 [0.9.4.58-r1] USE="-java" 0 kB

  3. Total: 1 package (1 upgrade), Size of downloads: 0 kB

  4. Would you like to merge these packages? [Yes/No] y

  5. >>> Verifying ebuild manifests

  6. >>> Emerging (1 of 1) net-p2p/sancho-bin-0.9.4.59
  7. * sancho-0.9.4-59-linux-gtk.sh RMD160 SHA1 SHA256 size ;-) ...          [ ok ]
  8. * checking ebuild checksums ;-) ...                                     [ ok ]
  9. * checking auxfile checksums ;-) ...                                    [ ok ]
  10. * checking miscfile checksums ;-) ...                                   [ ok ]
  11. >>> Unpacking source...
  12. >>> Unpacking sancho-0.9.4-59-linux-gtk.sh to /var/tmp/portage/net-p2p/sancho-bin-0.9.4.59/work
  13. * I'm sorry, but I was unable to support the Makeself file.
  14. * The version I detected was ''.
  15. * Please file a bug about the file sancho-0.9.4-59-linux-gtk.sh at
  16. * http://bugs.gentoo.org/ so that support can be added.
  17. *
  18. * ERROR: net-p2p/sancho-bin-0.9.4.59 failed.
  19. * Call stack:
  20. * ebuild.sh, line   49:  Called src_unpack
  21. * environment, line 2075:  Called unpack_makeself
  22. * environment, line 2449:  Called die
  23. * The specific snippet of code:
  24. * die "makeself version '${ver}' not supported"
  25. * The die message:
  26. * makeself version '' not supported
  27. *
  28. * If you need support, post the topmost build error, and the call stack if relevant.
  29. * A complete build log is located at '/var/log/portage/net-p2p:sancho-bin-0.9.4.59:20081011-115514.log'.
  30. * The ebuild environment file is located at '/var/tmp/portage/net-p2p/sancho-bin-0.9.4.59/temp/environment'.
  31. *

  32. >>> Failed to emerge net-p2p/sancho-bin-0.9.4.59, Log file:

  33. >>>  '/var/log/portage/net-p2p:sancho-bin-0.9.4.59:20081011-115514.log'

  34. * Messages for package net-p2p/sancho-bin-0.9.4.59:

  35. * I'm sorry, but I was unable to support the Makeself file.
  36. * The version I detected was ''.
  37. * Please file a bug about the file sancho-0.9.4-59-linux-gtk.sh at
  38. * http://bugs.gentoo.org/ so that support can be added.
  39. *
  40. * ERROR: net-p2p/sancho-bin-0.9.4.59 failed.
  41. * Call stack:
  42. * ebuild.sh, line   49:  Called src_unpack
  43. * environment, line 2075:  Called unpack_makeself
  44. * environment, line 2449:  Called die
  45. * The specific snippet of code:
  46. * die "makeself version '${ver}' not supported"
  47. * The die message:
  48. * makeself version '' not supported
  49. *
  50. * If you need support, post the topmost build error, and the call stack if relevant.
  51. * A complete build log is located at '/var/log/portage/net-p2p:sancho-bin-0.9.4.59:20081011-115514.log'.
  52. * The ebuild environment file is located at '/var/tmp/portage/net-p2p/sancho-bin-0.9.4.59/temp/environment'.
  53. *

复制代码
回复 支持 反对

使用道具 举报

发表于 2008-10-11 20:17:27 | 显示全部楼层
注意修改一下 ebuild 中的 SRC_URI 的地址。还有就是,那个 shell 文件好像不能识别新版本。
回复 支持 反对

使用道具 举报

发表于 2008-10-13 12:07:58 | 显示全部楼层
记得wiki有专门这样的文章
回复 支持 反对

使用道具 举报

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

本版积分规则

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