Opened 7 years ago

Last modified 7 years ago

#41972 assigned defect

latex2man @1.23: imprecise dependency on texlive

Reported by: lynxluna@… Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: latex2man

Description

Installing latex2man without installing texlive-latex-extra produces error ! LaTeX Error: File `url.sty' not found.. Below is the excerpt of the main.log file (I attach main.log)

:info:destroot (/opt/local/share/texmf-texlive/tex/latex/latexconfig/hyperref.cfg)
:info:destroot
:info:destroot ! LaTeX Error: File `url.sty' not found.
:info:destroot
:info:destroot Type X to quit or <RETURN> to proceed,
:info:destroot or enter new name. (Default extension: sty)
:info:destroot
:info:destroot Enter file name:
:info:destroot ! Emergency stop.
:info:destroot <read *>

with texlive-latex-extra no error produced.

Attachments (2)

main.log (101.7 KB) - added by lynxluna@… 7 years ago.
This is the full log of the installation.
Portfile.diff (417 bytes) - added by lynxluna@… 7 years ago.
I add texlive-latex-extra as port dependencies and it works fine. But I don't know if it's the right way of doing deps

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by lynxluna@…

Attachment: main.log added

This is the full log of the installation.

Changed 7 years ago by lynxluna@…

Attachment: Portfile.diff added

I add texlive-latex-extra as port dependencies and it works fine. But I don't know if it's the right way of doing deps

comment:1 Changed 7 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to larryv@…
Status: newassigned
Summary: latex2man: dependent on texlive-latex-extralatex2man @1.23: imprecise dependency on texlive

url.sty is provided by texlive-latex-recommended.

% find /opt/local -name url.sty -exec port provides {} + 
/opt/local/share/texmf-texlive/tex/latex/url/url.sty is provided by: texlive-latex-recommended

I assume you have texlive +minimal or texlive +basic installed. The default is texlive +medium, which installs texlive-latex-recommended, which is probably why no one’s noticed this before.

For now, I’ll just add the dependency on texlive-latex-recommended. More generally, I don’t like the ham-handed dependency on texlive and will try to shave it down soon.

comment:2 Changed 7 years ago by larryv (Lawrence Velázquez)

Now that I look at it, latex2man accommodates non-MacPorts TeX installations with a bin:tex:texlive dependency. I’m not sure how to add an analogous url.sty dependency. I’ll have to come back to this later.

Note: See TracTickets for help on using tickets.