[MacPorts] #41420: wxWidgets-3.0 3.0.0_4 compile failure on OS X 10.5.8
#41420: wxWidgets-3.0 3.0.0_4 compile failure on OS X 10.5.8 -------------------------+-------------------------------- Reporter: drjesacco@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: wxWidgets-3.0 -------------------------+-------------------------------- wxWidgets-3.0 3.0.0_4 failed to compile on a G4 PowerMac. See attached log file. -Joseph -- Ticket URL: <https://trac.macports.org/ticket/41420> MacPorts <http://www.macports.org/> Ports system for OS X
#41420: wxWidgets-3.0 3.0.0_4 compile failure on OS X 10.5.8 ----------------------------+------------------- Reporter: drjesacco@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: wxWidgets-3.0 | ----------------------------+------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jwa@… -- Ticket URL: <https://trac.macports.org/ticket/41420#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41420: wxWidgets-3.0 3.0.0_4 compile failure on OS X 10.5.8 ----------------------------+------------------- Reporter: drjesacco@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: wxWidgets-3.0 | ----------------------------+------------------- Comment (by mojca@…): Did the previous version compile? (Or rather: which was the last version that compiled without problems?) -- Ticket URL: <https://trac.macports.org/ticket/41420#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41420: wxWidgets-3.0 3.0.0_4 compile failure on OS X 10.5.8 ----------------------------+--------------------- Reporter: drjesacco@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: wxWidgets-3.0 | ----------------------------+--------------------- Changes (by mojca@…): * cc: mojca@… (removed) * cc: jwa@… (added) * owner: jwa@… => mojca@… -- Ticket URL: <https://trac.macports.org/ticket/41420#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41420: wxWidgets-3.0 3.0.0_4 compile failure on OS X 10.5.8 ----------------------------+--------------------- Reporter: drjesacco@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: wxWidgets-3.0 | ----------------------------+--------------------- Comment (by mojca@…): I opened an upstream ticket. See http://trac.wxwidgets.org/ticket/15685. As a quick workaround you can try to remove `patch-upstream- nonbundled.diff` from the `Portfile`. This solves the compilation problems, but leaves the problem of unbundled apps (it might not affect you if you don't need to call the apps from command-line). I need an idea for the best solution. The easiest one might be to simply remove the patch on 10.5 until a better solution is found. Or maybe wait a tiny bit to see if the upstream developers manage to solve the problem quickly and apply a proper fix then. -- Ticket URL: <https://trac.macports.org/ticket/41420#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41420: wxWidgets-3.0 3.0.0_4 compile failure on OS X 10.5.8 ----------------------------+--------------------- Reporter: drjesacco@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: wxWidgets-3.0 | ----------------------------+--------------------- Comment (by drjesacco@…): Replying to [comment:2 mojca@…]:
Did the previous version compile? (Or rather: which was the last version that compiled without problems?)
Yes... % port installed wxWidgets-3.0 The following ports are currently installed: wxWidgets-3.0 @3.0.0_3 (active) -- Ticket URL: <https://trac.macports.org/ticket/41420#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#41420: wxWidgets-3.0 3.0.0_4 compile failure on OS X 10.5.8 ----------------------------+--------------------- Reporter: drjesacco@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: wxWidgets-3.0 | ----------------------------+--------------------- Comment (by drjesacco@…): The NSRunningApplication class was added to the AppKit framework in OS X 10.6 https://developer.apple.com/library/mac/documentation/AppKit/Reference/NSRun... which explains why wxWidget-3.0 3.0.0_4 will not compile on a machine running OS X 10.5. Time to look at the code and see what it actually does. Maybe there is a reasonable workaround. -Joseph -- Ticket URL: <https://trac.macports.org/ticket/41420#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#41420: wxWidgets-3.0 3.0.0_4 compile failure on OS X 10.5.8 ----------------------------+--------------------- Reporter: drjesacco@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: wxWidgets-3.0 | ----------------------------+--------------------- Comment (by mojca@…): A reasonable code, not a reasonable patch. I suspect the patch was intentionally left out for the 3.0.0 release. See the links in the upstream ticket. The code is needed to determine whether the app is bundled or not. And in case it is not bundled, it is brought to the front. The developers aren't sure yet how to properly address that problem. -- Ticket URL: <https://trac.macports.org/ticket/41420#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#41420: wxWidgets-3.0 3.0.0_4 compile failure on OS X 10.5.8 ----------------------------+--------------------- Reporter: drjesacco@… | Owner: mojca@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: wxWidgets-3.0 | ----------------------------+--------------------- Changes (by mojca@…): * status: new => closed * version: 2.2.1 => * resolution: => fixed Comment: I committed r113631. I have no 10.5 to test on, so I'm speculating that it should work, but please test and leave feedback. In case it doesn't help (or maybe even breaks on other systems), please reopen the ticket. Please note however that problems related to non-bundled apps will remain. In particular you probably won't be able to use `gnuplot` with `wxt` terminal or run apps like `fityk` from command-line. -- Ticket URL: <https://trac.macports.org/ticket/41420#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#41420: wxWidgets-3.0 3.0.0_4 compile failure on OS X 10.5.8 ----------------------------+--------------------- Reporter: drjesacco@… | Owner: mojca@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: wxWidgets-3.0 | ----------------------------+--------------------- Comment (by drjesacco@…): The application now builds on a PPC-based PowerMac running 10.5.8. -Joseph -- Ticket URL: <https://trac.macports.org/ticket/41420#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts