Opened 11 years ago
Closed 11 years ago
#40575 closed defect (fixed)
ompl @0.13.0_1+app+python27: build failure
Reported by: | a0073763@… | Owned by: | mamoll (Mark Moll) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | ||
Port: | boost |
Description
Hi,
I am trying to install OMPL on my MAC OSX 10.6.8 and I have installed the dependencies required (Boost, CMake, Python, PySide (& Qt4) & PyOpenGL)
I executed the code "sudo port sync \; install ompl +app" and let my machine run. Some time later, the installation failed with the following message:
Error: org.macports.build for port ompl returned: command execution failed Please see the log file for port ompl for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_ompl/ompl/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port ompl failed
I have searched the ticket database and I realize my problem is similar to Ticket #39927. However, even after following through. It still does not work for me. Could you guys guide me as to how I can solve this?
Thank you so much.
Attachments (2)
Change History (10)
Changed 11 years ago by a0073763@…
comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)
Keywords: | ompl command execution error removed |
---|---|
Owner: | changed from macports-tickets@… to mmoll@… |
Summary: | Error: org.macports.build for port ompl returned: command execution failed → ompl @0.13.0_1+app+python27: build failure |
comment:2 Changed 11 years ago by mamoll (Mark Moll)
Port: | boost added; ompl removed |
---|
comment:3 Changed 11 years ago by mamoll (Mark Moll)
Hm, I see that Boost already blacklists a lot of compilers. Perhaps ompl should just "inherit" this list, since it depends so heavily on Boost.
comment:4 Changed 11 years ago by mamoll (Mark Moll)
I just committed a revision that implements this idea in r111530. Please try again. Do a "sudo port sync\; clean ompl \; install ompl +app" and let me know if it works.
comment:5 Changed 11 years ago by a0073763@…
Hi.
Thanks for the quick reply. I tried what you told me to do and I got another error.
Error: org.macports.activate for port clang-3.3 returned: command execution failed Error: Failed to install clang-3.3 Please see the log file for port clang-3.3 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/clang-3.3/main.log Error: The following dependencies were not installed: clang-3.3 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets
I downloaded Clang Binaries for Mac OS X but I am rather unsure what to do with the tar.gz file. I extracted it and placed it in the root drive where "opt" is. Is this right?
Then when I tried to run the installation again. I got another error:
Error: org.macports.extract for port ompl returned: command execution failed Please see the log file for port ompl for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_ompl/ompl/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port ompl failed
I have attached the main.log again.
Thanks.
comment:6 Changed 11 years ago by mamoll (Mark Moll)
Please file another ticket for clang-3.3. If Boost installed, then you should already have had clang-3.3 installed.
It's odd that the ompl install is failing during the extraction phase. Is your hard drive full? Can you try this?:
sudo port clean --all ompl +app sudo port install ompl +app
comment:7 Changed 11 years ago by a0073763@…
Hi!
You were right. I believe my hard disk was almost full! So I cleared my disk and just tried. I got the following message:
---> Configuring ompl ---> Building ompl ---> Staging ompl into destroot ---> Installing ompl @0.13.0_1+app+python27 ---> Activating ompl @0.13.0_1+app+python27 ---> Cleaning ompl ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found.
ompl.app works now. Thanks so much for helping out!
You are amazing!
comment:8 Changed 11 years ago by mamoll (Mark Moll)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Excellent! Thanks for sticking with it.
The errors occur in some Boost.Thread header files. Are Xcode and the corresponding command line tools up to date? I am afraid this is boost problem. It can be "fixed" by blacklisting old versions of clang. You can try explicitly specifying a compiler like so:
(You can change macports-clang-3.3 to macports-gcc-4.8 or some other compiler.)