Opened 12 years ago

Last modified 12 years ago

#36391 closed defect

llvm-3.1, installation, command execution failed — at Version 1

Reported by: annelyse.thevenin@… Owned by: jeremyhu@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: llvm-3.1

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

I am in Moutain Lion (since few days), I am a beginner in mac. I want to install some ports (R, gcc, ...) which need llvm-3.1.

The first time I wanted to install llvm-3.1 (directly or by the installation of R) I had this message:

Error: No valid Xcode installation is properly selected.
Error: Please use xcode-select to select an Xcode installation:
Error:     sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer # version 

After check if "/Applications/Xcode.app/Contents/Developer" exists, I write the sudo command suggested.

But I have an other message error (after sudo port clean llvm-3.1 and sudo port install llvm-3.1):

[...]
--->  Building llvm-3.1
Error: org.macports.build for port llvm-3.1 returned: command execution failed
Please see the log file for port llvm-3.1 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.1/llvm-3.1/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port llvm-3.1 failed

I put the main.log file in attachment.

Like suggested in wiki:ProblemHotlist#compiler I tried with foo=llvm-3.1:

sudo port clean foo
sudo port install foo configure.compiler=llvm-gcc-4.2

then

sudo port clean foo
sudo port install apple-gcc42
sudo port install foo configure.compiler=apple-gcc-4.2

It is doesn't work.

Could you help me?

Change History (1)

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

Description: modified (diff)
Keywords: llvm install removed
Owner: changed from macports-tickets@… to jeremyhu@…

You're not supposed to literally type "foo"; it's a placeholder word, to be replaced with whatever port you're having trouble compiling with clang—in this case "llvm-3.1". However, in this case, you don't need to pursue this further, since we already know that llvm-3.1 should build just fine with clang; the problem is something else.

Your log contains the words "Skipping completed", which mean this was not a clean attempt. Please run "sudo port clean llvm-3.1" and then try again, and attach the new main.log if it fails again.

Note: See TracTickets for help on using tickets.