Minor issue, easy workaround. From elog: python-2.4.3-r4 WARN: postinst /usr/share/man/man1/python.1.gz is a dead symlink. And here's the directory listing: /usr/share/man/man1 $ ls -l python* lrwxrwxrwx 1 root root 14 2007-01-31 23:08 python.1.gz -> python2.4.1.gz -rw-r--r-- 1 root root 4632 2007-03-30 17:09 python2.4.1.bz2 As you can see, the problem is a mismatch of filename extensions (gz vs. bz2). Easy workaround: ln -sf python2.4.1.bz2 python.1.bz2 rm python.1.gz Reproducible: Always Steps to Reproduce: 1. man python 2. 3. Actual Results: no manpage for python Expected Results: python(1) manpage is displayed workaround: ln -sf python2.4.1.bz2 python.1.bz2 rm python.1.gz
Actually, there is no python manpage at all on my x86 (which has the same version of python). So the workaround I described is invalid. It seems the old manpage on my ppc is an artifact that left behind somehow and there is no current manpage. If there is no longer a manpage because it's all now in perldoc or something, then this is invalid. (But the links should be cleaned up.) If there is supposed to be a manpage, then it's not getting installed/updated.
emerge --info please.
Portage 2.1.2.2 (default-linux/ppc/ppc32/2006.1/G4, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 ppc) ================================================================= System uname: 2.6.19-gentoo-r5 ppc 7400, altivec supported Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 30 Mar 2007 19:50:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mtune=7400 -mcpu=7400 -maltivec -mabi=altivec -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -mtune=7400 -mcpu=7400 -maltivec -mabi=altivec -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://open-systems.ufl.edu/mirrors/gentoo " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac alsa altivec apache2 ati bash-completion berkdb bitmap-fonts bonobo caps cdparanoia cdr cli cracklib crypt cups dbus directfb dri dv dvd eds encode esd exif fbcon ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv ieee1394 imagemagick java jpeg libg++ libwww logrotate mad midi mikmod mime mozilla mp3 mpeg ncurses nls nptl nptlonly nsplugin offensive ofx ogg opengl pam pcre pdf perl png ppc python quicktime readline reflection reiserfs ruby samba sdl session spell spl ssl startup-notification svg symlink sysfs tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xface xine xml xorg xpm xv zlib" ALSA_CARDS="powermac" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="r128" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
(In reply to comment #1) > Actually, there is no python manpage at all on my x86 (which has the same > version of python). > OK, on my x86 box, I found: chiana ~ # cd /usr/share/man/man1/ chiana man1 # ls -l python* lrwxrwxrwx 1 root root 14 2007-02-10 04:37 python.1.gz -> python2.4.1.gz -rw-r--r-- 1 root root 4632 2007-04-12 10:51 python2.4.1.bz2 chiana man1 # ln -snf python2.4.1.bz2 python.1.bz2 chiana man1 # rm python.1.gz chiana man1 # man python Formatting page, please wait... PYTHON(1) PYTHON(1) NAME python - an interpreted, interactive, object-oriented programming lanβ guage And my emerge --info is: chiana ~ # emerge --info Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r2, 2.6.20-gentoo-r7-chiana i686) ================================================================= System uname: 2.6.20-gentoo-r7-chiana i686 AMD Athlon(tm) XP 2000+ Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 06 May 2007 14:20:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-pipe -O2 -march=athlon-xp -mfpmath=sse -momit-leaf-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-pipe -O2 -march=athlon-xp -mfpmath=sse -momit-leaf-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://planetmirror.com/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.heanet.ie/pub/gentoo" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LINGUAS="en en_GB fr de ru ar" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY=" " SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acpi alsa apache2 arts asf audiofile bash-completion berkdb bidi bitmap-fonts bzip2 cairo cddb cdparanoia cdr cjk clamav cli cracklib crypt cups curl curlwrappers dbus doc dri dts dvd dvdr dvdread eds emboss encode esd exif expat fam ffmpeg fftw firefox flac foomaticdb fortran ftp gd gdbm geoip gif glitz glut gmp gnutls gphoto2 gpm graphviz gstreamer gtk2 guile hal iconv imagemagick imlib ipv6 isdnlog jabber java javascript jbig jpeg jpeg2k kde kdeenablefinal kdexdeltas lcms ldap libg++ libnotify libsamplerate lm_sensors lua mad matroska midi mikmod mmap mmx mng mozilla mp3 mpeg mpi mplayer musepack mysql ncurses neXt nls nptl nptlonly nsplugin odbc offensive ogg openal openexr opengl oss pam pcre pdf perl php png ppds pppd python qt3 qt4 quicktime readline reflection ruby samba sasl scanner sdl session slang slp sndfile sox speex spell spl sqlite sse ssl svg sysvipc tcl tcpd tetex theora threads tidy tiff tk truetype truetype-fonts type1-fonts unicode usb v4l vcd vorbis win32codecs wmf wxwindows x264 x86 xface xine xml xorg xosd xpm xv xvid zlib" ALSA_CARDS="emu10k1 intel8x0 bt87x" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB fr de ru ar" USERLAND="GNU" VIDEO_CARDS="nvidia v4l vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS HTH.
(In reply to comment #0) > /usr/share/man/man1 $ ls -l python* > lrwxrwxrwx 1 root root 14 2007-01-31 23:08 python.1.gz -> python2.4.1.gz > -rw-r--r-- 1 root root 4632 2007-03-30 17:09 python2.4.1.bz2 Same here. The culprit is this line in the ebuild: alternatives_auto_makesym "/usr/share/man/man1/python.1.gz" \ "python[0-9].[0-9].1.gz" .gz should be replaced by $(ecompress --suffix). However this might result in problems when cleaning up an older .gz symlink if the new ebuild only cares dor .bz2. This issue here has a lot in common with bug 164969, which is one more reason to put management of alternative manpages into an eclass as I suggested in bug 164969 comment 6. Seems emacs chose to have an eselect module instead. This bug here should be REOPENED, as the information requested in comment 2 has been provided by comment 3, as far as I can tell.
...
*** This bug has been marked as a duplicate of bug 177471 ***