[MacPorts] #33515: quartz-wm build fails on Leopard due to unknown load command 5
#33515: quartz-wm build fails on Leopard due to unknown load command 5 --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: quartz-wm --------------------------------+------------------------------------------- See attached log. I've edited the Portfile to include {{{ configure.compiler macports-gcc-4.4 }}} but it fails the same way with Apple's GCC 4.0. {{{ MacBook Pro Intel Core duo Mac OS X 10.5.8 MacPorts ports tree at r90491 port built about two weeks ago Xcode 3.1.4 }}} -- Ticket URL: <https://trac.macports.org/ticket/33515> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33515: quartz-wm build fails on Leopard due to unknown load command 5 --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: quartz-wm --------------------------------+------------------------------------------- Comment(by jeremyhu@…): {{{ :info:build cp libquartz-wm-ds.apsl.dylib libquartz-wm-ds.1.dylib :info:build install_name_tool -id /opt/local/lib/libquartz-wm-ds.1.dylib libquartz-wm-ds.1.dylib :info:build install_name_tool: for architecture x86_64 object: libquartz- wm-ds.1.dylib malformed object (unknown load command 5) :info:build make[2]: *** [libquartz-wm-ds.1.dylib] Error 1 }}} install_name_tool is complaining ... hrm... -- Ticket URL: <https://trac.macports.org/ticket/33515#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33515: quartz-wm build fails on Leopard due to unknown load command 5 --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: quartz-wm --------------------------------+------------------------------------------- Comment(by jeremyhu@…): Can you please run the following and report the output: {{{ strings /usr/bin/install_name_tool | grep cctools strings /Developer/usr/bin/install_name_tool | grep cctools }}} -- Ticket URL: <https://trac.macports.org/ticket/33515#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33515: quartz-wm build fails on Leopard due to unknown load command 5 --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: quartz-wm --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: I'm able to reproduce the error on my G4 Leopard machine. The output you requested: {{{ cctools-698.1 }}} The error means that the pre-compiled libraries shipped with the quartz-wm package are newer than the install_name_tool program understands. The only solution would be for Jeremy or whoever's in charge of shipping these libraries to recompile them on an earlier OS (or on a newer OS with support for an earlier OS, if that's possible) and release a new version. -- Ticket URL: <https://trac.macports.org/ticket/33515#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33515: quartz-wm build fails on Leopard due to unknown load command 5 --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: quartz-wm --------------------------------+------------------------------------------- Comment(by jeremyhu@…): Yeah, but it's not that trivial because I need to build on a newer OS to support newer features. I'm actually building them on Snow Leopard with XCode 3 in order to be as backwards compatible as possible ... I'm investigating solutions. Please be patient... -- Ticket URL: <https://trac.macports.org/ticket/33515#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33515: quartz-wm build fails on Leopard due to unknown load command 5 --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: quartz-wm --------------------------------+------------------------------------------- Changes (by jeremyhu@…): * owner: macports-tickets@… => jeremyhu@… -- Ticket URL: <https://trac.macports.org/ticket/33515#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33515: quartz-wm build fails on Leopard due to unknown load command 5 --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: quartz-wm --------------------------------+------------------------------------------- Changes (by jeremyhu@…): * status: new => assigned Comment: Please try installing odcctools as of r91264. That should provide a newer install_name_tool. If that works, I'll update the port to depend on it. If it doesn't work, please provide an updated build log. -- Ticket URL: <https://trac.macports.org/ticket/33515#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33515: quartz-wm build fails on Leopard due to unknown load command 5 --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: quartz-wm --------------------------------+------------------------------------------- Comment(by stephen@…): Arrgh ... it went and built llvm-3.0_3. That configured, built, and installed, but then odcctools build failed. Log attached. -- Ticket URL: <https://trac.macports.org/ticket/33515#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33515: quartz-wm build fails on Leopard due to unknown load command 5 --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: quartz-wm --------------------------------+------------------------------------------- Comment(by stephen@…): Replying to [comment:7 stephen@…]: oops. BTW, I'm actually using r91270 of odcctools. If it's important to use exactly r91264, I'll backtrack. -- Ticket URL: <https://trac.macports.org/ticket/33515#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33515: quartz-wm build fails on Leopard due to unknown load command 5 --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: quartz-wm --------------------------------+------------------------------------------- Comment(by jeremyhu@…): Yeah, odcctools is actually now replaced_by cctools, and there are some issues I'm currently working out to get it to build on a wider range of OS versions... sit tight. -- Ticket URL: <https://trac.macports.org/ticket/33515#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33515: quartz-wm build fails on Leopard/ppc due to unknown load command 5 --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: ppc | Port: quartz-wm --------------------------------+------------------------------------------- Changes (by jeremyhu@…): * keywords: => ppc Comment: r91565 will solve this for anyone on Leopard/intel, but Leopard/ppc is probably still an issue... Adjusting the title to focus on the ppc issue. -- Ticket URL: <https://trac.macports.org/ticket/33515#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33515: quartz-wm build fails on Leopard/ppc due to unknown load command 5 --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: ppc | Port: quartz-wm --------------------------------+------------------------------------------- Comment(by stephen@…): OK, I tried odcctools at about the time of my last post, and that somehow blew up (I've been sick and busy with $day_job for the last week, so I don't recall the details -- will check if this is still a problem on request). Last night I did "port install cctools && port -u upgrade quartz_wm", which succeeded (after upgrading llvm to 3.0_4, which took enough hours that I went to sleep first). So I confirm that Leopard/Intel works for me now. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/33515#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33515: quartz-wm build fails on Leopard/ppc due to unknown load command 5 --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: ppc | Port: quartz-wm --------------------------------+------------------------------------------- Comment(by jeremyhu@…): r91689 works around this issue, but I'll try to address it more properly in the next quartz-wm release. I have not tested it on Tiger yet, and all my OS X boxes are Intel, so I'd appreciate confirmation that it at least works (somewhat) on those old machines. -- Ticket URL: <https://trac.macports.org/ticket/33515#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33515: quartz-wm build fails on Leopard/ppc due to unknown load command 5 --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: ppc | Port: quartz-wm --------------------------------+------------------------------------------- Comment(by ryandesign@…): After fixing the use of ${os.arch} in r91697, quartz-wm builds and installs for me on PowerPC Leopard. How do I test whether the installed software works? -- Ticket URL: <https://trac.macports.org/ticket/33515#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33515: quartz-wm build fails on Leopard/ppc due to unknown load command 5 --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: ppc | Port: quartz-wm --------------------------------+------------------------------------------- Comment(by jeremyhu@…): It should be the default quartz-wm used by /Applications/MacPorts/X11.app, or you can force it to be chosen by /Applications/Utilities/X11.app by doing: sudo gsed -i 's:quartz-wm:/opt/local/bin/quartz-wm:' /usr/X11R6/lib/X11/xinit/xinitrc -- Ticket URL: <https://trac.macports.org/ticket/33515#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33515: quartz-wm build fails on Leopard/ppc due to unknown load command 5 --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: ppc | Port: quartz-wm --------------------------------+------------------------------------------- Comment(by jeremyhu@…): The above was for Tiger, btw ... Leopard would be a similar change to /usr/X11/lib/X11/xinit/xinitrc -- Ticket URL: <https://trac.macports.org/ticket/33515#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33515: quartz-wm build fails on Leopard/ppc due to unknown load command 5 --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: ppc | Port: quartz-wm --------------------------------+------------------------------------------- Comment(by ryandesign@…): I verified /Applications/MacPorts/X11.app and an xterm launched there works. Anything else I should try? -- Ticket URL: <https://trac.macports.org/ticket/33515#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33515: quartz-wm build fails on Leopard/ppc due to unknown load command 5 ---------------------------------+------------------------------------------ Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: fixed | Keywords: ppc Port: quartz-wm | ---------------------------------+------------------------------------------ Changes (by jeremyhu@…): * status: assigned => closed * resolution: => fixed Comment: That should be good, thanks. As long as you can drag windows, minimize, restore, and maximize, things should be working right. -- Ticket URL: <https://trac.macports.org/ticket/33515#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts