When building Blender using
make bpy in a fresh Ubuntu 20.04 Docker instance, I get the following results after installing the system packages. cloning the source, and downloading the precompiled binaries.
I can build blender as a python module for both 2.93.3 and 3.0 alpha, but I can’t build bpy for both 2.93.4 and for the latest commit in the
blender-v2.93-release branch. Those fail with a linking error (below).
git checkout v2.93.3 make update make bpy
git checkout master make update make bpy
What doesn’t work:
git checkout v2.93.4 make update make bpy
building the blender-v2.93-release branch
git checkout blender-v2.93-release make update make bpy
The linking error that this fails with is:
[ 83%] Building CXX object source/blender/freestyle/CMakeFiles/bf_freestyle.dir/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp.o /home/tmp/blender/source/blender/sequencer/intern/strip_add.c:463:11: error: conflicting types for 'SEQ_add_sound_strip' 463 | Sequence *SEQ_add_sound_strip(Main *UNUSED(bmain), | ^~~~~~~~~~~~~~~~~~~ In file included from /home/tmp/blender/source/blender/sequencer/intern/strip_add.c:58: /home/tmp/blender/source/blender/sequencer/SEQ_add.h:79:18: note: previous declaration of 'SEQ_add_sound_strip' was here 79 | struct Sequence *SEQ_add_sound_strip(struct Main *bmain, | ^~~~~~~~~~~~~~~~~~~ make: *** [source/blender/sequencer/CMakeFiles/bf_sequencer.dir/build.make:219: source/blender/sequencer/CMakeFiles/bf_sequencer.dir/intern/strip_add.c.o] Error 1 make: *** [CMakeFiles/Makefile2:5977: source/blender/sequencer/CMakeFiles/bf_sequencer.dir/all] Error 2 make: *** Waiting for unfinished jobs....
I should also note that I am able to run the regular
make command to build Blender for 2.93.4, so this linking error seems specific to
Hoping someone here has some ideas on what to try next.