Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 100854

Summary: Emerge Man fails
Product: Gentoo Linux Reporter: Jonathan Hashimoto <morgothq>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jonathan Hashimoto 2005-07-30 17:39:18 UTC
everytime I do an emerge of man I 

Reproducible: Always
Steps to Reproduce:
1.type "emerge man" at the console and press enter
2.
3.

Actual Results:  
I recieved a failure message


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

cd src; ../conf_script Makefile
Creating Makefile from Makefile.in
cd man2html; ../conf_script Makefile
cd man; ../conf_script Makefile
Creating Makefile from Makefile.in
cd gencat; make
make[1]: Entering directory `/var/tmp/portage/man-1.6-r1/work/man-1.6/gencat'
gcc -O3 -march=c3 -m3dnow -pipe -mmmx -fomit-frame-pointer   -c -o gencat.o 
gencat.c
Creating Makefile from Makefile.in
cd msgs; ../conf_script Makefile
Creating Makefile from Makefile.in
cd src; make
make[1]: Entering directory `/var/tmp/portage/man-1.6-r1/work/man-1.6/src'
o makemsg makemsg.c
make[1]: o: Command not found
make[1]: [makemsg] Error 127 (ignored)
../conf_script paths.h
Creating paths.h from paths.h.in
vers=`sed -e s/man-// ../version`; \
echo "static char version[] = \"$vers\";" > version.h
gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O3 -march=c3 -m3dnow -
pipe -mmmx -fomit-frame-pointer -I. -DSTDC_HEADERS -DPOSIX -DDO_COMPRESS man-
iconv.c
gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O3 -march=c3 -m3dnow -
pipe -mmmx -fomit-frame-pointer -I. -DSTDC_HEADERS -DPOSIX -DDO_COMPRESS 
to_cat.c
gcc -O3 -march=c3 -m3dnow -pipe -mmmx -fomit-frame-pointer   -c -o genlib.o 
genlib.c
gcc -c -Wall -O3 -march=c3 -m3dnow -pipe -mmmx -fomit-frame-pointer -I. -
DSTDC_HEADERS -DPOSIX -DDO_COMPRESS glob.c
./makemsg ../msgs/mess.en gripedefs.h msg.c
make[1]: ./makemsg: Command not found
make[1]: *** [msg.c] Error 127
make[1]: Leaving directory `/var/tmp/portage/man-1.6-r1/work/man-1.6/src'
make: *** [source] Error 2
make: *** Waiting for unfinished jobs....
gcc  -Wl,-z,now -o gencat gencat.o genlib.o
make[1]: Leaving directory `/var/tmp/portage/man-1.6-r1/work/man-1.6/gencat'

!!! ERROR: sys-apps/man-1.6-r1 failed.
!!! Function src_compile, Line 70, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 SpanKY gentoo-dev 2005-07-31 00:00:20 UTC
post the entire build log as well as `emerge info`
Comment 2 Jonathan Hashimoto 2005-07-31 12:01:22 UTC
Emerge Info is as follows:

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-
2.3.5-
r0, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 VIA Samuel 2
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=c3 -m3dnow -pipe -mmmx -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/shar
e
/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/k
d
e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/
q
mail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=c3 -m3dnow -pipe -mmmx -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apm arts avi berkdb bitmap-fonts crypt cups curl emboss 
en
code fam foomaticdb fortran gdbm gif gnome gpm gtk gtk2 hal imlib ipv6 jpeg kde
libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls ogg oggvorbis openal 
ope
ngl oss pam pdflib perl png python qt quicktime readline samba sdl sockets 
sourc
e spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb 
vorbis
 xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


Build log is as follows:

>>> Unpacking source...
>>> Unpacking man-1.6.tar.gz to /var/tmp/portage/man-1.6-r1/work
 ^[[32;01m*^[[0m Applying man-1.6-parallel-make.patch ...
^[[A^[[150G  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying man-1.6-message-order.patch ...
^[[A^[[150G  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying man-1.5p-search-order.patch ...
^[[A^[[150G  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying man-1.5m-groff-1.18.patch ...
^[[A^[[150G  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying man-1.5p-defmanpath-symlinks.patch ...
^[[A^[[150G  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
>>> Source unpacked.
checking for gcc
checking for ANSI C header files
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 -Tascii -c -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/lynx
htmlpager command:      /usr/bin/lynx -dump
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.

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

Assuming the following ways to invoke the various decompressors:
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".

cd src; ../conf_script Makefile
Creating Makefile from Makefile.in
cd man2html; ../conf_script Makefile
cd man; ../conf_script Makefile
Creating Makefile from Makefile.in
cd gencat; make
make[1]: Entering directory `/var/tmp/portage/man-1.6-r1/work/man-1.6/gencat'
gcc -O3 -march=c3 -m3dnow -pipe -mmmx -fomit-frame-pointer   -c -o gencat.o 
gencat.c
Creating Makefile from Makefile.in
cd msgs; ../conf_script Makefile
Creating Makefile from Makefile.in
cd src; make
make[1]: Entering directory `/var/tmp/portage/man-1.6-r1/work/man-1.6/src'
o makemsg makemsg.c
make[1]: o: Command not found
make[1]: [makemsg] Error 127 (ignored)
../conf_script paths.h
Creating paths.h from paths.h.in
vers=`sed -e s/man-// ../version`; \
echo "static char version[] = \"$vers\";" > version.h
gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O3 -march=c3 -m3dnow -
pipe -mmmx -fomit-frame-pointer -I. -DSTDC_HEADERS -DPOSIX -DDO_COMPRESS man-
ic$
gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O3 -march=c3 -m3dnow -
pipe -mmmx -fomit-frame-pointer -I. -DSTDC_HEADERS -DPOSIX -DDO_COMPRESS 
to_cat$
gcc -O3 -march=c3 -m3dnow -pipe -mmmx -fomit-frame-pointer   -c -o genlib.o 
genlib.c
gcc -c -Wall -O3 -march=c3 -m3dnow -pipe -mmmx -fomit-frame-pointer -I. -
DSTDC_HEADERS -DPOSIX -DDO_COMPRESS glob.c
./makemsg ../msgs/mess.en gripedefs.h msg.c
make[1]: ./makemsg: Command not found
make[1]: *** [msg.c] Error 127
make[1]: Leaving directory `/var/tmp/portage/man-1.6-r1/work/man-1.6/src'
make: *** [source] Error 2
make: *** Waiting for unfinished jobs....
gcc  -Wl,-z,now -o gencat gencat.o genlib.o
make[1]: Leaving directory `/var/tmp/portage/man-1.6-r1/work/man-1.6/gencat'

!!! ERROR: sys-apps/man-1.6-r1 failed.
!!! Function src_compile, Line 70, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2005-08-05 12:57:29 UTC
Does MAKEOPTS="-j1" fix this ?
Comment 4 Jonathan Hashimoto 2005-08-05 13:03:22 UTC
actually, it turned out to be an issue with GCC.  This turned out to be
addressed in bug #18361.

*** This bug has been marked as a duplicate of 18361 ***