[MacPorts] #53202: kde4-kile wants to install macports texlive even though MacTex texlive is installed

MacPorts noreply at macports.org
Tue Jan 3 15:14:07 UTC 2017


#53202: kde4-kile wants to install macports texlive even though MacTex texlive is
installed
----------------------------------------+-----------------------
 Reporter:  fusionfan                   |      Owner:
     Type:  defect                      |     Status:  new
 Priority:  Normal                      |  Milestone:
Component:  ports                       |    Version:  2.3.5
 Keywords:  kde4-kile, texlive, mactex  |       Port:  kde4-kile
----------------------------------------+-----------------------
 I have been using Kile via macports ever since it started to exist. I have
 recently installed latex via the MacTex package and wanted to remove the
 duplicate latex distro installed by macports. After removing all latex
 packages installed by macports (except of course kile) kile still works
 fine, recognizing the MacTex instalation.

 However, when trying to run a

 {{{
 port upgrade outdated
 }}}

 texlive wants to reinstall. I have checked, and no currently installed
 port reports an exact dependency on texlive. Therefore the reason why
 texlive wants to reinstall is a mistery to me. The reinstall seems to be
 triggered by kdelibs4, which lead me to believe that kde4-kile is the
 culprit.

 kde4-kile should detect that the runtime dependency
 {{{
 depends_run-append bin:tex:texlive
 }}}
 exists (it does: kile runs fine), but it still wants to install texlive
 via macports when I run an upgrade command.
 I proceeded to create a modified local Portfile, where this dependency is
 removed. This is correctly reflected when requesting dependencies now:

 {{{
 bash-4.4# port deps kde4-kile
 Full Name: kde4-kile @2.1.3_1
 Build Dependencies:   cmake, pkgconfig, automoc
 Library Dependencies: qt4-mac, phonon, kdelibs4
 Runtime Dependencies: okular, kate, ImageMagick, ghostscript
 }}}
 No texlive is listed. Yet any upgrade command still triggers the
 reinstallation of texlive!

 I have attached the output of

 {{{
 port -dy upgrade kde4-kile
 }}}
 The interesting bit reads something like
 {{{
 DEBUG: texlive is *not* installed by MacPorts
 DEBUG: Searching for dependency: texlive
 DEBUG: Didn't find receipt, going to depspec regex for: texlive
 }}}

 I cannot find the package that triggers the reinstallation, as I have no
 idea how to check for such port dependencies among the installed packages.

--
Ticket URL: <https://trac.macports.org/ticket/53202>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list