Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122927 - dev-tex/latex2html-2002.2.1_pre20041025: config.pl is broken
Summary: dev-tex/latex2html-2002.2.1_pre20041025: config.pl is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-15 07:38 UTC by Martin Mokrejš
Modified: 2006-06-02 12:03 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 Martin Mokrejš 2006-02-15 07:38:11 UTC
# emerge latex2html
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-tex/latex2html-2002.2.1_pre20041025 to /
>>> checksums files   ;-) latex2html-2002.2.ebuild
>>> checksums files   ;-) latex2html-2002.2.1_pre20041025.ebuild
>>> checksums files   ;-) files/digest-latex2html-2002.2
>>> checksums files   ;-) files/digest-latex2html-2002.2.1_pre20041025
>>> checksums src_uri ;-) latex2html-2002-2-1+20041025.tar.gz
>>> Unpacking source...
>>> Unpacking latex2html-2002-2-1+20041025.tar.gz to /var/tmp/portage/latex2html-2002.2.1_pre20041025/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/latex2html-2002.2.1_pre20041025/work/latex2html-2002-2-1 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib/latex2html --shlibdir=/usr/lib/latex2html --enable-pk --enable-eps --enable-reverse --enable-pipes --enable-paths --enable-wrapper --enable-gif --enable-png --build=i686-pc-linux-gnu
creating cache ./config.cache
checking for perl... /usr/bin/perl
checking whether #! works in shell scripts... yes
launching proprietary configuration...

config.pl, Release 2002-2-1 (Revision 1.49)
Accompanies LaTeX2HTML, (C) 1999 GNU Public License.

checking for old config file (cfgcache.pm)... not found (ok)
checking for platform... linux (assuming unix)
checking for /usr/bin/perl5.8.8... /usr/bin/perl5.8.8
checking perl version... 5.008008
checking if perl supports some dbm... yes
checking if perl globbing works... yes
checking for tex... /usr/bin/tex
checking for latex... /usr/bin/latex
checking for initex... /usr/bin/initex
checking for kpsewhich... /usr/bin/kpsewhich
checking for kpsewhich syntax... ok (style=1)
checking for TeX include path... /usr/share/texmf/tex/latex/html
checking for mktexlsr... /usr/bin/mktexlsr
checking for dvips... /usr/bin/dvips
checking dvips version... 5.95b
checking if dvips supports the combination of -E and -i -S 1... yes
Note: Will use PK generation (mode=toshiba, dpi=180)
checking if dvips supports the -mode switch... yes
checking for html4-check... no
checking for gs... /usr/bin/gs
checking for ghostscript version... 8.15
checking for ghostscript portable bitmap device... pnmraw
checking for full color device for anti-aliasing... ppmraw
checking for ghostscript library and font paths... built-in paths are correct
checking for pnmcrop... /usr/bin/pnmcrop
Argument "10.31.0" isn't numeric in numeric gt (>) at ./config/config.pl line 1279.

/usr/bin/pnmcrop -verbose yes
checking for pnmflip... /usr/bin/pnmflip
checking for ppmquant... /usr/bin/ppmquant
[...]
LATEX2HTMLDIR=/var/tmp/portage/latex2html-2002.2.1_pre20041025/work/latex2html-2002-2-1; export LATEX2HTMLDIR ; \
for file in versions/*.pl styles/*.perl; do \
  /usr/bin/perl5.8.8  -c $file || exit 1; \
done ; \
for file in latex2html texexpand pstoimg l2hconf.pm; do \
  test -s $file && ( /usr/bin/perl5.8.8  -c $file || exit 1 ); \
  test -s $file.pl && ( /usr/bin/perl5.8.8  -c $file.pl || exit 1 ); \
done ; \
exit 0
versions/cp1252.pl syntax OK
versions/decmulti.pl syntax OK
versions/frame.pl syntax OK
versions/hebrew.pl syntax OK
versions/html2_1.pl syntax OK
Operator or semicolon missing before &convert_length at versions/html2_2.pl line 94.
Ambiguous use of & resolved as operator & at versions/html2_2.pl line 94.
[...]


Portage 2.1_pre4-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.16-rc2-git6 i686)
=================================================================
System uname: 2.6.16-rc2-git6 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [disabled]
dev-lang/python:     2.3.4-r1, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/spool/PBS /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 FFmpeg X Xaw3d aac aalib acpi alsa apache2 apm arts ati avi berkdb bitmap-fonts bonobo caca cdparanoia cdr cpudetection crypt cscope ctype cups curl dba dga directfb divx divx5 divx5linux doc dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode esd ethereal evo f77 faad faad2 fam fame fbcon ffmpeg flash foomaticdb fortran fvwm fvwm2 gb gd gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml i8x0 icc iconv ifc imagemagick imlib imlib2 inifile innodb ipv6 ithreads java jpeg lcms leim libcaca libg++ libwww live lzo mad matroska mcal mesa mhash mikmod ming mmx mmx2 mmxext motif mozilla mp3 mpeg mule mysql ncurses network nls nptl ogg oggvorbis opengl oss pam pcre pda pdflib perl plotutils plugin png ppds pthread pthreads python qt qtx quicktime readline rtc samba scanner sdl session slp spell sse sse2 ssl stroke tcltk tcpd tetex theora thread threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis win32 win32codecs winvidix wmf xanim xml xml2 xmms xosd xv xvid xvmc zeo zlib elibc_glibc kernel_linux userland_GNU video_cards_radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Alexandre Buisse (RETIRED) gentoo-dev 2006-02-21 10:31:28 UTC
I obtain the exact same output on my box but the compilation carries on and is successful. Can you also paste the end of the log, when it fails?
Comment 2 Alexandre Buisse (RETIRED) gentoo-dev 2006-02-21 10:51:00 UTC
Assuming the problem was related to the two warnings in html2_2.pl at line 94, I just commited a small fix on CVS. Closing for now, feel free to reopen if this wasn't your issue.
Comment 3 Martin Mokrejš 2006-04-08 12:18:10 UTC
I still see the warning, actually no new ebuild available:

# emerge latex2html
Calculating dependencies... done!
>>> Emerging (1 of 1) dev-tex/latex2html-2002.2.1_pre20041025 to /
>>> checksums files   ;-) latex2html-2002.2.ebuild
>>> checksums files   ;-) latex2html-2002.2.1_pre20041025.ebuild
>>> checksums files   ;-) files/digest-latex2html-2002.2
>>> checksums files   ;-) files/digest-latex2html-2002.2.1_pre20041025
>>> checksums files   ;-) files/latex2html-convert-length.patch
>>> checksums src_uri ;-) latex2html-2002-2-1+20041025.tar.gz
>>> Unpacking source...
>>> Unpacking latex2html-2002-2-1+20041025.tar.gz to /var/tmp/portage/latex2html-2002.2.1_pre20041025/work
 * Applying latex2html-convert-length.patch ...                                                                                     [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/latex2html-2002.2.1_pre20041025/work/latex2html-2002-2-1 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib/latex2html --shlibdir=/usr/lib/latex2html --enable-pk --enable-eps --enable-reverse --enable-pipes --enable-paths --enable-wrapper --enable-gif --enable-png --build=i686-pc-linux-gnu
creating cache ./config.cache
checking for perl... /usr/bin/perl
checking whether #! works in shell scripts... yes
launching proprietary configuration...

config.pl, Release 2002-2-1 (Revision 1.49)
Accompanies LaTeX2HTML, (C) 1999 GNU Public License.

checking for old config file (cfgcache.pm)... not found (ok)
checking for platform... linux (assuming unix)
checking for /usr/bin/perl5.8.8... /usr/bin/perl5.8.8
checking perl version... 5.008008
checking if perl supports some dbm... yes
checking if perl globbing works... yes
checking for tex... /usr/bin/tex
checking for latex... /usr/bin/latex
checking for initex... /usr/bin/initex
checking for kpsewhich... /usr/bin/kpsewhich
checking for kpsewhich syntax... ok (style=1)
checking for TeX include path... /usr/share/texmf/tex/latex/html
checking for mktexlsr... /usr/bin/mktexlsr
checking for dvips... /usr/bin/dvips
checking dvips version... 5.95b
checking if dvips supports the combination of -E and -i -S 1... yes
Note: Will use PK generation (mode=toshiba, dpi=180)
checking if dvips supports the -mode switch... yes
checking for html4-check... no
checking for gs... /usr/bin/gs
checking for ghostscript version... 8.15
checking for ghostscript portable bitmap device... pnmraw
checking for full color device for anti-aliasing... ppmraw
checking for ghostscript library and font paths... built-in paths are correct
checking for pnmcrop... /usr/bin/pnmcrop
Argument "10.33.0" isn't numeric in numeric gt (>) at ./config/config.pl line 1279.

/usr/bin/pnmcrop -verbose yes
checking for pnmflip... /usr/bin/pnmflip
checking for ppmquant... /usr/bin/ppmquant
checking for pnmfile... /usr/bin/pnmfile
checking for pnmcat... /usr/bin/pnmcat
checking for pbmmake... /usr/bin/pbmmake
checking for ppmtogif... /usr/bin/ppmtogif
yes
checking if ppmtogif can make interlaced GIFs... yes
checking for pnmtopng... /usr/bin/pnmtopng
checking for ppmtojpeg... /usr/bin/ppmtojpeg
checking for pnmcut... /usr/bin/pnmcut
checking for pnmpad... /usr/bin/pnmpad
checking for pnmrotate... /usr/bin/pnmrotate
checking for pnmscale... /usr/bin/pnmscale
checking for giftopnm... /usr/bin/giftopnm
checking for jpegtopnm... /usr/bin/jpegtopnm
checking for pngtopnm... /usr/bin/pngtopnm
checking for tifftopnm... /usr/bin/tifftopnm
checking for picttoppm... /usr/bin/picttoppm
checking for anytopnm... /usr/bin/anytopnm
checking for bmptoppm... /usr/bin/bmptoppm
checking for pcxtoppm... /usr/bin/pcxtoppm
checking for sgitopnm... /usr/bin/sgitopnm
checking for xbmtopbm... /usr/bin/xbmtopbm
checking for xwdtopnm... /usr/bin/xwdtopnm
checking if multiple pipes work... yes
checking for temporary disk space... /var/tmp/portage/latex2html-2002.2.1_pre20041025/temp
creating cfgcache.pm
Note: Will install...
      ... executables to   : /usr/bin
      ... shared library items to : /usr/lib/latex2html
      ... unshared library items to : /usr/lib/latex2html
updating cache ./config.cache
creating ./config.status
creating Makefile

If everything went well,  you may run 'make'
/usr/bin/perl5.8.8 /var/tmp/portage/latex2html-2002.2.1_pre20041025/work/latex2html-2002-2-1/config/build.pl -x  latex2html
build.pl (Revision 1.6)
Building "latex2html.pl" from "latex2html.pin"
Building "bin/latex2html" from "wrapper/unix.pin"
touch latex2html
/usr/bin/perl5.8.8 /var/tmp/portage/latex2html-2002.2.1_pre20041025/work/latex2html-2002-2-1/config/build.pl -x  texexpand
build.pl (Revision 1.6)
Building "texexpand.pl" from "texexpand.pin"
Building "bin/texexpand" from "wrapper/unix.pin"
touch texexpand
[...]




  21 Feb 2006; Alexandre Buisse <nattfodd@gentoo.org>
  +files/latex2html-convert-length.patch, latex2html-2002.2.ebuild,
  latex2html-2002.2.1_pre20041025.ebuild:
  Corrects a warning (possibly an error with some perl versions) in make check
  (bug #122927).

# make check
LATEX2HTMLDIR=/var/tmp/portage/latex2html-2002.2.1_pre20041025/work/latex2html-2002-2-1; export LATEX2HTMLDIR ; \
for file in versions/*.pl styles/*.perl; do \
  /usr/bin/perl5.8.8  -c $file || exit 1; \
done ; \
for file in latex2html texexpand pstoimg l2hconf.pm; do \
  test -s $file && ( /usr/bin/perl5.8.8  -c $file || exit 1 ); \
  test -s $file.pl && ( /usr/bin/perl5.8.8  -c $file.pl || exit 1 ); \
done ; \
exit 0
versions/cp1252.pl syntax OK
versions/decmulti.pl syntax OK
versions/frame.pl syntax OK
versions/hebrew.pl syntax OK
versions/html2_1.pl syntax OK
versions/html2_2.pl syntax OK
versions/html3_0.pl syntax OK
versions/html3_1.pl syntax OK
[...]
## all test ran fine


I guess tha patch should be for config/config.pl which should correctly parse:

# pnmcrop -version
pnmcrop: Using libnetpbm from Netpbm Version: Netpbm 10.33.0
pnmcrop: Compiled Mon Apr  3 15:30:29 CEST 2006 by user "root"
pnmcrop: BSD defined
pnmcrop: RGB_ENV='RGBDEF'
pnmcrop: RGBENV= 'RGBDEF' (env vbl is unset)
#
Comment 4 Martin Ehmsen (RETIRED) gentoo-dev 2006-06-02 12:03:52 UTC
The error is fixed now (not that it makes any difference, since all versions of netpbm satisfies latex2html's tests).

The next time, please be specific about which errors you refer to. Otherwise we can't fix it (Alexandre couldn't know you reported two errors in one bug and hence he only fixed the most prominent).