Comments (29)
GUYS, YOU DID IT!!!
I got only a small error about any core is missing, but it was probably my fault. I reinstalled macFuse and forgot to add permissions in settings and restart Mac. But I did it now and GUYS IT WORKING!!!
Thank you so much, everyone ❤️.
from homebrew-fuse.
Hacky solution you can put in the formula:
(buildpath/"hack").install_symlink "/usr/local/include", "/usr/local/lib"
ENV.append "CPPFLAGS", "-I#{buildpath}/hack/include"
ENV.append "LDFLAGS", "-L#{buildpath}/hack/lib"
from homebrew-fuse.
Please show the output of:
find /usr/local /opt/homebrew -name fuse_lowlevel.h
from homebrew-fuse.
I got this:
/usr/local/include/fuse/fuse_lowlevel.h
from homebrew-fuse.
Weird. This error:
clang -DHAVE_CONFIG_H -I. -I.. -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I../include/ntfs-3g -DPLUGIN_DIR="/opt/homebrew/Cellar/ntfs-3g-mac/2017.3.23/lib/ntfs-3g" -g -O2 -Wall -c -o lowntfs_3g-lowntfs-3g.o test -f 'lowntfs-3g.c' || echo './'lowntfs-3g.c
lowntfs-3g.c:31:10: fatal error: 'fuse_lowlevel.h' file not found
#include <fuse_lowlevel.h>
^~~~~~~~~~~~~~~~~
shouldn't be happening then. What's the output of:
ls -lL /usr/local/include/fuse/fuse_lowlevel.h
? Also please run brew gist-logs ntfs-3g-mac
and post the URL it returns.
from homebrew-fuse.
Output is:
-rw-r--r-- 1 root wheel 56319 Jun 12 18:09 /usr/local/include/fuse/fuse_lowlevel.h
The second command has an error: Not found
from homebrew-fuse.
-rw-r--r-- 1 root wheel 56319 Jun 12 18:09 /usr/local/include/fuse/fuse_lowlevel.h
OK, that's at least the right size.
The second command has an error: Not found
Try running brew install ntfs-3g-mac
again, then brew gist-logs ntfs-3g.mac
when the install fails. If brew gist-logs
gives you a "Not found" again, show me the output of:
ls -l ~/Library/Logs/Homebrew/
from homebrew-fuse.
Failed again.
This is what i got:
total 0
drwxr-xr-x 2 vojta staff 64 Jun 16 15:53 aom
drwxr-xr-x 2 vojta staff 64 Jun 13 20:25 bdw-gc
drwxr-xr-x 2 vojta staff 64 Jun 11 18:37 brotli
drwxr-xr-x 2 vojta staff 64 Jun 11 18:37 c-ares
drwxr-xr-x 17 vojta staff 544 Jun 16 15:53 docbook
drwxr-xr-x 30 vojta staff 960 Jun 16 15:53 docbook-xsl
drwxr-xr-x 3 vojta staff 96 Jun 16 15:53 fontconfig
drwxr-xr-x 2 vojta staff 64 Jun 16 15:53 freetype
drwxr-xr-x 2 vojta staff 64 Jun 12 13:02 gdbm
drwxr-xr-x 2 vojta staff 64 Jun 11 18:17 gettext
drwxr-xr-x 2 vojta staff 64 Jun 16 15:53 ghostscript
drwxr-xr-x 2 vojta staff 64 Jun 11 18:17 git
drwxr-xr-x 2 vojta staff 64 Jun 13 20:25 glib
drwxr-xr-x 2 vojta staff 64 Jun 13 20:25 gmp
drwxr-xr-x 2 vojta staff 64 Jun 16 15:53 gnu-getopt
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 gnutls
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 guile
drwxr-xr-x 3 vojta staff 96 Jun 11 18:18 heroku
drwxr-xr-x 3 vojta staff 96 Jun 11 18:18 heroku-node
drwxr-xr-x 2 vojta staff 64 Jun 12 13:02 htop
drwxr-xr-x 2 vojta staff 64 Jun 11 18:37 icu4c
drwxr-xr-x 2 vojta staff 64 Jun 16 15:54 imagemagick
drwxr-xr-x 2 vojta staff 64 Jun 16 15:54 imath
drwxr-xr-x 2 vojta staff 64 Jun 16 15:53 jbig2dec
drwxr-xr-x 2 vojta staff 64 Jun 11 18:37 jemalloc
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 jpeg
drwxr-xr-x 2 vojta staff 64 Jun 16 15:53 libde265
drwxr-xr-x 2 vojta staff 64 Jun 11 18:37 libev
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 libevent
drwxr-xr-x 2 vojta staff 64 Jun 13 20:25 libffi
drwxr-xr-x 3 vojta staff 96 Jun 16 15:53 libheif
drwxr-xr-x 2 vojta staff 64 Jun 16 15:53 libidn
drwxr-xr-x 2 vojta staff 64 Jun 12 13:01 libidn2
drwxr-xr-x 2 vojta staff 64 Jun 16 15:54 liblqr
drwxr-xr-x 2 vojta staff 64 Jun 16 15:54 libomp
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 libpng
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 libslirp
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 libssh
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 libtasn1
drwxr-xr-x 2 vojta staff 64 Jun 16 15:53 libtiff
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 libtool
drwxr-xr-x 2 vojta staff 64 Jun 12 13:01 libunistring
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 libusb
drwxr-xr-x 2 vojta staff 64 Jun 11 18:37 libuv
drwxr-xr-x 2 vojta staff 64 Jun 12 13:03 libzip
drwxr-xr-x 2 vojta staff 64 Jun 16 15:53 little-cms2
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 lzo
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 m4
drwxr-xr-x 2 vojta staff 64 Jun 12 13:02 mpdecimal
drwxr-xr-x 2 vojta staff 64 Jun 12 12:55 ncdu
drwxr-xr-x 2 vojta staff 64 Jun 12 13:02 ncurses
drwxr-xr-x 2 vojta staff 64 Jun 16 15:54 neofetch
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 nettle
drwxr-xr-x 2 vojta staff 64 Jun 11 18:37 nghttp2
drwxr-xr-x 2 vojta staff 64 Jun 12 13:02 nmap
drwxr-xr-x 2 vojta staff 64 Jun 11 18:37 node
drwxr-xr-x 8 vojta staff 256 Jun 28 13:10 ntfs-3g-mac
drwxr-xr-x 2 vojta staff 64 Jun 16 15:54 openexr
drwxr-xr-x 2 vojta staff 64 Jun 16 15:53 openjpeg
drwxr-xr-x 2 vojta staff 64 Jun 11 18:37 [email protected]
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 p11-kit
drwxr-xr-x 2 vojta staff 64 Jun 13 20:25 pcre
drwxr-xr-x 2 vojta staff 64 Jun 11 18:17 pcre2
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 pixman
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 pkg-config
drwxr-xr-x 4 vojta staff 128 Jun 12 13:02 [email protected]
drwxr-xr-x 2 vojta staff 64 Jun 13 20:27 qemu
drwxr-xr-x 2 vojta staff 64 Jun 12 13:02 readline
drwxr-xr-x 2 vojta staff 64 Jun 12 13:02 rtmpdump
drwxr-xr-x 2 vojta staff 64 Jun 16 15:54 screenresolution
drwxr-xr-x 3 vojta staff 96 Jun 16 15:53 shared-mime-info
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 snappy
drwxr-xr-x 2 vojta staff 64 Jun 12 13:03 speedtest-cli
drwxr-xr-x 2 vojta staff 64 Jun 12 13:02 sqlite
drwxr-xr-x 2 vojta staff 64 Jun 12 13:03 tldr
drwxr-xr-x 2 vojta staff 64 Jun 12 13:01 tree
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 unbound
drwxr-xr-x 2 vojta staff 64 Jun 13 20:26 vde
drwxr-xr-x 2 vojta staff 64 Jun 16 15:54 webp
drwxr-xr-x 2 vojta staff 64 Jun 12 13:01 wget
drwxr-xr-x 2 vojta staff 64 Jun 12 13:03 wifi-password
drwxr-xr-x 2 vojta staff 64 Jun 16 15:53 x265
drwxr-xr-x 2 vojta staff 64 Jun 16 15:53 xmlto
drwxr-xr-x 2 vojta staff 64 Jun 12 13:02 xz
drwxr-xr-x 2 vojta staff 64 Jun 12 13:02 you-get
from homebrew-fuse.
Pro Tip: Use triple backticks (```) to enclose multiple lines of output. Single backticks (`) will squeeze everything together. I've fixed that for you above.
Anyway, the ntfs-3g-mac
dir clearly exists, so brew gist-logs ntfs-3g-mac
should've succeeded. What's the output of:
brew gist-logs --debug --verbose ntfs-3g-mac
?
from homebrew-fuse.
/opt/homebrew/Library/Homebrew/shims/scm/git --version
/usr/bin/curl --version
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.2.0-61-gaa14e48\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 11.4\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location https://api.github.com/gists --header Accept:\ application/vnd.github.v3\+json --write-out '
'\%\{http_code\} --header Accept:\ application/vnd.github.antiope-preview\+json --header Authorization:\ token\ ****** --data @/private/tmp/github_api_post20210628-23768-kcmiu1 --dump-header /private/tmp/github_api_headers20210628-23768-1fyj590
Error: Not Found
/opt/homebrew/Library/Homebrew/utils/github/api.rb:301:in `raise_error'
/opt/homebrew/Library/Homebrew/utils/github/api.rb:234:in `open_rest'
/opt/homebrew/Library/Homebrew/utils/github.rb:36:in `create_gist'
/opt/homebrew/Library/Homebrew/cmd/gist-logs.rb:66:in `gistify_logs'
/opt/homebrew/Library/Homebrew/cmd/gist-logs.rb:116:in `gist_logs'
/opt/homebrew/Library/Homebrew/brew.rb:122:in `<main>```
from homebrew-fuse.
OK, that's a different problem. You need to create a GitHub access token to allow brew
to create gists programmatically. When you get to step 7 in the link above, just select the gist
and public_repo
scopes.
Then, when you get your token (a long string of gibberish), copy it somewhere safe (because you can't retrieve it again), then:
export HOMEBREW_GITHUB_API_TOKEN=<your_token>
and run brew gist-logs ntfs-3g-mac
again.
from homebrew-fuse.
https://gist.github.com/862961ea7fc54bde40a3a717ea4da21e
from homebrew-fuse.
Hmm, comparing your Gist logs with mine (Intel Big Sur build) don't show any differences worth noting.
Going back to:
-rw-r--r-- 1 root wheel 56319 Jun 12 18:09 /usr/local/include/fuse/fuse_lowlevel.h
Directory ownerships might be an issue. What does ls -ld /usr/local /usr/local/include /usr/local/include/fuse
output?
from homebrew-fuse.
drwxr-xr-x 15 root wheel 480 Jun 27 17:21 /usr/local
drwxrwxr-x 4 vojta staff 128 Jun 27 17:21 /usr/local/include
drwxr-xr-x 9 vojta staff 288 Jun 27 17:21 /usr/local/include/fuse
from homebrew-fuse.
Something's not making sense here. What's the output of:
ls -lR /usr/local/include/fuse*
md5sum /usr/local/include/fuse.h /usr/local/include/fuse/*
Also, which version of macFUSE did you install, and how did you install it?
from homebrew-fuse.
I have tried to install it on macfuse 4.1.2 installed by brew and then with the same issue on macfuse 4.2.0 upgraded by system to beta version.
Here is the output:
-rw-r--r-- 1 root wheel 246 Jun 12 18:09 /usr/local/include/fuse.h
/usr/local/include/fuse:
total 280
-rw-r--r-- 1 root wheel 37962 Jun 12 18:09 fuse.h
-rw-r--r-- 1 root wheel 15272 Jun 12 18:09 fuse_common.h
-rw-r--r-- 1 root wheel 714 Jun 12 18:09 fuse_common_compat.h
-rw-r--r-- 1 root wheel 8129 Jun 12 18:09 fuse_compat.h
-rw-r--r-- 1 root wheel 56319 Jun 12 18:09 fuse_lowlevel.h
-rw-r--r-- 1 root wheel 6929 Jun 12 18:09 fuse_lowlevel_compat.h
-rw-r--r-- 1 root wheel 7477 Jun 12 18:09 fuse_opt.h
1b253c64883a7e7cba57f093486fba32 /usr/local/include/fuse.h
2195e4d37e9545289283720b3a60e4ab /usr/local/include/fuse/fuse.h
edde41c59124604002b4d132c8d8bbb5 /usr/local/include/fuse/fuse_common.h
f65bc51636e2f2450069b958c48deb07 /usr/local/include/fuse/fuse_common_compat.h
04f7b8ccb25e2df5a7741653b6b1d850 /usr/local/include/fuse/fuse_compat.h
d415cd3f5a1ce04fe2e8f3e4eb45df42 /usr/local/include/fuse/fuse_lowlevel.h
d1b3aba04326eddd18695ff7d3eb2ac1 /usr/local/include/fuse/fuse_lowlevel_compat.h
b8ac404bd7cd094f25ea5320ed0d3127 /usr/local/include/fuse/fuse_opt.h
from homebrew-fuse.
Curiouser and curiouser.
Anyway, since I don't have an M1 box, I've written a simple FUSE test script that tries to build three official FUSE 2.x examples. Please run the following, then post the output:
brew update
brew test-fuse
from homebrew-fuse.
Ok
I had to make some permissions so I hope, that you didn't hack my PC.
Here is the output: ```
Info: Checking for FUSE installation
pkgutil --pkg-info io.macfuse.installer.components.core
package-id: io.macfuse.installer.components.core
version: 4.2.0
volume: /
location: /
install-time: 1624807307
pkgutil --lsbom io.macfuse.installer.components.core
.
./Library
./Library/Filesystems
./Library/Filesystems/macfuse.fs
./Library/Filesystems/macfuse.fs/Contents
./Library/Filesystems/macfuse.fs/Contents/Extensions
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.10
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.11
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.11/macfuse.kext
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.11/macfuse.kext/Contents
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.11/macfuse.kext/Contents/Info.plist
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.11/macfuse.kext/Contents/MacOS
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.11/macfuse.kext/Contents/MacOS/macfuse
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.11/macfuse.kext/Contents/_CodeSignature
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.11/macfuse.kext/Contents/_CodeSignature/CodeResources
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.12
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.12/macfuse.kext
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.12/macfuse.kext/Contents
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.12/macfuse.kext/Contents/Info.plist
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.12/macfuse.kext/Contents/MacOS
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.12/macfuse.kext/Contents/MacOS/macfuse
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.12/macfuse.kext/Contents/_CodeSignature
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.12/macfuse.kext/Contents/_CodeSignature/CodeResources
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.13
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.14
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.15
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.16
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.9
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.9/macfuse.kext
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.9/macfuse.kext/Contents
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.9/macfuse.kext/Contents/Info.plist
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.9/macfuse.kext/Contents/MacOS
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.9/macfuse.kext/Contents/MacOS/macfuse
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.9/macfuse.kext/Contents/_CodeSignature
./Library/Filesystems/macfuse.fs/Contents/Extensions/10.9/macfuse.kext/Contents/_CodeSignature/CodeResources
./Library/Filesystems/macfuse.fs/Contents/Extensions/11
./Library/Filesystems/macfuse.fs/Contents/Extensions/11/macfuse.kext
./Library/Filesystems/macfuse.fs/Contents/Extensions/11/macfuse.kext/Contents
./Library/Filesystems/macfuse.fs/Contents/Extensions/11/macfuse.kext/Contents/Info.plist
./Library/Filesystems/macfuse.fs/Contents/Extensions/11/macfuse.kext/Contents/MacOS
./Library/Filesystems/macfuse.fs/Contents/Extensions/11/macfuse.kext/Contents/MacOS/macfuse
./Library/Filesystems/macfuse.fs/Contents/Extensions/11/macfuse.kext/Contents/_CodeSignature
./Library/Filesystems/macfuse.fs/Contents/Extensions/11/macfuse.kext/Contents/_CodeSignature/CodeResources
./Library/Filesystems/macfuse.fs/Contents/Extensions/12
./Library/Filesystems/macfuse.fs/Contents/Info.plist
./Library/Filesystems/macfuse.fs/Contents/Resources
./Library/Filesystems/macfuse.fs/Contents/Resources/._uninstall_macfuse.app
./Library/Filesystems/macfuse.fs/Contents/Resources/License.rtf
./Library/Filesystems/macfuse.fs/Contents/Resources/Volume.icns
./Library/Filesystems/macfuse.fs/Contents/Resources/load_macfuse
./Library/Filesystems/macfuse.fs/Contents/Resources/mount_macfuse
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/._Contents
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/._Info.plist
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/._MacOS
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/._PkgInfo
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/._Resources
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/.__CodeSignature
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Info.plist
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/MacOS
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/MacOS/._applet
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/MacOS/applet
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/PkgInfo
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/._Scripts
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/._applet.rsrc
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/._lib
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/._main.scpt
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/._uninstall_macfuse.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/lib
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/lib/._array.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/lib/._common.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/lib/._installer.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/lib/._macfuse.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/lib/._macos.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/lib/._math.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/lib/._string.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/lib/._version.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/lib/array.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/lib/common.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/lib/installer.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/lib/macfuse.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/lib/macos.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/lib/math.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/lib/string.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/lib/version.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/main.scpt
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/Scripts/uninstall_macfuse.sh
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/Resources/applet.rsrc
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/_CodeSignature
./Library/Filesystems/macfuse.fs/Contents/Resources/uninstall_macfuse.app/Contents/_CodeSignature/CodeResources
./Library/Filesystems/macfuse.fs/Contents/_CodeSignature
./Library/Filesystems/macfuse.fs/Contents/_CodeSignature/CodeDirectory
./Library/Filesystems/macfuse.fs/Contents/_CodeSignature/CodeRequirements
./Library/Filesystems/macfuse.fs/Contents/_CodeSignature/CodeRequirements-1
./Library/Filesystems/macfuse.fs/Contents/_CodeSignature/CodeResources
./Library/Filesystems/macfuse.fs/Contents/_CodeSignature/CodeSignature
./Library/Filesystems/macfuse.fs/Contents/version.plist
./Library/Frameworks
./Library/Frameworks/OSXFUSE.framework
./Library/Frameworks/OSXFUSE.framework/Versions
./Library/Frameworks/OSXFUSE.framework/Versions/A
./Library/Frameworks/OSXFUSE.framework/Versions/A/OSXFUSE
./Library/Frameworks/macFUSE.framework
./Library/Frameworks/macFUSE.framework/Headers
./Library/Frameworks/macFUSE.framework/Resources
./Library/Frameworks/macFUSE.framework/Versions
./Library/Frameworks/macFUSE.framework/Versions/A
./Library/Frameworks/macFUSE.framework/Versions/A/Headers
./Library/Frameworks/macFUSE.framework/Versions/A/Headers/GMAvailability.h
./Library/Frameworks/macFUSE.framework/Versions/A/Headers/GMFinderInfo.h
./Library/Frameworks/macFUSE.framework/Versions/A/Headers/GMResourceFork.h
./Library/Frameworks/macFUSE.framework/Versions/A/Headers/GMUserFileSystem.h
./Library/Frameworks/macFUSE.framework/Versions/A/Headers/macFUSE.h
./Library/Frameworks/macFUSE.framework/Versions/A/Resources
./Library/Frameworks/macFUSE.framework/Versions/A/Resources/Info.plist
./Library/Frameworks/macFUSE.framework/Versions/A/_CodeSignature
./Library/Frameworks/macFUSE.framework/Versions/A/_CodeSignature/CodeResources
./Library/Frameworks/macFUSE.framework/Versions/A/macFUSE
./Library/Frameworks/macFUSE.framework/Versions/Current
./Library/Frameworks/macFUSE.framework/macFUSE
./usr
./usr/local
./usr/local/include
./usr/local/include/fuse
./usr/local/include/fuse/fuse.h
./usr/local/include/fuse/fuse_common.h
./usr/local/include/fuse/fuse_common_compat.h
./usr/local/include/fuse/fuse_compat.h
./usr/local/include/fuse/fuse_lowlevel.h
./usr/local/include/fuse/fuse_lowlevel_compat.h
./usr/local/include/fuse/fuse_opt.h
./usr/local/include/fuse.h
./usr/local/lib
./usr/local/lib/libfuse.2.dylib
./usr/local/lib/libfuse.dylib
./usr/local/lib/libfuse.la
./usr/local/lib/libosxfuse.2.dylib
./usr/local/lib/libosxfuse_i64.2.dylib
./usr/local/lib/pkgconfig
./usr/local/lib/pkgconfig/fuse.pc
Info: Test FUSE build
curl -sOL https://raw.githubusercontent.com/libfuse/libfuse/46b9c3326d50aebe52c33d63885b83a47a2e74ea/example/hello.c
clang -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -L/usr/local/lib -g -O2 -Wall -o hello hello.c -lfuse -lpthread
./hello /tmp/fuse-test.1128/test_mount
curl -sOL https://raw.githubusercontent.com/libfuse/libfuse/46b9c3326d50aebe52c33d63885b83a47a2e74ea/example/hello_ll.c
clang -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -L/usr/local/lib -g -O2 -Wall -o hello_ll hello_ll.c -lfuse -lpthread
./hello_ll /tmp/fuse-test.1128/test_mount
mount_macfuse: mount point /private/tmp/fuse-test.1128/test_mount is itself on a macFUSE volume
curl -sOL https://raw.githubusercontent.com/libfuse/libfuse/46b9c3326d50aebe52c33d63885b83a47a2e74ea/example/null.c
clang -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -L/usr/local/lib -g -O2 -Wall -o null null.c -lfuse -lpthread
./null /tmp/fuse-test.1128/test_mount
mount_macfuse: mount point /private/tmp/fuse-test.1128/test_mount is itself on a macFUSE volume
rm: /tmp/fuse-test.1128/test_mount/hello: Permission denied
rm: /tmp/fuse-test.1128/test_mount: Resource busy
rm: /tmp/fuse-test.1128: Directory not empty
from homebrew-fuse.
Quick Tip: Triple backticks (```) have to be on a line by themselves, otherwise they're not recognized as formatting directives -- that's why the triple backticks I just typed earlier didn't turn this sentence into a code block
.
I had to make some permissions so I hope, that you didn't hack my PC.
Wait, what permissions did you change? That should not have been necessary to run the test script.
from homebrew-fuse.
I don't know why, but it had request to mount Fuse. I was serching on internet for "How to mount fuse", but i did not find anything. Also it wanted to permission for using files and I had to restart my computer for make changes.
from homebrew-fuse.
No idea what you actually saw, but you definitely need to reboot after installing macFUSE, otherwise macOS won't use the kernel extensions that it installs.
In any case, it seems that the test programs built and ran normally, though it looks like the hello
program is still running (sorry, I was actually expecting all three test programs to error out). Just run pkill ./hello
to kill it.
Back to your current issue...a closer examination of your Gist logs finally revealed the problem. Homebrew is actually stripping all /usr/local
-related paths in the compiler shim, if HOMEBREW_PREFIX
isn't itself /usr/local
: https://github.com/Homebrew/brew/blob/04532cb6216b69a5b067aa7a4e22cff0944b257d/Library/Homebrew/shims/super/cc#L266-L270
It's a sensible filter for normal Homebrew operations, but since macFUSE installs in the same path regardless of architecture, I'll need to find a way around it. Stay tuned...
from homebrew-fuse.
EEEEEYYYYYY! LET'S CELEBRATE! I DID IT!
I completely uninstalled brew and reinstalled in terminal using rosetta 2. And now it works. So thank you so much for your help.❤️
from homebrew-fuse.
Thanks for confirming that FUSE is Rosetta-compatible, @Exanys. Still, Rosetta is just a stop-gap measure for Apple, so I'll have to figure out how to get around the Homebrew sanitization, if only so others don't have to deal with two separate Homebrew installs.
from homebrew-fuse.
@Exanys , if you're up to it, I just checked in a simple change that might fix the current M1 build issue. If you still have Homebrew installed under /opt/homebrew
, can you please try the following, and let me know if it works?
git -C $(/opt/homebrew/bin/brew --repo gromgit/fuse) pull
/opt/homebrew/bin/brew reinstall -s ntfs-3g-mac
Note: This should not touch your existing Rosetta ntfs-3g-mac
installation under /usr/local
. However, if the reinstall succeeds, it would be great if you could try using the M1-built binary (/opt/homebrew/bin/ntfs-3g
) to verify that it actually works.
Thanks much!
from homebrew-fuse.
Ok I have reinstalled brew.
Here is the output:
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint:
hint: git config pull.rebase false # merge (the default strategy)
hint: git config pull.rebase true # rebase
hint: git config pull.ff only # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
Already up to date.
==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/3933b
Already downloaded: /Users/vojta/Library/Caches/Homebrew/downloads/1587cbf92e605bdd012099ddba7fbea0c4aa7f02faf19f3d2fa0f526da6153f7--lowntfs-3g.c.patch
==> Downloading https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2017.3.23.tgz
Already downloaded: /Users/vojta/Library/Caches/Homebrew/downloads/ef5176967893bd614f9eac1b3708a7c26d261a208c98f0f09851c9f93e0a5c85--ntfs-3g_ntfsprogs-2017.3.23.tgz
==> Reinstalling gromgit/fuse/ntfs-3g-mac
==> Patching
==> Applying lowntfs-3g.c.patch
patching file src/lowntfs-3g.c
Hunk #1 succeeded at 1927 (offset -62 lines).
==> ./configure --prefix=/opt/homebrew/Cellar/ntfs-3g-mac/2017.3.23 --exec-prefi
==> make
Last 15 lines from /Users/vojta/Library/Logs/Homebrew/ntfs-3g-mac/02.make:
clang -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -Wall -c -o ntfs_3g_probe-ntfs-3g.probe.o `test -f 'ntfs-3g.probe.c' || echo './'`ntfs-3g.probe.c
clang -DHAVE_CONFIG_H -I. -I.. -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I../include/ntfs-3g -DPLUGIN_DIR=\"/opt/homebrew/Cellar/ntfs-3g-mac/2017.3.23/lib/ntfs-3g\" -g -O2 -Wall -c -o ntfs_3g-ntfs-3g.o `test -f 'ntfs-3g.c' || echo './'`ntfs-3g.c
clang -DHAVE_CONFIG_H -I. -I.. -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I../include/ntfs-3g -DPLUGIN_DIR=\"/opt/homebrew/Cellar/ntfs-3g-mac/2017.3.23/lib/ntfs-3g\" -g -O2 -Wall -c -o ntfs_3g-ntfs-3g_common.o `test -f 'ntfs-3g_common.c' || echo './'`ntfs-3g_common.c
clang -DHAVE_CONFIG_H -I. -I.. -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I../include/ntfs-3g -DPLUGIN_DIR=\"/opt/homebrew/Cellar/ntfs-3g-mac/2017.3.23/lib/ntfs-3g\" -g -O2 -Wall -c -o lowntfs_3g-lowntfs-3g.o `test -f 'lowntfs-3g.c' || echo './'`lowntfs-3g.c
clang -DHAVE_CONFIG_H -I. -I.. -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I../include/ntfs-3g -DPLUGIN_DIR=\"/opt/homebrew/Cellar/ntfs-3g-mac/2017.3.23/lib/ntfs-3g\" -g -O2 -Wall -c -o lowntfs_3g-ntfs-3g_common.o `test -f 'ntfs-3g_common.c' || echo './'`ntfs-3g_common.c
lowntfs-3g.c:31:10: fatal error: 'fuse_lowlevel.h' file not found
#include <fuse_lowlevel.h>
^~~~~~~~~~~~~~~~~
1 error generated.
/bin/sh ../libtool --tag=CC --mode=link clang -I../include/ntfs-3g -g -O2 -Wall -lintl -framework CoreFoundation -o ntfs-3g.probe ntfs_3g_probe-ntfs-3g.probe.o ../libntfs-3g/libntfs-3g.la -lc
make[2]: *** [lowntfs_3g-lowntfs-3g.o] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: link: clang -I../include/ntfs-3g -g -O2 -Wall -o .libs/ntfs-3g.probe ntfs_3g_probe-ntfs-3g.probe.o ../libntfs-3g/.libs/libntfs-3g.dylib -lintl -lc -framework CoreFoundation
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Do not report this issue to Homebrew/brew or Homebrew/core!
These open issues may also help:
Brew install gormgit/fuse/ntfs-3g-mac has error https://github.com/gromgit/homebrew-fuse/issues/11
from homebrew-fuse.
Thanks much, @carlocab ! Symlinking /usr/local
paths doesn't work because the shim canonlicalizes all paths before checking them, but copying the files over does. I've tested it against a non-/usr/local
Intel Homebrew install, and it correctly picks up and compiles against the copied files, so patching the cc
shim should be unnecessary.
@Exanys , please update and rerun the M1 build, then test the final product:
git -C $(/opt/homebrew/bin/brew --repo gromgit/fuse) pull
/opt/homebrew/bin/brew reinstall -s ntfs-3g-mac
/opt/homebrew/bin/brew test ntfs-3g-mac
If you don't encounter any errors, I'll fixup all the other FUSE formulae as well, then at least folks don't have to maintain a Rosetta Homebrew just to FUSE all the things. 🤣
from homebrew-fuse.
Symlinking
/usr/local
paths doesn't work because the shim canonlicalizes all paths before checking them
The shims are too clever by half.
from homebrew-fuse.
Thanks for confirming that it works, @Exanys ! I'm testing this fix on the other FUSE formulae, and will ship the changes when it's done (rebuilding dependencies like gcc
takes...a while).
from homebrew-fuse.
OK, I've pushed the final changes to all the formulae. I'll close this issue since your immediate problem has been solved, but if you encounter difficulties building any of the other formulae, please file an issue. Thanks much!
from homebrew-fuse.
Related Issues (20)
- Thanks a lot for maintaining this!
- How to install gcsfuse-mac but with a modified go.mod? HOT 1
- Getting 404 on brew install xmount-mac HOT 2
- failed to install clone HOT 13
- Support for the encfs HOT 1
- Got this error when run gitfs on my Mac HOT 2
- THANK YOU! (Not Actionable) HOT 1
- sshfs depends on missing library HOT 4
- [cryfs-mac] Update to latest version 0.11.2 HOT 1
- License file for this repo? HOT 1
- cannot update until macfuse supports fuse API v3 HOT 1
- Adding dependency of macos-fuse-t HOT 1
- gocryptfs -reverse mode, fs.Mount failed: read-only file system HOT 1
- [cryfs-mac] Update to latest version 0.11.3 HOT 1
- Can't using command `brew install gromgit/fuse/XYZ-mac` to install the xyz-mac HOT 2
- gocryptfs update HOT 1
- how to build ifuse on macos? HOT 2
- Rclone needs update to v1.64.0
- ratarmount support?
- M2: Library not loaded: /opt/homebrew/opt/libplist/lib/libplist-2.0.3.dylib HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-fuse.