[Bug 273066] lang/spidermonkey91: c++: error: unknown argument: '-fexperimental-new-pass-manager'

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 11 Aug 2023 05:31:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273066

            Bug ID: 273066
           Summary: lang/spidermonkey91: c++: error: unknown argument:
                    '-fexperimental-new-pass-manager'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: nc@FreeBSD.org
          Reporter: ohartmann@walstatt.org
          Assignee: nc@FreeBSD.org
             Flags: maintainer-feedback?(nc@FreeBSD.org)

Host CURRENT, jail CURRENT within a CURRENT poudriere environment, port
lang/spidermonkey91 fails to build due to the error shown below. For the
builder environment, please consult below.

[...]
/usr/bin/c++ -o Unified_cpp_js_src_debugger1.o -c 
-I/wrkdirs/usr/ports/lang/spidermonkey91/work/.build/dist/system_wrappers
-include
/wrkdirs/usr/ports/lang/spidermonkey91/work/firefox-91.13.0/config/gcc_hidden.h
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong
-fstack-clash-protection -DNDEBUG=1 -DTRIMMED=1 -DWASM_SUPPORTS_HUGE_MEMORY
-DEXPORT_JS_API -DMOZ_HAS_MOZGLUE
-I/wrkdirs/usr/ports/lang/spidermonkey91/work/firefox-91.13.0/js/src/debugger
-I/wrkdirs/usr/ports/lang/spidermonkey91/work/.build/js/src/debugger
-I/wrkdirs/usr/ports/lang/spidermonkey91/work/.build/js/src
-I/wrkdirs/usr/ports/lang/spidermonkey91/work/firefox-91.13.0/js/src
-I/wrkdirs/usr/ports/lang/spidermonkey91/work/.build/dist/include
-I/usr/local/include/nspr -I/usr/local/include -DMOZILLA_CLIENT -include
/wrkdirs/usr/ports/lang/spidermonkey91/work/.build/js/src/js-confdefs.h
-Qunused-arguments -I/usr/local/include -isystem /usr/local/include
-Qunused-arguments -Wall -Wbitfield-enum-conversion -Wdeprecated-this-capture
-Wempty-body -Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith
-Wshadow-field-in-constructor-modified -Wshadow-uncaptured-local -Wsign-compare
-Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code
-Wunreachable-code-return -Wno-invalid-offsetof -Wclass-varargs
-Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion
-Wloop-analysis -Wno-range-loop-analysis -Wc++2a-compat -Wcomma
-Wenum-compare-conditional -Wimplicit-fallthrough -Wstring-conversion
-Wno-inline-new-delete -Wno-error=deprecated-declarations
-Wno-error=array-bounds -Wno-error=backend-plugin
-Wno-error=free-nonheap-object -Wno-error=return-std-move
-Wno-error=atomic-alignment -Wno-error=deprecated-copy
-Wno-error=unused-but-set-variable -Wformat -Wformat-security
-Wno-gnu-zero-variadic-macro-arguments -Wno-psabi -Wno-unknown-warning-option
-fno-sized-deallocation -fno-aligned-new -O2 -pipe -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include
-fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions
-fno-math-errno -pipe -O -fomit-frame-pointer -funwind-tables
-I/usr/local/include -fno-strict-aliasing -Werror=format -Wno-shadow
-fexperimental-new-pass-manager  -MD -MP -MF
.deps/Unified_cpp_js_src_debugger1.o.pp   Unified_cpp_js_src_debugger1.cpp
c++: error: unknown argument: '-fexperimental-new-pass-manager'

[...]

=>> Building lang/spidermonkey91
build started at Fri Aug 11 05:01:27 UTC 2023
port directory: /usr/ports/lang/spidermonkey91
package name: spidermonkey91-91.13.0_11
building for: FreeBSD host1123.dr-intern 14.0-CURRENT FreeBSD 14.0-CURRENT
1400094 amd64
maintained by: nc@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 2853 Jul 18 08:02
/usr/ports/lang/spidermonkey91/Makefile
Ports top last git commit: 40e2e9a9f8
Ports top unclean checkout: no
Port dir last git commit: cdf28617b4
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.99.20220831
Host OSVERSION: 1400094
Jail OSVERSION: 1400094
Job Id: 02

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400094
UNAME_v=FreeBSD 14.0-CURRENT 1400094
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.99.20220831
MAKEOBJDIRPREFIX=/pool/sources/CURRENT/obj/
MASTERMNT=/pool/poudriere/data/.m/headamd64-head-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/pool/poudriere/data/.m/headamd64-head-default/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=headamd64-head-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/pool/poudriere/data/.m/headamd64-head-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.3.99.20220831
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

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