Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 May 2016 19:18:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 209183] Uses/bdb.mk conversion appears broken
Message-ID:  <bug-209183-13@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: peter@FreeBSD.org
                CC: freebsd-ports-bugs@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=3D           48
.if ${.CURDIR:M*/databases/db5*} !=3D ""
IGNORE=3D Damage control
.endif
.if ${.CURDIR:M*/databases/db6*} !=3D ""
IGNORE=3D Damage control
.endif

.. leads to this:

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

py-bsddb/Makefile has "USE_BDB=3D43+" (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.

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



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