google-drive-ocamlfuse icon indicating copy to clipboard operation
google-drive-ocamlfuse copied to clipboard

osxfuse not found

Open spolischook opened this issue 4 years ago • 6 comments

I've run installation several times but faced that issue over and over again. macOS Big Sur 11.0.1

The packages you requested declare the following system dependencies. Please make sure they are installed before retrying:
    Caskroom/cask/osxfuse

I've tried install osxfuse manually but have no luck 😭

spolischook avatar Nov 24 '20 21:11 spolischook

Have you tried running opam depext google-drive-ocamlfuse?

astrada avatar Nov 25 '20 09:11 astrada

I've got:

Warning: Cask 'osxfuse' is already installed.

while run opam depext and then on opam install google-drive-ocamlfuse

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[google-drive-ocamlfuse.0.7.23] found in cache
[ocamlfuse.2.7.1-cvs7] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of ocamlfuse failed at "/Users/tetianacherevan/.opam/opam-init/hooks/sandbox.sh build dune build -p ocamlfuse -j 7".

#=== ERROR while compiling ocamlfuse.2.7.1-cvs7 ===============================#
# context     2.0.7 | macos/x86_64 | ocaml-base-compiler.4.11.1 | https://opam.ocaml.org#cfee992b
# path        ~/.opam/default/.opam-switch/build/ocamlfuse.2.7.1-cvs7
# command     ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ocamlfuse -j 7
# exit-code   1
# env-file    ~/.opam/log/ocamlfuse-16856-d2d111.env
# output-file ~/.opam/log/ocamlfuse-16856-d2d111.out
### output ###
# Fuse_util.c:324:5: note: expanded from macro 'FOR_ALL_OPS'
# [...]
#     ^~~~~~~~~~~~~~~~~~
# Fuse_util.c:631:23: note: expanded from macro 'SET_OPERATION'
#       OPNAME##_closure=caml_named_value(op->OPNAME); \
#                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Fuse_util.c:667:27: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
#   ocaml_fuse_loop_closure = caml_named_value("ocaml_fuse_loop");
#                           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Fuse_util.c:668:21: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
#   ocaml_list_length = caml_named_value("ocaml_list_length");
#                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 36 warnings generated.


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocamlfuse 2.7.1-cvs7
+-
- No changes have been performed

spolischook avatar Nov 25 '20 09:11 spolischook

I'm sorry, but in the output section the error is not present (maybe you can find it in the output file ~/.opam/log/ocamlfuse-16856-d2d111.out, if it was not deleted afterwards). For reference, here is the log of the Travis CI macos instance that builds ocamlfuse without errors. The relevant part of the log starts at row 763. Unfortunately I don't have a macos, box so I can't reproduce your issue.

astrada avatar Nov 25 '20 15:11 astrada

Full log

➜  ~ opam install google-drive-ocamlfuse
The following actions will be performed:
  - install ocamlfuse              2.7.1-cvs7 [required by google-drive-ocamlfuse]
  - install google-drive-ocamlfuse 0.7.23
===== 2 to install =====
Do you want to continue? [Y/n] y

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[google-drive-ocamlfuse.0.7.23] found in cache
[ocamlfuse.2.7.1-cvs7] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of ocamlfuse failed at "/Users/tetianacherevan/.opam/opam-init/hooks/sandbox.sh build dune build -p ocamlfuse -j 7".

#=== ERROR while compiling ocamlfuse.2.7.1-cvs7 ===============================#
# context     2.0.7 | macos/x86_64 | ocaml-base-compiler.4.11.1 | https://opam.ocaml.org#cfee992b
# path        ~/.opam/default/.opam-switch/build/ocamlfuse.2.7.1-cvs7
# command     ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ocamlfuse -j 7
# exit-code   1
# env-file    ~/.opam/log/ocamlfuse-25787-d2d111.env
# output-file ~/.opam/log/ocamlfuse-25787-d2d111.out
### output ###
# Fuse_util.c:324:5: note: expanded from macro 'FOR_ALL_OPS'
# [...]
#     ^~~~~~~~~~~~~~~~~~
# Fuse_util.c:631:23: note: expanded from macro 'SET_OPERATION'
#       OPNAME##_closure=caml_named_value(op->OPNAME); \
#                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Fuse_util.c:667:27: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
#   ocaml_fuse_loop_closure = caml_named_value("ocaml_fuse_loop");
#                           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Fuse_util.c:668:21: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
#   ocaml_list_length = caml_named_value("ocaml_list_length");
#                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 36 warnings generated.



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocamlfuse 2.7.1-cvs7
+-
- No changes have been performed

The packages you requested declare the following system dependencies. Please make sure they are installed before retrying:
    Caskroom/cask/osxfuse

spolischook avatar Nov 25 '20 21:11 spolischook

Full log of depext

➜  ~ opam depext google-drive-ocamlfuse
# Detecting depexts using vars: arch=x86_64, os=macos, os-distribution=homebrew, os-family=homebrew
# The following system packages are needed:
Caskroom/cask/osxfuse
gmp
lzlib
pkg-config
sqlite3
Warning: Calling `brew list` to only list formulae is deprecated! Use `brew list --formula` instead.
# The following new OS packages need to be installed: Caskroom/cask/osxfuse sqlite3
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/core, homebrew/cask and caskroom/cask).
==> New Formulae
clash
==> Updated Formulae
Updated 43 formulae.
==> Updated Casks
a-better-finder-attributes  carbon-copy-cloner          ithoughtsx                  opera                       qbittorrent                 tweetbot                    webcatalog
a-better-finder-attributes  carbon-copy-cloner          ithoughtsx                  opera                       qbittorrent                 tweetbot                    webcatalog
activedock                  dcommander                  mate-translate              pdf-expert                  slack                       ukelele
activedock                  dcommander                  mate-translate              pdf-expert                  slack                       ukelele
anydo                       icollections                meetingbar                  protonmail-bridge           sunvox                      ultimate
anydo                       icollections                meetingbar                  protonmail-bridge           sunvox                      ultimate

Warning: Cask 'osxfuse' is already installed.

To re-install osxfuse, run:
  brew reinstall osxfuse
Warning: sqlite 3.33.0 is already installed and up-to-date
To reinstall 3.33.0, run `brew reinstall sqlite`
# OS packages installation successful

spolischook avatar Nov 25 '20 21:11 spolischook

you can see that depext don't want to install osxfuse because it is already installed, but when I run opam install it fails because decide that osxfuse is not installed

spolischook avatar Nov 25 '20 21:11 spolischook