Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#32570 closed defect (fixed)

llvm: sh: install_name_tool: not found

Reported by: rudloff@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: linux Cc: erickt@…, mfeiri, jeremyhu (Jeremy Huddleston Sequoia)
Port: llvm, llvm-2.9, llvm-3.0, llvm-3.1

Description

I cannot install llvm on Ubuntu:

DEBUG: Executing proc-post-org.macports.destroot-destroot-0
sh: install_name_tool: not found
shell command "install_name_tool -id /opt/local/lib/BugpointPasses.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm/llvm/work/destroot/opt/local/lib/BugpointPasses.dylib" returned error 127
Error: Target org.macports.destroot returned: shell command failed (see log for details)
DEBUG: Backtrace: shell command failed (see log for details)
Warning: the following items did not execute (for llvm): org.macports.activate org.macports.destroot org.macports.install
Error: Failed to install llvm
DEBUG: could not read "/opt/local/share/man/man3/ffi_prep_cif.3.gz": no such file or directory

It tries to use install_name_tool which is OSX only.

Attachments (1)

main.log (296.2 KB) - added by rudloff@… 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by rudloff@…

Attachment: main.log added

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

Cc: jeremyhu@… added
Port: llvm-2.9 llvm-3.0 llvm-3.1 added

The llvm port is about to be replaced by the llvm-3.0 port, but it has the same issue. We could limit that code to a platform darwin block.

comment:2 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

r88038, but I don't know if there ports will work on whatever platform you're using. You'll probably run into other issues (please report them, so we can fix them)

comment:3 Changed 13 years ago by rudloff@…

It works, thanks!

Note: See TracTickets for help on using tickets.