Skip to content

Commit 5855e68

Browse files
committed
diagnostic: ignore FUSE-T files
FUSE-T is an alternative FUSE implementation for macOS. Before: ``` % brew doctor [...] Warning: Some installed formulae are deprecated or disabled. You should find replacements for the following formulae: sshfs-mac icu4c@76 icu4c@77 Warning: Unbrewed dylibs were found in /usr/local/lib. If you didn't put them there on purpose they could cause problems when building Homebrew formulae and may need to be deleted. Unexpected dylibs: /usr/local/lib/libfuse-t-1.0.49.dylib Warning: Unbrewed '.pc' files were found in /usr/local/lib/pkgconfig. If you didn't put them there on purpose they could cause problems when building Homebrew formulae and may need to be deleted. Unexpected '.pc' files: /usr/local/lib/pkgconfig/fuse-t.pc Warning: Unbrewed static libraries were found in /usr/local/lib. If you didn't put them there on purpose they could cause problems when building Homebrew formulae and may need to be deleted. Unexpected static libraries: /usr/local/lib/libfuse-t-1.0.49.a Warning: You have uncommitted modifications to Homebrew/brew. If this is a surprise to you, then you should stash these modifications. Stashing returns Homebrew to a pristine state but can be undone should you later need to do so for some reason. git -C "/opt/homebrew" stash -u && git -C "/opt/homebrew" clean -d -f Uncommitted files: ?? Library/Homebrew/traildepot/.gitignore ?? Library/Homebrew/traildepot/config.textproto [...] ``` After: ``` % brew doctor [...] Warning: Some installed formulae are deprecated or disabled. You should find replacements for the following formulae: sshfs-mac icu4c@76 icu4c@77 Warning: You have uncommitted modifications to Homebrew/brew. If this is a surprise to you, then you should stash these modifications. Stashing returns Homebrew to a pristine state but can be undone should you later need to do so for some reason. git -C "/opt/homebrew" stash -u && git -C "/opt/homebrew" clean -d -f Uncommitted files: ?? Library/Homebrew/traildepot/.gitignore ?? Library/Homebrew/traildepot/config.textproto [...] ``` Resolves macos-fuse-t/fuse-t#36.
1 parent 65ded76 commit 5855e68

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Library/Homebrew/diagnostic.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ def check_for_stray_dylibs
244244
"libfuse.2.dylib", # MacFuse
245245
"libfuse3.*.dylib", # MacFuse
246246
"libfuse_ino64.2.dylib", # MacFuse
247+
"libfuse-t*.dylib", # FUSE-T
247248
"libmacfuse_i32.2.dylib", # OSXFuse MacFuse compatibility layer
248249
"libmacfuse_i64.2.dylib", # OSXFuse MacFuse compatibility layer
249250
"libosxfuse_i32.2.dylib", # OSXFuse
@@ -275,6 +276,7 @@ def check_for_stray_static_libs
275276
# Static libs which are generally OK should be added to this list,
276277
# with a short description of the software they come with.
277278
allow_list = [
279+
"libfuse-t*.a", # FUSE-T
278280
"libntfs-3g.a", # NTFS-3G
279281
"libntfs.a", # NTFS-3G
280282
"libublio.a", # NTFS-3G
@@ -303,6 +305,7 @@ def check_for_stray_pcs
303305
allow_list = [
304306
"fuse.pc", # OSXFuse/MacFuse
305307
"fuse3.pc", # OSXFuse/MacFuse
308+
"fuse-t.pc", # FUSE-T
306309
"macfuse.pc", # OSXFuse MacFuse compatibility layer
307310
"osxfuse.pc", # OSXFuse
308311
"libntfs-3g.pc", # NTFS-3G

0 commit comments

Comments
 (0)