Skip to content
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

failed to install on MacOS(sonoma) #75

Open
FreakinJay opened this issue Aug 15, 2024 · 0 comments
Open

failed to install on MacOS(sonoma) #75

FreakinJay opened this issue Aug 15, 2024 · 0 comments

Comments

@FreakinJay
Copy link

When attempting to install fuse-python via pip install fuse-python, I encountered the following error, which resulted in the installation failure. I have already installed FUSE using brew install --cask macfuse.

ENVIRONMENT

  • os : macos (m1, sonoma 14.4.1 (23E224))
  • python version : python3.10

ERROR MESSAGE

fuseparts/_fusemodule.c:1393:2: error: incompatible function pointer types assigning to 'int (*)(const char *, const char *, char *, size_t, uint32_t)' (aka 'int (*)(const char *, const char *, char *, unsigned long, unsigned int)') from 'int (const char *, const char *, char *, size_t)' (aka 'int (const char *, const char *, char *, unsigned long)') [-Wincompatible-function-pointer-types]
      DO_ONE_ATTR(getxattr);
      ^~~~~~~~~~~~~~~~~~~~~
fuseparts/_fusemodule.c:1363:2: note: expanded from macro 'DO_ONE_ATTR'
      DO_ONE_ATTR_AS(name, name)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
fuseparts/_fusemodule.c:1358:12: note: expanded from macro 'DO_ONE_ATTR_AS'
              op.fname = pyname ## _func;     \
                       ^ ~~~~~~~~~~~~~~~
fuseparts/_fusemodule.c:1395:2: error: incompatible function pointer types assigning to 'int (*)(const char *, const char *, const char *, size_t, int, uint32_t)' (aka 'int (*)(const char *, const char *, const char *, unsigned long, int, unsigned int)') from 'int (const char *, const char *, const char *, size_t, int)' (aka 'int (const char *, const char *, const char *, unsigned long, int)') [-Wincompatible-function-pointer-types]
      DO_ONE_ATTR(setxattr);
      ^~~~~~~~~~~~~~~~~~~~~
fuseparts/_fusemodule.c:1363:2: note: expanded from macro 'DO_ONE_ATTR'
      DO_ONE_ATTR_AS(name, name)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
fuseparts/_fusemodule.c:1358:12: note: expanded from macro 'DO_ONE_ATTR_AS'
              op.fname = pyname ## _func;     \
                       ^ ~~~~~~~~~~~~~~~
19 warnings and 2 errors generated.
error: command '/usr/bin/clang' failed with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant