Opened 10 years ago

Closed 10 years ago

#45818 closed defect (fixed)

dblatex installs old versions of tex packages, shadowing newer versions in texlive

Reported by: drkp (Dan Ports) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc:
Port: dblatex

Description

dblatex installs older versions of some tex packages that are installed by texlive, some that are years out of date. Because dblatex installs into ${texlive_texmfports} ($prefix/share/texmf), which has higher priority than texlive's texmf paths, this shadows the newer versions installed by texlive. This can cause problems for building tex files that depend on the newer versions.

I think the following is a complete list of the offending files, althoguh there may be others:

/opt/local/share/texmf/tex/latex/misc/attachfile.sty
/opt/local/share/texmf/tex/latex/misc/bibtopic.sty
/opt/local/share/texmf/tex/latex/misc/enumitem.sty
/opt/local/share/texmf/tex/latex/misc/lastpage.sty
/opt/local/share/texmf/tex/latex/misc/passivetex/dummyels.sty
/opt/local/share/texmf/tex/latex/misc/passivetex/unicode.sty
/opt/local/share/texmf/tex/latex/misc/ragged2e.sty
/opt/local/share/texmf/tex/latex/misc/xelatex/xecyr.sty

Change History (4)

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

I guess just avoiding the installation of these files and adding a dependency would be a valid solution for the problem, right?

Do you happen to have these files installed and are able to map them to ports? Also, for compatibility with MacTeX, I probably need to add bin: dependencies instead of outright port dependencies, so if you happen to be aware of any binaries installed by these ports, that would be helpful information as well.

comment:2 Changed 10 years ago by drkp (Dan Ports)

Yes, looks like:

/opt/local/share/texmf-texlive/tex/latex/attachfile/attachfile.sty is provided by: texlive-latex-extra
/opt/local/share/texmf-texlive/tex/latex/bibtopic/bibtopic.sty is provided by: texlive-bibtex-extra
/opt/local/share/texmf-texlive/tex/latex/enumitem/enumitem.sty is provided by: texlive-latex-extra
/opt/local/share/texmf-texlive/tex/latex/lastpage/lastpage.sty is provided by: texlive-latex-extra
/opt/local/share/texmf-texlive/tex/xmltex/passivetex/dummyels.sty is provided by: texlive-htmlxml
/opt/local/share/texmf-texlive/tex/xmltex/passivetex/unicode.sty is provided by: texlive-htmlxml
/opt/local/share/texmf-texlive/tex/latex/ms/ragged2e.sty is provided by: texlive-latex-recommended
/opt/local/share/texmf-texlive/tex/xelatex/xecyr/xecyr.sty is provided by: texlive-xetex

comment:3 Changed 10 years ago by drkp (Dan Ports)

Also, adding bin dependencies for these is tricky. It looks like each of those ports provides at least one binary so you could just pick a random one, but those binaries are not what you actually want to depend on, and they have been known to move around between texlive releases. This seems like asking for trouble, but I don't have any better answers if you want to be compatible with mactex too.

comment:4 Changed 10 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

Has duplicate #46691, which I fixed by no longer copying these files, as the dblatex port previously did. Short testing suggests dblatex continues to work just fine.

Note: See TracTickets for help on using tickets.