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

MacPorts noreply at macports.org
Mon Jan 23 11:47:31 UTC 2017


#53202: kde4-kile wants to install macports texlive even though MacTex texlive is
installed
---------------------------------+-------------------------
  Reporter:  fusionfan           |      Owner:  NicosPavlov
      Type:  defect              |     Status:  assigned
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:
Resolution:                      |   Keywords:
      Port:  kde4-kile, texlive  |
---------------------------------+-------------------------

Comment (by fusionfan):

 Thank you for looking into the issue.
 I have explicitly added  /Library/TeX/texbin to the macports binpath,
 which now reads as
 {{{
 binpath
 /Library/TeX/texbin:/usr/texbin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
 }}}

 and just to be sure

 {{{
 bash-4.4# which latex
 /Library/TeX/texbin/latex
 }}}


 after doing this change to macports.conf, and rerunning

 {{{
 port list rdepof:kde4-kile
 }}}

 it now reports texlive as a dependency (it didn't before). Odd!

 {{{
 texlive-basic                  @41271          tex/texlive-basic
 texlive-bin                    @2016           tex/texlive-bin
 texlive-common                 @2016           tex/texlive-common
 }}}

 But at least now what it wants to do during the update and what it reports
 when I ask for dependencies is consistent (it wasn't before).

 The output of

 {{{
 port deps kde4-kile
 }}}

 is still, however,

 {{{
 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
 }}}

 Which makes it even more odd. It seems to me that whatever is collecting
 the dependencies for the ''port deps'' command is not the same as whatever
 is collecting dependencies for the upgrade. Any way to tell what the
 latter is? I would like to debug the issue but I just cannot figure out
 why macports still thinks that this is a dependency.

 As for Kile working with MacTex: my installation predates my switch to
 MacTex. Therefore I have not installed the +mactex variant. I have
 probably changed the paths to binaries in the Kile configuration myself by
 hand, but it was a long time ago and I don't remember exactly. By looking
 at the portfile I have decided that the +mactex variant only changes these
 path settings, and since I have already done that, I deemed it unnecessary
 to reinstall that variant. I may be incorrect, but now I can't attempt to
 do so, because if I try a reinstall, again, macports wants to install the
 whole macports latex, which is exactly what I want to avoid.

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


More information about the macports-tickets mailing list