From owner-freebsd-ports-bugs@freebsd.org Sun Jul 24 08:10:15 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9222EBA396D for ; Sun, 24 Jul 2016 08:10:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 67A661A56 for ; Sun, 24 Jul 2016 08:10:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u6O8AFJx089405 for ; Sun, 24 Jul 2016 08:10:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 209183] Uses/bdb.mk conversion appears broken Date: Sun, 24 Jul 2016 08:10:15 +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: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: peter@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2016 08:10:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209183 --- Comment #8 from Peter Wemm --- Unfortunately, this is still broken. This code: # 3b. if there is no usable version installed, check defaults .if empty(_INST_BDB_VER) _DFLT_BDB_VER:=3D${_DB_DEFAULTS} # make sure we use a reasonable version for package builds _WITH_BDB_HIGHEST=3Dyes . for i in ${_DFLT_BDB_VER} . if empty(_SUPP_BDB_VER:M${i}) _DFLT_BDB_VER:=3D ${_DFLT_BDB_VER:N${i}} . endif . endfor _ELIGIBLE_BDB_VER:=3D${_DFLT_BDB_VER} .. completely ignores the one from DEFAULT_VERSIONS and uses its hard-coded version list: With DEFAULT_VERSIONS=3Dbdb=3D48 in make.conf, then: databases/py-bsddb # make debug-bdb --INPUTS---------------------------------------------------- PY27_BSDDB_WITH_BDB_VER:=20 BDB_DEFAULT: 48 ^^^^ BDB_BUILD_DEPENDS:=20 bdb_ARGS (original): 43+ WITH_BDB_HIGHEST (original):=20 --PROCESSING------------------------------------------------ supported versions: 48 5 6 invalid versions:=20 installed versions:=20 eligible versions: 48 5 bdb_ARGS (effective): 48+ WITH_BDB_HIGHEST (override): yes ^^^ What? --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=3D ------------------------------------------------------------ The code, as written, is if you don't have a version of bdb installed in /usr/local already before you start, it completely ignores what you request= ed and depends on bdb-5 instead. # WITH_BDB_HIGHEST # - Use the highest installed version of Berkeley DB. This is not what is happening. --=20 You are receiving this mail because: You are on the CC list for the bug.=