Bug 296600

Summary: devel/libbson: update to 2.3.1
Product: Ports & Packages Reporter: Hiroo Ono <hiroo.ono+freebsd>
Component: Individual Port(s)Assignee: Joel Bodenmann <jbo>
Status: Closed FIXED    
Severity: Affects Only Me CC: jbo, ports
Priority: --- Flags: ports: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 296601    
Attachments:
Description Flags
devel/libbson 2.3.1 patch none

Description Hiroo Ono 2026-07-08 13:22:31 UTC
Created attachment 272607 [details]
devel/libbson 2.3.1 patch
Comment 1 Krzysztof 2026-07-08 14:03:13 UTC
Comment on attachment 272607 [details]
devel/libbson 2.3.1 patch

I was thinking about upgrade libbson and mongo-c-driver to newest version. But I'm afraid that collectd5 could not compile when mongodb wil be selected. 

So I have to check if collectd will compile.
Comment 2 Krzysztof 2026-07-08 14:07:29 UTC
(In reply to Krzysztof from comment #1)
Sorry. After writing comment I saw that you have made patch for collectd5.
Comment 3 commit-hook freebsd_committer freebsd_triage 2026-07-10 15:48:37 UTC
A commit in branch main references this bug:

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

commit 98c9dd05507853ae36692d12f16b707e3df991fa
Author:     Hiroo Ono <hiroo.ono+freebsd@gmail.com>
AuthorDate: 2026-07-04 16:02:04 +0000
Commit:     Joel Bodenmann <jbo@FreeBSD.org>
CommitDate: 2026-07-10 15:47:30 +0000

    devel/libbson: Update to 2.3.1

    PR:             296600
    Approved by:    Krzysztof <ports@bsdserwis.com> (maintainer)

 devel/libbson/Makefile                             |    2 +-
 devel/libbson/distinfo                             |    6 +-
 .../patch-build_sphinx_mongoc__common.py (gone)    |   25 -
 devel/libbson/pkg-plist                            | 1008 +++++++++-----------
 4 files changed, 446 insertions(+), 595 deletions(-)
Comment 4 Krzysztof 2026-07-11 07:15:31 UTC
mongo-c-driver depends on devel/libbson. These ports should be updated "simultaneously". Now mongo-c-driver cannot compile because there is new version of libbson.

So we have to do rollback libbson or update mongo-c-driver.