Skip to content

does not compile on macOS #103

@ThomasWaldmann

Description

@ThomasWaldmann
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No fields configured for Bug.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions