Bug 262136 - databases/py-bsddb3: Mark DEPRECATED
Summary: databases/py-bsddb3: Mark DEPRECATED
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on: 262203 262204
Blocks:
  Show dependency treegraph
 
Reported: 2022-02-23 06:42 UTC by Yasuhiro Kimura
Modified: 2022-10-13 04:26 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (bofh)
koobs: merge-quarterly-


Attachments
Patch file (2.51 KB, patch)
2022-02-23 06:42 UTC, Yasuhiro Kimura
koobs: maintainer-approval+
Details | Diff
Updated patch file (850 bytes, patch)
2022-02-25 06:23 UTC, Yasuhiro Kimura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2022-02-23 06:42:58 UTC
Created attachment 232026 [details]
Patch file

Fix build when default version of berkeley db is 18.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2022-02-23 23:14:47 UTC
^Triage: MFH: No (BDB default will not change in quarterly)
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2022-02-23 23:15:07 UTC
Comment on attachment 232026 [details]
Patch file

Approved by: portmgr (blanket: build fix)
Comment 3 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-24 02:44:18 UTC
The official site specifically mentions that:

"There are no plans to support new Oracle Berkeley DB releases or to improve support of currently supported Oracle Berkeley DB releases. I could publish new releases of this library if a serious bug were found, but bsddb3 library is considered legacy."

So this one should go with db5. I want to mark this DEPRECATED with expiration on 22-06-30.
Comment 4 Yasuhiro Kimura freebsd_committer freebsd_triage 2022-02-25 06:23:05 UTC
Created attachment 232097 [details]
Updated patch file

Limit valid range of berkeley db.
Comment 5 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-26 05:01:14 UTC
Ok. This one is going to be a bit tricky. I am going to commit this in a while but don't close this ticket. We have to chase some dependencies and I need some real updates on how are we going to process db5 after EXPIRATION.
Comment 6 commit-hook freebsd_committer freebsd_triage 2022-02-26 05:16:54 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=98f8a6e069f59e388c365377ae77307909f076f9

commit 98f8a6e069f59e388c365377ae77307909f076f9
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-02-26 05:13:51 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-02-26 05:13:51 +0000

    databases/py-bsddb3: Mark DEPRECATED

    - Limit to use with db5 only [1]
    - Limit to use with python 3.6-3.9 only
    - Set EXPIRATION_DATE on 2022-06-30 which is the same as db5
    - Pet portclippy

    PR:             262136 [1]
    Reported by:    yasu [1]

 databases/py-bsddb3/Makefile | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)
Comment 7 commit-hook freebsd_committer freebsd_triage 2022-02-28 23:41:54 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e5963086dcc918258be1e05670c5223bb272f361

commit e5963086dcc918258be1e05670c5223bb272f361
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-02-26 05:18:45 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-02-28 23:40:41 +0000

    science/gramps: Mark DEPRECATED

    - Requires py-bsddb3 which depends on upstream EOLd db5 which is set to
      expire on 2022-06-30 in the tree.
    - If you want this port to stay chase upstream to use py-berkeleydb from
      https://www.jcea.es/programacion/pybsddb.htm which is already in the
      tree.

    PR:             262136

 science/gramps/Makefile | 3 +++
 1 file changed, 3 insertions(+)