Opened 13 years ago

Closed 13 years ago

#30459 closed defect (worksforme)

port upgrade installed not working after port selfupdate command

Reported by: serra@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: Cc:
Port:

Description

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?

Attachments (1)

main.log (5.9 KB) - added by serra@… 13 years ago.
log file for m4 build

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by serra@…

Attachment: main.log added

log file for m4 build

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

/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?

comment:2 in reply to:  1 Changed 13 years ago by serra@…

Replying to 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...

comment:3 in reply to:  1 ; Changed 13 years ago by serra@…

Replying to 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.

comment:4 in reply to:  3 Changed 13 years ago by serra@…

Replying to serra@…:

Replying to 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.

comment:5 Changed 13 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

OK, closing. Glad you got it working.

Note: See TracTickets for help on using tickets.