LinuxSir.cn,穿越时空的Linuxsir!

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

各位大哥,我不能搜索论坛,只能来问问题!关于安装man-1.6f-r3,导致升级不能成功!

[复制链接]
发表于 2009-7-23 17:10:35 | 显示全部楼层 |阅读模式
关于这个问题,其实我已经搜索了阿。
man-1.6f-r2我也卸载了,可是还没有成功。
这个帖子,我也看过了。http://www.linuxsir.cn/bbs/showthread.php?p=2004991#post2004991

搜索本坛,不能出结果阿。所以只能再次求助了。

>>> Emerging (1 of 1) sys-apps/man-1.6f-r3
* man-1.6f.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                  [ ok ]
* checking ebuild checksums ;-) ...                                                                                                                [ ok ]
* checking auxfile checksums ;-) ...                                                                                                               [ ok ]
* checking miscfile checksums ;-) ...                                                                                                              [ ok ]
>>> Unpacking source...
>>> Unpacking man-1.6f.tar.gz to /var/tmp/portage/sys-apps/man-1.6f-r3/work
* Applying man-1.6f-man2html-compression.patch ...                                                                                                  [ ok ]
* Applying man-1.6-cross-compile.patch ...                                                                                                          [ ok ]
* Applying man-1.5p-search-order.patch ...                                                                                                          [ ok ]
* Applying man-1.6f-unicode.patch ...                                                                                                               [ ok ]
* Applying man-1.5p-defmanpath-symlinks.patch ...                                                                                                   [ ok ]
* Applying man-1.6b-more-sections.patch ...                                                                                                         [ ok ]
* Applying man-1.6c-cut-duplicate-manpaths.patch ...                                                                                                [ ok ]
* Applying man-1.5m2-apropos.patch ...                                                                                                              [ ok ]
* Applying man-1.6d-fbsd.patch ...                                                                                                                  [ ok ]
* Applying man-1.6e-headers.patch ...                                                                                                               [ ok ]
* Applying man-1.6f-so-search.patch ...                                                                                                             [ ok ]
* Applying man-1.6f-compress.patch ...                                                                                                              [ ok ]
>>> Source unpacked in /var/tmp/portage/sys-apps/man-1.6f-r3/work
>>> Compiling source in /var/tmp/portage/sys-apps/man-1.6f-r3/work/man-1.6f ...
checking for gcc
checking for ANSI C header files
checking for sys/termios.h
checking for POSIX.1 header files
checking for BSD string and memory functions
checking whether sys/types.h defines uid_t
checking for Xenix
checking how to get alloca
checking for nls
checking for getopt.h
Checking echo to see how to suppress newlines...
...using -n.

Assuming you want to be able to handle the nroff source for man pages.

Assuming the following ways to invoke the various commands and filters:
troff command:  /usr/bin/groff -Tps -mandoc
nroff command:  /usr/bin/nroff -mandoc
jnroff command: /usr/bin/groff -Tnippon -mandocj
eqn command:    /usr/bin/geqn -Tps
neqn command:   /usr/bin/geqn -Tlatin1
jneqn command:  /usr/bin/geqn -Tnippon
tbl command:    /usr/bin/gtbl
col command:    /usr/bin/col
vgrind command: missing
refer command:  /usr/bin/refer
grap command:   missing
pic command:    /usr/bin/pic
pager command:  /usr/bin/less -is
browser command:        /usr/bin/less -is
htmlpager command:      /bin/cat
cmp command:    /usr/bin/cmp -s
cat command:    /bin/cat
awk command:    /bin/awk

It seems that no col is needed, since you use groff.

Assuming that binaries go to /usr/bin, the configuration file
goes to /etc, makewhatis to /usr/sbin, and the man pages
to /usr/share/man/man*.

Using localedir /usr/share/locale/%L/%N

Setting the default section search order to 1 1p 8 2 3 3p 4 5 6 7 9 0p tcl n l p o 1x 2x 3x 4x 5x 6x 7x 8x.

Assuming that formatted pages should be compressed.
/bin/bzip2
Using /bin/bzip2 for compression.

Assuming the following ways to invoke the various decompressors:
unlzma command:         /usr/bin/unlzma -c -d
gunzip command:         /bin/gunzip -c
bzip2 command:          /bin/bzip2 -c -d
pcat command:           missing
zcat command:           /bin/zcat
fcat command:           missing
unyabba command:        missing

Created Makefile and conf_script. Now do "make" and "make install".

make -j4
cd src; ../conf_script Makefile
cd man2html; ../conf_script Makefile
cd man; ../conf_script Makefile
cd gencat; make
Creating Makefile from Makefile.in
make[1]: Entering directory `/var/tmp/portage/sys-apps/man-1.6f-r3/work/man-1.6f/gencat'
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe   -c -o gencat.o gencat.c
Creating Makefile from Makefile.in
cd msgs; ../conf_script Makefile
Creating Makefile from Makefile.in
Creating Makefile from Makefile.in
cd src; make
make[1]: Entering directory `/var/tmp/portage/sys-apps/man-1.6f-r3/work/man-1.6f/src'
i686-pc-linux-gnu-gcc -o makemsg makemsg.c
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe   -c -o genlib.o genlib.c
cd man; make subdirs
make[1]: Entering directory `/var/tmp/portage/sys-apps/man-1.6f-r3/work/man-1.6f/man'

==== Making the bulgarian man pages. ====
make[2]: Entering directory `/var/tmp/portage/sys-apps/man-1.6f-r3/work/man-1.6f/man/bg'
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
Creating man.1 from man.1.in
../conf_script paths.h
Creating paths.h from paths.h.in
vers=`sed -e s/man-// ../version`; \
        echo "static char version[] = \"$vers\";" > version.h
i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -I. -DSTDC_HEADERS -DTERMIOS_HEADER -DPOSIX -DDO_COMPRESS man-iconv.c
i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -I. -DSTDC_HEADERS -DTERMIOS_HEADER -DPOSIX -DDO_COMPRESS to_cat.c
i686-pc-linux-gnu-gcc -c -Wall -O2 -march=i686 -pipe -I. -DSTDC_HEADERS -DTERMIOS_HEADER -DPOSIX -DDO_COMPRESS glob.c
./makemsg ../msgs/mess.en gripedefs.h msg.c
../conf_script man.conf
Creating man.conf from man.conf.in
rm -f apropos
sed -e 's,%apropos_or_whatis%,apropos,' \
            -e 's,%version%,man-1.6f,' \
            -e 's,%manpathoption%,--path,' \
                apropos.sh > apropos
chmod +x apropos
rm -f whatis
i686-pc-linux-gnu-gcc -Wl,-O1 -o gencat gencat.o genlib.o
sed -e 's,%apropos_or_whatis%,whatis,' \
            -e 's,%version%,man-1.6f,' \
            -e 's,%manpathoption%,--path,' \
                apropos.sh > whatis
rm -f makewhatis
make[1]: Leaving directory `/var/tmp/portage/sys-apps/man-1.6f-r3/work/man-1.6f/gencat'
chmod +x whatis
cp makewhatis.sh makewhatis.in
../conf_script makewhatis
./makemsg ../msgs/mess.en gripedefs.h msg.c
i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -I. -DSTDC_HEADERS -DTERMIOS_HEADER -DPOSIX -DDO_COMPRESS msg.c
Creating makewhatis from makewhatis.in
i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -I. -DSTDC_HEADERS -DTERMIOS_HEADER -DPOSIX -DDO_COMPRESS man.c
chmod +x makewhatis
i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -I. -DSTDC_HEADERS -DTERMIOS_HEADER -DPOSIX -DDO_COMPRESS manfile.c
i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -I. -DSTDC_HEADERS -DTERMIOS_HEADER -DPOSIX -DDO_COMPRESS manpath.c
i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -I. -DSTDC_HEADERS -DTERMIOS_HEADER -DPOSIX -DDO_COMPRESS man-config.c
i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -I. -DSTDC_HEADERS -DTERMIOS_HEADER -DPOSIX -DDO_COMPRESS man-getopt.c
i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -I. -DSTDC_HEADERS -DTERMIOS_HEADER -DPOSIX -DDO_COMPRESS different.c
i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -I. -DSTDC_HEADERS -DTERMIOS_HEADER -DPOSIX -DDO_COMPRESS gripes.c
i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -I. -DSTDC_HEADERS -DTERMIOS_HEADER -DPOSIX -DDO_COMPRESS util.c
i686-pc-linux-gnu-gcc -Wl,-O1 -o man man.o manfile.o manpath.o man-config.o man-getopt.o man-iconv.o to_cat.o different.o gripes.o glob.o util.o msg.o
make[1]: Leaving directory `/var/tmp/portage/sys-apps/man-1.6f-r3/work/man-1.6f/src'
cd man2html; make
make[1]: Entering directory `/var/tmp/portage/sys-apps/man-1.6f-r3/work/man-1.6f/man2html'
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes   -c -o man2html.o man2html.c
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes   -c -o cgibase.o cgibase.c
cd msgs; make
make[1]: Entering directory `/var/tmp/portage/sys-apps/man-1.6f-r3/work/man-1.6f/msgs'
if [ -f /usr/bin/gencat ]; then \
                if gencat gencat.out gencat.in 2>/dev/null; then \
                        ln -s /usr/bin/gencat gencat; \
                else \
                        cp gencat207fix.sh gencat; \
                fi \
        else \
                ln -s ../gencat/gencat gencat; \
                cd ../gencat; \
                make; \
        fi
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes   -c -o abbrev.o abbrev.c
==== Making mess.bg.cat ====
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes   -c -o strdefs.o strdefs.c
rm -f hman
sed -e 's,%version%,man-1.6f,' hman.sh > hman
==== Making mess.cs.cat ====
==== Making mess.da.cat ====
==== Making mess.de.cat ====
==== Making mess.el.cat ====
==== Making mess.en.cat ====
==== Making mess.es.cat ====
==== Making mess.fi.cat ====
==== Making mess.fr.cat ====
==== Making mess.hr.cat ====
==== Making mess.it.cat ====
==== Making mess.ja.cat ====
==== Making mess.ko.cat ====
==== Making mess.nl.cat ====
==== Making mess.pl.cat ====
==== Making mess.pt.cat ====
==== Making mess.ro.cat ====
==== Making mess.ru.cat ====
==== Making mess.sl.cat ====
make[1]: Leaving directory `/var/tmp/portage/sys-apps/man-1.6f-r3/work/man-1.6f/msgs'
i686-pc-linux-gnu-gcc -Wl,-O1 -o man2html man2html.o cgibase.o abbrev.o strdefs.o
make[1]: Leaving directory `/var/tmp/portage/sys-apps/man-1.6f-r3/work/man-1.6f/man2html'

就是停在这里不能动*了。我晕阿。
发表于 2009-7-23 17:16:36 | 显示全部楼层
沒有找到相關bug,多久都不行嗎?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-23 17:25:14 | 显示全部楼层
都快二十几分钟了,它都没有动一下啊!我郁闷。
回复 支持 反对

使用道具 举报

发表于 2009-7-23 17:43:06 | 显示全部楼层
ps -a

看一下什麽程序運行這麼長。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-23 17:49:36 | 显示全部楼层
我晕阿。就是emerge 安装 man的时候不动啊。
安装其他的,都很好啊。
回复 支持 反对

使用道具 举报

发表于 2009-7-23 17:58:10 | 显示全部楼层
把ps -a發出來……

我看看中間哪一步這麼噁心。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-23 18:05:46 | 显示全部楼层
PID TTY          TIME CMD
4583 tty1     00:00:00 bash
4588 tty1     00:00:00 startx
4604 tty1     00:00:00 xinit
4611 tty1     00:00:00 startkde
4643 tty1     00:00:00 dbus-launch
4660 tty1     00:00:00 start_kdeinit
4687 tty1     00:00:00 kwrapper
5195 pts/2    00:00:00 minicom
6840 pts/5    00:00:00 sandbox
6841 pts/5    00:00:00 ebuild.sh
6877 pts/5    00:00:00 ebuild.sh
7074 pts/5    00:00:00 make
7094 pts/5    00:00:00 sh
7095 pts/5    00:00:00 make
7096 pts/5    00:00:00 sh
7112 pts/5    00:00:00 make
7113 pts/5    00:00:00 sh
7115 pts/5    00:00:00 conf_script
7117 pts/5    00:47:54 sed
8447 pts/1    00:00:01 vim
11581 pts/4    00:00:03 glsa-check
12523 pts/4    00:00:02 emerge
12529 pts/4    00:00:00 ebuild
12540 pts/4    00:00:00 wget
12573 pts/6    00:00:00 ps
22489 pts/5    00:00:52 emerge


就是这样了,你能看得出来吗?难道是sed?
回复 支持 反对

使用道具 举报

发表于 2009-7-23 18:22:49 | 显示全部楼层
只能是sed了……寫錯了還是……
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-23 18:39:17 | 显示全部楼层
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      4565  0.0  0.0   2460  1224 tty1     Ss   08:59   0:00 /bin/login --
root      4566  0.0  0.0   1628   668 tty2     Ss+  08:59   0:00 /sbin/agetty 38400 tty2 linux
root      4568  0.0  0.0   1628   664 tty3     Ss+  08:59   0:00 /sbin/agetty 38400 tty3 linux
root      4569  0.0  0.0   1628   664 tty4     Ss+  08:59   0:00 /sbin/agetty 38400 tty4 linux
root      4571  0.0  0.0   1628   668 tty5     Ss+  08:59   0:00 /sbin/agetty 38400 tty5 linux
root      4572  0.0  0.0   1628   668 tty6     Ss+  08:59   0:00 /sbin/agetty 38400 tty6 linux
root      4583  0.0  0.0   4660  1836 tty1     S    08:59   0:00 -bash
root      4588  0.0  0.0   4344  1408 tty1     S+   08:59   0:00 /bin/sh /usr/bin/startx
root      4604  0.0  0.0   2580   720 tty1     S+   08:59   0:00 xinit /root/.xinitrc -- -nolisten tcp -br -auth /root/.serverauth.4588 -deferglyphs 16
root      4605  3.1  2.0  59412 41276 tty7     S<s+ 08:59  17:52 X :0 -nolisten tcp -br -auth /root/.serverauth.4588 -deferglyphs 16
root      4611  0.0  0.0   4348  1444 tty1     S    08:59   0:00 /bin/sh /usr/kde/3.5/bin/startkde
root      4643  0.0  0.0   2948   664 tty1     S    09:00   0:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
root      4660  0.0  0.0   1436   152 tty1     S    09:00   0:00 start_kdeinit --new-startup +kcminit_startup
root      4687  0.0  0.0   1572   360 tty1     S    09:00   0:00 kwrapper ksmserver
root      4746  0.0  0.0   4688  1888 pts/1    Ss+  09:03   0:01 /bin/bash
root      5191  0.0  0.0   4688  1836 pts/2    Ss   09:52   0:00 /bin/bash
root      5195  0.0  0.1   5240  3744 pts/2    S+   09:52   0:00 minicom
root      5295  0.0  0.0   4688  1888 pts/3    Ss+  10:13   0:00 /bin/bash
root      6840  0.0  0.0   1596   472 pts/5    S+   17:02   0:00 [sys-apps/man-1.6f-r3] sandbox "/usr/lib/portage/bin/ebuild.sh" compile
root      6841  0.0  0.1   5928  2688 pts/5    S+   17:02   0:00 /bin/bash /usr/lib/portage/bin/ebuild.sh compile
root      6877  0.0  0.1   6732  2928 pts/5    S+   17:02   0:00 /bin/bash /usr/lib/portage/bin/ebuild.sh compile
root      7074  0.0  0.0   2908  1364 pts/5    S+   17:02   0:00 make -j4
root      7094  0.0  0.0   5140  1800 pts/5    S+   17:02   0:00 /bin/sh -c cd man; make subdirs
root      7095  0.0  0.0   2764  1336 pts/5    S+   17:02   0:00 make subdirs
root      7096  0.0  0.0   5144  1864 pts/5    S+   17:02   0:00 /bin/sh -c for i in ??; do if test -d $i; then echo; \??echo "==== Making the `cat $i.txt`
root      8447  0.0  0.1   7500  3888 pts/1    T    10:54   0:01 vim drivers/mmc/host/sdhci-s3c.c
root      9286  0.0  0.0   4688  1748 pts/4    Ss+  13:34   0:00 /bin/bash
root      9945  0.0  0.0   4688  1896 pts/5    Ss   13:40   0:00 /bin/bash
root     10006  0.0  0.0   4688  1908 pts/6    Rs   13:43   0:00 /bin/bash
root     12769  0.0  0.0   2764  1340 pts/5    S+   18:25   0:00 make -f ../Makefile
root     12770  0.0  0.0   5140  1784 pts/5    S+   18:25   0:00 /bin/sh -c cp man.man man.1.in; ../../conf_script man.1; rm man.1.in
root     12772  0.0  0.0   5144  1864 pts/5    S+   18:25   0:00 /bin/sh ../../conf_script man.1
root     12773  106  0.0   3008  1392 pts/5    R+   18:25   0:09 sed -e ?s,@version@,man-1.6f,?s,@CC@,i686-pc-linux-gnu-gcc,?s,@BUILD_CC@,i686-pc-linux-gnu
root     12774  0.0  0.0   2484   948 pts/6    R+   18:26   0:00 ps -au
root     22489  0.8  1.9  42724 40028 pts/5    S+   16:48   0:52 /usr/bin/python /usr/bin/emerge -uDv world


似乎执行的是sed -e ?s,@version@,man-1.6f,?s,@CC@,i686-pc-linux-gnu-gcc,?s,@BUILD_CC@,i686-pc-linux-gnu这样的命令阿?
回复 支持 反对

使用道具 举报

发表于 2009-7-23 19:04:52 | 显示全部楼层
top看一下是什么程序在占用资源先。

另外,emerge -C man 再 emerge man-db好了,这个前面有贴讨论过的。:)
回复 支持 反对

使用道具 举报

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

本版积分规则

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