[MacPorts] #31576: texlive-xetex and freetype
#31576: texlive-xetex and freetype -----------------------------------+---------------------------------------- Reporter: jbolden1517@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: texlive | Port: texlive-bin -----------------------------------+---------------------------------------- texlive-xetex (currently @23080) has a dependency of freetype lib 14. The version dependency is set to low in the port. The actual dependency is a chain and is set in texlive-bin port. -- Ticket URL: <https://trac.macports.org/ticket/31576> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31576: texlive-xetex and freetype -----------------------------------+---------------------------------------- Reporter: jbolden1517@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: texlive-bin -----------------------------------+---------------------------------------- Changes (by dports@…): * owner: macports-tickets@… => dports@… * keywords: texlive => Comment: I didn't follow this. What do you mean? -- Ticket URL: <https://trac.macports.org/ticket/31576#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31576: texlive-xetex and freetype -----------------------------------+---------------------------------------- Reporter: jbolden1517@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: texlive-bin -----------------------------------+---------------------------------------- Comment(by jbolden1517@…): Replying to [comment:1 dports@…]:
I didn't follow this. What do you mean?
texlive-xetex installs xetex. The current version of xetex has a dependency on freetype lib (/opt/local/lib/libfreetype.6.dylib) version 14. freetype is a dependency for texlive-bin which is a dependency for texlive-xetex. However the version in texlive-bin is set low enough that when you try to run xetex it can error with a version to low: /opt/local/lib/libfreetype.6.dylib Referenced from: /opt/local/bin/xelatex Reason: Incompatible library version: xelatex requires version 14.0.0 or later, but libfreetype.6.dylib provides version 13.0.0 So I suspect the freetype dependency in the texlive-bin port should be changed to require a later version. -- Ticket URL: <https://trac.macports.org/ticket/31576#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31576: texlive-xetex and freetype -----------------------------------+---------------------------------------- Reporter: jbolden1517@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: texlive-bin -----------------------------------+---------------------------------------- Changes (by dports@…): * cc: ryandesign@… (added) Comment: (FYI, the binary for xetex is actually built by texlive-bin; texlive-xetex just installs a symlink. But that's not really relevant to the problem...) It sounds like the problem is with your freetype port. libfreetype.6.dylib should be installed with compatibility version 14.0.0. Is your freetype port out of date? You might try reinstalling it. -- Ticket URL: <https://trac.macports.org/ticket/31576#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31576: texlive-xetex and freetype -----------------------------------+---------------------------------------- Reporter: jbolden1517@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: texlive-bin -----------------------------------+---------------------------------------- Comment(by ryandesign@…): You didn't provide any info about your system, but it sounds a lot like xelatex was originally built with MacPorts freetype (which provides libfreetype.6.dylib library version 14), but now for some reason xelatex is trying to use Mac OS X's freetype in /usr/X11/lib (which provides libfreetype.6.dylib library version 13 which is too old). One common reason why this would happen is if you originally installed MacPorts and freetype for a different architecture, for example on Leopard or earlier, and then migrated to Snow Leopard or later, and didn't then reinstall all ports as shown in the [wiki:Migration migration instructions]. -- Ticket URL: <https://trac.macports.org/ticket/31576#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31576: texlive-xetex and freetype -----------------------------------+---------------------------------------- Reporter: jbolden1517@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: texlive-bin -----------------------------------+---------------------------------------- Comment(by ryandesign@…): Replying to [comment:2 jbolden1517@…]:
So I suspect the freetype dependency in the texlive-bin port should be changed to require a later version.
MacPorts does not have the capability to specify the version of a dependency. -- Ticket URL: <https://trac.macports.org/ticket/31576#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31576: texlive-xetex and freetype -----------------------------------+---------------------------------------- Reporter: jbolden1517@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: texlive-bin -----------------------------------+---------------------------------------- Comment(by jbolden1517@…): Replying to [comment:5 ryandesign@…]:
Replying to [comment:2 jbolden1517@…]:
So I suspect the freetype dependency in the texlive-bin port should be changed to require a later version.
MacPorts does not have the capability to specify the version of a dependency.
Oh, didn't know that. Are you sure? Because I certainly have installed stuff and chains of other stuff got updated? Anyway I'm good. Before I submitted the bug I did a port update. Just wanted to pass this along since it is subtle. -- Ticket URL: <https://trac.macports.org/ticket/31576#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31576: texlive-xetex and freetype -----------------------------------+---------------------------------------- Reporter: jbolden1517@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: texlive-bin -----------------------------------+---------------------------------------- Comment(by ryandesign@…): Replying to [comment:6 jbolden1517@…]:
Replying to [comment:5 ryandesign@…]:
MacPorts does not have the capability to specify the version of a dependency.
Oh, didn't know that. Are you sure?
Yes. MacPorts can only install the currently available version of a port. To install older versions, you must follow the manual wiki:howto/InstallingOlderPort procedure.
Because I certainly have installed stuff and chains of other stuff got updated?
Yes, MacPorts updates dependencies first, in the correct order, if they're outdated.
Anyway I'm good. Before I submitted the bug I did a port update. Just wanted to pass this along since it is subtle.
So wait, you've already resolved the problem you reported in this ticket? By updating outdated ports? If so, then there is no bug here. -- Ticket URL: <https://trac.macports.org/ticket/31576#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31576: texlive-xetex and freetype ------------------------------------+--------------------------------------- Reporter: jbolden1517@… | Owner: dports@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: invalid | Keywords: Port: texlive-bin | ------------------------------------+--------------------------------------- Changes (by dports@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/31576#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts