#51288: py27-astropy @1.0.4_0 Building Error: command execution failed --------------------------------+-------------------------- Reporter: alison.mansheim@… | Owner: robitaille@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | --------------------------------+-------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => robitaille@… Comment: Replying to [ticket:51288 alison.mansheim@…]:
I had a problem when updating my ports and went down a rabbit hole indicating the c compiler was the problem,
What error message did you receive, specifically?
so I switched compilers,
How did you do this? Using `sudo port select gcc ...` or something else?
and the immediate problem went away
If any port builds differently depending on what or whether or not you `sudo port select`ed, that's a bug in that port that needs to be fixed. Ports should always build using the same MacPorts-determined compiler, though that can vary based on Xcode version and OS X version.
but now I can't get through port upgrade outdated without an error. The compiler may not be the problem here, but in case it is, I wanted to give that background. First I have pasted the error from the terminal after typing sudo port upgrade outdated. Below that I pasted the end of the main.log. I attached the entire main.log. Thank you for your help!!!:
The log is not from a [https://guide.macports.org/chunked/project.html#project.tickets clean build attempt]. Please `sudo port clean py27-astropy`, then try again. -- Ticket URL: <https://trac.macports.org/ticket/51288#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X