feedhenry / fh-db

Apache License 2.0
1 stars 16 forks source link

Problems while trying to run tests: Expresso is deprecated #12

Closed NickCis closed 7 years ago

NickCis commented 8 years ago

Hi, i've recently attended to the Red hat Advanced Mobility Trainning which was held last week on Bogota. I've encoutered some issues with this library, so i was studying the code. But, i couldn't run the tests:

$ npm test
> fh-db@1.2.1 test /home/nickcis/repos/fh-db
> expresso -I lib

sh: expresso: no se encontró la orden
npm ERR! Test failed.  See above for more details.

, when i try to install expresso library i got the following errors:

$ npm install expresso                                                                                                                                                                                                              1   master 

> expresso@0.9.2 preinstall /home/nickcis/repos/fh-db/node_modules/.staging/expresso-90922499
> make deps/jscoverage/node-jscoverage

cd deps/jscoverage && ./configure && make && mv jscoverage node-jscoverage
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking whether byte ordering is bigendian... no
checking for getaddrinfo... yes
checking for gethostbyname_r... yes
checking for inet_aton... yes
checking for strndup... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for MultiByteToWideChar... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating make-dist.sh
config.status: creating make-bin-dist.sh
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make[1]: se entra en el directorio '/home/nickcis/repos/fh-db/node_modules/.staging/expresso-90922499/deps/jscoverage'
gcc -DHAVE_CONFIG_H -I.    -Ijs -Ijs/obj -DXP_UNIX -g -O2 -MT generate-resources.o -MD -MP -MF .deps/generate-resources.Tpo -c -o generate-resources.o generate-resources.c
mv -f .deps/generate-resources.Tpo .deps/generate-resources.Po
gcc -Ijs -Ijs/obj -DXP_UNIX -g -O2   -o generate-resources generate-resources.o  
./generate-resources jscoverage-help.txt jscoverage-server-help.txt jscoverage.jsm jscoverage.manifest jscoverage.xul jscoverage-overlay.js jscoverage.html jscoverage.css jscoverage-ie.css jscoverage-highlight.css jscoverage.js report.js jscoverage-throbber.gif > resources.c
make  all-recursive
make[2]: se entra en el directorio '/home/nickcis/repos/fh-db/node_modules/.staging/expresso-90922499/deps/jscoverage'
Making all in js
make[3]: se entra en el directorio '/home/nickcis/repos/fh-db/node_modules/.staging/expresso-90922499/deps/jscoverage/js'
make -f Makefile.ref DISABLE_JIT=1 OBJROOT=obj BUILD_OPT=1
make[4]: se entra en el directorio '/home/nickcis/repos/fh-db/node_modules/.staging/expresso-90922499/deps/jscoverage/js'
Makefile.ref:58: NANOJIT_ARCH not defined in config/Linux_All.mk, JIT disabled
cd editline; make -f Makefile.ref all
make[5]: se entra en el directorio '/home/nickcis/repos/fh-db/node_modules/.staging/expresso-90922499/deps/jscoverage/js/editline'
mkdir -p ../obj/editline
gcc -o ../obj/editline/editline.o -c -Wall -Wno-format -MMD -DXP_UNIX -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis  -DJSFILE  -DANSI_ARROWS -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT -DSYS_UNIX -DHAVE_STDLIB -DUNIQUE_HISTORY editline.c
cc1: aviso: la opción de línea de órdenes ‘-fno-rtti’ es válida para C++/ObjC++ pero no para C
In file included from /usr/include/stdio.h:27:0,
                 from editline.h:63,
                 from editline.c:64:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
editline.c: En la función ‘add_history’:
editline.c:1050:29: aviso: el puntero que apunta en el paso del argumento 2 de ‘strcmp’ difiere en signo [-Wpointer-sign]
     if (H.Size && strcmp(p, H.Lines[H.Size - 1]) == 0)
                             ^
In file included from editline.h:66:0,
                 from editline.c:64:
/usr/include/string.h:140:12: nota: se esperaba ‘const char *’ pero el argumento es de tipo ‘CHAR * {aka unsigned char *}’
 extern int strcmp (const char *__s1, const char *__s2)
            ^~~~~~
gcc -o ../obj/editline/sysunix.o -c -Wall -Wno-format -MMD -DXP_UNIX -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis  -DJSFILE  -DANSI_ARROWS -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT -DSYS_UNIX -DHAVE_STDLIB -DUNIQUE_HISTORY sysunix.c
cc1: aviso: la opción de línea de órdenes ‘-fno-rtti’ es válida para C++/ObjC++ pero no para C
In file included from /usr/include/stdio.h:27:0,
                 from editline.h:63,
                 from sysunix.c:64:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ar rv ../obj/editline/libedit.a ../obj/editline/editline.o ../obj/editline/sysunix.o
ar: creando ../obj/editline/libedit.a
a - ../obj/editline/editline.o
a - ../obj/editline/sysunix.o
echo ../obj/editline/libedit.a
../obj/editline/libedit.a
make[5]: se sale del directorio '/home/nickcis/repos/fh-db/node_modules/.staging/expresso-90922499/deps/jscoverage/js/editline'
make -f Makefile.ref  ./obj/libjs.a ./obj/libjs.so ./obj/js 
make[5]: se entra en el directorio '/home/nickcis/repos/fh-db/node_modules/.staging/expresso-90922499/deps/jscoverage/js'
Makefile.ref:58: NANOJIT_ARCH not defined in config/Linux_All.mk, JIT disabled
g++ -o obj/jscpucfg.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jscpucfg.cpp
In file included from /usr/include/stdio.h:27:0,
                 from jscpucfg.cpp:44:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++  -o obj/jscpucfg ./obj/jscpucfg.o
rm -f obj/jsautocfg.h
./obj/jscpucfg > obj/jsautocfg.h
g++ -o ./obj/jskwgen -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2   -lm jskwgen.cpp
In file included from /usr/include/assert.h:35:0,
                 from jskwgen.cpp:42:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
./obj/jskwgen obj/jsautokw.h
g++ -o ./obj/jsoplengen -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2   -lm jsoplengen.cpp
In file included from /usr/include/stdio.h:27:0,
                 from jsoplengen.cpp:41:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
./obj/jsoplengen obj/jsautooplen.h
sed < js-config.h.in > obj/js-config.h.tmp          \
        \
            \
    -e :dummy
if ! [ -f obj/js-config.h ] || ! cmp obj/js-config.h.tmp obj/js-config.h; then \
    mv obj/js-config.h.tmp obj/js-config.h;                   \
fi
touch obj/js-config.h.stamp
g++ -o obj/jsapi.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsapi.cpp
In file included from /usr/include/ctype.h:25:0,
                 from jsapi.cpp:45:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsarena.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsarena.cpp
In file included from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.2.1/cstdlib:41,
                 from /usr/include/c++/6.2.1/stdlib.h:36,
                 from jsarena.cpp:46:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsarray.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsarray.cpp
In file included from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.2.1/cstdlib:41,
                 from /usr/include/c++/6.2.1/stdlib.h:36,
                 from jsarray.cpp:79:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsatom.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsatom.cpp
In file included from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.2.1/cstdlib:41,
                 from /usr/include/c++/6.2.1/stdlib.h:36,
                 from jsatom.cpp:44:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
jsatom.cpp: En la función ‘void js_InitAtomMap(JSContext*, JSAtomMap*, JSAtomList*)’:
jsatom.cpp:1038:12: aviso: se define la variable ‘count’ pero no se usa [-Wunused-but-set-variable]
     uint32 count;
            ^~~~~
g++ -o obj/jsbool.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsbool.cpp
In file included from /usr/include/sys/types.h:25:0,
                 from jsotypes.h:71,
                 from jstypes.h:438,
                 from jsbool.cpp:44:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jscntxt.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jscntxt.cpp
In file included from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.2.1/cstdlib:41,
                 from /usr/include/c++/6.2.1/stdlib.h:36,
                 from jscntxt.cpp:46:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsdate.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsdate.cpp
In file included from /usr/include/ctype.h:25:0,
                 from jsdate.cpp:55:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsdbgapi.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsdbgapi.cpp
In file included from /usr/include/string.h:25:0,
                 from jsdbgapi.cpp:45:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsdhash.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsdhash.cpp
In file included from /usr/include/stdio.h:27:0,
                 from jsdhash.cpp:44:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsdtoa.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsdtoa.cpp
In file included from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.2.1/cmath:41,
                 from /usr/include/c++/6.2.1/math.h:36,
                 from jslibmath.h:44,
                 from jsdtoa.cpp:44:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsemit.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsemit.cpp
In file included from /usr/include/string.h:25:0,
                 from jsemit.cpp:48:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
jsemit.cpp: En la función ‘JSBool EmitVariables(JSContext*, JSCodeGenerator*, JSParseNode*, JSBool, ptrdiff_t*)’:
jsemit.cpp:3602:12: aviso: se define la variable ‘forInLet’ pero no se usa [-Wunused-but-set-variable]
     JSBool forInLet, popScope;
            ^~~~~~~~
g++ -o obj/jsexn.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsexn.cpp
In file included from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.2.1/cstdlib:41,
                 from /usr/include/c++/6.2.1/stdlib.h:36,
                 from jsexn.cpp:46:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsfun.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsfun.cpp
In file included from /usr/include/string.h:25:0,
                 from jsfun.cpp:45:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsgc.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsgc.cpp
In file included from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.2.1/cstdlib:41,
                 from /usr/include/c++/6.2.1/stdlib.h:36,
                 from jsgc.cpp:52:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
jsgc.cpp: En la función ‘void InitGCArenaLists(JSRuntime*)’:
jsgc.cpp:304:74: aviso: conversión a puntero desde un entero de tamaño diferente [-Wint-to-pointer-cast]
 #define ARENA_INFO_OFFSET (GC_ARENA_SIZE - (uint32) sizeof(JSGCArenaInfo))
                                                                          ^
jsgc.cpp:593:47: nota: in expansion of macro ‘ARENA_INFO_OFFSET’
 #define DOUBLE_BITMAP_SENTINEL  ((jsbitmap *) ARENA_INFO_OFFSET)
                                               ^~~~~~~~~~~~~~~~~
jsgc.cpp:1050:45: nota: in expansion of macro ‘DOUBLE_BITMAP_SENTINEL’
     rt->gcDoubleArenaList.nextDoubleFlags = DOUBLE_BITMAP_SENTINEL;
                                             ^~~~~~~~~~~~~~~~~~~~~~
jsgc.cpp: En la función ‘void FinishGCArenaLists(JSRuntime*)’:
jsgc.cpp:304:74: aviso: conversión a puntero desde un entero de tamaño diferente [-Wint-to-pointer-cast]
 #define ARENA_INFO_OFFSET (GC_ARENA_SIZE - (uint32) sizeof(JSGCArenaInfo))
                                                                          ^
jsgc.cpp:593:47: nota: in expansion of macro ‘ARENA_INFO_OFFSET’
 #define DOUBLE_BITMAP_SENTINEL  ((jsbitmap *) ARENA_INFO_OFFSET)
                                               ^~~~~~~~~~~~~~~~~
jsgc.cpp:1068:45: nota: in expansion of macro ‘DOUBLE_BITMAP_SENTINEL’
     rt->gcDoubleArenaList.nextDoubleFlags = DOUBLE_BITMAP_SENTINEL;
                                             ^~~~~~~~~~~~~~~~~~~~~~
jsgc.cpp: En la función ‘JSGCDoubleCell* RefillDoubleFreeList(JSContext*)’:
jsgc.cpp:304:74: aviso: conversión a puntero desde un entero de tamaño diferente [-Wint-to-pointer-cast]
 #define ARENA_INFO_OFFSET (GC_ARENA_SIZE - (uint32) sizeof(JSGCArenaInfo))
                                                                          ^
jsgc.cpp:593:47: nota: in expansion of macro ‘ARENA_INFO_OFFSET’
 #define DOUBLE_BITMAP_SENTINEL  ((jsbitmap *) ARENA_INFO_OFFSET)
                                               ^~~~~~~~~~~~~~~~~
jsgc.cpp:2053:32: nota: in expansion of macro ‘DOUBLE_BITMAP_SENTINEL’
             if (doubleFlags == DOUBLE_BITMAP_SENTINEL ||
                                ^~~~~~~~~~~~~~~~~~~~~~
jsgc.cpp:304:74: aviso: conversión a puntero desde un entero de tamaño diferente [-Wint-to-pointer-cast]
 #define ARENA_INFO_OFFSET (GC_ARENA_SIZE - (uint32) sizeof(JSGCArenaInfo))
                                                                          ^
jsgc.cpp:593:47: nota: in expansion of macro ‘ARENA_INFO_OFFSET’
 #define DOUBLE_BITMAP_SENTINEL  ((jsbitmap *) ARENA_INFO_OFFSET)
                                               ^~~~~~~~~~~~~~~~~
jsgc.cpp:2073:36: nota: in expansion of macro ‘DOUBLE_BITMAP_SENTINEL’
                 if (doubleFlags == DOUBLE_BITMAP_SENTINEL) {
                                    ^~~~~~~~~~~~~~~~~~~~~~
jsgc.cpp: En la función ‘void js_GC(JSContext*, JSGCInvocationKind)’:
jsgc.cpp:304:74: aviso: conversión a puntero desde un entero de tamaño diferente [-Wint-to-pointer-cast]
 #define ARENA_INFO_OFFSET (GC_ARENA_SIZE - (uint32) sizeof(JSGCArenaInfo))
                                                                          ^
jsgc.cpp:593:47: nota: in expansion of macro ‘ARENA_INFO_OFFSET’
 #define DOUBLE_BITMAP_SENTINEL  ((jsbitmap *) ARENA_INFO_OFFSET)
                                               ^~~~~~~~~~~~~~~~~
jsgc.cpp:3603:11: nota: in expansion of macro ‘DOUBLE_BITMAP_SENTINEL’
         : DOUBLE_BITMAP_SENTINEL;
           ^~~~~~~~~~~~~~~~~~~~~~
jsgc.cpp: En el ámbito global:
jsgc.cpp:568:1: aviso: una función always_inline tal vez no se puede incluir en línea [-Wattributes]
 IsMarkedDouble(JSGCArenaInfo *a, uint32 index)
 ^~~~~~~~~~~~~~
g++ -o obj/jshash.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jshash.cpp
In file included from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.2.1/cstdlib:41,
                 from /usr/include/c++/6.2.1/stdlib.h:36,
                 from jshash.cpp:44:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsinterp.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -O3 -fstrict-aliasing -fno-exceptions -fno-rtti jsinterp.cpp
In file included from /usr/include/stdio.h:27:0,
                 from jsinterp.cpp:45:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
jsinterp.cpp: En la función ‘JSBool js_Interpret(JSContext*)’:
jsinterp.cpp:2459:17: aviso: se define la variable ‘endpc’ pero no se usa [-Wunused-but-set-variable]
     jsbytecode *endpc, *pc2;
                 ^~~~~
g++ -o obj/jsinvoke.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsinvoke.cpp
In file included from /usr/include/stdio.h:27:0,
                 from jsinterp.cpp:45,
                 from jsinvoke.cpp:42:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from jsinvoke.cpp:42:0:
jsinterp.cpp: En la función ‘JSBool AllocateAfterSP(JSContext*, jsval*, uintN)’:
jsinterp.cpp:539:12: aviso: se define la variable ‘sp2’ pero no se usa [-Wunused-but-set-variable]
     jsval *sp2;
            ^~~
g++ -o obj/jsiter.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsiter.cpp
In file included from /usr/include/string.h:25:0,
                 from jsiter.cpp:45:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jslock.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jslock.cpp
g++ -o obj/jslog2.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jslog2.cpp
In file included from /usr/include/sys/types.h:25:0,
                 from jsotypes.h:71,
                 from jstypes.h:438,
                 from jsbit.h:42,
                 from jslog2.cpp:40:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jslong.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jslong.cpp
In file included from /usr/include/sys/types.h:25:0,
                 from jsotypes.h:71,
                 from jstypes.h:438,
                 from jslong.cpp:40:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsmath.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsmath.cpp
In file included from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.2.1/cmath:41,
                 from /usr/include/c++/6.2.1/math.h:36,
                 from jslibmath.h:44,
                 from jsmath.cpp:44:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsnum.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsnum.cpp
In file included from /usr/include/locale.h:25:0,
                 from jsnum.cpp:48:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsobj.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsobj.cpp
In file included from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.2.1/cstdlib:41,
                 from /usr/include/c++/6.2.1/stdlib.h:36,
                 from jsobj.cpp:45:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
jsobj.cpp: En la función ‘JSBool obj_getSlot(JSContext*, JSObject*, jsval, jsval*)’:
jsobj.cpp:166:12: aviso: se define la variable ‘slot’ pero no se usa [-Wunused-but-set-variable]
     uint32 slot;
            ^~~~
g++ -o obj/json.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 json.cpp
In file included from /usr/include/stdio.h:27:0,
                 from jsapi.h:47,
                 from json.cpp:39:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsopcode.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsopcode.cpp
In file included from /usr/include/stdio.h:27:0,
                 from jsopcode.cpp:49:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
jsopcode.cpp: En la función ‘const char* GetLocal(SprintStack*, jsint)’:
jsopcode.cpp:1234:16: aviso: se define la variable ‘cx’ pero no se usa [-Wunused-but-set-variable]
     JSContext *cx;
                ^~
jsopcode.cpp: En la función ‘jsbytecode* DecompileDestructuring(SprintStack*, jsbytecode*, jsbytecode*)’:
jsopcode.cpp:1446:14: aviso: se define la variable ‘saveop’ pero no se usa [-Wunused-but-set-variable]
     JSOp op, saveop;
              ^~~~~~
jsopcode.cpp: En la función ‘jsbytecode* Decompile(SprintStack*, jsbytecode*, intN, JSOp)’:
jsopcode.cpp:2005:19: aviso: el valor de case ‘256’ no es un tipo enumerado ‘JSOp’ [-Wswitch]
                   case JSOP_GETPROP2:
                   ^~~~
jsopcode.cpp:2008:19: aviso: el valor de case ‘257’ no es un tipo enumerado ‘JSOp’ [-Wswitch]
                   case JSOP_GETELEM2:
                   ^~~~
jsopcode.cpp:3698:15: aviso: el valor de case ‘256’ no es un tipo enumerado ‘JSOp’ [-Wswitch]
               case JSOP_GETPROP2:
               ^~~~
jsopcode.cpp:3775:15: aviso: el valor de case ‘257’ no es un tipo enumerado ‘JSOp’ [-Wswitch]
               case JSOP_GETELEM2:
               ^~~~
g++ -o obj/jsparse.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsparse.cpp
In file included from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.2.1/cstdlib:41,
                 from /usr/include/c++/6.2.1/stdlib.h:36,
                 from jsparse.cpp:55:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
jsparse.cpp: En la función ‘JSParseNode* Statement(JSContext*, JSTokenStream*, JSTreeContext*)’:
jsparse.cpp:2762:46: aviso: se sugieren paréntesis alrededor de ‘&&’ junto con ‘||’ [-Wparentheses]
                 if (pn2->pn_type == TOK_NAME && pn2->pn_expr

g++ -o obj/jsprf.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsprf.cpp
In file included from /usr/include/stdio.h:27:0,
                 from jsprf.cpp:46:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsregexp.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsregexp.cpp
In file included from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.2.1/cstdlib:41,
                 from /usr/include/c++/6.2.1/stdlib.h:36,
                 from jsregexp.cpp:45:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
jsregexp.cpp:3112:1: aviso: una función always_inline tal vez no se puede incluir en línea [-Wattributes]
 ExecuteREBytecode(REGlobalData *gData, REMatchState *x)
 ^~~~~~~~~~~~~~~~~
jsregexp.cpp:2903:1: aviso: una función always_inline tal vez no se puede incluir en línea [-Wattributes]
 SimpleMatch(REGlobalData *gData, REMatchState *x, REOp op,
 ^~~~~~~~~~~
jsregexp.cpp:2475:1: aviso: una función always_inline tal vez no se puede incluir en línea [-Wattributes]
 FlatNIMatcher(REGlobalData *gData, REMatchState *x, jschar *matchChars,
 ^~~~~~~~~~~~~
jsregexp.cpp:1624:1: aviso: una función always_inline tal vez no se puede incluir en línea [-Wattributes]
 InitNodeCharSet(JSRegExp *re, RENode *node)
 ^~~~~~~~~~~~~~~
jsregexp.cpp:388:1: aviso: una función always_inline tal vez no se puede incluir en línea [-Wattributes]
 downcase(uintN ch)
 ^~~~~~~~
jsregexp.cpp:372:1: aviso: una función always_inline tal vez no se puede incluir en línea [-Wattributes]
 upcase(uintN ch)
 ^~~~~~
jsregexp.cpp:273:1: aviso: una función always_inline tal vez no se puede incluir en línea [-Wattributes]
 ReadCompactIndex(jsbytecode *pc, size_t *result)
 ^~~~~~~~~~~~~~~~
jsregexp.cpp:260:1: aviso: una función always_inline tal vez no se puede incluir en línea [-Wattributes]
 WriteCompactIndex(jsbytecode *pc, size_t index)
 ^~~~~~~~~~~~~~~~~
g++ -o obj/jsscan.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsscan.cpp
In file included from /usr/include/stdio.h:27:0,
                 from jsscan.cpp:45:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
jsscan.cpp:999:1: aviso: una función always_inline tal vez no se puede incluir en línea [-Wattributes]
 ScanAsSpace(jschar c)
 ^~~~~~~~~~~
g++ -o obj/jsscope.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsscope.cpp
In file included from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.2.1/cstdlib:41,
                 from /usr/include/c++/6.2.1/stdlib.h:36,
                 from jsscope.cpp:45:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsscript.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsscript.cpp
In file included from /usr/include/string.h:25:0,
                 from jsscript.cpp:45:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsstr.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsstr.cpp
In file included from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.2.1/cstdlib:41,
                 from /usr/include/c++/6.2.1/stdlib.h:36,
                 from jsstr.cpp:52:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsutil.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsutil.cpp
In file included from /usr/include/stdio.h:27:0,
                 from jsutil.cpp:45:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsxdrapi.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsxdrapi.cpp
In file included from /usr/include/string.h:25:0,
                 from jsxdrapi.cpp:44:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -o obj/jsxml.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC  -UDEBUG -DNDEBUG -UDEBUG_nickcis -DEDITLINE -I. -I./obj  -Os -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2 jsxml.cpp
In file included from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.2.1/cmath:41,
                 from /usr/include/c++/6.2.1/math.h:36,
                 from jsxml.cpp:45:
/usr/include/features.h:148:3: aviso: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from jsxml.cpp:48:0:
jsxml.cpp: En la función ‘JSObject* NewXMLNamespace(JSContext*, JSString*, JSString*, JSBool)’:
jstypes.h:417:18: error: conversión inválida de ‘JSIntn {aka int}’ a ‘JSObject*’ [-fpermissive]
 #define JS_FALSE (JSIntn)0
                  ^~~~~~~~~
jsxml.cpp:295:16: nota: in expansion of macro ‘JS_FALSE’
         return JS_FALSE;
                ^~~~~~~~
make[5]: *** [rules.mk:78: obj/jsxml.o] Error 1
make[5]: se sale del directorio '/home/nickcis/repos/fh-db/node_modules/.staging/expresso-90922499/deps/jscoverage/js'
make[4]: *** [rules.mk:66: all] Error 2
make[4]: se sale del directorio '/home/nickcis/repos/fh-db/node_modules/.staging/expresso-90922499/deps/jscoverage/js'
make[3]: *** [GNUmakefile:12: all] Error 2
make[3]: se sale del directorio '/home/nickcis/repos/fh-db/node_modules/.staging/expresso-90922499/deps/jscoverage/js'
make[2]: *** [Makefile:478: all-recursive] Error 1
make[2]: se sale del directorio '/home/nickcis/repos/fh-db/node_modules/.staging/expresso-90922499/deps/jscoverage'
make[1]: *** [Makefile:281: all] Error 2
make[1]: se sale del directorio '/home/nickcis/repos/fh-db/node_modules/.staging/expresso-90922499/deps/jscoverage'
make: *** [Makefile:30: deps/jscoverage/node-jscoverage] Error 2
npm ERR! Linux 4.7.3-2-ARCH
npm ERR! argv "node" "/home/nickcis/.nvm/v0.10.30/bin/npm" "install" "expresso"
npm ERR! node v0.10.30
npm ERR! npm  v3.10.7
npm ERR! code ELIFECYCLE

npm ERR! expresso@0.9.2 preinstall: `make deps/jscoverage/node-jscoverage`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the expresso@0.9.2 preinstall script 'make deps/jscoverage/node-jscoverage'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the expresso package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     make deps/jscoverage/node-jscoverage
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs expresso
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls expresso
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/nickcis/repos/fh-db/npm-debug.log

The expresso gh page says that the library is deprecated (aparently it was deprecated arround 2012) and mocha should be used as a replacement.

This makes me wonder, How are you running tests? and if there are plans in the roadmap to replace the testing framework.

Thanks!

aidenkeating commented 7 years ago

@NickCis Thanks for raising this issue.

The issue should be resolved with https://github.com/feedhenry/fh-db/pull/19 so I'll go ahead and close this.