Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2019 07:51:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 239507] lang/spidermonkey52: fix build with GCC-based architectures
Message-ID:  <bug-239507-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 239507
           Summary: lang/spidermonkey52: fix build with GCC-based
                    architectures
           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: pkubaj@FreeBSD.org
             Flags: maintainer-feedback?(kwm@FreeBSD.org)
          Assignee: kwm@FreeBSD.org

Created attachment 206134
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D206134&action=
=3Dedit
patch

With gcc9, build fails:
/usr/local/poudriere/ports/default/lang/spidermonkey52/work/firefox-52.9.0e=
sr/js/src/jsapi-tests/testPrintf.cpp:
In member function 'virtual bool cls_testPrintf::run(JS::HandleObject
)':
/usr/local/poudriere/ports/default/lang/spidermonkey52/work/firefox-52.9.0e=
sr/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()));


Remove the test printf:
CHECK(print_one("(null)", "%s", zero()));
to fix build.

--=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-239507-7788>