This very small patch fixed build: https://github.com/AcademySoftwareFoundation/openvdb/pull/428/files/8f12e3c2e0232456eff06642e1620a9538811f29
Created attachment 212949 [details] Upstream patch for support python 3 Tested on 12.1 amd64.
Committed, thanks for the patch!
A commit references this bug: Author: yuri Date: Wed Apr 1 20:06:02 UTC 2020 New revision: 530238 URL: https://svnweb.freebsd.org/changeset/ports/530238 Log: misc/openvdb: Replace the dependency on python 2.7 with the default python (currently 3.x) PR: 244347 Submitted by: VVD <vvd@unislabs.com> Changes: head/misc/openvdb/Makefile head/misc/openvdb/files/patch-openvdb_python_pyOpenVDBModule.cc
Just for information there are newer versions: 6.2.0, 6.2.1 and 7.0.0.
(In reply to VVD from comment #4) I updated misc/openvdb to 7.0.0. Thanks for reminding me. Yuri