Summary: | dev-tex/html2latex-1.1-r1 fails to install Latex.pm | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Eugene Shalygin <eugene.shalygin> |
Component: | Current packages | Assignee: | TeX project <tex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gen, melnikovsky, newchief, njsg |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch for the html2latex-1.1-r1.ebuild |
Description
Eugene Shalygin
2013-09-09 22:15:04 UTC
*** Bug 538518 has been marked as a duplicate of this bug. *** I can confirm the same issue, and bug 538518 seems to confirm it as well. Can't locate HTML/Latex.pm in @INC (you may need to install the HTML::Latex module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.20.1/x86_64-linux /usr/local/lib64/perl5/5.20.1 /usr/lib64/perl5/vendor_perl/5.20.1/x86_64-linux /usr/lib64/perl5/vendor_perl/5.20.1 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.20.1/x86_64-linux /usr/lib64/perl5/5.20.1 .) at /usr/bin/html2latex line 81. BEGIN failed--compilation aborted at /usr/bin/html2latex line 81. The Gentoo fora thread linked in bug 538518 has some discussion about this issue: https://forums.gentoo.org/viewtopic-t-1004960-view-next.html Created attachment 405486 [details, diff]
Patch for the html2latex-1.1-r1.ebuild
I'm attaching a patch, based on the discussion from the forum thread I linked, that fixes html2latex here.
The same here. I copied HTML directory manually. For simple html documents this utility is enough. I can confirm that the issue still exists. Steps to reproduce: 1) # emerge dev-tex/html2latex 2) $ html2latex Can't locate HTML/Latex.pm in @INC (you may need to install the HTML::Latex module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.24.3/x86_64-linux /usr/local/lib64/perl5/5.24.3 /usr/lib64/perl5/vendor_perl/5.24.3/x86_64-linux /usr/lib64/perl5/vendor_perl/5.24.3 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.24.1 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.24.3/x86_64-linux /usr/lib64/perl5/5.24.3 .) at /usr/bin/html2latex line 81. BEGIN failed--compilation aborted at /usr/bin/html2latex line 81. Expected result: some syntax info or missing argument error. Should the status be changed to CONFIRMED? -the same here.
> Should the status be changed to CONFIRMED?
Yes, please.
The problem seems to be fixed if EAPI is bumped up to 7 with no other changes. (There is a bogus line in src_install() which can be removed. rm unwanted README.win but this is harmless) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b44f61641dc5b6452fa646ef7df44fa0f01846b commit 2b44f61641dc5b6452fa646ef7df44fa0f01846b Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2021-11-24 18:04:05 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2021-11-24 18:06:32 +0000 dev-tex/html2latex: update EAPI 5 -> 8 Closes: https://bugs.gentoo.org/484432 Bug: https://bugs.gentoo.org/819597 Signed-off-by: Marek Szuba <marecki@gentoo.org> dev-tex/html2latex/html2latex-1.1-r2.ebuild | 40 +++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) |