Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#42699 closed defect (fixed)

clang-3.5: fails in destroot "Command failed: install_name_tool -change..."

Reported by: skymoo (Adam Mercer) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: clang-3.5

Description

clang-3.5 is failing in the destroot phase, on Mavericks, with the following:

:info:destroot install_name_tool: changing install names or rpaths can't be redone for: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/destroot/opt/local/libexec/llvm-3.5/lib/libclang.dylib (for architecture x86_64) because larger updated load commands do not fit (the program must be relinked, and you may need to use -headerpad or -headerpad_max_install_names)
:info:destroot Command failed: install_name_tool -change @rpath/libLLVM-3.5svn.dylib /opt/local/libexec/llvm-3.5/lib/libLLVM-3.5svn.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/destroot/opt/local/libexec/llvm-3.5/lib/libclang.dylib

full build log is attached.

Attachments (1)

main.log.xz (321.6 KB) - added by skymoo (Adam Mercer) 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by skymoo (Adam Mercer)

Attachment: main.log.xz added

comment:1 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

base trunk adds -headerpad_max_install_names, so that should do the trick.

comment:2 Changed 11 years ago by skymoo (Adam Mercer)

But that isn't included in a release yet...

comment:3 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

And clang-3.5 isn't released yet either.

comment:4 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Feel free to commit a change directly to the llvm-3.5 port to add headerpad_max_install_names.

Note: See TracTickets for help on using tickets.