Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jan 2022 22:19:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 261638] Mk/Uses/bdb.mk: setting default version to 18 causes ports to be marked as IGNORE
Message-ID:  <bug-261638-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261638

            Bug ID: 261638
           Summary: Mk/Uses/bdb.mk: setting default version to 18 causes
                    ports to be marked as IGNORE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: cyberbotx@cyberbotx.com
                CC: ume@FreeBSD.org
                CC: ume@FreeBSD.org

So recently I was getting messages saying that bdb 5 was deprecated and it =
was
recommended to switch to bdb 18. But when I change my DEFAULT_VERSIONS to h=
ave
bdb=3D18, I started getting ports marked as IGNORE in my poudriere builds. =
For
instance, security/cyrus-sasl2 tells me this:

cannot install: no eligible BerkeleyDB version. Requested: 18, incompatible=
: 2.
Try: make debug-bdb

Most ports say the same thing except for having nothing where the 2 after
incompatible is.

When I enter an interactive poudriere session with no bdb installed and my
default set to 5 (or unset) and run debug-bdb inside of
/usr/ports/security/cyrus-sasl2, I get the following:

--INPUTS----------------------------------------------------
CYRUS_SASL_WITH_BDB_VER:=20
BDB_DEFAULT: 5
BDB_BUILD_DEPENDS:=20
bdb_ARGS (original):=20
WITH_BDB_HIGHEST (original):=20
--PROCESSING------------------------------------------------
supported versions: 5
invalid versions: 2
installed versions:=20
eligible versions: 5
bdb_ARGS (effective): 5
WITH_BDB_HIGHEST (override): yes
--OUTPUTS---------------------------------------------------
IGNORE=3D
BDB_VER=3D5
BDB_INCLUDE_DIR=3D/usr/local/include/db5
BDB_LIB_NAME=3Ddb-5.3
BDB_LIB_CXX_NAME=3Ddb_cxx-5.3
BDB_LIB_DIR=3D/usr/local/lib/db5
BUILD_DEPENDS=3D
LIB_DEPENDS=3Dlibdb-5.3.so:databases/db5
------------------------------------------------------------

But if I set my default version to 18, I get the following instead:

--INPUTS----------------------------------------------------
CYRUS_SASL_WITH_BDB_VER:=20
BDB_DEFAULT: 18
BDB_BUILD_DEPENDS:=20
bdb_ARGS (original):=20
WITH_BDB_HIGHEST (original):=20
--PROCESSING------------------------------------------------
supported versions: 18
invalid versions: 2
installed versions:=20
eligible versions:=20
bdb_ARGS (effective): 18
WITH_BDB_HIGHEST (override): yes
--OUTPUTS---------------------------------------------------
IGNORE=3Dcannot install: no eligible BerkeleyDB version. Requested: 18,
incompatible: 2. Try: make debug-bdb
BDB_VER=3D
BDB_INCLUDE_DIR=3D
BDB_LIB_NAME=3D
BDB_LIB_CXX_NAME=3D
BDB_LIB_DIR=3D
BUILD_DEPENDS=3D
LIB_DEPENDS=3D
------------------------------------------------------------

I don't know enough about how bdb.mk is structured to know how to fix this,
though.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261638-7788>