First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 143831
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: TeX herd <tex@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: groepaz@gmx.net
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
latex2html-2002.2.1_pre20041025-r2.ebuild The updated ebuild that applies the no undefined perl function patch text/plain John 2007-03-04 05:07 0000 2.89 KB Details
latex2html-no-undefined-perl-func.patch This patch fixes a call to a deprecated perl function in table.pl patch John 2007-03-04 05:09 0000 574 bytes Details | Diff
MyDoc.tex Sample .tex file found on the internet to use for testing text/plain John 2007-03-04 05:10 0000 1.45 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 143831 depends on: Show dependency tree
Bug 143831 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-08-13 17:59 0000
latex2html seems to somehow expect perl 5.8.6, after i upgraded perl it dies
with an error saying it cant find perl5.8.6 ... then when i symlinked
perl5.8.6->perl for a quick test, i get the error below. urgs, this is a nice
little tool i dont want to miss, i dont have any perl knowledge whatsoever
though so i cant really fix it myself (although i assume it would be a trivial
thing). any takers? anything i could provide to make fixing easier? (i'm just
going back to perl 5.8.7 to see if that works)


LATEX2HTML: psp_doc.html.latex2html
This is LaTeX2HTML Version 2002-2-1 (1.71)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.

Revised and extended by:
 Marcus Hennecke, Ross Moore, Herb Swan and others
...producing markup for HTML version 4.0  with table extensions



Extension: loading /usr/lib/latex2html/versions/latin1.pl
HTML version: loading /usr/lib/latex2html/versions/html4_0.pl

Extension: loading /usr/lib/latex2html/versions/table.plUndefined subroutine
&main::undefined called at /usr/lib/latex2html/versions/table.pl line 94.
Compilation failed in require at /usr/lib/latex2html/latex2html.pl line 11012.
Compilation failed in require at /usr/bin/latex2html line 39.

------- Comment #1 From groepaz@gmx.net 2006-08-13 19:00:44 0000 -------
mmh i downgraded to perl5.8.7, run perl-cleaner, reemerged latex2html - no go,
same problem :(

now if someone could point me to the old 5.8.6 ebuild that would be nice, so i
can check if its actually perl or my specific system which is the problem :/

------- Comment #2 From groepaz@gmx.net 2006-08-13 20:23:36 0000 -------
ok one more, its becoming weird and confusing :=P i grabbed the old 5.8.6
ebuild and patches from cvs and emerged 5.8.6, perl-cleaner, and emerge
latex2html again - and it STILL does not work. thats completely strange coz i
have used the thing fine before with exactly this config.

fortunatly though with the help of someone else who knows perl i could track
down the problem to a single line in /usr/lib/latex2html.pl, and also could fix
it trivially.

line 94 is originally

if (undefined (&convert_length)) { sub convert_length
{&convert_length_table(@_)} }

what it complains about is the "undefined" function not beeing defined.
changing this into "!defined" fixes it. is this some kind of perl feature that
was silently removed? or is some dependend perl module that provides it missing
in the latex2html ebuild?

that said, i'll now go back to the latest stable 5.8.8 and see if latex2html
works there with the above fix

------- Comment #3 From groepaz@gmx.net 2006-08-13 21:08:29 0000 -------
last one...

a) typo, the file in question was /usr/lib/latex2html/versions/table.pl

b) it works in 5.8.8 aswell with the above fix, craps out without it.

------- Comment #4 From John 2007-03-04 04:00:39 0000 -------
Confirm that groepaz's analysis is correct. Working on a patch and updated
ebuild.

------- Comment #5 From John 2007-03-04 05:07:29 0000 -------
Created an attachment (id=112015) [details]
The updated ebuild that applies the no undefined perl function patch

This ebuild applies a new patch that should fix the call to the deprecated
"undefined" function from the latex2html table.pl script.

------- Comment #6 From John 2007-03-04 05:09:21 0000 -------
Created an attachment (id=112016) [details]
This patch fixes a call to a depreacted perl function in table.pl

This patch will fix the breakage that occurs in r1 from the call in
versions/table.pl. Changes from deprecated if( undefined(...)) to
if(!defined(...))

------- Comment #7 From John 2007-03-04 05:10:22 0000 -------
Created an attachment (id=112018) [details]
Sample .tex file found on the internet to use for testing

A file that can be used to test latex2html.

------- Comment #8 From John 2007-03-04 05:11:46 0000 -------
Also latex2html is stable on amd64 with perl 5.8.8.

------- Comment #9 From AngelKnight 2008-05-03 16:30:52 0000 -------
Successful build on amd64 as well here

------- Comment #10 From Eric Thibodeau 2008-09-06 14:14:25 0000 -------
Builds and successful minimal test with
dev-tex/latex2html-2002.2.1_pre20041025-r1.

------- Comment #11 From Alexis Ballier 2008-10-31 22:02:39 0000 -------
applied, thanks

First Last Prev Next    No search results available      Search page      Enter new bug