[MacPorts] #62315: rclone is missing the "mount" command

MacPorts noreply at macports.org
Fri Oct 28 15:21:40 UTC 2022


#62315: rclone is missing the "mount" command
---------------------+----------------------
  Reporter:  huyz    |      Owner:  eborisch
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:  fixed   |   Keywords:
      Port:  rclone  |
---------------------+----------------------

Comment (by jmon12):

 Glad to find this suitable variant.
 However, it doesn't seem to work for me. The installation and the build
 process go very well with the `+mount` extension. But when I try to mount
 a google drive (where the `rclone lsd` command works fine for example,
 e.g. well configured), the following error is displayed: `mount failed:
 cgofuse: cannot find FUSE`

 {{{
 >>> rclone -vv mount gdrive: /Volumes/gdrive
 2022/10/28 17:13:50 DEBUG : rclone: Version "v1.60.0" starting with
 parameters ["rclone" "-vv" "mount" "UOCgdrive:" "/Volumes/gdrive"]
 2022/10/28 17:13:50 DEBUG : Creating backend with remote "gdrive:"
 2022/10/28 17:13:50 DEBUG : Using config file from
 "/Users/me/.config/rclone/rclone.conf"
 2022/10/28 17:13:50 DEBUG : Google drive root '': 'root_folder_id =
 XXXXXXXXXX' - save this in the config to speed up startup
 2022/10/28 17:13:51 DEBUG : Mounting on "/Volumes/gdrive" ("gdrive")
 2022/10/28 17:13:51 DEBUG : Adding "-o
 modules=iconv,from_code=UTF-8,to_code=UTF-8-MAC" for macOS
 2022/10/28 17:13:51 DEBUG : Google drive root '': Mounting with options:
 ["-o" "attr_timeout=1" "-o" "fsname=gdrive:" "-o" "subtype=rclone" "-o"
 "max_readahead=131072" "-o" "atomic_o_trunc" "-o" "daemon_timeout=600"
 "-o" "volname=gdrive" "-o" "noappledouble" "-o"
 "modules=iconv,from_code=UTF-8,to_code=UTF-8-MAC"]
 2022/10/28 17:13:51 Fatal error: failed to mount FUSE fs: mount stopped
 before calling Init: mount failed: cgofuse: cannot find FUSE
 }}}

 Note that I needed to install `macfuse` manually since it was not added to
 the deps automatically. From what I understood of the portfile, it should
 do so: `depends_run-append port:macfuse` if the variant is used. (Or is it
 only for runtime?)

 Here is the output of `rclone --version`:

 {{{
 rclone v1.60.0
 - os/version: darwin 12.6.1 (64 bit)
 - os/kernel: 21.6.0 (arm64)
 - os/type: darwin
 - os/arch: arm64
 - go/version: go1.19.2
 - go/linking: dynamic
 - go/tags: cmount noselfupdate
 }}}

 And of `uname -a`

 {{{
 21.6.0 Darwin Kernel Version 21.6.0: Thu Sep 29 20:13:56 PDT 2022;
 root:xnu-8020.240.7~1/RELEASE_ARM64_T6000 arm64
 }}}

 What am I missing?
 I'm not used to `go` at all, but maybe I should have `go-devel` installed
 instead of the `go` port...

 PS: I'm sorry if I broke some convention by commenting in a closed ticket.
 Please let me know if that's the case and excuse me. In that case I'll
 open a dedicated ticket.

-- 
Ticket URL: <https://trac.macports.org/ticket/62315#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list