Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#42674 closed defect (invalid)

Error: org.macports.build for port gcc48 returned: command execution failed

Reported by: meisong541@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: gcc48

Description

I try to install openmpi-default. As it installs gcc48, it fails.

I tried to update the method in FAQ. I cleaned gcc48 and re-install it. It didn't work.

Attachments (3)

main.log (31.1 KB) - added by meisong541@… 11 years ago.
main.2.log (5.2 MB) - added by Limbo999 (Franziska Wegner) 9 years ago.
Main log El Capitan 10.11
mainLuigi.log (5.3 MB) - added by luigi.pertoldi@… 9 years ago.
Log File

Change History (7)

Changed 11 years ago by meisong541@…

Attachment: main.log added

comment:1 Changed 11 years ago by meisong541@…

Cc: meisong541@… added

Cc Me!

comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: meisong541@… removed
Keywords: gcc48 fail to build removed
Resolution: invalid
Status: newclosed
:info:build The directory that should contain system headers does not exist:
:info:build   /usr/include

As per the Guide, you need to install the Xcode command tools using xcode-select --install. This will install the system headers into /usr/include.

comment:3 Changed 9 years ago by Limbo999 (Franziska Wegner)

As you may see below, the command line tool does not provide the issue, because for me it was already installed. I am running El Capitan (Mac OS 10.11) and have the same issue.

Error: org.macports.build for port gcc48 returned: command execution failed
Error: Failed to install gcc48
Please see the log file for port gcc48 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/gcc48/main.log
Error: The following dependencies were not installed: gcc48 pango Xft2
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port R failed
$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
Version 0, edited 9 years ago by Limbo999 (Franziska Wegner) (next)

Changed 9 years ago by Limbo999 (Franziska Wegner)

Attachment: main.2.log added

Main log El Capitan 10.11

comment:4 Changed 9 years ago by luigi.pertoldi@…

Same problem here as franziska.wegner@… with El Capitan (10.11):

Error: org.macports.build for port gcc48 returned: command execution failed

Changed 9 years ago by luigi.pertoldi@…

Attachment: mainLuigi.log added

Log File

Note: See TracTickets for help on using tickets.