If TDB option is enabled, build fails at configure phase as following. ---------------------------------------------------------------------- configure: checking log helpers: file DB configure: log helpers to be built: file DB configure: checking acl/external helpers: time_quota session file_userip unix_group delayer checking for LIBTDB... no checking for sys/stat.h... (cached) yes checking for tdb.h... yes configure: error: Required TrivialDB library not found ===> Script "configure" failed unexpectedly. Please report the problem to timp87@gmail.com [maintainer] and attach the "/wrkdirs/usr/ports/www/squid/work/squid-6.12/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/www/squid ---------------------------------------------------------------------- Conditions are, Host: 14.2-RELEASE amd64 Poudriere: 3.4.2 Jail: Same as host Ports tree: ports b31003d07b00 (main branch)
Created attachment 257243 [details] port patch please verify
I confirmed your patch fixes build error. So I'll commit it.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b357fc2787483896354af0635d24887d8d0dc277 commit b357fc2787483896354af0635d24887d8d0dc277 Author: Pavel Timofeev <timp87@gmail.com> AuthorDate: 2025-02-04 23:00:19 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2025-02-05 06:39:02 +0000 www/squid: fix build with TDB enabled PR: 284532 www/squid/Makefile | 2 ++ 1 file changed, 2 insertions(+)
Committed. Thanks!