Hey ! I am trying to find ways to use git annex as a tool to share big binary files for our development projects (such as PSD files). Our team has artists that will not use command line tools so I have been testing git-annex assistant with a lot of hope. However all the tests I am doing are just failing. °.° '
in this thread I would like to focus on what would seem to me as an easy first approach : local pairing.
So my team and I are on mac. I am just trying to sync 2 computers on the same network. But the process is stuck on the "local pairing in process" step, just after I enter the secret phrase.
I have enabled sshd (preferences -> remote login) on both computers, checked the firewall to authorize git-annex, so I am probably missing something here. the logs on my computer does not say anything usefull ([2013-12-04 22:04:34 CET] main: Pairing in progress) but on the other computer I have this :
git-annex: ssh-keygen failed [2013-12-04 22:04:33 CET] PairListener: utku@MacBook-Air-de-utku.local:~/Documents/git-test is sending a pair request. dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk Referenced from: /Applications/git-annex.app/Contents/MacOS/bundle/ssh-keygen Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ___strlcpy_chk Referenced from: /Applications/git-annex.app/Contents/MacOS/bundle/ssh-keygen Expected in: /usr/lib/libSystem.B.dylib
git-annex: ssh-keygen failed
Don't know if that helps. I don't know which info I need to provide.
cheers
hello both computers are on mac os maverick latest version of git annex, and we used the git annex assistant dmg found on the install section... I am on a personnal home router so I don't think there is any port that might be blocked by a firewall for local connections...
It's not a firewall or network problem, what you pasted earlier shows that the ssh-keygen command bundled in the git annex dmg is trying to use a symbol that is not present in your libSystem library.
I am puzzled why ssh-keygen apparently works on one of your macs and not on the other, if they indeed both have the same build of git-annex installed.
Please paste output of
otool -L /Applications/git-annex.app/Contents/MacOS/bundle/ssh-keygen
on the mac with the problem.so as I don't really know which mac has a problem, here is what I get on both computers (looks they are quite the same):
/Applications/git-annex.app/Contents/MacOS/bundle/ssh-keygen: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 855.0.0) /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos (compatibility version 5.0.0, current version 6.0.0) /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 55456.0.0) @executable_path/O (compatibility version 1.0.0, current version 1.0.0) @executable_path/P (compatibility version 3.0.0, current version 3.0.0) @executable_path/B (compatibility version 1.0.0, current version 1.2.5) @executable_path/L (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
/Applications/git-annex.app/Contents/MacOS/bundle/ssh-keygen: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 855.0.0) /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos (compatibility version 5.0.0, current version 6.0.0) /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 55456.0.0) @executable_path/O (compatibility version 1.0.0, current version 1.0.0) @executable_path/P (compatibility version 3.0.0, current version 3.0.0) @executable_path/B (compatibility version 1.0.0, current version 1.2.5) @executable_path/L (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
Well, I was wrong, we don't know only one of the 2 has the problem. The other one will probably not have run ssh-keygen yet.
Can you run
/Applications/git-annex.app/Contents/MacOS/bundle/ssh-keygen --help
on both of them and see if it manages to print its help, or fails with an error?ok so it is ok on my computer, but here is what I got on the other one : dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk Referenced from: /Applications/git-annex.app/Contents/MacOS/bundle/ssh-keygen Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ___strlcpy_chk Referenced from: /Applications/git-annex.app/Contents/MacOS/bundle/ssh-keygen Expected in: /usr/lib/libSystem.B.dylib
Trace/BPT trap: 5
So it does only fail on one machine and not the other. I wonder what is different?
Can you also try running
/Volumes/git-annex/git-annex.app/Contents/MacOS/bundle/cp
on both? (I think it uses the same symbol.)you mean /Applications/git-annex.app/Contents/MacOS/bundle/cp ?
on both computers it prints : usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory
/Volumes/git-annex/git-annex.app/Contents/MacOS/bundle/cp doesn't work
unfortunately, it is not working on the computer where ssh was not working I click an got annex and nothing seems to open I try to go on the system logs but I see nothing really obvious. The only log that may be related would be : 15/12/13 10:46:23,230 Dock[166]: find_shared_window: WID 21425 15/12/13 10:46:23,230 Dock[166]: CGSGetWindowTags: Invalid window 0x53b1
if you tell me where to look at I can give you something more useful.