Latest rclone version on older macOS systems - how to build unnoficial but working rclone

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

Hi,

I'm sorry in advance for what I suspect may be a technologically illiterate question. I use an old macbook pro which works perfectly well but cannot run anything higher than OS 10.13 High Sierra. Annoyingly the protonmail desktop app does not work on this OS so I am trying to see if I can use rclone instead. I've downloaded rclone 1.63.1 which I believe is the latest version that high sierra supports. Would this work with your proton drive system? I have installed rclone successfully but when I get to the section where it asks for "Choose a number from below, or type in your own value" I can't get it to work. I can't seem to paste directly the code you suggest:
[snip]
XX / Proton Drive
\ "protondrive"
[snip]

When I try to type the first line it doesn't work and I can't type multiple lines as every time I press enter it executes?

Is this issue because I'm an idiot and don't know how to use terminal properly? If so I'm very sorry and would much appreciate you putting me right. Or is this because this version of rclone won't work with protonmail?

Many thanks in advance,

Donald

Run the command 'rclone version' and share the full output of the command.

rclone v1.63.1

  • os/version: darwin 10.13.6 (64 bit)
  • os/kernel: 17.7.0 (x86_64)
  • os/type: darwin
  • os/arch: amd64
  • go/version: go1.20.6
  • go/linking: dynamic
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Proton Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Paste command here

[snip]
XX / Proton Drive
\ "protondrive"
[snip]

welcome to the forum,

protondrive was added in v1.64.0
{CDAD88C5-B1DE-4926-A196-DD8EB26476F1}

to list which providers are supported

rclone config providers

Try to build newer rclone on your system.

Include only remotes you need - this way potentially you can bypass golang limitations imposed by some 3rd party modules etc. You have to experiment yourself.

Staying on old and unsupported OS requires some creative work to keep thing running.

I have had some old VM with macOS Sierra and tried lazy way:

brew install rclone

It takes time as all will be built from source (including go as Sierra is not supported by brew any more neither - you will see some scary warnings:) - hence no pre compiled binaries to pour by brew) but does not require any deeper knowledge how to build things.

And wow - it works:

$ rclone --version
rclone v1.68.2
- os/version: darwin 10.13.6 (64 bit)
- os/kernel: 17.7.0 (x86_64)
- os/type: darwin
- os/arch: amd64
- go/version: go1.23.4
- go/linking: dynamic
- go/tags: none

It does not support rclone mount though (this would require tinkering with manual build). But you can't have it all. Some functionality might be broken too - I am not going to test - I leave it to you:)

1 Like

Thank you so much this is hugely helpful, I will get to work and see what I can manage. Thanks again, Donald

1 Like

This is all rather interesting and a bit confusing. As per official golang docs:

Go 1.20 is the last release that will run on macOS 10.13 High Sierra or 10.14 Mojave. Go 1.21 will require macOS 10.15 Catalina or later.

and indeed binaries for 1.23 officially provided do not work on macOS 10.13 - the same with official rclone built using official go, however... when go is built from source on such older system all is fine and working.. As I proved earlier building go 1.23.4 and latest rclone.

So it is either some real limitation (can't find what it is though) which makes them to drop old macOS support or simply nobody is interested in even checking old and obsolete OS versions and they build it with such support explicitly disabled.

BTW - you can make rclone mount to work as well. It needs macOS FUSE which works even for macOS 10.9 and then compile latest rclone from source (not via brew which disables mount). Of course using go built on the same platform only.

On the other hand it is impossible for rclone officially keep supporting what go is not. It would be too complex to use and maintain workarounds and given that it is real niche issue it has to remain as it is. Good news is that unofficially users can DYI rclone on these older platforms. Hard to say without trying how far back it can be done. Would macOS 10.12 still work? maybe even older?

I think this thread deserves to be moved to "Howto Guides" category. Hopefully it will make some old Apple computers users happy.

Summary.

To build the latest rclone on older macOS - tested with rclone 1.68.2 and macOS High Sierra (10.13.6) which is not supported even by Apple since 2020:

  1. build the latest go from source
  2. build the latest rclone as usual

These two steps can be greatly simplified by using brew, below command will build both automatically:

brew install rclone

As brew does not provide binaries for High Sierra it instead triggers building both programs from source (with go being rclone dependency). It will take care of everything - downloading sources, configuration and building.

Brew version does not support rclone mount. If needed:

  1. build the latest go from source - use lazy way: brew install go
  2. Install macFUSE which works on macOS 10.9 and later.
  3. git clone https://github.com/rclone/rclone.git If there is no git program then run brew install git first
  4. cd rclone
  5. go build -tags cmount which will produce rclone binary in the current directory

Any success (or not) stories comments welcomed - older Apple hardware is still in use and this should bring its users with the latest rclone features and fixes.

Thank you so much Kapitainsky for looking into this. In the end I got so frustrated that I used open legacy patcher to upgrade my whole OS to ventura which has worked remarkably well. Thank you again for your hard work on rclone and for your support.

1 Like