#30459: port upgrade installed not working after port selfupdate command ------------------------------------+--------------------------------------- Reporter: serra@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: ------------------------------------+--------------------------------------- Comment(by serra@…): Replying to [comment:3 serra@…]:
Replying to [comment:1 ryandesign@…]:
/opt/local/include/cstdarg:56: error: syntax error before ':' token
Where does that file come from? I don't have it on my system. What do you get when you run `port provides /opt/local/include/cstdarg`?
I looked at the cstdarg file and it appears to be associated with the gcc installation. THere is a directory in /opt/local/include called tr1 and the file is in this directory as well as in /opt/local/include. Not sure why port thinks it did not install it. It must have been installed with my gcc45 installation.
Hello again. I compared my installation of macports on this machine to one on another mac (intel, 10.6) and saw that /opt/local/include did not have the following: a bits directory, a tr1 directory (both full of C++ related files), a cstdarg file, or a stdarg.h file. I'm not sure where these came from but I removed them and am now rebuilding my ports. Seems to be going fine so far. I'm guessing these files and directories were installed by one of the gcc compiler installations I may have tried (I now use gcc45) as all are related to gnu C++. Just wanted to document it in case another person runs into this. I'm good for now. -- Ticket URL: <https://trac.macports.org/ticket/30459#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS