LinuxSir.cn,穿越时空的Linuxsir!

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

求助:emerge openSSH的时候出现错误 [已解决]

[复制链接]
发表于 2006-9-23 23:56:58 | 显示全部楼层 |阅读模式
今天emer --update --deep --newuse world的时候,openSSH提示要升级,但下载之后emerge出现错误(cheksum之类的全部OK,排除下载文件错误的可能),用--debug参数,主要错误信息如下,不知道各位前辈知道如何解决么?:

已解决:编辑/etc/make.conf,把USEflags里面的ldap改成-ldap,就可以编译了。在gentoo.org上面看,似乎是个普遍问题:)

+ eautoheader
++ autotools_check_macro AC_CONFIG_HEADERS
++ [[ -f configure.ac ]]
++ WANT_AUTOCONF=2.5
++ autoconf --trace=AC_CONFIG_HEADERS
++ return 0
+ [[ -n configure.ac:21:AC_CONFIG_HEADERS:config.h ]]
+ autotools_run_tool autoheader
+ local STDERR_TARGET=/var/tmp/portage/openssh-4.3_p2-r4/temp/24894.out
+ local PATCH_TARGET=/var/tmp/portage/openssh-4.3_p2-r4/temp/24894.patch
+ local ris
+ echo '***** autoheader *****'
+ echo
+ ebegin 'Running autoheader'
+ local 'msg=Running autoheader' dots spaces=
+ [[ -n '' ]]
+ msg='Running autoheader ...'
+ einfon 'Running autoheader ...'
+ elog_base INFO 'Running autoheader ...'
+ local messagetype
+ '[' -z INFO -o -z /var/tmp/portage/openssh-4.3_p2-r4/temp -o '!' -d /var/tmp/portage/openssh-4.3_p2-r4/temp/logging ']'
+ case "${1}" in
+ messagetype=INFO
+ shift
+ echo -e 'Running autoheader ...'
+ return 0
+ [[ yes != \y\e\s ]]
+ echo -ne ' * Running autoheader ...'
* Running autoheader ...+ LAST_E_CMD=einfon
+ return 0
+ [[ yes == \y\e\s ]]
+ echo

+ LAST_E_LEN=25
+ LAST_E_CMD=ebegin
+ return 0
+ autoheader
+ ris=1
+ eend 1
+ local retval=1
+ shift
+ _eend 1 eerror ''
+ local retval=1 efunc=eerror msg
+ shift 2
+ [[ 1 == \0 ]]
+ [[ -n '' ]]
+ msg='[ !! ]'
+ [[ yes == \y\e\s ]]  [ !! ]'e '                                                                                   [ !! ]+ return 1
+ return 1
+ [[ 1 != 0 ]]
+ echo

+ eerror 'Failed Running autoheader !'
+ elog_base ERROR 'Failed Running autoheader !'
+ local messagetype
+ '[' -z ERROR -o -z /var/tmp/portage/openssh-4.3_p2-r4/temp -o '!' -d /var/tmp/portage/openssh-4.3_p2-r4/temp/logging ']'
+ case "${1}" in
+ messagetype=ERROR
+ shift
+ echo -e 'Failed Running autoheader !'
+ return 0
+ [[ yes != \y\e\s ]]
+ echo -e ' * Failed Running autoheader !'
* Failed Running autoheader !
+ LAST_E_CMD=eerror
+ return 0
+ eerror
+ elog_base ERROR ''
+ local messagetype
+ '[' -z ERROR -o -z /var/tmp/portage/openssh-4.3_p2-r4/temp -o '!' -d /var/tmp/portage/openssh-4.3_p2-r4/temp/logging ']'
+ case "${1}" in
+ messagetype=ERROR
+ shift
+ echo -e ''
+ return 0
+ [[ yes != \y\e\s ]]
+ echo -e ' * '
*
+ LAST_E_CMD=eerror
+ return 0
+ eerror 'Include in your bugreport the contents of:'
+ elog_base ERROR 'Include in your bugreport the contents of:'
+ local messagetype
+ '[' -z ERROR -o -z /var/tmp/portage/openssh-4.3_p2-r4/temp -o '!' -d /var/tmp/portage/openssh-4.3_p2-r4/temp/logging ']'
+ case "${1}" in
+ messagetype=ERROR
+ shift
+ echo -e 'Include in your bugreport the contents of:'
+ return 0
+ [[ yes != \y\e\s ]]
+ echo -e ' * Include in your bugreport the contents of:'
* Include in your bugreport the contents of:
+ LAST_E_CMD=eerror
+ return 0
+ eerror
+ elog_base ERROR ''
+ local messagetype
+ '[' -z ERROR -o -z /var/tmp/portage/openssh-4.3_p2-r4/temp -o '!' -d /var/tmp/portage/openssh-4.3_p2-r4/temp/logging ']'
+ case "${1}" in
+ messagetype=ERROR
+ shift
+ echo -e ''
+ return 0
+ [[ yes != \y\e\s ]]
+ echo -e ' * '
*
+ LAST_E_CMD=eerror
+ return 0
+ eerror '  /var/tmp/portage/openssh-4.3_p2-r4/temp/autoheader-24894.out'
+ elog_base ERROR '  /var/tmp/portage/openssh-4.3_p2-r4/temp/autoheader-24894.out'
+ local messagetype
+ '[' -z ERROR -o -z /var/tmp/portage/openssh-4.3_p2-r4/temp -o '!' -d /var/tmp/portage/openssh-4.3_p2-r4/temp/logging ']'
+ case "${1}" in
+ messagetype=ERROR
+ shift
+ echo -e '  /var/tmp/portage/openssh-4.3_p2-r4/temp/autoheader-24894.out'
+ return 0
+ [[ yes != \y\e\s ]]
+ echo -e ' *   /var/tmp/portage/openssh-4.3_p2-r4/temp/autoheader-24894.out'
*   /var/tmp/portage/openssh-4.3_p2-r4/temp/autoheader-24894.out
+ LAST_E_CMD=eerror
+ return 0
+ echo

+ diefunc autotools_run_tool 211 0 'Failed Running autoheader !'
+ local funcname=autotools_run_tool lineno=211 exitcode=0
+ shift 3
+ echo

+ echo '!!! ERROR: net-misc/openssh-4.3_p2-r4 failed.'
!!! ERROR: net-misc/openssh-4.3_p2-r4 failed.
+ dump_trace 2
+ local funcname= sourcefile= lineno= n e s=yes
+ declare -i strip=1
+ [[ -n 2 ]]
+ strip=2
+ echo 'Call stack:'
Call stack:
+ (( n = 8 - 1, p = 7  ))
+ (( n > 2  ))
+ funcname=dyn_unpack
++ basename /usr/lib/portage/bin/ebuild.sh
+ sourcefile=ebuild.sh
+ lineno=1550
+ args=
+ [[ -n 2 Failed Running autoheader ! 0 211 autotools_run_tool autoheader unpack ]]
+ (( j = 1  ))
+ (( j <= 0  ))
+ ((  p -= 0  ))
+ echo '  ebuild.sh, line 1550:   Called dyn_unpack'
  ebuild.sh, line 1550:   Called dyn_unpack
+ (( n--  ))
+ (( n > 2  ))
+ funcname=src_unpack
++ basename /usr/lib/portage/bin/ebuild.sh
+ sourcefile=ebuild.sh
+ lineno=708
+ args=
+ [[ -n 2 Failed Running autoheader ! 0 211 autotools_run_tool autoheader unpack ]]
+ (( j = 1  ))
+ (( j <= 0  ))
+ ((  p -= 0  ))
+ echo '  ebuild.sh, line 708:   Called src_unpack'
  ebuild.sh, line 708:   Called src_unpack
+ (( n--  ))
+ (( n > 2  ))
+ funcname=eautoreconf
++ basename /usr/portage/net-misc/openssh/openssh-4.3_p2-r4.ebuild
+ sourcefile=openssh-4.3_p2-r4.ebuild
+ lineno=95
+ args=
+ [[ -n 2 Failed Running autoheader ! 0 211 autotools_run_tool autoheader unpack ]]
+ (( j = 1  ))
+ (( j <= 0  ))
+ ((  p -= 0  ))
+ echo '  openssh-4.3_p2-r4.ebuild, line 95:   Called eautoreconf'
  openssh-4.3_p2-r4.ebuild, line 95:   Called eautoreconf
+ (( n--  ))
+ (( n > 2  ))
+ funcname=eautoheader
++ basename /usr/portage/eclass/autotools.eclass
+ sourcefile=autotools.eclass
+ lineno=81
+ args=
+ [[ -n 2 Failed Running autoheader ! 0 211 autotools_run_tool autoheader unpack ]]
+ (( j = 1  ))
+ (( j <= 0  ))
+ ((  p -= 0  ))
+ echo '  autotools.eclass, line 81:   Called eautoheader'
  autotools.eclass, line 81:   Called eautoheader
+ (( n--  ))
+ (( n > 2  ))
+ funcname=autotools_run_tool
++ basename /usr/portage/eclass/autotools.eclass
+ sourcefile=autotools.eclass
+ lineno=139
+ args=
+ [[ -n 2 Failed Running autoheader ! 0 211 autotools_run_tool autoheader unpack ]]
+ (( j = 1  ))
+ (( j <= 1  ))
+ newarg=autoheader
+ args=''\''autoheader'\'''
+ (( ++j  ))
+ (( j <= 1  ))
+ ((  p -= 1  ))
+ echo '  autotools.eclass, line 139:   Called autotools_run_tool '\''autoheader'\'''
  autotools.eclass, line 139:   Called autotools_run_tool 'autoheader'
+ (( n--  ))
+ (( n > 2  ))
++ basename /usr/portage/eclass/autotools.eclass
+ echo '  autotools.eclass, line 211:   Called die'
  autotools.eclass, line 211:   Called die
+ echo

+ echo '!!! Failed Running autoheader !'
!!! Failed Running autoheader !
+ echo '!!! If you need support, post the topmost build error, and the call stack if relevant.'
!!! If you need support, post the topmost build error, and the call stack if relevant.
+ echo

+ '[' unpack == unpack ']'
+ local x
+ exit 1
 楼主| 发表于 2006-9-24 00:19:04 | 显示全部楼层
localhost ~ # cat /var/tmp/portage/openssh-4.3_p2-r4/temp/autoheader-10889.out
***** autoheader *****

autoheader-2.59: warning: missing template: WITH_LDAP_PUBKEY
autoheader-2.59: Use AC_DEFINE([WITH_LDAP_PUBKEY], [], [Description])

补充一下信息。用了USE="ldap"好像也没什么用:(
回复 支持 反对

使用道具 举报

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

本版积分规则

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