FreeBSD Free_BSD_13 13.0-STABLE FreeBSD 13.0-STABLE #25 stable/13-n247809-010e3bc7727: Sun Oct 24 11:00:00 EDT 2021 root@Free_BSD_13:/usr/obj/usr/src/amd64.amd64/sys/MYKERNEL amd64 1300519 Checking for 'zlib' : yes Checking for library z : yes Checking for inflateInit2 in z : not found Checking for longjmp : ok Checking for siglongjmp : ok Checking for system cmocka (>=1.1.3) : yes Checking for system popt : yes Checking for header popt.h : yes Checking for library popt : yes Checking for poptGetContext in popt : ok Checking compiler accepts -Wp,-E,-lang-asm : no Checking compiler accepts -xassembler-with-cpp : yes Compiling with Intel AES instructions Checking linker accepts -Wl,-z,noexecstack : yes Checking for system tdb (>=1.4.3) : yes ERROR: Python module pytdb of version 1.4.3 not found, and bundling disabled ===> Script "configure" failed unexpectedly.
The only obvious reason I see that this would fail is if you have NO_PYTHON defined https://cgit.freebsd.org/ports/tree/databases/tdb/Makefile#n56 As this seems to be a build without Poudriere have you tried running make clean clean-depends ?
That feels like exact case from: 20200113: AFFECTS: users of python and net/samba410, devel/talloc, devel/tevent, databases/tdb, databases/ldb* AUTHOR: timur@FreeBSD.org In the entry 20191216 for the Python update the filtering constrains are too limiting and omit the Samba supplementary libraries, which do have Python bindings to the default Python 3.x version. With the update of the default Python3 version you also need to rebuild all the supplementary Samba libraries and samba410 itself. For portmaster users it would be enough to run: # portmaster devel/talloc devel/tevent databases/tdb databases/ldb15 net/samba410
I use portupgrade, the following fixed it for me: portupgrade -vf devel/talloc devel/tevent databases/tdb databases/ldb15 net/samba412 Samba builds successfully now. Thanks for the suggestion, closing the ticket. ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) + databases/tdb (tdb-1.4.3,1 -> tdb-1.4.3,1) + devel/talloc (talloc-2.3.1 -> talloc-2.3.1) + devel/tevent (tevent-0.10.2_1 -> tevent-0.10.2_1) + net/samba412 (samba412-4.12.15_1 -> samba412-4.12.15_2) ---> Packages processed: 4 done, 0 ignored, 0 skipped and 0 failed