[Bug 291951] databases/mongodb70: Broken after 7.0.27 & 7.0.28 Updates, needs bash build depencancy

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 26 Dec 2025 12:34:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291951

            Bug ID: 291951
           Summary: databases/mongodb70: Broken after 7.0.27 & 7.0.28
                    Updates, needs bash build depencancy
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ronald@FreeBSD.org
          Reporter: dweimer@dweimer.net
             Flags: maintainer-feedback?(ronald@FreeBSD.org)
          Assignee: ronald@FreeBSD.org

Created attachment 266548
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266548&action=edit
Full Poudriere Build Log Attached

Generating build/opt/mongo/db/ops/write_ops_gen.cpp
scons: *** [build/opt/mongo/scripting/mozjs/exception.o] Could not find force
include header(s): ['js-config.h'] in any path in CPPPATH:
        src/third_party/mozjs/include
        src/third_party/mozjs/mongo_sources
        src/third_party/mozjs/platform/x86_64/freebsd/include
        src/third_party/variant-1.4.0/include
        src/third_party/SafeInt
        src/third_party/murmurhash3
        src/third_party/immer/dist
        src/third_party/fmt/dist/include
        src/third_party/boost
        src/third_party/abseil-cpp/dist
        /usr/local/include
        build/opt

scons: building terminated because of errors.
build/opt/mongo/scripting/mozjs/exception.o failed: Could not find force
include header(s): ['js-config.h'] in any path in CPPPATH:
        src/third_party/mozjs/include
        src/third_party/mozjs/mongo_sources
        src/third_party/mozjs/platform/x86_64/freebsd/include
        src/third_party/variant-1.4.0/include
        src/third_party/SafeInt
        src/third_party/murmurhash3
        src/third_party/immer/dist
        src/third_party/fmt/dist/include
        src/third_party/boost
        src/third_party/abseil-cpp/dist
        /usr/local/include
        build/opt

*** Error code 2

Stop.
make: stopped making "build" in /usr/ports/databases/mongodb70
=>> Cleaning up wrkdir
===>  Cleaning for mongodb70-7.0.28
build of databases/mongodb70@default | mongodb70-7.0.28 ended at
2025-12-26T06:25:26-06:00
build time: 00:01:15
times end [shell] (user/sys/real): 0m0.012s 0m0.032s 1m15.000s
times end [child] (user/sys/real): 1m5.523s 0m20.821s 1m15.000s
!!! build failure encountered !!!

searching this online, I found that MongoDB 7.0.27+ requires bash, but prior to
7.0.27 it was optional.

"What changed in MongoDB 7.0.27+
 MongoDB updated the vendored mozjs snapshot and build glue:
 mozjs now unconditionally runs configure
 configure now explicitly invokes bash"

-- 
You are receiving this mail because:
You are the assignee for the bug.