[MacPorts] #45111: error when installing octave
#45111: error when installing octave ---------------------+-------------------------------- Reporter: prowe@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: ---------------------+-------------------------------- I get the following error for >>sudo port install octave: ---> Building octave Error: org.macports.build for port octave returned: command execution failed Please see the log file for port octave for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port octave failed I'm on a new MacPro with Mavericks. Here are the steps I took: Install Xcode Open Xcode 1)Type xcode-select --install 2) Install Macports on Mac https://www.macports.org/install.php Click on “OS X 10.9 Mavericks” for automatic download. 3) Type “sudo port install hdf5” 4) Type “sudo port install netcdf” 5) Type “sudo port install netcdf-cxx” for C++ interface 6) Type “sudo port install netcdf-fortran” for Fortran interface 7) Type “sudo port install libgcc” 8) Type “sudo port install gcc47” Couldn’t successful load “atlas” package using either gcc49 or gcc48. So tried to follow this https://trac.macports.org/ticket/40542 9) Type “sudo port clean atlas” 10) Type “sudo port -v install atlas +gcc47” 11) Type “sudo port install octave” Thank you for any help! -- Ticket URL: <https://trac.macports.org/ticket/45111> MacPorts <http://www.macports.org/> Ports system for OS X
#45111: error when installing octave ----------------------+------------------------- Reporter: prowe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: octave | ----------------------+------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => michaelld@… * port: => octave Old description:
I get the following error for >>sudo port install octave:
---> Building octave Error: org.macports.build for port octave returned: command execution failed Please see the log file for port octave for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port octave failed
I'm on a new MacPro with Mavericks. Here are the steps I took:
Install Xcode Open Xcode
1)Type xcode-select --install 2) Install Macports on Mac https://www.macports.org/install.php Click on “OS X 10.9 Mavericks” for automatic download. 3) Type “sudo port install hdf5” 4) Type “sudo port install netcdf” 5) Type “sudo port install netcdf-cxx” for C++ interface 6) Type “sudo port install netcdf-fortran” for Fortran interface 7) Type “sudo port install libgcc” 8) Type “sudo port install gcc47” Couldn’t successful load “atlas” package using either gcc49 or gcc48. So tried to follow this https://trac.macports.org/ticket/40542 9) Type “sudo port clean atlas” 10) Type “sudo port -v install atlas +gcc47” 11) Type “sudo port install octave”
Thank you for any help!
New description: I get the following error for `>>sudo port install octave`: {{{ ---> Building octave Error: org.macports.build for port octave returned: command execution failed Please see the log file for port octave for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port octave failed }}} I'm on a new MacPro with Mavericks. Here are the steps I took: * Install Xcode * Open Xcode 1. Type xcode-select --install 2. Install Macports on Mac https://www.macports.org/install.php Click on “OS X 10.9 Mavericks” for automatic download. 3. Type “`sudo port install hdf5`” 4. Type “`sudo port install netcdf`” 5. Type “`sudo port install netcdf-cxx`” for C++ interface 6. Type “`sudo port install netcdf-fortran`” for Fortran interface 7. Type “`sudo port install libgcc`” 8. Type “`sudo port install gcc47`” Couldn’t successful load “atlas” package using either gcc49 or gcc48. So tried to follow this #40542 9. Type “`sudo port clean atlas`” 10. Type “`sudo port -v install atlas +gcc47`” 11. Type “`sudo port install octave`” Thank you for any help! -- Comment: Please attach the main.log file. -- Ticket URL: <https://trac.macports.org/ticket/45111#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#45111: error when installing octave ----------------------+------------------------- Reporter: prowe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: octave | ----------------------+------------------------- Old description:
I get the following error for `>>sudo port install octave`:
{{{ ---> Building octave Error: org.macports.build for port octave returned: command execution failed Please see the log file for port octave for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port octave failed }}}
I'm on a new MacPro with Mavericks. Here are the steps I took:
* Install Xcode * Open Xcode
1. Type xcode-select --install 2. Install Macports on Mac https://www.macports.org/install.php Click on “OS X 10.9 Mavericks” for automatic download. 3. Type “`sudo port install hdf5`” 4. Type “`sudo port install netcdf`” 5. Type “`sudo port install netcdf-cxx`” for C++ interface 6. Type “`sudo port install netcdf-fortran`” for Fortran interface 7. Type “`sudo port install libgcc`” 8. Type “`sudo port install gcc47`” Couldn’t successful load “atlas” package using either gcc49 or gcc48. So tried to follow this #40542 9. Type “`sudo port clean atlas`” 10. Type “`sudo port -v install atlas +gcc47`” 11. Type “`sudo port install octave`”
Thank you for any help!
New description: I get the following error for `>>sudo port install octave`: {{{ ---> Building octave Error: org.macports.build for port octave returned: command execution failed Please see the log file for port octave for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port octave failed }}} I'm on a new MacPro with Mavericks. Here are the steps I took: * Install Xcode * Open Xcode 1. Type xcode-select --install 2. Install Macports on Mac\\ https://www.macports.org/install.php\\ Click on “OS X 10.9 Mavericks” for automatic download. 3. Type “`sudo port install hdf5`” 4. Type “`sudo port install netcdf`” 5. Type “`sudo port install netcdf-cxx`” for C++ interface 6. Type “`sudo port install netcdf-fortran`” for Fortran interface 7. Type “`sudo port install libgcc`” 8. Type “`sudo port install gcc47`”\\ Couldn’t successful load “atlas” package using either gcc49 or gcc48.\\ So tried to follow this\\ #40542 9. Type “`sudo port clean atlas`” 10. Type “`sudo port -v install atlas +gcc47`” 11. Type “`sudo port install octave`” Thank you for any help! -- Comment (by larryv@…): I would expect you’d need to specify a GCC variant for `hdf5`, `netcdf`, `netcdf-cxx`, and `netcdf-fortran`, at the very least. -- Ticket URL: <https://trac.macports.org/ticket/45111#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#45111: error when installing octave ----------------------+------------------------- Reporter: prowe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: octave | ----------------------+------------------------- Comment (by prowe@…): Why would I need to specify a gcc variant? The steps I took worked fined for my colleague, I think on a Mac Air, except for the atlas part as outlined in the steps. It worked fine on my Mac laptop (and no atlas problems there). -- Ticket URL: <https://trac.macports.org/ticket/45111#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#45111: error when installing octave ----------------------+------------------------- Reporter: prowe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: octave | ----------------------+------------------------- Comment (by larryv@…): Replying to [comment:3 prowe@…]:
Why would I need to specify a gcc variant?
You cannot mix C++ runtimes. Binaries built with clang++ / libc++abi should not link against binaries built with g++ / libsupc++. Even if they link “properly”, you will experience runtime issues and crashes. -- Ticket URL: <https://trac.macports.org/ticket/45111#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#45111: error when installing octave ----------------------+------------------------- Reporter: prowe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: octave | ----------------------+------------------------- Comment (by prowe@…): I'm new at this; do I specify a gcc variant by appending +gcc47; e.g. sudo port install hdf5 +gcc47? Should I also append a -clang? Thanks so much for your help! -- Ticket URL: <https://trac.macports.org/ticket/45111#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#45111: error when installing octave ----------------------+------------------------- Reporter: prowe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: octave | ----------------------+------------------------- Comment (by prowe@…): I tried uninstalling everything and reinstalling with +gcc47 for hdf5, netcdf, netcdf-cxx, and netcdf-fortran, but that did not work. I think the error message at the end was the same. Next I uninstalled everything again and reinstalled with +gcc47 and - any default variants (which I found using sudo port variants). Same error message. The main.log file differs only slightly. -- Ticket URL: <https://trac.macports.org/ticket/45111#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#45111: error when installing octave ----------------------+------------------------- Reporter: prowe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: octave | ----------------------+------------------------- Comment (by mf2k@…): Why are you using gcc47? Try gcc48 which is the default in Macports. Also I would suggested re-installing ld64 and cctools since they recently changed default variants to use llvm-3.5. As far as hdf5 goes, there is no "clang" variant so there is no need to specify "-clang". FYI, since Trac is not for tech support, follow-up on the [https://lists.macosforge.org/mailman/listinfo/macports-users Macports Users mailing list] instead and you will get a much wider audience to help you. -- Ticket URL: <https://trac.macports.org/ticket/45111#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#45111: error when installing octave ----------------------+------------------------- Reporter: prowe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: octave | ----------------------+------------------------- Comment (by michaelld@…): Can you try: {{{ sudo port clean octave sudo port install octave }}} and see if that helps. If not, what does "xcodebuild -version" return for you? I'm wondering if this might be a result of Xcode 6 ... which I don't have yet. -- Ticket URL: <https://trac.macports.org/ticket/45111#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#45111: error when installing octave ----------------------+------------------------- Reporter: prowe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: octave | ----------------------+------------------------- Comment (by mschamschula@…): The main.log file says it all: a duplicate of #45011 - Xcode 6.0.1 issue. -- Ticket URL: <https://trac.macports.org/ticket/45111#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#45111: error when installing octave ------------------------+------------------------- Reporter: prowe@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: duplicate | Keywords: Port: octave | ------------------------+------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => duplicate Comment: Thanks; I'm closing this one & will work on the other ticket instead. -- Ticket URL: <https://trac.macports.org/ticket/45111#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts