Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2019 00:37:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 239485] lang/spidermonkey52 fails to build with gcc9
Message-ID:  <bug-239485-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239485

            Bug ID: 239485
           Summary: lang/spidermonkey52 fails to build with gcc9
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kwm@FreeBSD.org
          Reporter: jhibbits@FreeBSD.org
             Flags: maintainer-feedback?(kwm@FreeBSD.org)
          Assignee: kwm@FreeBSD.org

Just updated my ports tree to get gcc9, and spidermonkey52 fails with the
following error:

In file included from
/wrkdirs/usr/ports/lang/spidermonkey52/work/firefox-52.9.0esr/js/src/jsapi-=
tests/testPersistentRooted.cpp:6,
                 from
/wrkdirs/usr/ports/lang/spidermonkey52/work/firefox-52.9.0esr/js/src/js/src=
/jsapi-tests/Unified_cpp_js_src_jsapi-tests4.cpp:2:
/wrkdirs/usr/ports/lang/spidermonkey52/work/firefox-52.9.0esr/js/src/jsapi-=
tests/testPrintf.cpp:
In member function 'virtual bool cls_testPrintf::run(JS::HandleObject)':
/wrkdirs/usr/ports/lang/spidermonkey52/work/firefox-52.9.0esr/js/src/jsapi-=
tests/testPrintf.cpp:58:20:
error: '%s' directive argument is null [-Werror=3Dformat-overflow=3D]
   58 |     CHECK(print_one("(null)", "%s", zero()));
/wrkdirs/usr/ports/lang/spidermonkey52/work/firefox-52.9.0esr/js/src/jsapi-=
tests/tests.h:205:15:
note: in definition of macro 'CHECK'
  205 |         if (!(expr)) \
      |               ^~~~
cc1plus: some warnings being treated as errors

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239485-7788>