Can't build lang/spidermonkey17

Gordon Zaft <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <CAGuhNT0OCsM2pkyfupN9NbPB4cyN=mn7P8RYyJp0DRFdAX=wJQ@mail.gmail.com>
I'm trying to build MATE on my SB2K with a stock 7.0.2.  After about 24
hours of churning I got the following error in lang/spidermonkey17:

jsalloc.cpp

c++ -o jsalloc.o -c  -fvisibility=hidden -DIMPL_MFBT -DEXPORT_JS_API
-DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I.
-I./dist/include  -I/usr/pkg/include/nspr      -I. -I./assembler -I./yarr
-fPIC -DPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr
-pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type
-Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings
-Wno-invalid-offsetof -Wno-variadic-macros -Wno-long-long -O2
-I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -Dunix -fno-rtti
-ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe
-DNDEBUG -DTRIMMED -g -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1
-DENABLE_ASSEMBLER=1  -I/usr/include -I/usr/pkg/include
-I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF
.deps/jsalloc.o.pp /usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.
0/js/src/jsalloc.cpp

In file included from /usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.
0/js/src/jsapi.h:23:0,

                 from /usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.
0/js/src/jscntxt.h:17,

                 from /usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.
0/js/src/jsalloc.cpp:9:

/usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.0/js/src/jsval.h:307:13:
error: 'jsuword' does not name a type

             jsuword        word;

             ^

In file included from /usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.
0/js/src/jspropertycache.h:15:0,

                 from /usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.
0/js/src/jscntxt.h:23,

                 from /usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.
0/js/src/jsalloc.cpp:9:

/usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.0/js/src/vm/String.h:398:24:
warning: inline function 'static void JSString::writeBarrierPost(JSString*,
void*)' used but never defined [enabled by default]

     static inline void writeBarrierPost(JSString *str, void *addr);

                        ^

/usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.0/js/src/vm/String.h:397:24:
warning: inline function 'static void JSString::writeBarrierPre(JSString*)'
used but never defined [enabled by default]

     static inline void writeBarrierPre(JSString *str);

                        ^

config/rules.mk:1017: recipe for target 'jsalloc.o' failed

gmake[1]: *** [jsalloc.o] Error 1

gmake[1]: Leaving directory '/usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.
0/js/src'

config/rules.mk:576: recipe for target 'all' failed

gmake: *** [all] Error 2

*** Error code 2


Stop.

make[1]: stopped in /usr/pkgsrc/lang/spidermonkey17

*** Error code 1


Stop.

make: stopped in /usr/pkgsrc/lang/spidermonkey17


This is with the stock gcc, 4.8.4  and most recent (this morning) pkgsrc.


File a bug?  I'd appreciate if someone would tell me what SOP is for this
stuff.  Thanks!


-- 
Gordon Zaft
Province 35 Governor
Phi Mu Alpha Sinfonia Fraternity
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.