Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

csync formula fails to run #18368

Closed
apetresc opened this Issue · 11 comments

4 participants

@apetresc

I built csync on essentially a brand new system. This is the brew doctor output:

Warning: Your file-system on / appears to be CaSe SeNsItIvE.
Homebrew is less tested with that - don't worry but please report issues.

The binary appears to work for local syncing (between two files on the same fs)

When trying to run csync on a remote FTP location, however, it fails immediately with:

csync_init: No such file or directory

This happens immediately, far too quickly for it to have actually attempted to connect to the remote system.

I Google'd around a bit, and it appears to be a packaging issue, so I'm reporting it here rather than upstream.

Let me know if you need any more details!

@adamv
Owner

csync doesn't build for me on 10.6:

[ 96%] Building C object client/CMakeFiles/csync_client.dir/csync_client.c.o
/tmp/csync-pnRU/csync-0.49.9/modules/csync_smb.c: In function ‘_utimes’:
/tmp/csync-pnRU/csync-0.49.9/modules/csync_smb.c:399: error: passing argument 2 of ‘smbc_utimes’ from incompatible pointer type
@apetresc

Oh, that reminds me, I should specify: I'm on OS X 10.8.2 with Xcode 4.6.

@adamv
Owner

Flagging as an upstream issue; the version of samba we package is probably not compatible with this. It looks like head makes samba optional; do you need samba features?

@mistydemeo
Owner

We can't upgrade samba since 4.x is still broke on OS X, so we'll need to disable samba.

@adamv
Owner

0.50.0 was released recently; csync should be updated

@adamv
Owner

Going to 0.50.0 on Snow Leopard gives me:

brew: superenv removed: -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute
/tmp/csync-h9Un/csync-0.50.0/src/std/c_string.c:55: error: thread-local storage not supported for this target
make[3]: *** [src/std/CMakeFiles/cstdlib.dir/c_string.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [src/std/CMakeFiles/cstdlib.dir/all] Error 2
make[1]: *** [src/CMakeFiles/csync.dir/rule] Error 2
@adamv adamv was assigned
@adamv
Owner

Need to add at least depends_on :macos => :lion here; but should we redact this? Move to boneyard?

@adamv
Owner

Marking this for removal

@adamv
Owner

Updated to a newer samba, and posted a PR for a newer csync in #24337.

I don't use this software personally, so if someone wanted test it that would be appreciated.

@adamv adamv was assigned
@adamv
Owner

Updated samba and csync; please brew update, then brew doctor and fix any issue and try the new versions of this software.

If problems persist, add new troubleshooting information to this ticket, or open a new one.

@adamv adamv closed this
@JoshTheGeek

http://www.csync.org/archive/csync-devel/2011-05/0000003.html - there is no FTP support built-in

Edit: a workaround is to mount the FTP server w/ Finder and csync the local directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.