With: "DEFAULT_VERSIONS+= samba=4.23", the build failures look like this: /usr/local/include/samba4/ndr.h:842:25: error: unknown type name 'uid_t'; did you mean 'pid_t'? If I remove that samba reference, it build just fine. There are other errors in that build, but that is the first one. I've tested on FreeBSD 14.3 and 15.0 always using a fresh checkout of the ports tree. The log file is offline, but if requested, I can get that online for review.
It fails to build with samba419, samba420, samba422
I think, we should reapply https://github.com/freebsd/freebsd-ports/commit/fd6a710e199bdba2b2df37a481038e743da895dd to all the newer samba ports.
FYI, sssd2-2.9.6_6 (as found in 2026Q1) builds just fine on head with samba-4.2.3 It does not build with sssd2-2.12.0 To get our ports tree building again, we have downgraded sssd2
Created attachment 268573 [details] Patch series
(In reply to Gleb Popov from comment #4) This builds with samba 4.23 on FreeBSD 15.0 for me. The resulting package itself has not yet been tested. That will come later. I will test building with other samba versions next.
(In reply to Dan Langille from comment #5) All the builds I tested: 4.16 - https://services.unixathome.org/poudriere/build.html?mastername=150amd64-dvl-testing&build=2026-03-06_16h03m46s 4.19 - https://services.unixathome.org/poudriere/build.html?mastername=150amd64-dvl-testing&build=2026-03-06_15h52m32s 4.20 - https://services.unixathome.org/poudriere/build.html?mastername=150amd64-dvl-testing&build=2026-03-06_15h13m23s 4.22 - https://services.unixathome.org/poudriere/build.html?mastername=150amd64-dvl-testing&build=2026-03-06_15h02m20s 4.23 - https://services.unixathome.org/poudriere/build.html?mastername=150amd64-dvl-testing&build=2026-03-06_13h40m37s I haven't tested the resulting packages themselves, only the builds.