[Bug 291447] ports-mgmt/synth: "www/apache24: has more dependencies than the port requires"
Date: Wed, 10 Dec 2025 05:07:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291447
cmh <freebsd@juicer.orange-carb.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |freebsd@juicer.orange-carb.
| |org
--- Comment #11 from cmh <freebsd@juicer.orange-carb.org> ---
"The evaluation of LIB_DEPENDS changes depending on what is installed in the
system. That's a logical error. The value of LIB_DEPENDS should be the same
in all cases."
Validating that make build-depends-list on a clean host (no ports built)
suggests that libgdbm is not needed to compile. Whereas on my usual host (ports
built) it suggests that libgdbm is needed to compile.
Surely libgdbm either is, or is not, needed to compile. It cannot be both.
It seems to me that the premise of "make build-depends-list" is that it should
output what other ports are needed to build apache24. This premise appears to
be violated on the clean host, to me this is an error.
Otherwise, what is the point of "make build-depends-list" at all?
======= Normal Host (gdbm present already) =======
(xyzzy cmh 23:59) /usr/ports/www/apache24 > make build-depends-list
/usr/ports/ports-mgmt/pkg
/usr/ports/converters/libiconv
/usr/ports/security/openssl
/usr/ports/devel/autoconf
/usr/ports/devel/automake
/usr/ports/devel/libtool
/usr/ports/devel/ccache
/usr/ports/textproc/expat2
/usr/ports/devel/apr1
/usr/ports/devel/pcre2
/usr/ports/www/libnghttp2
/usr/ports/ftp/curl
/usr/ports/devel/jansson
/usr/ports/textproc/libxml2
/usr/ports/databases/gdbm
======== Clean host (gdbm not present)
root@freebsd:/usr/ports/www/apache24 # make build-depends-list
/usr/ports/ports-mgmt/pkg
/usr/ports/security/openssl
/usr/ports/devel/autoconf
/usr/ports/devel/automake
/usr/ports/devel/libtool
/usr/ports/devel/ccache
/usr/ports/textproc/expat2
/usr/ports/devel/apr1
/usr/ports/devel/pcre2
/usr/ports/www/libnghttp2
/usr/ports/ftp/curl
/usr/ports/devel/jansson
/usr/ports/textproc/libxml2
--
You are receiving this mail because:
You are the assignee for the bug.