Repository navigation
does not compile on macOS #103
Copy link
Copy link
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Milestone
Description
- macOS 15
- pyfuse 3.4.0
- macFUSE 4.10.0 (first one with fuse3 support)
(pyfuse3-env) tw@MacBook-Pro pyfuse3 % python setup.py build_cython
found MANIFEST.in, running in developer mode
running build_cython
Using Cython version 3.0.11.
Compiling /Users/tw/w/pyfuse3/src/pyfuse3/__init__.pyx
(pyfuse3-env) tw@MacBook-Pro pyfuse3 % python setup.py build_ext --inplace
found MANIFEST.in, running in developer mode
running build_ext
building 'pyfuse3.__init__' extension
creating build
creating build/temp.macosx-15.0-arm64-cpython-311
creating build/temp.macosx-15.0-arm64-cpython-311/src
creating build/temp.macosx-15.0-arm64-cpython-311/src/pyfuse3
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -I/Users/tw/w/pyfuse3-env/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c src/pyfuse3/__init__.c -o build/temp.macosx-15.0-arm64-cpython-311/src/pyfuse3/__init__.o -I/usr/local/include/fuse3 -DFUSE_USE_VERSION=32 -Wall -Wextra -Wconversion -Wsign-compare -DPYFUSE3_VERSION=\"3.4.0\" -Wno-unused-function -Wno-implicit-fallthrough -Wno-unused-function -Wno-unused-parameter -Werror -Wfatal-errors -Wno-error=unreachable-code -Werror=conversion -Werror=sign-compare
src/pyfuse3/__init__.c:7897:88: fatal error: incompatible pointer types passing 'struct fuse_entry_param *' to parameter of type 'const struct fuse_darwin_entry_param *' [-Wincompatible-pointer-types]
7897 | __pyx_cur_scope->__pyx_v_ret = fuse_reply_entry(__pyx_cur_scope->__pyx_v_c->req, (&__pyx_cur_scope->__pyx_v_entry->fuse_param));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/fuse3/fuse_lowlevel.h:1478:2: note: passing argument to parameter here
1478 | fuse_reply_entry,
| ^
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed
Activity
ThomasWaldmann commentedon Mar 10, 2025
Note: until macFUSE was updated recently with fuse3 support, everybody was using fuse(2), thus pyfuse3 of course was never compiled or tested on macOS.
It would be good if it could be made working though because then sw could rather use pyfuse3 on macOS than llfuse.
Nikratio commentedon Mar 17, 2025
It's possible that just suppressing the warning (
Wincompatible-pointer-types) may make this work.. could you give it a shot?ThomasWaldmann commentedon Mar 17, 2025
@Nikratio thanks for the hint, this avoids the issue:
ThomasWaldmann commentedon Mar 17, 2025
Next issues:
there is no
syncfsinunistd.hon macOS.when running the tests:
There is no /proc on macOS.
ThomasWaldmann commentedon Sep 4, 2026
Another try in #153.