samba4 on HardnedBSD 14.2-Prerelease

11 views
Skip to first unread message

Dewayne Geraghty

unread,
May 13, 2025, 4:55:03 AMMay 13
to HardenedBSD Users
I'm sorry to ask such a mundane question, but does anyone have samba416 or samba419 built and running on 14.3-PRERELEASE-HBSD?

While attempting to build either samba416 or 419, my build log ends with 
"Checking for system tdb (>=1.4.9)                                                 : yes
ERROR: Python module pytdb of version 1.4.9 not found, and bundling disabled
===>  Script "configure" failed unexpectedly.
"

and /usr/ports/net/samba419/work/samba-4.19.9/bin/config.log
ends with
"...
Checking for system tdb (>=1.4.9)
['/usr/local/bin/pkg-config', 'tdb >= 1.4.9', '--cflags', '--libs', 'tdb']
out: -I/usr/local/include -L/usr/local/lib -ltdb

yes"
This occurs while attempting to build both 416 and 419

I have samba416 built on an FreeBSD 14.0-RELEASE-p5 and the /etc/make*.conf and /etc/src.conf files are identical.  

The detail of the HBSD build is "myworkingbranch-n193960-b3026e145f6e GENERIC"? (myworkingbranch removes what I don't require from GENERIC).

Noteworthy is that pkg-config is successful, but there is no clue as to the cause of the samba41* failures.
# /usr/local/bin/pkg-config 'tdb >= 1.4.9' --cflags --libs  tdb; echo $?
-I/usr/local/include -L/usr/local/lib -ltdb
0
and the package exists
# pkg info -x tdb
tdb-1.4.9,1

With the exception of the following sysctl's, I have set all hardening.pax.to 0.
hardening.pax.segvguard.max_crashes=5
hardening.pax.segvguard.suspend_timeout=600
hardening.pax.segvguard.expiry_timeout=120

I've also rebuilt and installed python39 and pythond 311 without success.

Thank-you.
Reply all
Reply to author
Forward
0 new messages