From nobody Mon May 16 16:31:37 2022 X-Original-To: perl@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 5E0441AD08DE 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 4L24Wt1M9Cz4Tj2 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 1030D23921 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 24GGVcrH026861 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 24GGVbkv026859 for perl@FreeBSD.org; Mon, 16 May 2022 16:31:37 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: perl@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: maintainer of a number of perl-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-perl List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-perl@freebsd.org X-BeenThere: freebsd-perl@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=kwDR1X7EhG1BRsn87X30B7bYpSRZJJxqnFkV3IwxpnKaUV8p54I4y4oIlDvGEiJpT3UelD g0wNBfpGwOg0pJB6h8z1ZEI7ojS8zQPFnVC7A4kjFmt+AnGo0l0K01rv6eM2HwtFSMnFoP JIeNBxRl5y2uWiC2qvJGUzdtc9stICgnx5QljSSHizAcoQ8vuIuDxk5IKgrxmde5p00u09 A1ILXYNlNnyqOETHa63YsLikhotzhDwagQUtQ8ge8rxLUfVere2bbeOaPKqHsrexhRin6W lBgyAh8A+N1vCADF+RS/6YSfqOgQUaEck3/ZGBiIt2Y7pLiuTzz5asW4/c2b5Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652718698; a=rsa-sha256; cv=none; b=wyRfd8G3vwaYMqkrqWxXQcn+DPmkq9CNcn0tTk4MQEavpJtx7mM/iCDSsbE2asNnLjlWS4 4aXJdHkluBkV7k97T1oyMLTGZct2Q6rEr+IKiJg39HtpCEGpK31DA4OuuHD5DwlvRR7+rH uFjMXP5n7OlCt11f4zXJEU4OTWvtsefX1z04q/hUOvU/vXlFLs77HYG/71izqP9Hh/6Vqm 3geFP/EpyHHmn8H5SxhKllmmVeQugRVJpBNNK2HLWZjaLEiuY/hRmi2CUCPks3n9XsWW7A HcilqYl+F6ZDVuZ6Tk5qOz3lmwB7ERgfnG6EImCpXW2M8p8AMUhIy4r0FS4H+A== 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.=