Mac build fails for a variety of reasons

Ask for help and report issues with the Mac OS X version of Transmission
Post Reply
Stokestack
Posts: 3
Joined: Fri Oct 08, 2021 9:47 pm

Mac build fails for a variety of reasons

Post by Stokestack »

Hi all.

I filed a bug on this, but a reviewer deemed it not (yet) a bug and suggested this forum.

I checked out the source from Github and attempted a Mac build with the included Xcode project. This failed. A respondent to the bug report provided the following extra info:

Code: Select all

clone repo
git clone https://github.com/transmission/transmission tr && cd tr

update submodules
git submodule update --init

find and rename file 'VERSION' to 'VERSION.txt'
find . -iname "VERSION" -exec mv {} {}.txt \;
However, the build still fails. I'm getting

Code: Select all

error: Build input file cannot be found: '/Users/me/data/code_open/transmission/third-party/libb64/src/cencode.c' (in target 'b64' from project 'Transmission')
A couple of directories are flagged with this type of error, and are still empty (libb64 and libnatpmp). This despite the following output during submodule update:

Code: Select all

Cloning into '/Users/me/data/code_open/transmission/third-party/libb64'...
There were also a few instances of:

Code: Select all

fatal: destination path '/Users/me/data/code_open/transmission/third-party/libutp' already exists and is not an empty directory.
fatal: clone of 'https://github.com/transmission/libutp' into submodule path '/Users/me/data/code_open/transmission/third-party/libutp' failed
Failed to clone 'third-party/libutp'. Retry scheduled
This only afflicted the dht, libutp and miniupnpc subdirectories.

Any insights appreciated!
Post Reply