[MacPorts] #45112: openscad @2014.03 Install failure
#45112: openscad @2014.03 Install failure -------------------------+-------------------------------- Reporter: sam.kuper@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: openscad -------------------------+-------------------------------- Attempting to install OpenSCAD on OS X 10.6.8 Snow Leopard fails as follows: {{{ $ sudo port install openscad ---> Computing dependencies for openscad ---> Building openscad Error: org.macports.build for port openscad returned: command execution failed Please see the log file for port openscad for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_openscad/openscad/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port openscad failed }}} -- Ticket URL: <https://trac.macports.org/ticket/45112> MacPorts <http://www.macports.org/> Ports system for OS X
#45112: openscad @2014.03 Install failure --------------------------+-------------------- Reporter: sam.kuper@… | Owner: mf2k@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: openscad | --------------------------+-------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => mf2k@… * cc: sam.kuper@… (removed) Comment: The log says `clang++` is not found. This is true of the version of clang included in Xcode 3 on Snow Leopard; it only provided the C compiler `clang` and relied on `llvm-g++` to be the C++ compiler. This tells us this project is not UsingTheRightCompiler. And if `clang++` is truly required, then the port needs to blacklist some old compilers as well. -- Ticket URL: <https://trac.macports.org/ticket/45112#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#45112: openscad @2014.03 Install failure --------------------------+-------------------- Reporter: sam.kuper@… | Owner: mf2k@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: openscad | --------------------------+-------------------- Comment (by sam.kuper@…): Thanks. I'll leave this ticket open, then. In the meantime, here's a workaround for anyone else who runs into this: {{{ $ sudo port install clang-3.6 $ sudo port select --set clang mp-clang-3.6 $ sudo port install openscad }}} -- Ticket URL: <https://trac.macports.org/ticket/45112#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#45112: openscad @2014.03 Install failure --------------------------+-------------------- Reporter: sam.kuper@… | Owner: mf2k@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: openscad | --------------------------+-------------------- Comment (by mf2k@…): I made an attempt at UsingTheRightCompiler in r125602. But I have no access to such an old version of OS X to work on this. Test this and let me know. -- Ticket URL: <https://trac.macports.org/ticket/45112#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#45112: openscad @2014.03 Install failure --------------------------+------------------------- Reporter: sam.kuper@… | Owner: mf2k@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: wontfix | Keywords: snowleopard Port: openscad | --------------------------+------------------------- Changes (by mf2k@…): * status: new => closed * keywords: => snowleopard * resolution: => wontfix Comment: It looks like it failed to build on the Snow Leopard buildbot. I'm sorry but I don't have the time, interest or ability to support versions of OS X that are [https://www.macports.org not supported by Macports]. Someone will have to step up and supply a tested patch to this ticket. Re-open this ticket if so and I will commit it. -- Ticket URL: <https://trac.macports.org/ticket/45112#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#45112: openscad @2014.03 Install failure --------------------------+------------------------- Reporter: sam.kuper@… | Owner: mf2k@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: snowleopard Port: openscad | --------------------------+------------------------- Changes (by sam.kuper@…): * status: closed => reopened * resolution: wontfix => Comment: Replying to [comment:5 mf2k@…]:
It looks like it failed to build on the Snow Leopard buildbot.
Based on [https://trac.macports.org/ticket/45112#comment:3 the workaround I posted above], I expect that adding a MacPorts-packaged version of Clang[#asterisk1 *] as a dependency might help in this regard. For reasons unknown to me, Xcode 3.2.6 on OS X 10.6.8 does not provide the `clang++` command, whereas the MacPorts clang-3.6 package does. [=#asterisk1 *] Clang-3.6 worked for me, but perhaps other MacPorts- packaged versions would also have worked.
I'm sorry but I don't have the time, interest or ability to support versions of OS X that are [https://www.macports.org not supported by Macports]. Someone will have to step up and supply a tested patch to this ticket. Re-open this ticket if so and I will commit it.
Unless I'm mistaken, "legacy" ≠ "unsupported". MacPorts certainly provides an [https://www.macports.org/install.php#installing up-to-date installer] for Snow Leopard, which suggests support; and the machine for which I'm reporting the issue meets the [https://www.macports.org/install.php#requirements MacPorts system requirements]. That's not to say I'm asking ''you'' to do work you're not interested in or equipped for. On the contrary, I'm very grateful for your having tried to help! But please don't close a valid ticket as ''wontfix''. Thanks again :) -- Ticket URL: <https://trac.macports.org/ticket/45112#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#45112: openscad @2014.03 Install failure --------------------------+-------------------------------- Reporter: sam.kuper@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: snowleopard Port: openscad | --------------------------+-------------------------------- Changes (by mf2k@…): * owner: mf2k@… => macports-tickets@… * status: reopened => new -- Ticket URL: <https://trac.macports.org/ticket/45112#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#45112: openscad @2014.03 Install failure --------------------------+-------------------------------- Reporter: sam.kuper@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: snowleopard Port: openscad | --------------------------+-------------------------------- Comment (by ryandesign@…): Officially, we support the current version of OS X and the previous one. We still provide MacPorts installers for versions back to 10.4, and some of us try to provide best-effort support for older systems, but inevitably more and more ports fail to build anymore the farther back you go in OS X releases. However, in this case, you discovered that selecting a particular version of clang affected the port and allowed it to build. It's a bug for a port to be affected by what you do with "port select", on any OS X version, and it should be fixed. That will also be the first step to resolving the build failure on older OS X versions. -- Ticket URL: <https://trac.macports.org/ticket/45112#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#45112: openscad @2014.03 Install failure --------------------------+-------------------------------- Reporter: sam.kuper@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: snowleopard Port: openscad | --------------------------+-------------------------------- Comment (by mf2k@…): @ryan: Was my commit r125602 not sufficient for UsingTheRightCompiler? -- Ticket URL: <https://trac.macports.org/ticket/45112#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#45112: openscad @2014.03 Install failure --------------------------+-------------------------------- Reporter: sam.kuper@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: snowleopard Port: openscad | --------------------------+-------------------------------- Comment (by ryandesign@…): This software uses the qmake build system, which behaves differently. In fact we have the qmake portgroup to help with such matters. I've already modified the portfile; I'm just testing it on Snow Leopard now. -- Ticket URL: <https://trac.macports.org/ticket/45112#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#45112: openscad @2014.03 Install failure --------------------------+-------------------------------- Reporter: sam.kuper@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: snowleopard Port: openscad | --------------------------+-------------------------------- Comment (by mf2k@…): Sounds good. Please do whatever you see fit. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/45112#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#45112: openscad @2014.03 Install failure --------------------------+-------------------------------- Reporter: sam.kuper@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: snowleopard Port: openscad | --------------------------+-------------------------------- Comment (by sam.kuper@…): Thank you both :) -- Ticket URL: <https://trac.macports.org/ticket/45112#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#45112: openscad @2014.03 Install failure --------------------------+-------------------------------- Reporter: sam.kuper@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: snowleopard Port: openscad | --------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: I had to let it run overnight as the build used more memory than my secondary machine has so it took a long time, but it built fine with gcc on Snow Leopard. Committed in r125699. I removed the blacklisting of gcc (which never worked, since the port had not been UsingTheRightCompiler) and the enforcement of clang, both of which were added without explanation in r120656. -- Ticket URL: <https://trac.macports.org/ticket/45112#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts