Opened 9 years ago

Closed 9 years ago

#49287 closed defect (fixed)

texlive-bin @2015_4: /opt/local/libexec/texlive/binaries/htlatex is a broken symlink

Reported by: PaulWessel (Paul Wessel) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: texlive-bin

Description (last modified by ryandesign (Ryan Carsten Schmidt))

htlatex no longer gets installed. It is supposed to be there:

port contents texlive-htmlxml | grep htlatex
  /opt/local/bin/htlatex
  /opt/local/libexec/texlive/texbin/htlatex
  /opt/local/share/texmf-texlive/scripts/tex4ht/htlatex.sh

and while opt/local/bin/htlatex links to /opt/local/libexec/texlive/texbin/htlatex the later is missing. I found a web hit about this problem going back to August 31, 2015 http://comments.gmane.org/gmane.os.apple.macports.user/38780 but see no ticket here at macports, hence this addition.

Attachments (1)

main.log (396.4 KB) - added by mbrethen 9 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: texlive-htmlxml added

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to dports@…
Port: texlive-bin added; texlive-htmlxml removed
Summary: texlive-htmlxml port appears to be brokentexlive-bin @2015_4: /opt/local/libexec/texlive/binaries/htlatex is a broken symlink

Actually:

$ port -q cont texlive-htmlxml|grep htlatex|xargs ls -l
lrwxr-xr-x  1 root  wheel    43 Oct 15 09:18 /opt/local/bin/htlatex -> /opt/local/libexec/texlive/binaries/htlatex
lrwxr-xr-x  1 root  wheel    43 Oct 15 09:18 /opt/local/libexec/texlive/texbin/htlatex -> /opt/local/libexec/texlive/binaries/htlatex
-rwxr-xr-x  1 root  wheel  1579 May 19  2014 /opt/local/share/texmf-texlive/scripts/tex4ht/htlatex.sh

Both /opt/local/bin/htlatex and /opt/local/libexec/texlive/texbin/htlatex are symlinks to /opt/local/libexec/texlive/binaries/htlatex, which is provided by the texlive-bin port, which is a dependency of the texlive-htmlxml port. So far so good.

However, /opt/local/libexec/texlive/binaries/htlatex is a symlink to a nonexistent file:

$ port -q cont texlive-bin|grep htlatex|xargs ls -l
lrwxr-xr-x  1 root  wheel  26 Sep 17 03:59 /opt/local/libexec/texlive/binaries/htlatex -> /scripts/tex4ht/htlatex.sh

That's the problem.

comment:3 Changed 9 years ago by mbrethen

Here's another one:

$ port -q cont texlive-bin|grep mk4ht|xargs ls -l
lrwxr-xr-x  1 root  admin  24 Oct 16 21:41 /opt/local/libexec/texlive/binaries/mk4ht -> /scripts/tex4ht/mk4ht.pl

Changed 9 years ago by mbrethen

Attachment: main.log added

comment:4 Changed 9 years ago by mbrethen

Fails at destroot phase. Directory /opt/local/share/texmf-texlive/scripts isn't created. Maybe the post-patch of the various Makefile.in files needs to be tweeked?

:info:destroot make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/texlive-source-20150611-stripped/texk/tex4htk'
:info:destroot  ../../build-aux/install-sh -c -d '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/destroot/opt/local/libexec/texlive/binaries'
:info:destroot   /bin/sh ./libtool   --mode=install /usr/bin/install -c t4ht tex4ht '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/destroot/opt/local/libexec/texlive/binaries'
:info:destroot libtool: warning: '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/texlive-source-20150611-stripped/texk/kpathsea/libkpathsea.la' has not been installed in '/opt/local/lib'
:info:destroot libtool: install: /usr/bin/install -c .libs/t4ht /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/destroot/opt/local/libexec/texlive/binaries/t4ht
:info:destroot libtool: warning: '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/texlive-source-20150611-stripped/texk/kpathsea/libkpathsea.la' has not been installed in '/opt/local/lib'
:info:destroot libtool: install: /usr/bin/install -c .libs/tex4ht /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/destroot/opt/local/libexec/texlive/binaries/tex4ht
:info:destroot  ../../build-aux/install-sh -c -d '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/destroot/opt/local/share/texmf-texlive/scripts/tex4ht'
:info:destroot  /usr/bin/install -c mk4ht.pl ht.sh htcontext.sh htlatex.sh htmex.sh httex.sh httexi.sh htxelatex.sh htxetex.sh '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/destroot/opt/local/share/texmf-texlive/scripts/tex4ht'
:info:destroot /Applications/Xcode.app/Contents/Developer/usr/bin/make  install-data-hook

Last edited 9 years ago by mbrethen (previous) (diff)

comment:5 Changed 9 years ago by drkp (Dan Ports)

Status: newassigned

comment:6 Changed 9 years ago by drkp (Dan Ports)

Resolution: fixed
Status: assignedclosed

Fixed in r142269

Note: See TracTickets for help on using tickets.