[Bug 239485] lang/spidermonkey52 fails to build with gcc9

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 28 00:37:57 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239485

            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 at FreeBSD.org
          Reporter: jhibbits at FreeBSD.org
             Flags: maintainer-feedback?(kwm at FreeBSD.org)
          Assignee: kwm at 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=format-overflow=]
   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

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


More information about the freebsd-ports-bugs mailing list