Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484432 - dev-tex/html2latex-1.1-r1 fails to install Latex.pm
Summary: dev-tex/html2latex-1.1-r1 fails to install Latex.pm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
: 538518 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-09 22:15 UTC by Eugene Shalygin
Modified: 2021-11-24 18:07 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for the html2latex-1.1-r1.ebuild (file_484432.txt,501 bytes, patch)
2015-06-21 13:39 UTC, Nuno Silva
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Shalygin 2013-09-09 22:15:04 UTC
dev-tex/html2latex-1.1-r1 does not install HTML::Latex module and therefore the program does not work

There is no such problem with dev-tex/html2latex-1.1:

$ qlist dev-tex/html2latex-1.1-r1
/usr/bin/html2latex
/usr/share/man/man1/html2latex.1.bz2
/usr/share/doc/html2latex-1.1-r1/TODO.bz2
/usr/share/doc/html2latex-1.1-r1/README.bz2
/usr/share/doc/html2latex-1.1-r1/Changes.bz2

$ qlist dev-tex/html2latex-1.1
/usr/bin/html2latex
/usr/share/man/man1/html2latex.1.bz2
/usr/share/doc/html2latex-1.1/README.win.txt.bz2
/usr/share/doc/html2latex-1.1/Changes.bz2
/usr/share/doc/html2latex-1.1/TODO.bz2
/usr/share/doc/html2latex-1.1/README.bz2
/usr/lib64/perl5/vendor_perl/5.16.3/HTML/Latex.pm


Reproducible: Always




$ emerge --info dev-tex/html2latex
Portage 2.2.1 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.1, glibc-2.17, 3.11.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.11.0-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.2
KiB Mem:     8099620 total,   1373940 free
KiB Swap:   33554428 total,  33538940 free
Timestamp of tree: Mon, 09 Sep 2013 11:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r2, 3.2.5-r2, 3.3.2-r2
dev-util/cmake:           2.8.11.2::kde
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3, 4.8.1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo gamerlay kde multimedia nirbheek qt rion science sunrise systemd x11 dotnet steam-overlay eigenlay andy my-gentoo xanf g-ctan my-qt5
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA @FSF-APPROVED google-chrome skype-eula dlj-1.1 PUEL Google-TOS googleearth TeamViewer Oracle-BCLA-JavaSE skype-4.0.0.7-copyright AdobeFlash-11.x Intel-SDP"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://de-mirror.org/gentoo/"
LANG="uk_UA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--quiet"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/portage/tmp"
PORTDIR="/var/portage/gentoo"
PORTDIR_OVERLAY="/var/portage/repository/gamerlay /var/portage/repository/kde /var/portage/repository/multimedia /var/portage/repository/nirbheek /var/portage/repository/qt /var/portage/repository/rion /var/portage/repository/science /var/portage/repository/sunrise /var/portage/repository/systemd /var/portage/repository/x11 /var/portage/repository/dotnet /var/portage/repository/steam /var/portage/repository/eigenlay /var/portage/repository/andy /var/portage/repository/my-gentoo /var/portage/repository/xanf /var/portage/repository/g-ctan /var/portage/repository/qt5"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr apng attica avahi bash-completion berkdb bluetooth bluray branding bs2b bzip2 cairo canberra cdda cdr cli consolekit cracklib crypt css cups cxx dbus declarative dirac djvu dri dts dvd dvdr egl emboss encode exif faac fam ffmpeg firefox flac fontconfig fortran fuse gdbm gif gles gles2 gnuplot gnutls gold gpm gsm gstreamer gtk gtk3 iconv idn ieee1394 imagemagick inotify iproute2 ipv6 jemalloc jit jpeg jpeg2k kde kerberos kipi lame lapack latex lcms ldap libass libnotify libsamplerate lirc live lto luatex lzma mad metalink mmx mng modules mp3 mp4 mpeg mpi mtp mudflap multilib ncurses netlink network networkmanager nfs nls nptl ogg opengl openmp pam pango pch pcre pdf phonon pkcs11 plasma png policykit postscript ppds pulseaudio qt3support qt4 quicktime quvi radio readline romio rss rtmp samba sdl semantic-desktop session smartcard smp speex spell sqlite sse sse2 sse3 sse4 sse41 sse42 sse4_1 ssl ssse3 startup-notification svg symlink system-sqlite systemd taglib tcpd theora threads thumbnail tiff truetype udev udisks unicode upower usb v4l v4l2 vdpau vim-syntax vorbis vpx wxwidgets x264 xattr xcb xcomposite xetex xinerama xml xmp xscreensaver xv xvid yv12 zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2 canon ptp2 fuji" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="caps systemd" ELIBC="glibc" GPSD_PROTOCOLS="garmin garmintxt gpsclock timing" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev evdev synaptics wacom joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver" LINGUAS="en eo de ru uk ru_RU uk_UA" LIRC_DEVICES="alsa_usb" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" RUBY_TARGETS="ruby19 ruby18 ruby20" USERLAND="GNU" VIDEO_CARDS="v4l radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

=================================================================
                        Package Settings
=================================================================

dev-tex/html2latex-1.1-r1 was built with the following:
USE="imagemagick -libwww"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-02 11:12:20 UTC
*** Bug 538518 has been marked as a duplicate of this bug. ***
Comment 2 Nuno Silva 2015-06-21 13:02:47 UTC
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
Comment 3 Nuno Silva 2015-06-21 13:39:33 UTC
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.
Comment 4 Paul Osmialowski 2017-08-10 17:41:56 UTC
The same here. I copied HTML directory manually. For simple html documents this utility is enough.
Comment 5 Marc van der Sluys 2019-01-12 10:13:28 UTC
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?
Comment 6 Lev Melnikovsky 2019-01-13 07:34:31 UTC
-the same here.

> Should the status be changed to CONFIRMED?
Yes, please.
Comment 7 Madhu 2020-12-02 11:30:59 UTC
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)
Comment 8 Larry the Git Cow gentoo-dev 2021-11-24 18:07:00 UTC
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(+)