Opened 12 years ago

Last modified 12 years ago

#32071 closed defect

arrsync@0.4.1 install error buld failed — at Initial Version

Reported by: cnesko@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: arrsync

Description

Trying to install arrsync from macports and I'm getting the following error: Error: Target org.macports.build returned: shell command failed (see log for details)

From log:

info:build === BUILD NATIVE TARGET arRsync OF PROJECT arRsync WITH THE DEFAULT CONFIGURATION (Release) ===
:info:build Check dependencies
:info:build Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'.
:info:build [WARN]Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'.
:info:build 2011-11-15 14:52:28.639 xcodebuild[4690:3803] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
:info:build 2011-11-15 14:52:28.640 xcodebuild[4690:3803] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
:info:build 2011-11-15 14:52:28.640 xcodebuild[4690:3803] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
:info:build Ld build/Release/arRsync.app/Contents/MacOS/arRsync normal x86_64
:info:build     cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_arrsync/arrsync/work/arrsync-0.4.1
:info:build     setenv MACOSX_DEPLOYMENT_TARGET 10.7
:info:build     /Developer/usr/bin/gcc-4.2 -arch x86_64 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_arrsync/arrsync/work/arrsync-0.4.1/build/Release -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_arrsync/arrsync/work/arrsync-0.4.1/build/Release -filelist /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_arrsync/arrsync/work/arrsync-0.4.1/build/arRsync.build/Release/arRsync.build/Objects-normal/x86_64/arRsync.LinkFileList -mmacosx-version-min=10.7 -framework Cocoa /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_arrsync/arrsync/work/arrsync-0.4.1/SmartCrashReportsInstall.o -framework Carbon -framework CoreFoundation -framework Security -lz.1.2.3 -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_arrsync/arrsync/work/arrsync-0.4.1/build/Release/arRsync.app/Contents/MacOS/arRsync
:info:build 
:info:build ld: library not found for -lz.1.2.3
:info:build collect2: ld returned 1 exit status
:info:build Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
:info:build Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
:info:build ** BUILD FAILED **
:info:build 
:info:build 
:info:build The following build commands failed:
:info:build arRsync:
:info:build     Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_arrsync/arrsync/work/arrsync-0.4.1/build/Release/arRsync.app/Contents/MacOS/arRsync normal x86_64
:info:build (1 failure)
:info:build 
:info:build shell command "cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_arrsync/arrsync/work/arrsync-0.4.1" && /usr/bin/xcodebuild  -alltargets -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.7 ARCHS=x86_64 SDKROOT="" GCC_VERSION=4.2 " returned error 1
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:build Warning: the following items did not execute (for arrsync): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for arrsync is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_arrsync/arrsync/main.log

Seems like statically linked to the library version that is not existing. Suggested solution: http://stackoverflow.com/questions/7815174/ld-library-not-found-for-lz-1-2-3

Change History (0)

Note: See TracTickets for help on using tickets.