Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#42507 closed defect (fixed)

tbb build failure

Reported by: jwhowse4 Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: cooljeanius (Eric Gallager), ryandesign (Ryan Carsten Schmidt)
Port: tbb

Description

I am using an Intel Mac Pro running Mac OS 10.8.5 (Mountain Lion) with XCode 5.0.2. When I try to upgrade the port tbb to the latest version the build fails with the attached error log. Any suggestions for a fix?

Attachments (1)

tbb_main.log (48.1 KB) - added by jwhowse4 10 years ago.
Error log for tbb build

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by jwhowse4

Attachment: tbb_main.log added

Error log for tbb build

comment:1 Changed 10 years ago by cooljeanius (Eric Gallager)

Relevant part of log:

:info:destroot install_name_tool: changing install names or rpaths can't be redone for: /Volumes/User_Disk/opt/macports/var/macports/build/_Volumes_User_Disk_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_tbb/tbb/work/destroot/Volumes/User_Disk/opt/macports/lib/libtbb.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 -id /Volumes/User_Disk/opt/macports/lib/libtbb.dylib /Volumes/User_Disk/opt/macports/var/macports/build/_Volumes_User_Disk_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_tbb/tbb/work/destroot/Volumes/User_Disk/opt/macports/lib/libtbb.dylib
:info:destroot Exit code: 1

This looks like it is due to the install_name_tool hackery added to deal with the following upstream issue: http://software.intel.com/en-us/forums/topic/505370

(although tbb has no maintainer, you might want to cc Ryan on this, as he was the last one to touch it...)

comment:2 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Cc Me!

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

I was not able to reproduce this because I use the standard /opt/local prefix and I believe the problem only arises when your prefix is longer, but this should hopefully be fixed in r117085.

comment:5 in reply to:  4 Changed 10 years ago by jwhowse4

Replying to ryandesign@…:

I was not able to reproduce this because I use the standard /opt/local prefix and I believe the problem only arises when your prefix is longer, but this should hopefully be fixed in r117085.

That fixes the problem for me. Thanks much.

Last edited 10 years ago by jwhowse4 (previous) (diff)
Note: See TracTickets for help on using tickets.