-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation fails on OSX 10.9, OSXFuse 2.6.2 and bindfs 1.12.3 #6
Comments
Compilation succeeded with 1.12.2.
|
1.12.2 will most likely work fine despite those warnings. I'll fix these the next time I have access to a mac and some free time, which is probably in a month or so. Looks mostly like missing headers. A quick google suggests OS X doesn't have Thanks for reporting! |
btw. I have successfully installed bindfs 1.12 with http://brew.sh |
Same issue for me, 1.12.3 compilation fails on OS X 10.9.2; but 1.12.2 works fine. |
I may have found out the cause, but don't know how best to fix it. Specifically the error is due to missing symbol I can confirm the problem is solved by reverting this commit. Should anyone wish to verify on OSX, use this branch of my fork hanxue@88024be Avoiding utimens for *BSDsThis issue is not unique to +#ifndef __FreeBSD__
int res = utimensat(0, p, ts, AT_SYMLINK_NOFOLLOW);
+#else
+ struct timeval tv[2];
+ tv[0].tv_sec = ts[0].tv_sec;
+ tv[0].tv_usec = ts[0].tv_nsec*1000;
+ tv[1].tv_sec = ts[1].tv_sec;
+ tv[1].tv_usec = ts[1].tv_nsec*1000;
+ int res= utimes(p,tv);
+#endif Another example is from the Gluster project https://bugzilla.redhat.com/show_bug.cgi?id=919916 Suggested SolutionsEither
I cannot figure out the reason for switching to fuse_utimens from the git commits; the maintainer(s) will be better positioned to decide which solution. |
I have written a patch to remove fuse utimens dependency for OSX hanxue@e130b9a Do you want to give it a try @gcrofils @Noctem ? The patch will also need to be tested on no-OSX platforms (e.g. Linux) |
Thanks @hanxue for the investigation and patches. Could you (or someone) please test the latest master on OS X? |
Excellent! Running the test suite |
I tried running tests and there are some failures, I'll take a look if I can fix those. |
Here are the contents of test-suite log:
However, over the past month that I've been using the master version I haven't had any issues using or compiling this. Also, I backported the patches to make 1.12.3 compile in Homebrew here: Homebrew/legacy-homebrew@67288d0. And I'll remove that when a new release is made. |
Thanks, I released 1.12.4 for now and left myself a note about investigating Travis's OS X VMs |
Great, thank you. I cleaned up that Homebrew formula accordingly. (Homebrew/legacy-homebrew#29893) |
After a fresh install of OSXFuse, I tried to install the latest version of bindfs. Unfortunately compilation is failing with
3 warnings and 1 error generated
.Any idea?
The text was updated successfully, but these errors were encountered: