Bug 80468 - latex2html uses wrong path to perl
|
Bug#:
80468
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: text-markup@gentoo.org
|
Reported By: caspar-gentoo-bugs@cbothmer.org
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: latex2html uses wrong path to perl
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-02-02 07:37 0000
|
latex2html doesn't use /usr/bin/perl to call the perl interpreter but
/usr/bin/perlX.X.X, depending on the version of perl installed at the time
latex2html got installed.
Reproducible: Always
Steps to Reproduce:
1. look into /usr/bin/latex2html, at top of file.
Actual Results:
the path information is /usr/bin/perlX.X.X with X.X.X being the version of perl
at the time, latex2html was installed
Expected Results:
it should use /usr/bin/perl instead
Thanks for the report. Fixed in CVS.
There's still no fixed version marked stable or it didn't got a revision bump.
$ grep perl /usr/bin/latex2html
# -*- perl -*- -w
eval '(exit $?0)' && eval 'exec /usr/bin/perl5.8.5 -S $0 ${1+"$@"}'
& eval 'exec /usr/bin/perl5.8.5 -S $0 $argv:q'
if 0; # suppress this stuff in perl
# The above lines start up perl on almost every shell,
# below we find usual perl code
It is fixed in latex2html-2002.2.1_pre20041025 which is marked stable on all
supported archs.
The ebuild didn't get a rev bump when this problem was fixed, so try to
re-emerge latex2html, that should fix it.
If it does not fix it, then fell free to reopen this bug.
Please release latex2html-2002.2.1_pre20041025-r1 (the rev bump which did not
get done before).
Other packages, such as darcs with doc in USE, break if the older revision with
the hardcoded path to Perl is installed and the version of Perl changes, and
portage correctly reports that there is no newer version of latex2html.
Is this bug actually fixed? The problem appears to be that
/usr/lib/latex2html/l2hconf.pm contains the following (even after a re-emerge,
which I did today, on a machine which has been sync'd recently):
# Setting this variable to where your perl executable resides can lead to
# better performance on some platforms.
#
# It is advisable to do this on an Intel system; e.g.
# $PERL='g:/usr/bin/perl_.exe';
#
# On a unix system it may be best left empty, or set as in:
# $PERL='/usr/local/bin/perl';
#
$PERL = '/usr/bin/perl5.8.8';
$PERL should either not be set, or be set to /usr/bin/perl as the initial
reporter said.
This bug is not fixed. From a fresh emerge of the latest stable
latex2html-2002.2.1_pre20041025:
$ grep /usr/bin/perl /usr/lib/latex2html/*
/usr/lib/latex2html/cfgcache.pm:$cfg{'PERL'} = q'/usr/bin/perl5.8.7';
/usr/lib/latex2html/cfgcache.pm:#! /usr/bin/perl5.8.7 -w
/usr/lib/latex2html/l2hconf.pm:# $PERL='g:/usr/bin/perl_.exe';
/usr/lib/latex2html/l2hconf.pm:$PERL = '/usr/bin/perl5.8.7';
/usr/lib/latex2html/makemap:#!/usr/bin/perl
*** Bug 130811 has been marked as a duplicate of this bug. ***
*** Bug 105767 has been marked as a duplicate of this bug. ***
latex2html-2002.2.1_pre20041025-r1 which has just been commited should solve
the problem. If it works properly for you, I'll file a request for
stabilisation.
latex2html-2002.2.1_pre20041025-r1 appears to be fine.
I can confirm -r1 works for me. Please stabilise it and remove the old broken
ebuild.
I just bumped into this bug when adding the latest darcs ebuild to the tree.
Can I also add my support to have latex2html-2002.2.1_pre20041025-r1 marked
stable so that I can get darcs-1.0.7 marked stable too (since it now deps on
that version of latex2html so darcs users don't hit this bug).
*** Bug 120059 has been marked as a duplicate of this bug. ***