Python27, LLVM and CLI for OneDrive

One of the most useful features I use the Freebsd box for is to cache a copy of my MS OneDrive that is only periodically synced, so that is MS has a problem I have a full offline copy or if I manage delete a file from the cloud that I really didn’t want to do and hopefully I still have a copy in the unsynced cache.

All was fine until the OneDrive port for FreeBSD insisted on reinstalling the long deprecated Python27 libraries. No matter how much cleaning and checking dependencies prevented Python27 being rebuilt from ports each time.

I managed to spend some time today looking at each of the OneDrive dependencies and found that LLVM70 and LLVM10 are both listed. Oddly LLVM10 supersedes LLVM70 and calls in the more modern Python37. So by building LLVM10 first so the dependency is met, when I rebuild OneDrive I no longer get the obsolete version installed.

The Metaport of LLVM is not clear which version is built, I already have LLVM90 installed but does not seem to satisfy the OneDrive dependencies. Not sure if this is OneDrive maintenance issue, or a LLVM issue. but thankfully now resolved and the box can get back to doing what it should. –

Update – LLVM was not the issue, but LDC which calls in LLVM. When the next port update to OneDrive came out, LDC rebuilt LLVM70. So now looking at LDC as the culprit.

The OneDrive CLI client is not unique to BSD and the default GitHub page for Linux version can be found here.

Leave a Reply