Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292219 - sys-devel/gcc-4.3.4: missing gcc manpage
Summary: sys-devel/gcc-4.3.4: missing gcc manpage
Status: RESOLVED DUPLICATE of bug 256608
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-07 05:59 UTC by Frédéric Magnard
Modified: 2009-11-07 20:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Magnard 2009-11-07 05:59:31 UTC
On an intel machine, gcc-4.1.2 has a full man page, but gcc-4.3.2 and gcc-4.3.4 have an empty one.
On amd server machines, only gcc-4.3.2 is missing.
On an amd desktop machine, none is missing.
Having a look at the portage compilation logfile, it seems the generation of gcc.pod from invoke.texi is done before invoke.texi being ready (i.e. the "mv -f gcc-vers.texiT gcc-vers.texi" is done after the texi2pod.pl run).
Is make -j9 messing up when running parallel ?
Attached are the significant part of the compilation log.

Reproducible: Always

Steps to Reproduce:
1. emerge sys-devel/gcc
2. man gcc
3.

Actual Results:  
empty man page

Expected Results:  
full man page

part of /var/log/portage/sys-devel:gcc-4.3.4:20091107-053412.log (with line numbers, on intel server):

(echo "@set version-GCC 4.3.4"; \
         if [ "" = "experimental" ]; \
         then echo "@set DEVELOPMENT"; \
         else echo "@clear DEVELOPMENT"; \
         fi) > gcc-vers.texiT
echo '/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/explow.c' >> tmp-gi.list
echo @set srcdir /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc >> gcc-vers.texiT
echo timestamp > gcc.pod
echo timestamp > gpl.pod
echo '/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/expr.c' >> tmp-gi.list
if [ -n "(Gentoo 4.3.4 p1.0, pie-10.1.5) " ]; then \
          echo "@set VERSION_PACKAGE (Gentoo 4.3.4 p1.0, pie-10.1.5) " >> gcc-vers.texiT; \
        fi
perl /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/../contrib/texi2pod.pl /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/doc/invoke.texi > gcc.pod
perl /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/../contrib/texi2pod.pl /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/doc/include/gpl_v3.texi > gpl.pod
echo '/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/function.c' >> tmp-gi.list
echo "@set BUGURL @uref{http://bugs.gentoo.org/}" >> gcc-vers.texiT; \
        mv -f gcc-vers.texiT gcc-vers.texi
echo '/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/except.h' >> tmp-gi.list
echo '/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/gcse.c' >> tmp-gi.list
cannot find gcc-vers.texi at /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/../contrib/texi2pod.pl line 251, <GEN0> line 9.
make[3]: [gcc.pod] Error 2 (ignored)


Same part from a successful compilation (on amd desktop):

(echo "@set version-GCC 4.3.4"; \
         if [ "" = "experimental" ]; \
         then echo "@set DEVELOPMENT"; \
         else echo "@clear DEVELOPMENT"; \
         fi) > gcc-vers.texiT
echo '/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/cp/mangle.c' >> tmp-gi.list
echo @set srcdir /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc >> gcc-vers.texiT
echo '/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/cp/name-lookup.h' >> tmp-gi.list
if [ -n "(Gentoo 4.3.4 p1.0, pie-10.1.5) " ]; then \
          echo "@set VERSION_PACKAGE (Gentoo 4.3.4 p1.0, pie-10.1.5) " >> gcc-vers.texiT; \
        fi
echo timestamp > gcc.pod
echo '/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/cp/name-lookup.c' >> tmp-gi.list
echo "@set BUGURL @uref{http://bugs.gentoo.org/}" >> gcc-vers.texiT; \
        mv -f gcc-vers.texiT gcc-vers.texi
perl /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/../contrib/texi2pod.pl /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/doc/invoke.texi > gcc.pod
echo timestamp > gpl.pod
echo '/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/cp/cp-tree.h' >> tmp-gi.list
perl /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/../contrib/texi2pod.pl /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/doc/include/gpl_v3.texi > gpl.pod

# emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0/server, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Xeon-R-_CPU_E5420_@_2.50GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 04 Nov 2009 17:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch usersandbox"
GENTOO_MIRRORS="http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://mirror.bytemark.co.uk/gentoo/ http://gentoo.tiscali.nl/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en fr"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage"
SYNC="rsync://192.168.150.100/gentoo-portage"
USE="X X509 Xaw3d acl acpi adns amd64 apache2 authfile background bash-completion berkdb big-tables blas bugzilla bzip2 cairo cgi chroot cli cracklib crypt ctype ctypes-python cups curl cxx deflate djvu dri dvi encode extensions extras fam ffmpeg fftw fits fltk fontconfig fortran fpx ftp gd gdbm geoip geos gif gimp gimpprint git glitz gmp gpg gpm graphviz gs gsl gtk gtkhtml hal hash hdri heterogeneous hpn icc iconv idn ifc ifsession imagemagick imlib innodb ipv6 ithreads java jpeg jpeg2k kerberos lapack latex ldap libffi libssh2 lm_sensors logrotate management math memlimit mmap mmx mng modules mozsvg mpeg mpi mudflap multilib multislot multitarget mysql mysqli nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses netboot new-login nis nls nptl nptlonly nsplugin nxclient odbc ogdi opengl openmp openntpd opensslcrypt pam pcre pdf perl plotutils plplot png posix pppd profile proj python qhull qt3support qt4 radius readline reflection rewrite rrdtool ruby samba sasl sdl sensord server session shaper sitemisc snmp soap softquota spell spl spoof-source sse sse2 ssl subversion svg sysfs syslog tcltk tcpd tetex threads tiff tk tools traits truetype unicode ups usb utempter vhosts vim-pager vim-syntax vnc vroot webdav webkit wmf wxwidgets wxwindows xattr xft xinetd xml xmlpatterns xmlreader xmlrpc xmlwriter xorg xpm zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" USERLAND="GNU" VIDEO_CARDS="ati vga vesa r128 radeon nv nvidia sis xgi"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# emerge -vp sys-devel/gcc
[ebuild   R   ] sys-devel/gcc-4.3.4  USE="fortran gtk mudflap (multilib) multislot nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj (-hardened) -ip28 -ip32r10k (-libffi) (-n32) (-n64) -nocxx -nopie -objc -objc++ -objc-gc -test -vanilla" 0 kB
Comment 1 Cyp 2009-11-07 19:20:40 UTC
It's random. Reemerge gcc on the machines that are missing manpages and it will probably work.

Duplicate of 256608.
Comment 2 Patrick Lauer gentoo-dev 2009-11-07 20:57:39 UTC

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