From nobody Thu Dec 11 12:23:52 2025 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dRsFh4P1Cz6JdgN for ; Thu, 11 Dec 2025 12:23:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dRsFh3rplz3F53 for ; Thu, 11 Dec 2025 12:23:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765455832; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=x640woGY1ywhS6LFKJ+6I4I037nLx2dyWcBB2Xfh0i8=; b=yq1YQTXj0PFGUX2iBvE7uG8MCZopDnNDlX05YL5rSZ4SRNgVyl99yDuW5vFVWmNneSJhvs M/he9IZk/FLtPOvLpOeIALHN2dffMl5Y9SNT6Aib3pZi3rt/TNccpWZuCrT86EWYEu4hdU 494ReyQMQwdWY8oOHIXPsx1qQIDk6wjFTY1alarc0kW5KLfX6N+fF5bhsRt9KspwONgnJG uakXwEa9TG9/kecVC7MDLZrl9laU/6P9qVEE3SKSgSgQjb0+nmpMayNp44kY6SuG581Scx Ky9shAd1vT4LjOyv5Iu3j9bF9FjobD3jQL5MfQUC8MRViCCp32h3juZJeInK1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765455832; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=x640woGY1ywhS6LFKJ+6I4I037nLx2dyWcBB2Xfh0i8=; b=CdpWn2AseBh+MLHhtb7W5B7W9h6C6ZNG5sLTfk/FsZt+m6W3uHvSu1xJSrtqd/keVeQ4V9 Yj7J4wh/4ywh1X5dZQX7axjanYbr3XUTWgf7xuv9ejEAUSmUYKzsq6Mn14BSMOIFKlI3h2 G8PqG5dV13BIZ12/J2LF+C/ejt4Tb0t72z5KQypxq7ljEiCou3CbXYLRDduqJxWxrj+lb8 7CWisbN/gea4MYYgMG11NczSqsNOihxp6iFr1G6lBrgNOLMTdwr1riSoKeAf394IUAfjqb Yo3ZanlwT4ffzrdDuKyRn27pWYMa/WJ1IlRCGSr+cZgvcnexe/WVdHODRXQ5ww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765455832; a=rsa-sha256; cv=none; b=nCGs6z7tbP8YDIEkCRQ8CliMdhSLTRQ1krdKwPeDBFyeWAgk5XFeRiwQ3Nn1tHsUkyo3qV oEZXbEsWL0KeOkpMZPIHja0/tvPPs5iGWyAZBZeVGzyW5WIAmNAaQm6h1oN8SrDAhkKbJY sX2FTZXiKTXOpd88IrxPVsvDifQKX2T4hzy/YoUOuTeHJRAszNzDkpRVUIs/OSotzgr0Eg 04HX7o5Q/Mp9oFX5pgn7q/hqUFsELVbHflqlx1TyRHPmv8nEo9QG75SDgjrG73occA28SA l1AauXBvNkeLyAPmev/pZesy4TqZm6G73az/A3vrVYCqVbMeoUx6LstlgzFFhw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dRsFh3KH6zWHT for ; Thu, 11 Dec 2025 12:23:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BBCNqw7086260 for ; Thu, 11 Dec 2025 12:23:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BBCNqa6086259 for ports-bugs@FreeBSD.org; Thu, 11 Dec 2025 12:23:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 291447] ports-mgmt/synth: "www/apache24: has more dependencies than the port requires" Date: Thu, 11 Dec 2025 12:23:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@marino.st X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D291447 --- Comment #13 from John Marino --- Mattias, cmh articulated the problem pretty well. You should reread his comment. To your comment, the package built by Synth is correct (because even though= it didn't request GDBM be preinstalled by LID_DEPENDS values, it gets installed via APR anyway). However, it's not expecting GDBM to be a dependency becau= se it made package dependency list determination on a clean system. This is exactly what cmh is talking about. This is not a synth problem. This is a port problem. The author used a method to solve a problem, and that method caused a diffe= rent problem. Alternative solutions are: 1) Determine option settings of APR-1 and base logic off that (I do not like this, it has significant performance hit on evaluating the makefile) 2) Add GDBM to LIB_DEPENDS unconditional without modifying APR1 (This will = work for probably 99%+ of users who accept APR1 defaults, but perhaps add unnecessary dependency for those that modify APR1) 3) modify APR-1 remove GDBM as an option and make it a required. Then apac= he24 can add it unconditionally as well. The only thing I wonder about is what happens if someone picks a different database backend for APR1? Does that means the apache build will detect it like it did GDBM and link against it directly too? If so, the solution got much much worse. This is not about "builder wars" (oh, poudriere doesn't complain and portma= ster works took, so it's clearly a synth bug). Some people here agree it's a mistake that the determine dependency list changes based on what's installe= d on the system. For the ones that fail to see why that is a problem, get someb= ody from the portmgr group to confirm that apache2 is doing the wrong thing. --=20 You are receiving this mail because: You are the assignee for the bug.=