From nobody Mon May 16 16:31:37 2022 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 734A71AD0956 for ; Mon, 16 May 2022 16:31:38 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L24Wt1smLz4Tch for ; Mon, 16 May 2022 16:31:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 21CA423922 for ; Mon, 16 May 2022 16:31:38 +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 24GGVcfR026930 for ; Mon, 16 May 2022 16:31:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24GGVchE026925 for ports-bugs@FreeBSD.org; Mon, 16 May 2022 16:31:38 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 261638] Mk/Uses/bdb.mk: Many ports IGNORE'd with BDB_DEFAULT=18: cannot install: no eligible BerkeleyDB version Date: Mon, 16 May 2022 16:31:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jcfyecrayz@liamekaens.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652718698; 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=hbOdz9c9qE/m6cUvyAyG6s2sHdh/UanfwnDTYL8yOWc=; b=age2QGWol/7v9CM7nnVfHhD7Cipmbqw0RTmV4NBq7J09Cb/UaBZKJ7UN1TMxhDDrsFmQUS WX3i0t0BN23X0d/Rz76cNeGPWTQVLVBt4DHIexvN/3pxUahdf6qIecZMMk98Kg0Tq7ETCb KP6m/PojY+0I48ESyjH481cbdQN486bTFUFgP2ayoIg452fo9q/eQhinAH9z7amau9d8KG EmlUzhvRjNXtVxJmIDfrJC92r/HmyJm2Jm4ORG8SfdSRAaXlS+p6//r/Gzvoqku7MZC8md my6kzDO2IDLhGmjxZDf3kWI/VpBTxIT4gebQHjBahZqSvpXHYtjwAGnzgOBpSA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652718698; a=rsa-sha256; cv=none; b=DJR9UA2PepoOL9UGDuXsjrWHpGOjZQ4wDVh9Mtzu9N2s4TU+PnNGj+9oebvvIzM4GrvnbV t3y/oB6Ci9ZQbaDeEvYu+Qwea6OLhIof5sccMvghon3KDOfT7t3QvUKxPpX4l59qpNC0B2 XplMN4O/oUJHFwWaVx05u32uSe634tnBeuHyyotYE6nCkRSf0TqJ2jlqmdj6EiINxHWv0d OqAL+JEgppM1jzwCB651FCTt74/HUuxBBfqa/gU53I9MeYoSbzkHdiAzKgFT2OXeh9nZ6c lKW1pyvgFdkeVwIBkhV4YK9DTzjckv3YgChamZ6lArIr8u/0tTRU3VaC11aC6w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261638 John Hein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bdrewery@FreeBSD.org, | |jcfyecrayz@liamekaens.com, | |perl@FreeBSD.org --- Comment #3 from John Hein --- Note: bdrewery@ added the following to Mk/Uses/bdb.mk: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D commit a396e4f131341b58bf897f73d1ce1f8a6f6e5256 Author: Bryan Drewery AuthorDate: Mon May 9 11:56:31 2022 -0700 Commit: Bryan Drewery CommitDate: Mon May 9 11:58:30 2022 -0700 Mk/Uses/bdb.mk: Allow bdb:18 to work by default. mail/mutt currently has USES=3Dbdb:18 which causes an obscure error in Poudriere causing it to be IGNORED unless WITH_BDB6_PERMITTED is set. We already have a license framework so this flag seems odd but in the case where a port explicitly is asking for the version it makes sense to permit it as the default. diff --git a/Mk/Uses/bdb.mk b/Mk/Uses/bdb.mk index 645b9e9a7b0e..0316ff061229 100644 --- a/Mk/Uses/bdb.mk +++ b/Mk/Uses/bdb.mk @@ -63,7 +63,7 @@ _DB_DEFAULTS=3D 5 # Since 2020-12-02, this name is not fitting too much but # retained for now for compatibility. The name of this variable # is subject to change especially once db6 were removed. -. if defined(WITH_BDB6_PERMITTED) +. if defined(WITH_BDB6_PERMITTED) || ${_bdb_ARGS} =3D=3D 18 _DB_DEFAULTS+=3D 18 . endif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Unfortunately, the LICENSE for db18 is AvGPL3. This can cause a port that = uses this version of bdb to now be "infected" by this license and may require the LICENSE setting for the port to be adjusted. This is not fully in sync with the OP's original issue, but it is intimately related to one solution for it (define WITH_BDB6_PERMITTED=3D1). This may require discussion in a separate bug or phab review. bdrewery@ CC'd for comment. Any port that now uses something newer than db5 (which, in the current ports tree, means using databases/db18) may need to adjust its declared LICENSE. See also mail/mutt: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263= 211 See also databases/p5-BerkeleyDB (perl@ CC'd - please comment). --=20 You are receiving this mail because: You are on the CC list for the bug.=