Bug 283694 - databases/mongodb70 and databases/mongodb80: Fails to build with PCRE2 10.45-RC1
Summary: databases/mongodb70 and databases/mongodb80: Fails to build with PCRE2 10.45-RC1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ronald Klop
URL:
Keywords:
Depends on:
Blocks: 251642
  Show dependency treegraph
 
Reported: 2024-12-28 16:23 UTC by Daniel Engberg
Modified: 2025-01-21 08:56 UTC (History)
0 users

See Also:
ronald: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2024-12-28 16:23:49 UTC
...
src/mongo/util/pcre.cpp:69:62: error: use of undeclared identifier 'PCRE2_ERROR_CONDITION_ATOMIC_ASSERTION_EXPECTED'
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2024-12-28 16:27:31 UTC
Patch for pcre2 available in PR 251642
Comment 2 Daniel Engberg freebsd_committer freebsd_triage 2024-12-28 16:39:07 UTC
This is using Poudriere on 13.4-RELEASE, forgot to mention that
Comment 3 Ronald Klop freebsd_committer freebsd_triage 2024-12-28 17:50:56 UTC
I can take a look in the next few days/weeks. 
If needed go ahead and commit the pcre2 port update. I can easily use the in-source pcre2 version of mongodb.
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2024-12-28 19:17:54 UTC
Sounds great, this also applies to databases/mongodb80 (same issue)

Given it's a RC candidate there should be at least a week or so until the final release is out so no stress.
Comment 5 commit-hook freebsd_committer freebsd_triage 2025-01-21 08:55:54 UTC
A commit in branch main references this bug:

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

commit 193f8fc2b4d36124b3cac7661e2b1d959f24f1c4
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2025-01-21 08:51:28 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2025-01-21 08:55:01 +0000

    databases/mongodb[78]0: use internal pcre2 code

    Fails to build with future update of PCRE2 10.45-RC1.

    PR:     283694
    Reported by:    diizzy@ (Daniel Engberg)

 databases/mongodb70/Makefile | 7 ++-----
 databases/mongodb80/Makefile | 7 ++-----
 2 files changed, 4 insertions(+), 10 deletions(-)