[Bug 209183] Uses/bdb.mk conversion appears broken

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 1 19:18:53 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209183

            Bug ID: 209183
           Summary: Uses/bdb.mk conversion appears broken
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: peter at FreeBSD.org
                CC: freebsd-ports-bugs at FreeBSD.org

The conversion of bsd.databases.mk to Uses/bdb.mk doesn't work as expected.

Even with a global override, the USE_BDB compatibility hook in bsd.port.mk is
selecting the wrong version.

eg:
WITH_BDB_VER=           48
.if ${.CURDIR:M*/databases/db5*} != ""
IGNORE= Damage control
.endif
.if ${.CURDIR:M*/databases/db6*} != ""
IGNORE= Damage control
.endif

.. leads to this:

[00:00:09] ====>> Checking packages for incremental rebuild needed
[00:00:20] ====>> Deleting py27-bsddb-2.7.11_5.txz: missing dependency:
db5-5.3.28_3
[..]
[00:00:22] ====>> Hit CTRL+t at any time to see build progress and stats
[00:00:22] ====>> [01][00:00:00] Starting build of databases/db5
[00:00:23] ====>> [01][00:00:01] Finished build of databases/db5: Ignored:
Damage control
[00:00:23] ====>> [01][00:00:01] Skipping build of databases/py-bsddb:
Dependent port databases/db5 ignored
[..]

py-bsddb/Makefile has "USE_BDB=43+" (like many others) and until r414018, it
used to work.

It does seem to probe the installed system and uses whatever it found that is
installed, but that doesn't help a poudriere run.  In that case it seems to
ignore any user preference of a global default and uses db5 instead.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list