[MacPorts] #42491: libgcc: fatal error: stdio.h: No such file or directory (was: Fail to upgrade)
MacPorts
noreply at macports.org
Thu Feb 13 05:32:49 PST 2014
#42491: libgcc: fatal error: stdio.h: No such file or directory
--------------------------------+-------------------
Reporter: marcosmrs.silva@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: libgcc |
--------------------------------+-------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => mww@…
* priority: High => Normal
* port: => libgcc
Old description:
> 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
New description:
Hi. [[br]]
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. [[br]]
Marcos
--
Comment:
The log you attached is incomplete.
Usually we would ask you to
[http://guide.macports.org/chunked/project.html#project.tickets.prerequisites
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`.
--
Ticket URL: <https://trac.macports.org/ticket/42491#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list