LinuxSir.cn,穿越时空的Linuxsir!

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

revdep-rebuild失败:dev-python/pychm-0.8.4编译失败

[复制链接]
发表于 2008-5-27 20:44:08 | 显示全部楼层 |阅读模式
之前已经
rm /root/.revdep-rebuild*.?_*
过了

  1. localhost pjq # revdep-rebuild
  2. Configuring search environment for revdep-rebuild

  3. Checking reverse dependencies...

  4. Packages containing binaries and libraries broken by a package update
  5. will be emerged.

  6. Collecting system binaries and libraries... done.
  7.   (/root/.revdep-rebuild.1_files)

  8. Collecting complete LD_LIBRARY_PATH... done.
  9.   (/root/.revdep-rebuild.2_ldpath)

  10. Checking dynamic linking consistency...
  11.   broken /usr/lib/python2.5/site-packages/chm/_chmlib.so (requires  libchm.so.0)
  12.   broken /usr/lib/python2.5/site-packages/chm/extra.so (requires  libchm.so.0)
  13.   broken /usr/sbin/cupsd (requires  libdns_sd.so.1)
  14. done.
  15.   (/root/.revdep-rebuild.3_rebuild)

  16. Assigning files to ebuilds... done.
  17.   (/root/.revdep-rebuild.4_ebuilds)

  18. Evaluating package order... done.
  19.   (/root/.revdep-rebuild.5_order)

  20. All prepared. Starting rebuild...
  21. emerge --oneshot  =dev-python/pychm-0.8.4 =net-print/cups-1.3.7-r1
  22. ..........
  23. Calculating dependencies... done!
  24. >>> Verifying ebuild Manifests...

  25. >>> Emerging (1 of 2) dev-python/pychm-0.8.4 to /
  26. * pychm-0.8.4.tar.gz RMD160 SHA1 SHA256 size ;-) ...                     [ ok ]
  27. * checking ebuild checksums ;-) ...                                      [ ok ]
  28. * checking auxfile checksums ;-) ...                                     [ ok ]
  29. * checking miscfile checksums ;-) ...                                    [ ok ]
  30. * checking pychm-0.8.4.tar.gz ;-) ...                                    [ ok ]
  31. >>> Unpacking source...
  32. >>> Unpacking pychm-0.8.4.tar.gz to /var/tmp/portage/dev-python/pychm-0.8.4/work
  33. >>> Source unpacked.
  34. >>> Compiling source in /var/tmp/portage/dev-python/pychm-0.8.4/work/pychm-0.8.4 ...
  35. running build
  36. running build_py
  37. creating build
  38. creating build/lib.linux-i686-2.5
  39. creating build/lib.linux-i686-2.5/chm
  40. copying chm/__init__.py -> build/lib.linux-i686-2.5/chm
  41. copying chm/chm.py -> build/lib.linux-i686-2.5/chm
  42. copying chm/chmlib.py -> build/lib.linux-i686-2.5/chm
  43. running build_ext
  44. building 'chm._chmlib' extension
  45. creating build/temp.linux-i686-2.5
  46. creating build/temp.linux-i686-2.5/chm
  47. i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -march=athlon64 -O2 -pipe -fomit-frame-pointer -fPIC -I/usr/include/python2.5 -c chm/swig_chm.c -o build/temp.linux-i686-2.5/chm/swig_chm.o -DSWIG_COBJECT_TYPES
  48. chm/swig_chm.c:681:21: error: chm_lib.h: No such file or directory
  49. chm/swig_chm.c:706: warning: ‘struct chmUnitInfo’ declared inside parameter list
  50. chm/swig_chm.c:706: warning: its scope is only this definition or declaration, which is probably not what you want
  51. chm/swig_chm.c:706: warning: ‘struct chmFile’ declared inside parameter list
  52. chm/swig_chm.c: In function ‘_wrap_chmUnitInfo_start_set’:
  53. chm/swig_chm.c:769: error: ‘LONGUINT64’ undeclared (first use in this function)
  54. chm/swig_chm.c:769: error: (Each undeclared identifier is reported only once
  55. chm/swig_chm.c:769: error: for each function it appears in.)
  56. chm/swig_chm.c:769: error: expected ‘;’ before ‘arg2’
  57. chm/swig_chm.c:775: error: ‘arg2’ undeclared (first use in this function)
  58. chm/swig_chm.c:775: error: expected ‘;’ before ‘PyLong_AsUnsignedLongLong’
  59. chm/swig_chm.c:777: error: dereferencing pointer to incomplete type
  60. chm/swig_chm.c: In function ‘_wrap_chmUnitInfo_start_get’:
  61. chm/swig_chm.c:789: error: ‘LONGUINT64’ undeclared (first use in this function)
  62. chm/swig_chm.c:789: error: expected ‘;’ before ‘result’
  63. chm/swig_chm.c:794: error: ‘result’ undeclared (first use in this function)
  64. chm/swig_chm.c:794: error: dereferencing pointer to incomplete type
  65. chm/swig_chm.c: In function ‘_wrap_chmUnitInfo_length_set’:
  66. chm/swig_chm.c:806: error: ‘LONGUINT64’ undeclared (first use in this function)
  67. chm/swig_chm.c:806: error: expected ‘;’ before ‘arg2’
  68. chm/swig_chm.c:812: error: ‘arg2’ undeclared (first use in this function)
  69. chm/swig_chm.c:812: error: expected ‘;’ before ‘PyLong_AsUnsignedLongLong’
  70. chm/swig_chm.c:814: error: dereferencing pointer to incomplete type
  71. chm/swig_chm.c: In function ‘_wrap_chmUnitInfo_length_get’:
  72. chm/swig_chm.c:826: error: ‘LONGUINT64’ undeclared (first use in this function)
  73. chm/swig_chm.c:826: error: expected ‘;’ before ‘result’
  74. chm/swig_chm.c:831: error: ‘result’ undeclared (first use in this function)
  75. chm/swig_chm.c:831: error: dereferencing pointer to incomplete type
  76. chm/swig_chm.c: In function ‘_wrap_chmUnitInfo_space_set’:
  77. chm/swig_chm.c:848: error: dereferencing pointer to incomplete type
  78. chm/swig_chm.c: In function ‘_wrap_chmUnitInfo_space_get’:
  79. chm/swig_chm.c:865: error: dereferencing pointer to incomplete type
  80. chm/swig_chm.c: In function ‘_wrap_chmUnitInfo_path_set’:
  81. chm/swig_chm.c:883: error: dereferencing pointer to incomplete type
  82. chm/swig_chm.c:884: error: dereferencing pointer to incomplete type
  83. chm/swig_chm.c: In function ‘_wrap_chmUnitInfo_path_get’:
  84. chm/swig_chm.c:901: error: dereferencing pointer to incomplete type
  85. chm/swig_chm.c: In function ‘_wrap_new_chmUnitInfo’:
  86. chm/swig_chm.c:915: error: invalid application of ‘sizeof’ to incomplete type ‘struct chmUnitInfo’
  87. chm/swig_chm.c: In function ‘_wrap_chm_resolve_object’:
  88. chm/swig_chm.c:1002: error: invalid application of ‘sizeof’ to incomplete type ‘struct chmUnitInfo’
  89. chm/swig_chm.c: In function ‘_wrap_chm_retrieve_object’:
  90. chm/swig_chm.c:1043: error: ‘LONGUINT64’ undeclared (first use in this function)
  91. chm/swig_chm.c:1043: error: expected ‘;’ before ‘arg4’
  92. chm/swig_chm.c:1044: error: ‘LONGINT64’ undeclared (first use in this function)
  93. chm/swig_chm.c:1044: error: expected ‘;’ before ‘arg5’
  94. chm/swig_chm.c:1045: error: expected ‘;’ before ‘result’
  95. chm/swig_chm.c:1056: error: ‘arg4’ undeclared (first use in this function)
  96. chm/swig_chm.c:1056: error: expected ‘;’ before ‘PyLong_AsUnsignedLongLong’
  97. chm/swig_chm.c:1058: error: ‘arg5’ undeclared (first use in this function)
  98. chm/swig_chm.c:1058: error: expected ‘;’ before ‘PyLong_AsLongLong’
  99. chm/swig_chm.c:1069: error: ‘result’ undeclared (first use in this function)
  100. chm/swig_chm.c:1069: error: expected ‘;’ before ‘chm_retrieve_object’
  101. chm/swig_chm.c: In function ‘_wrap_chm_enumerate’:
  102. chm/swig_chm.c:1092: error: ‘CHM_ENUMERATOR’ undeclared (first use in this function)
  103. chm/swig_chm.c:1092: error: expected ‘;’ before ‘arg3’
  104. chm/swig_chm.c:1103: error: ‘arg3’ undeclared (first use in this function)
  105. chm/swig_chm.c: In function ‘_wrap_chm_enumerate_dir’:
  106. chm/swig_chm.c:1122: error: ‘CHM_ENUMERATOR’ undeclared (first use in this function)
  107. chm/swig_chm.c:1122: error: expected ‘;’ before ‘arg4’
  108. chm/swig_chm.c:1133: error: ‘arg4’ undeclared (first use in this function)
  109. error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1
  110. *
  111. * ERROR: dev-python/pychm-0.8.4 failed.
  112. * Call stack:
  113. *               ebuild.sh, line   49:  Called src_compile
  114. *             environment, line 2313:  Called distutils_src_compile
  115. *             environment, line  677:  Called die
  116. * The specific snippet of code:
  117. *       ${python} setup.py build "$@" || die "compilation failed"
  118. *  The die message:
  119. *   compilation failed
  120. *
  121. * If you need support, post the topmost build error, and the call stack if relevant.
  122. * A complete build log is located at '/var/tmp/portage/dev-python/pychm-0.8.4/temp/build.log'.
  123. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pychm-0.8.4/temp/environment'.
  124. *

  125. * Messages for package dev-python/pychm-0.8.4:

  126. *
  127. * ERROR: dev-python/pychm-0.8.4 failed.
  128. * Call stack:
  129. *               ebuild.sh, line   49:  Called src_compile
  130. *             environment, line 2313:  Called distutils_src_compile
  131. *             environment, line  677:  Called die
  132. * The specific snippet of code:
  133. *       ${python} setup.py build "$@" || die "compilation failed"
  134. *  The die message:
  135. *   compilation failed
  136. *
  137. * If you need support, post the topmost build error, and the call stack if relevant.
  138. * A complete build log is located at '/var/tmp/portage/dev-python/pychm-0.8.4/temp/build.log'.
  139. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pychm-0.8.4/temp/environment'.
  140. *

  141. revdep-rebuild failed to emerge all packages
  142. you have the following choices:

  143. - if emerge failed during the build, fix the problems and re-run revdep-rebuild
  144.     or
  145. - use -X or --package-names as first argument (trys to rebuild package, not exact
  146.   ebuild)
  147.     or
  148. - set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask
  149.   (and remove /root/.revdep-rebuild.5_order to be evaluated again)
  150.     or
  151. - modify the above emerge command and run it manually
  152.     or
  153. - compile or unmerge unsatisfied packages manually, remove temporary files and
  154.   try again (you can edit package/ebuild list first)

  155. To remove temporary files, please run:
  156. rm /root/.revdep-rebuild*.?_*

复制代码
发表于 2008-5-27 21:30:54 | 显示全部楼层
libchm.so 是哪个包的?先把这个装好?
回复 支持 反对

使用道具 举报

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

本版积分规则

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