Opened 10 years ago

Closed 10 years ago

#42491 closed defect (worksforme)

libgcc: fatal error: stdio.h: No such file or directory

Reported by: marcosmrs.silva@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: libgcc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi.
I'm trying to upgrade using the command "sudo port upgrade outdated" without success. Please see below the output:

user83:lib marcossilva$ sudo port upgrade outdated
--->  Computing dependencies for libgcc
--->  Building libgcc
Error: org.macports.build for port libgcc returned: command execution failed
Please see the log file for port libgcc for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
user83:lib marcossilva$ 

Please see attached file with the log.

Thank you.
Marcos

Attachments (1)

main.log (29.3 KB) - added by marcosmrs.silva@… 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by marcosmrs.silva@…

Attachment: main.log added

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

Description: modified (diff)
Owner: changed from macports-tickets@… to mww@…
Port: libgcc added
Priority: HighNormal
Summary: Fail to upgradelibgcc: fatal error: stdio.h: No such file or directory

The log you attached is incomplete. Usually we would ask you to clean and try again. However I suspect the new log would still say:

fatal error: stdio.h: No such file or directory

Does the file /usr/include/stdio.h in fact exist or not? If not, have you installed the Xcode command line tools? If not, please do, by running xcode-select --install.

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.