On systems with Python 3 set as default, the build for all of these ports fails during configure with an identical error. Below is an example from devel/tevent: =======================<phase: configure >============================ ===> Configuring for tevent-0.9.34 Traceback (most recent call last): File "buildtools/bin/waf", line 75, in <module> import Scripting File "/wrkdirs/usr/ports/devel/tevent/work/tevent-0.9.34/third_party/waf/wafadmin/Scripting.py", line 146 except Utils.WafError, e: ^ SyntaxError: invalid syntax ===> Script "configure" failed unexpectedly. Please report the problem to timur@FreeBSD.org [maintainer] and attach the "/wrkdirs/usr/ports/devel/tevent/work/tevent-0.9.34/bin/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make: stopped in /usr/ports/devel/tevent Restricting USES to python:2.7 instead of python:2.7+ fixes this problem.
Update title to reflect the same problem with databases/ldb.
Thanks for spotting it, too many combinations to catch them all, didn't showed up in any tests...