[MacPorts] #34366: llvm install fails through netcdf-fortran +universal
#34366: llvm install fails through netcdf-fortran +universal --------------------------------+------------------------------------------- Reporter: dwelling@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: --------------------------------+------------------------------------------- Greetings. I am trying to install netcdf-fortran +universal. Many of the dependencies install without issue until llvm-3.0 (when upgrading gcc45, likely to universal). The log file, attached, is not helping. Any thoughts? -- Ticket URL: <https://trac.macports.org/ticket/34366> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34366: llvm-3.0 build fails --------------------------------+------------------------------------------- Reporter: dwelling@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: llvm-3.0 --------------------------------+------------------------------------------- Changes (by ryandesign@…): * port: => llvm-3.0 Comment: Since this was not a clean attempt, please "sudo port clean llvm-3.0", then try again, then attach the new main.log file. -- Ticket URL: <https://trac.macports.org/ticket/34366#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34366: llvm-3.0 build fails --------------------------------+------------------------------------------- Reporter: dwelling@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: llvm-3.0 --------------------------------+------------------------------------------- Comment(by dwelling@…): My apologies; fixed. Note that I can only get the error through installing netcdf-fortran +universal. -- Ticket URL: <https://trac.macports.org/ticket/34366#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34366: llvm-3.0 +universal build fails --------------------------------+------------------------------------------- Reporter: dwelling@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: llvm-3.0 --------------------------------+------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jeremyhu@… * cc: ryandesign@… (added) Comment: I wonder if it's a parallel build problem. Does it get any further or finish if you turn off parallel building, like this: {{{ sudo port install llvm-3.0 +universal build.jobs=1 }}} -- Ticket URL: <https://trac.macports.org/ticket/34366#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34366: llvm-3.0 +universal build fails --------------------------------+------------------------------------------- Reporter: dwelling@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: llvm-3.0 --------------------------------+------------------------------------------- Comment(by dwelling@…): Replying to [comment:3 ryandesign@…]:
I wonder if it's a parallel build problem. Does it get any further or finish if you turn off parallel building, like this: {{{ sudo port install llvm-3.0 +universal build.jobs=1 }}}
No, this does not seem to change anything. -- Ticket URL: <https://trac.macports.org/ticket/34366#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34366: llvm-3.0 +universal build fails --------------------------------+------------------------------------------- Reporter: dwelling@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: llvm-3.0 --------------------------------+------------------------------------------- Comment(by a.sewall.ford@…): I've also experiencing this issue, the call to link libLLVM-3.0.dylib (line 3632 in the attached log) is failing silently and the dylib is not being linked or place in the appropriate location. I am experiencing the same error using build.jobs=1. -- Ticket URL: <https://trac.macports.org/ticket/34366#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34366: llvm-3.0 +universal build fails --------------------------------+------------------------------------------- Reporter: dwelling@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: llvm-3.0 --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: lists@…, petrsnd@… (added) Comment: Has duplicates #34688 and #34704. -- Ticket URL: <https://trac.macports.org/ticket/34366#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34366: llvm-3.0 +universal build fails --------------------------------+------------------------------------------- Reporter: dwelling@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: llvm-3.0 --------------------------------+------------------------------------------- Comment(by jeremyhu@…): That looks to me like the bug in the gcc driver-driver which I fixed in apple-gcc42 with r91374. Apple's llvm-gcc uses the same driver-driver that they used for gcc-4.2, so it would have the same bug. We can probably fix this by using clang in this case. -- Ticket URL: <https://trac.macports.org/ticket/34366#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34366: llvm-3.0 +universal build fails --------------------------------+------------------------------------------- Reporter: dwelling@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: llvm-3.0 --------------------------------+------------------------------------------- Comment(by jeremyhu@…): Although I expect the bug exists on Tiger and Leopard as well (which don't have clang available from XCode). I use apple-gcc-4.2 as my Tiger and Leopard default compiler, so that should work for both of those old cats, but that raises more dependency cycle concerns... -- Ticket URL: <https://trac.macports.org/ticket/34366#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34366: llvm-3.0 +universal build fails --------------------------------+------------------------------------------- Reporter: dwelling@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: llvm-3.0 --------------------------------+------------------------------------------- Comment(by petrsnd@…): I've noticed that there hasn't been any activity on this issue for a couple weeks. Is there a way to work around this problem? I have a Mac 10.6 machine that I would really like to put gcc46 on. Can I request an earlier version of llvm-3.0 before this problem came up? I'm pretty new to MacPorts. -- Ticket URL: <https://trac.macports.org/ticket/34366#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34366: llvm-3.0 +universal build fails --------------------------------+------------------------------------------- Reporter: dwelling@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: llvm-3.0 --------------------------------+------------------------------------------- Comment(by jeremyhu@…): Please use the suggested workaround for now: {{{ sudo port -v install llvm-3.0 configure.compiler=apple-gcc-4.2 }}} -- Ticket URL: <https://trac.macports.org/ticket/34366#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34366: llvm-3.0 +universal build fails --------------------------------+------------------------------------------- Reporter: dwelling@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: llvm-3.0 --------------------------------+------------------------------------------- Comment(by jeremyhu@…): Or: {{{ sudo port -v install llvm-3.0 configure.compiler=clang }}} -- Ticket URL: <https://trac.macports.org/ticket/34366#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34366: llvm-3.0 +universal build fails --------------------------------+------------------------------------------- Reporter: dwelling@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: llvm-3.0 --------------------------------+------------------------------------------- Comment(by andrewjacka@…): Hi - How soon are we likely to have a solution to this? Not being able to install gcc is starting to be a major show-stopper. Also slightly new to ports - The workaround that you suggest above... That doesn't seem to do much. As soon as you then try and install gcc, it goes back and tries to install/build llvm-3.0 with the same error. -- Ticket URL: <https://trac.macports.org/ticket/34366#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34366: llvm-3.0 +universal build fails --------------------------------+------------------------------------------- Reporter: dwelling@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: llvm-3.0 --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: andrewjacka@… (added) Comment: Replying to [comment:13 andrewjacka@…]:
The workaround that you suggest above... That doesn't seem to do much. As soon as you then try and install gcc, it goes back and tries to install/build llvm-3.0 with the same error.
Jeremy's workaround above was supposed to result in a successful llvm-3.0 installation. If that's not what happened for you, please attach the main.log from the failed llvm-3.0 build attempt. -- Ticket URL: <https://trac.macports.org/ticket/34366#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34366: llvm-3.0 +universal build fails --------------------------------+------------------------------------------- Reporter: dwelling@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: llvm-3.0 --------------------------------+------------------------------------------- Comment(by andrewjacka@…): Ah - Nope just worked it out (missing +universal from the command Jeremy used). My bad... Replying to [comment:14 ryandesign@…]:
Replying to [comment:13 andrewjacka@…]:
The workaround that you suggest above... That doesn't seem to do much. As soon as you then try and install gcc, it goes back and tries to install/build llvm-3.0 with the same error.
Jeremy's workaround above was supposed to result in a successful llvm-3.0 installation. If that's not what happened for you, please attach the main.log from the failed llvm-3.0 build attempt.
-- Ticket URL: <https://trac.macports.org/ticket/34366#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34366: llvm-3.0 +universal build fails when using Apple's gcc driver-driver (Tiger, Leopard, SL) --------------------------------+------------------------------------------- Reporter: dwelling@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: llvm-3.0 --------------------------------+------------------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/34366#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34366: llvm-3.0 +universal build fails when using Apple's gcc driver-driver (Tiger, Leopard, SL) ---------------------------------+------------------------------------------ Reporter: dwelling@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: llvm-3.0 | ---------------------------------+------------------------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: r97624 -- Ticket URL: <https://trac.macports.org/ticket/34366#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts