Opened 11 years ago

Closed 11 years ago

#36922 closed defect (worksforme)

re2: install_name_tool: object: libre2.0.dylib malformed object (unknown load command 4)

Reported by: ayush.g@… Owned by: humem (humem)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: re2

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

The log for the error:

...

CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8'
:debug:destroot Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/re2-20111209-d49d9934b9aa" && /usr/bin/make -w install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/destroot'
:debug:destroot Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/re2-20111209-d49d9934b9aa" && /usr/bin/make -w install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/destroot 
:info:destroot make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/re2-20111209-d49d9934b9aa'
:info:destroot mkdir -p /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/destroot/opt/local/include/re2 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/destroot/opt/local/lib
:info:destroot install -m 644 re2/filtered_re2.h re2/re2.h re2/set.h re2/stringpiece.h re2/variadic_function.h  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/destroot/opt/local/include/re2
:info:destroot install obj/libre2.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/destroot/opt/local/lib/libre2.a
:info:destroot install obj/dylib/libre2.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/destroot/opt/local/lib/libre2.0.0.0.dylib
:info:destroot ln -sf libre2.0.0.0.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/destroot/opt/local/lib/libre2.0.dylib
:info:destroot ln -sf libre2.0.0.0.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/destroot/opt/local/lib/libre2.dylib
:info:destroot make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/re2-20111209-d49d9934b9aa'
:debug:destroot Executing proc-post-org.macports.destroot-destroot-0
:info:destroot install_name_tool: object: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/destroot/opt/local/lib/libre2.0.dylib malformed object (unknown load command 4)
:info:destroot Command failed: install_name_tool -id /opt/local/lib/libre2.0.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/destroot/opt/local/lib/libre2.0.dylib
:info:destroot Exit code: 1
:error:destroot org.macports.destroot for port re2 returned: command execution failed
:debug:destroot Error code: NONE
:debug:destroot Backtrace: command execution failed
    while executing
"$post $targetname"
:info:destroot Warning: targets not executed for re2: org.macports.activate org.macports.destroot org.macports.install
:notice:destroot Please see the log file for port re2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/main.log

Change History (2)

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

Description: modified (diff)
Keywords: re2 port removed
Owner: changed from macports-tickets@… to hum@…
Priority: HighNormal
Summary: port re2 - command execution failedre2: install_name_tool: object: libre2.0.dylib malformed object (unknown load command 4)

install_name_tool: object: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/destroot/opt/local/lib/libre2.0.dylib malformed object (unknown load command 4)

This error usually means your install_name_tool command is too old for your operating system. You appear to be on Mountain Lion, which means you must be running Xcode 4.4 or later. If not, upgrade Xcode, which you can do from the Mac App Store or Apple Developer Connection web site. In these versions of Xcode, command line tools must be installed separately, from within the Xcode application, in the Preferences window, in the Downloads section. Please go there and ensure the command line tools are installed and up to date.

comment:2 Changed 11 years ago by humem (humem)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.