erik@xxx:~$ pnmtopng -libversion pnmtopng version 2.37.6 (21 July 2001) +netpbm. Compiled with libpng 1.2.7. Compiled with zlib 1.2.1; using zlib 1.2.2. Compiled with 16-bit netpbm support (PPM_OVERALLMAXVAL = 65535). kjdf pnmtopng: bad magic number - not a ppm, pgm, or pbm file erik@xxx:~$ as you see it is reading an input file. but the documentation sais: -libversion This option causes pnmtopng to do nothing but display version information about the libraries it uses. Reproducible: Always Steps to Reproduce: Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.200 41102-r1, 2.4.26-gentoo-r11 i686) ================================================================= System uname: 2.4.26-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 4 2005, 15:48:59)] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -pipe -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/share /config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kd e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/s hare/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/g eneric/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/q mail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/ distributions/gentoo" LANG="de_DE" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl doc dvd emb oss encode esd fam flac font-server foomaticdb fortran gd gdbm gif gimpprint gno me gphoto2 gpm gtk gtk2 imagemagick imlib java jpeg kde ldap libg++ libwww mad m ikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png po stgres ppds python qt quicktime readline samba scanner sdl slang spell ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb vorbis xine xml2 xmms x v zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Please, always include the complete ebuild name and version if you file bugs about that ebuild. I really can't assign bugs if I don't even know what ebuild are they about...
* media-libs/netpbm Latest version installed: 10.20
Mass reassign, seems apparently unmaintained now.
does 10.29 work any better ?
from the manpage: -libversion This option causes pnmtopng to display version information about itself and the libraries it uses, in addition to all its normal function. Do not confuse this with the Netpbm common option -version, which causes the program to display version informa- tion about the Netpbm library and do nothing else. You can't really use this option in a program that invokes pnm- topng and needs to know which version it is. Its function has changed too much over the history of pnmtopng. The option is only good for human eyes.