Date: Sun, 07 Dec 2025 01:47:07 +0000 From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 291447] www/apache24 "has more dependencies than the port requires" Message-ID: <bug-291447-16115@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291447 Bug ID: 291447 Summary: www/apache24 "has more dependencies than the port requires" Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: apache@FreeBSD.org Reporter: bob@vesterman.com Flags: maintainer-feedback?(apache@FreeBSD.org) Assignee: apache@FreeBSD.org For the past few days, my daily ports builder script has been failing on www/apache24. I just had a chance to look at it in a little detail to try to figure out what's going wrong more specifically: The actual build itself succeeds, but when the repository is rebuilt (via Synth's "rebuild-repository" command), something (either Synth or something invoked by it) complains: ----- www/apache24 package has more dependencies than the port requires (8) Query: devel/apr1:apr-1.7.5.1.6.3_5 ftp/curl:curl-8.17.0 textproc/expat2:expat-2.7.3 databases/gdbm:gdbm-1.26 devel/jansson:jansson-2.14.1 www/libnghttp2:libnghttp2-1.68.0 textproc/libxml2:libxml2-2.14.6 devel/pcre2:pcre2-10.47_1 lang/perl5.42:perl5-5.42.0_1 Tripped on: perl5-5.42.0_1.pkg:lang/perl5.42 apache24-2.4.66.pkg failed dependency check. ----- The package is then removed from the repository because of this failed dependency check. I don't know much about all this, but the first thing I notice is... perl? Apache depends on perl? I mean, maybe as a build dependency, but in the package itself it's presumably a runtime dependency, no? And that seems kind of weird to me (although, again, I don't know). I then took a look on Freshports, and saw Apache was updated a few days ago (which is at least plausibly the same time that I started getting this error). And looking at the change that was made, again I don't know much about this, but it looks to me like some new dependency ("libgdbm.so:databases/gdbm") was added in at least some situations ("if exists(${APU_GDBM})"). There's gdbm stuff listed as one of the nine dependencies that Synth found while expecting eight, so (I don't know) maybe the "Tripped on: perl" thing is just because perl was the ninth one found, as opposed to because perl was the actual problematic one. Is there perhaps something not quite right about this makefile change? So that it would build (and presumably run) just fine, but management tools like Synth that check packages more strictly would notice that something's amiss? Like, I dunno, maybe it should be a build dependency but is defined by the makefile change as a runtime dependency? Thanks in advance for any help. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291447-16115>
