gromgit / homebrew-fuse

gromgit's FUSE tap
BSD 2-Clause "Simplified" License
325 stars 37 forks source link

ifuse compile error on M1 #16

Closed maxminoS closed 3 years ago

maxminoS commented 3 years ago

I tried installing ifuse on my Macbook Pro M1 by brew install gromgit/fuse/ifuse-mac and received this error:

Last 15 lines from /Users/x/Library/Logs/Homebrew/ifuse-mac/03.make:
      _ifuse_readlink in ifuse.o
      _ifuse_symlink in ifuse.o
      _ifuse_link in ifuse.o
      _ifuse_unlink in ifuse.o
      ...
  "_fuse_main_real", referenced from:
      _main in ifuse.o
  "_fuse_opt_add_arg", referenced from:
      _main in ifuse.o
  "_fuse_opt_parse", referenced from:
      _main in ifuse.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [ifuse] Error 1
make: *** [install-recursive] Error 1

Then, I tried building it from source and the make returned a similar error:

make[2]: Entering directory '/Users/x/Applications/ifuse/src'
  CC       ifuse.o
  CCLD     ifuse
ld: warning: ignoring file /usr/local/lib/libosxfuse.dylib, missing required architecture arm64 in file /usr/local/lib/libosxfuse.dylib (4 slices)
Undefined symbols for architecture arm64:
  "_fuse_get_context", referenced from:
      _ifuse_statfs in ifuse.o
      _ifuse_truncate in ifuse.o
      _ifuse_ftruncate in ifuse.o
      _ifuse_readlink in ifuse.o
      _ifuse_symlink in ifuse.o
      _ifuse_link in ifuse.o
      _ifuse_unlink in ifuse.o
      ...
  "_fuse_main_real", referenced from:
      _main in ifuse.o
  "_fuse_opt_add_arg", referenced from:
      _main in ifuse.o
  "_fuse_opt_parse", referenced from:
      _main in ifuse.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Makefile:363: ifuse] Error 1
make[2]: Leaving directory '/Users/x/Applications/ifuse/src'
make[1]: *** [Makefile:377: all-recursive] Error 1
make[1]: Leaving directory '/Users/x/Applications/ifuse'
make: *** [Makefile:318: all] Error 2

It might be helpful to know the I had to do env PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@1.1/lib/pkgconfig" ./autogen.sh to generate the Makefile properly.

gromgit commented 3 years ago
ld: warning: ignoring file /usr/local/lib/libosxfuse.dylib, missing required architecture arm64 in file /usr/local/lib/libosxfuse.dylib (4 slices)

Do you have both osxfuse and macfuse casks installed? If so, uninstall osxfuse; AFAIK, it was never built for M1, and only makes sense in a Rosetta context.

maxminoS commented 3 years ago

Thanks, you were right. However, I unfortunately received a different error instead after uninstalling osxfuse, I have installed macfuse by just brew install macfuse

Here is the error:

checking for fuse >= 2.7.0... no
configure: error: Package requirements (fuse >= 2.7.0) were not met:

No package 'fuse' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables libfuse_CFLAGS
and libfuse_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Do not report this issue to Homebrew/brew or Homebrew/core!

It probably has to do with the PKG_CONFIG_PATH as before, but I just dont know how I could fix it.

gromgit commented 3 years ago

If you have PKG_CONFIG_PATH set in your environment, unset it and try again. If that still doesn't work, what's the full output of brew install -d gromgit/fuse/ifuse-mac?

maxminoS commented 3 years ago

I did not have PKG_CONFIG_PATH set. The following is the full output of the command:

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
Updated 2 formulae.
==> Updated Casks
Updated 6 casks.

/opt/homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /opt/homebrew/Library/Taps/gromgit/homebrew-fuse/Formula/ifuse-mac.rb
==> Installing ifuse-mac from gromgit/fuse
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/m4.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/automake.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtool.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/glib.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/meson.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/ninja.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@3.9.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/mpdecimal.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/xz.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gettext.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libffi.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/pcre.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libimobiledevice.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libplist.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtasn1.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libusbmuxd.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libusb.rb
==> Downloading https://github.com/libimobiledevice/ifuse/archive/1.1.4.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.2.6-123-g0e63fb8\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 11.4\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://github.com/libimobiledevice/ifuse/archive/1.1.4.tar.gz
Already downloaded: /Users/x/Library/Caches/Homebrew/downloads/983a9a53ebda515a58183c208232e5f613ba3913260967771ee3a0de8ecd4fbb--ifuse-1.1.4.tar.gz
/opt/homebrew/Library/Homebrew/shims/scm/git --version
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/glib.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gettext.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libffi.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/pcre.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@3.9.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/mpdecimal.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/xz.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libimobiledevice.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libplist.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtasn1.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libusbmuxd.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libusb.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/m4.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/automake.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtool.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/meson.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/ninja.rb
tar --extract --no-same-owner --file /Users/x/Library/Caches/Homebrew/downloads/983a9a53ebda515a58183c208232e5f613ba3913260967771ee3a0de8ecd4fbb--ifuse-1.1.4.tar.gz --directory /private/tmp/d20210815-14042-ewqw0u
cp -pR /private/tmp/d20210815-14042-ewqw0u/ifuse-1.1.4/. /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4
==> Setting up FUSE temp environment under /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4/temp
==> >>> /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4/temp/bin
==> >>> /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4/temp/bin/fuse-pkg-config
==> >>> /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4/temp/include
==> >>> /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4/temp/include/fuse
==> >>> /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4/temp/include/fuse/fuse_lowlevel.h
==> >>> /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4/temp/include/fuse/fuse_common_compat.h
==> >>> /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4/temp/include/fuse/fuse.h
==> >>> /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4/temp/include/fuse/fuse_common.h
==> >>> /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4/temp/include/fuse/fuse_lowlevel_compat.h
==> >>> /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4/temp/include/fuse/fuse_compat.h
==> >>> /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4/temp/include/fuse/fuse_opt.h
==> >>> /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4/temp/include/fuse.h
==> >>> /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4/temp/lib
==> >>> /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4/temp/lib/libfuse.dylib
==> >>> /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4/temp/lib/libfuse.la
==> >>> /private/tmp/ifuse-mac-20210815-14042-jd5y0o/ifuse-1.1.4/temp/lib/libfuse.2.dylib
==> ./autogen.sh
Last 15 lines from /Users/x/Library/Logs/Homebrew/ifuse-mac/01.autogen.sh:
checking whether make supports the include directive... yes (GNU style)
checking dependency style of clang... gcc3
checking pkg-config is at least version 0.9.0... yes
checking for libimobiledevice-1.0 >= 1.3.0... yes
checking for fuse >= 2.7.0... no
configure: error: Package requirements (fuse >= 2.7.0) were not met:

No package 'fuse' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables libfuse_CFLAGS
and libfuse_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
/opt/homebrew/Library/Homebrew/shims/scm/git --version
/usr/bin/curl --version
/opt/homebrew/Library/Homebrew/ignorable.rb:29:in `block in raise'
BuildError: Failed executing: ./autogen.sh
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action: 1
==> Temporary files retained at:
/private/tmp/ifuse-mac-20210815-14042-jd5y0o

Do not report this issue to Homebrew/brew or Homebrew/core!

/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.2.6-123-g0e63fb8\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 11.4\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location https://api.github.com/search/issues\?q=ifuse-mac\+repo\%3Agromgit\%2Fhomebrew-fuse\+state\%3Aopen\+in\%3Atitle\&per_page=100 --header Accept:\ application/vnd.github.v3\+json --write-out '
'\%\{http_code\} --header Accept:\ application/vnd.github.antiope-preview\+json --header Authorization:\ token\ ****** --dump-header /private/tmp/github_api_headers20210815-12675-n9bn3v
gromgit commented 3 years ago

What's the output of ls -l /usr/local/lib/libfuse.* /usr/local/include/fuse*?

maxminoS commented 3 years ago

The output of ls -l /usr/local/lib/libfuse.* /usr/local/include/fuse*:

-rw-r--r-- 1 x staff    246 May 17 03:56 /usr/local/include/fuse.h
-rwxr-xr-x 1 x staff 580688 May 17 03:56 /usr/local/lib/libfuse.2.dylib
lrwxr-xr-x 1 x staff     15 Aug 14 15:06 /usr/local/lib/libfuse.dylib -> libfuse.2.dylib
-rwxr-xr-x 1 x staff    971 May 17 03:56 /usr/local/lib/libfuse.la

/usr/local/include/fuse:
total 140
-rw-r--r-- 1 x staff 37962 May 17 03:56 fuse.h
-rw-r--r-- 1 x staff 15272 May 17 03:56 fuse_common.h
-rw-r--r-- 1 x staff   714 May 17 03:56 fuse_common_compat.h
-rw-r--r-- 1 x staff  8129 May 17 03:56 fuse_compat.h
-rw-r--r-- 1 x staff 56319 May 17 03:56 fuse_lowlevel.h
-rw-r--r-- 1 x staff  6929 May 17 03:56 fuse_lowlevel_compat.h
-rw-r--r-- 1 x staff  7477 May 17 03:56 fuse_opt.h
gromgit commented 3 years ago

Just pushed a couple of changes to require/macfuse that will hopefully add some useful details to the debug output. Can you brew update and brew install -d gromgit/fuse/ifuse-mac again?

maxminoS commented 3 years ago

Of course, here:

/opt/homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /opt/homebrew/Library/Taps/gromgit/homebrew-fuse/Formula/ifuse-mac.rb
==> Installing ifuse-mac from gromgit/fuse
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/m4.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/automake.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtool.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/glib.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/meson.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/ninja.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@3.9.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/mpdecimal.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/xz.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gettext.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libffi.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/pcre.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libimobiledevice.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libplist.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtasn1.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libusbmuxd.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libusb.rb
==> Downloading https://github.com/libimobiledevice/ifuse/archive/1.1.4.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.2.7-17-g8b69798\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 11.4\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://github.com/libimobiledevice/ifuse/archive/1.1.4.tar.gz
Already downloaded: /Users/x/Library/Caches/Homebrew/downloads/983a9a53ebda515a58183c208232e5f613ba3913260967771ee3a0de8ecd4fbb--ifuse-1.1.4.tar.gz
/opt/homebrew/Library/Homebrew/shims/scm/git --version
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/glib.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gettext.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libffi.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/pcre.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@3.9.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/mpdecimal.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/xz.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libimobiledevice.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libplist.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtasn1.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libusbmuxd.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libusb.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/m4.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/automake.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtool.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/meson.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/ninja.rb
tar --extract --no-same-owner --file /Users/x/Library/Caches/Homebrew/downloads/983a9a53ebda515a58183c208232e5f613ba3913260967771ee3a0de8ecd4fbb--ifuse-1.1.4.tar.gz --directory /private/tmp/d20210817-20295-104dfe6
cp -pR /private/tmp/d20210817-20295-104dfe6/ifuse-1.1.4/. /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4
==> Setting up FUSE temp environment under /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp
==> >>> /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/bin
==> >>> /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/bin/fuse-pkg-config
==> >>> /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/include
==> >>> /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/include/fuse
==> >>> /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/include/fuse/fuse_lowlevel.h
==> >>> /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/include/fuse/fuse_common_compat.h
==> >>> /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/include/fuse/fuse.h
==> >>> /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/include/fuse/fuse_common.h
==> >>> /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/include/fuse/fuse_lowlevel_compat.h
==> >>> /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/include/fuse/fuse_compat.h
==> >>> /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/include/fuse/fuse_opt.h
==> >>> /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/include/fuse.h
==> >>> /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/lib
==> >>> /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/lib/libfuse.dylib
==> >>> /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/lib/libfuse.la
==> >>> /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/lib/libfuse.2.dylib
==> PKG_CONFIG = /private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/bin/fuse-pkg-config
==> CFLAGS = -I/private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/include -I/private/tmp/ifuse-mac-20210817-20295-1mp19ue/ifuse-1.1.4/temp/include/fuse -D_USE_FILE_OFFSET_BITS=64
==> ./autogen.sh
Last 15 lines from /Users/x/Library/Logs/Homebrew/ifuse-mac/01.autogen.sh:
checking whether make supports the include directive... yes (GNU style)
checking dependency style of clang... gcc3
checking pkg-config is at least version 0.9.0... yes
checking for libimobiledevice-1.0 >= 1.3.0... yes
checking for fuse >= 2.7.0... no
configure: error: Package requirements (fuse >= 2.7.0) were not met:

No package 'fuse' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables libfuse_CFLAGS
and libfuse_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
/opt/homebrew/Library/Homebrew/shims/scm/git --version
/usr/bin/curl --version
/opt/homebrew/Library/Homebrew/ignorable.rb:29:in `block in raise'
BuildError: Failed executing: ./autogen.sh
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action: 1
==> Temporary files retained at:
/private/tmp/ifuse-mac-20210817-20295-1mp19ue

Do not report this issue to Homebrew/brew or Homebrew/core!

/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.2.7-17-g8b69798\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 11.4\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location https://api.github.com/search/issues\?q=ifuse-mac\+repo\%3Agromgit\%2Fhomebrew-fuse\+state\%3Aopen\+in\%3Atitle\&per_page=100 --header Accept:\ application/vnd.github.v3\+json --write-out '
'\%\{http_code\} --header Accept:\ application/vnd.github.antiope-preview\+json --header Authorization:\ token\ ****** --dump-header /private/tmp/github_api_headers20210817-20095-1pvvnph
gromgit commented 3 years ago

OK, the critical environment variables are set correctly. Can you brew gist-logs ifuse-mac and post the URL? Thanks much!

maxminoS commented 3 years ago

Here is the URL: https://gist.github.com/45ca90f7a49c9810471697db077b42ab

gromgit commented 3 years ago

OK, the gist logs helped a lot. I've pushed a change to the "alternate FUSE setup" infrastructure (this was needed because Homebrew forcibly removes all references to /usr/local on M1 installs). Please brew update, thenbrew install -d gromgit/fuse/ifuse-mac` again.

maxminoS commented 3 years ago

Here is the new output from the command, it looks like it has changed a little:

/opt/homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /opt/homebrew/Library/Taps/gromgit/homebrew-fuse/Formula/ifuse-mac.rb
==> Installing ifuse-mac from gromgit/fuse
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/m4.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/automake.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtool.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/glib.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/meson.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/ninja.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@3.9.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/mpdecimal.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/xz.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gettext.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libffi.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/pcre.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libimobiledevice.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libplist.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtasn1.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libusbmuxd.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libusb.rb
==> Downloading https://github.com/libimobiledevice/ifuse/archive/1.1.4.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.2.7-19-g2b82664\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 11.4\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://github.com/libimobiledevice/ifuse/archive/1.1.4.tar.gz
Already downloaded: /Users/x/Library/Caches/Homebrew/downloads/983a9a53ebda515a58183c208232e5f613ba3913260967771ee3a0de8ecd4fbb--ifuse-1.1.4.tar.gz
/opt/homebrew/Library/Homebrew/shims/scm/git --version
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/glib.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gettext.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libffi.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/pcre.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@3.9.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/mpdecimal.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/xz.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libimobiledevice.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libplist.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtasn1.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libusbmuxd.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libusb.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/m4.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/automake.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtool.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/meson.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/ninja.rb
tar --extract --no-same-owner --file /Users/x/Library/Caches/Homebrew/downloads/983a9a53ebda515a58183c208232e5f613ba3913260967771ee3a0de8ecd4fbb--ifuse-1.1.4.tar.gz --directory /private/tmp/d20210817-26095-555gvg
cp -pR /private/tmp/d20210817-26095-555gvg/ifuse-1.1.4/. /private/tmp/ifuse-mac-20210817-26095-1rqgjch/ifuse-1.1.4
==> Setting up FUSE temp environment under /private/tmp/ifuse-mac-20210817-26095-1rqgjch/ifuse-1.1.4/temp
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1385:in `initialize'
Errno::ENOENT: No such file or directory @ rb_sysopen - /usr/local/lib/pkgconfig/fuse.pc
1. raise
2. backtrace
3. shell
Choose an action: 1
==> Temporary files retained at:
/private/tmp/ifuse-mac-20210817-26095-1rqgjch
Error: An exception occurred within a child process:
  Errno::ENOENT: No such file or directory @ rb_sysopen - /usr/local/lib/pkgconfig/fuse.pc
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1385:in `initialize'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1385:in `open'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1385:in `copy_file'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:492:in `copy_file'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:419:in `block in cp'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1557:in `block in fu_each_src_dest'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1571:in `fu_each_src_dest0'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1555:in `fu_each_src_dest'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:418:in `cp'
/opt/homebrew/Library/Taps/gromgit/homebrew-fuse/require/macfuse.rb:70:in `block in setup_fuse_pkgconfig'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:128:in `chdir'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:128:in `cd'
/opt/homebrew/Library/Homebrew/formula.rb:2316:in `mkdir'
/opt/homebrew/Library/Taps/gromgit/homebrew-fuse/require/macfuse.rb:69:in `setup_fuse_pkgconfig'
/opt/homebrew/Library/Taps/gromgit/homebrew-fuse/require/macfuse.rb:85:in `setup_fuse_env'
/opt/homebrew/Library/Taps/gromgit/homebrew-fuse/require/macfuse.rb:111:in `setup_fuse'
/opt/homebrew/Library/Taps/gromgit/homebrew-fuse/Formula/ifuse-mac.rb:29:in `install'
/opt/homebrew/Library/Homebrew/debrew.rb:17:in `block in install'
/opt/homebrew/Library/Homebrew/debrew.rb:90:in `debrew'
/opt/homebrew/Library/Homebrew/debrew.rb:17:in `install'
/opt/homebrew/Library/Homebrew/build.rb:178:in `block (2 levels) in install'
/opt/homebrew/Library/Homebrew/formula.rb:1282:in `block in brew'
/opt/homebrew/Library/Homebrew/formula.rb:2422:in `block (2 levels) in stage'
/opt/homebrew/Library/Homebrew/utils.rb:550:in `with_env'
/opt/homebrew/Library/Homebrew/formula.rb:2421:in `block in stage'
/opt/homebrew/Library/Homebrew/resource.rb:121:in `block (2 levels) in unpack'
/opt/homebrew/Library/Homebrew/download_strategy.rb:115:in `chdir'
/opt/homebrew/Library/Homebrew/download_strategy.rb:115:in `chdir'
/opt/homebrew/Library/Homebrew/download_strategy.rb:102:in `stage'
/opt/homebrew/Library/Homebrew/resource.rb:117:in `block in unpack'
/opt/homebrew/Library/Homebrew/mktemp.rb:63:in `block in run'
/opt/homebrew/Library/Homebrew/mktemp.rb:63:in `chdir'
/opt/homebrew/Library/Homebrew/mktemp.rb:63:in `run'
/opt/homebrew/Library/Homebrew/resource.rb:199:in `mktemp'
/opt/homebrew/Library/Homebrew/resource.rb:116:in `unpack'
/opt/homebrew/Library/Homebrew/resource.rb:91:in `stage'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/forwardable.rb:230:in `stage'
/opt/homebrew/Library/Homebrew/formula.rb:2401:in `stage'
/opt/homebrew/Library/Homebrew/formula.rb:1275:in `brew'
/opt/homebrew/Library/Homebrew/build.rb:138:in `block in install'
/opt/homebrew/Library/Homebrew/utils.rb:550:in `with_env'
/opt/homebrew/Library/Homebrew/build.rb:133:in `install'
/opt/homebrew/Library/Homebrew/build.rb:229:in `<main>'
gromgit commented 3 years ago

/usr/local/lib/pkgconfig/fuse.pc is part of the macfuse install. Try brew reinstall macfuse and ls -l /usr/local/lib/pkgconfig/fuse.pc to verify that it was reinstalled correctly.

maxminoS commented 3 years ago

I was able to install it as according to your instructions to reinstall macfuse. Thank you very much for your help!