[MacPorts] #49837: cmake: cmake-gui can not find Qt 5 libraries at runtime
#49837: cmake: cmake-gui can not find Qt 5 libraries at runtime ------------------------+------------------------- Reporter: mcalhoun@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: haspatch | Port: cmake ------------------------+------------------------- Qt 5 libraries are built with rpath.[[BR]] cmake-gui does not seem to be built with the correct rpath.[[BR]] For reference, there is an [https://codereview.qt-project.org/#/c/138349 upstream discussion] on rpath and OS X. Attached is a proposed solution. -- Ticket URL: <https://trac.macports.org/ticket/49837> MacPorts <https://www.macports.org/> Ports system for OS X
#49837: cmake: cmake-gui can not find Qt 5 libraries at runtime -------------------------+------------------------- Reporter: mcalhoun@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: cmake | -------------------------+------------------------- Comment (by michaelld@…): I don't have Qt5 installed, so I can't test this solution. But, it looks OK to me. If it works for others then I'm good to commit it. I've got a change in place ready to commit once I hear back. -- Ticket URL: <https://trac.macports.org/ticket/49837#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49837: cmake: cmake-gui can not find Qt 5 libraries at runtime -------------------------+------------------------- Reporter: mcalhoun@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: cmake | -------------------------+------------------------- Comment (by mojca@…): Is this the same problem as with Wireshark then (comment:41:ticket:40782)? -- Ticket URL: <https://trac.macports.org/ticket/49837#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49837: cmake: cmake-gui can not find Qt 5 libraries at runtime -------------------------+------------------------- Reporter: mcalhoun@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: cmake | -------------------------+------------------------- Comment (by mojca@…): Wouldn't it be better to actually patch Qt5 rather than all the zillion of its dependent ports? -- Ticket URL: <https://trac.macports.org/ticket/49837#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49837: cmake: cmake-gui can not find Qt 5 libraries at runtime -------------------------+------------------------- Reporter: mcalhoun@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: cmake | -------------------------+------------------------- Comment (by mcalhoun@…): As noted earlier, the [https://codereview.qt-project.org/#/c/138349 rpath patch] has been merged upstream.[[BR]] Cherry-picked in r143113.[[BR]] After reinstallation, cmake worked for me without the proposed patch.[[BR]] I am altering the proposed solution to just a revbump. -- Ticket URL: <https://trac.macports.org/ticket/49837#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#49837: cmake: cmake-gui can not find Qt 5 libraries at runtime -------------------------+------------------------- Reporter: mcalhoun@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: haspatch Port: cmake | -------------------------+------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: Fixed in r143119 by updated cmake to newer versions. -- Ticket URL: <https://trac.macports.org/ticket/49837#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts