I cannot build Blender 3.6.21 LTS because of LibOpenVDB

Please, read the problem in this link. They have referred me to this forum.

In short, I want to compile Blender 3.6.21 lts on Linux Mint 21.3 (based on Ubuntu Jammy), but I have no luck, because it complains about a class collision, or something like that. Any help is appreciated.

Have you tried the suggestion to build without debian/patches/openvdb.patch?

What this patch appears to be doing is making incompatible versions of TBB and OpenVDB work together somehow. With some luck the versions you are using are in fact compatible and this patch is not needed.