[MacPorts] #30459: port upgrade installed not working after port selfupdate command
#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: ------------------------------------+--------------------------------------- I am running on a powerpc mac with OS 10.5 and Xcode 3.1.2. I typed port selfupdate which went fine and upgraded port from 1.9.2 to 2.0.0. But when I typed port upgrade outdated it failed on ncurses. I then tried port clean ncurses and then typed port upgrade ncurses but it still gave me an error. I then tried port upgrade installed and got the same error but for the m4 package. I am attaching the error log for the m4 build since both packages gave the same error. I'm trying to avoid uninstalling all my ports and reinstalling them. What might I try? -- Ticket URL: <https://trac.macports.org/ticket/30459> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 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`? -- Ticket URL: <https://trac.macports.org/ticket/30459#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: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`?
serra% port provides /opt/local/include/cstdarg /opt/local/include/cstdarg is not provided by a MacPorts port. So where did the file come from? Should I just delete it? I did a complete reinstall of macports and all port files in the spring when I upgraded from OS 10.4 to OS 10.5 on this machine. All was working great. I have no idea where this file came from... -- Ticket URL: <https://trac.macports.org/ticket/30459#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: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. -- Ticket URL: <https://trac.macports.org/ticket/30459#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#30459: port upgrade installed not working after port selfupdate command -------------------------------------+-------------------------------------- Reporter: serra@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: worksforme | Keywords: Port: | -------------------------------------+-------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => worksforme Comment: OK, closing. Glad you got it working. -- Ticket URL: <https://trac.macports.org/ticket/30459#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts