Repository navigation
installing io.js with a secondary gcc #1195
Description
i want to see if i can built an io.js from scratch on centOS-6.6 which has an old gcc version.
the first thing did was to download the centOS-6.6 ISO file and built it in virtualbox. then i issued this command:
yum --assumeyes update ; # get existing system current
next, i found the following at http://people.centos.org/tru/devtools-2/readme
wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo
yum --assumeyes install devtoolset-2-gcc devtoolset-2-binutils ;
yum --assumeyes install devtoolset-2-gcc-gfortran
yum --assumeyes devtoolset-2-gcc-c++ ; ## i added this one
i also did the following:
export PATH=/opt/rh/devtoolset-2/root/usr/bin:$PATH ;
export LD_LIBRARY_PATH=/opt/rh/devtoolset-2/root/usr/lib/ ;
gcc -v; ## make sure we have a good compiler
gcc version 4.8.2 2014-120 (Red Had 4.8.2-15) (GCC)
mkdir iojs; cd iojs;
wget https://iojs.org/download/nightly/v1.5.2-nightly201503182b63bcd247/iojs-v1.5.2-nightly201503182b63bcd247.tar.gz ;
tar -zxf *.gz ;
cd *;
./configure && make && make install ;
the good news is that i was able to get version numbers from iojs:
iojs -v ;
v1.5.1
npm -v ;
2.7.0
i seem to recall the ./configure step needs a switch of some sort. everything appeared to work except for the "make test". i am wondering if i should be concerned with a failed test. suggestions?
make --keep-going test; ## results below:
Done processing src/udp_wrap.cc
Done processing src/util.cc
Done processing src/uv.cc
src/async-wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_ASYNC_WRAP_H [build/header_guard] [5]
src/async-wrap.h:80: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_ASYNC_WRAP_H" [build/header_guard] [5]
Done processing src/async-wrap.h
src/async-wrap-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_ASYNC_WRAP_INL_H [build/header_guard] [5]
src/async-wrap-inl.h:91: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_ASYNC_WRAP_INL_H" [build/header_guard] [5]
Done processing src/async-wrap-inl.h
src/base-object.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_BASE_OBJECT_H [build/header_guard] [5]
src/base-object.h:51: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_BASE_OBJECT_H" [build/header_guard] [5]
Done processing src/base-object.h
src/base-object-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_BASE_OBJECT_INL_H [build/header_guard] [5]
src/base-object-inl.h:66: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_BASE_OBJECT_INL_H" [build/header_guard] [5]
Done processing src/base-object-inl.h
src/debug-agent.h:22: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_DEBUG_AGENT_H [build/header_guard] [5]
src/debug-agent.h:136: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_DEBUG_AGENT_H" [build/header_guard] [5]
Done processing src/debug-agent.h
src/env.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_ENV_H [build/header_guard] [5]
src/env.h:557: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_ENV_H" [build/header_guard] [5]
Done processing src/env.h
src/env-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_ENV_INL_H [build/header_guard] [5]
src/env-inl.h:471: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_ENV_INL_H" [build/header_guard] [5]
Done processing src/env-inl.h
src/handle_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_HANDLE_WRAP_H [build/header_guard] [5]
src/handle_wrap.h:71: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_HANDLE_WRAP_H" [build/header_guard] [5]
Done processing src/handle_wrap.h
src/js_stream.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_JS_STREAM_H [build/header_guard] [5]
src/js_stream.h:49: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_JS_STREAM_H" [build/header_guard] [5]
Done processing src/js_stream.h
src/node_buffer.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_BUFFER_H [build/header_guard] [5]
src/node_buffer.h:104: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_BUFFER_H" [build/header_guard] [5]
Done processing src/node_buffer.h
src/node_constants.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CONSTANTS_H [build/header_guard] [5]
src/node_constants.h:11: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CONSTANTS_H" [build/header_guard] [5]
Done processing src/node_constants.h
src/node_counters.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_COUNTERS_H [build/header_guard] [5]
src/node_counters.h:34: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_COUNTERS_H" [build/header_guard] [5]
Done processing src/node_counters.h
src/node_crypto_bio.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_BIO_H [build/header_guard] [5]
src/node_crypto_bio.h:131: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_BIO_H" [build/header_guard] [5]
Done processing src/node_crypto_bio.h
src/node_crypto_clienthello.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_CLIENTHELLO_H [build/header_guard] [5]
src/node_crypto_clienthello.h:115: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_CLIENTHELLO_H" [build/header_guard] [5]
Done processing src/node_crypto_clienthello.h
src/node_crypto_clienthello-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_CLIENTHELLO_INL_H [build/header_guard] [5]
src/node_crypto_clienthello-inl.h:56: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_CLIENTHELLO_INL_H" [build/header_guard] [5]
Done processing src/node_crypto_clienthello-inl.h
src/node_crypto_groups.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_GROUPS_H [build/header_guard] [5]
src/node_crypto_groups.h:391: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_GROUPS_H" [build/header_guard] [5]
Done processing src/node_crypto_groups.h
src/node_crypto.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_H [build/header_guard] [5]
src/node_crypto.h:690: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_H" [build/header_guard] [5]
Done processing src/node_crypto.h
src/node_dtrace.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_DTRACE_H [build/header_guard] [5]
src/node_dtrace.h:61: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_DTRACE_H" [build/header_guard] [5]
Done processing src/node_dtrace.h
src/node_file.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_FILE_H [build/header_guard] [5]
src/node_file.h:13: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_FILE_H" [build/header_guard] [5]
Done processing src/node_file.h
src/node.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_H [build/header_guard] [5]
src/node.h:441: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_H" [build/header_guard] [5]
Done processing src/node.h
src/node_http_parser.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_HTTP_PARSER_H [build/header_guard] [5]
src/node_http_parser.h:14: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_HTTP_PARSER_H" [build/header_guard] [5]
Done processing src/node_http_parser.h
src/node_i18n.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_I18N_H [build/header_guard] [5]
src/node_i18n.h:18: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_I18N_H" [build/header_guard] [5]
Done processing src/node_i18n.h
src/node_internals.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_INTERNALS_H [build/header_guard] [5]
src/node_internals.h:292: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_INTERNALS_H" [build/header_guard] [5]
Done processing src/node_internals.h
src/node_javascript.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_JAVASCRIPT_H [build/header_guard] [5]
src/node_javascript.h:14: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_JAVASCRIPT_H" [build/header_guard] [5]
Done processing src/node_javascript.h
src/node_lttng.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_LTTNG_H [build/header_guard] [5]
src/node_lttng.h:40: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_LTTNG_H" [build/header_guard] [5]
Done processing src/node_lttng.h
src/node_lttng_provider.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_LTTNG_PROVIDER_H [build/header_guard] [5]
src/node_lttng_provider.h:100: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_LTTNG_PROVIDER_H" [build/header_guard] [5]
Done processing src/node_lttng_provider.h
src/node_object_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_OBJECT_WRAP_H [build/header_guard] [5]
src/node_object_wrap.h:116: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_OBJECT_WRAP_H" [build/header_guard] [5]
Done processing src/node_object_wrap.h
src/node_stat_watcher.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_STAT_WATCHER_H [build/header_guard] [5]
src/node_stat_watcher.h:36: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_STAT_WATCHER_H" [build/header_guard] [5]
Done processing src/node_stat_watcher.h
src/node_v8_platform.h:22: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_V8_PLATFORM_H [build/header_guard] [5]
src/node_v8_platform.h:74: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_V8_PLATFORM_H" [build/header_guard] [5]
Done processing src/node_v8_platform.h
src/node_version.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_VERSION_H [build/header_guard] [5]
src/node_version.h:50: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_VERSION_H" [build/header_guard] [5]
Done processing src/node_version.h
src/node_watchdog.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WATCHDOG_H [build/header_guard] [5]
src/node_watchdog.h:37: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WATCHDOG_H" [build/header_guard] [5]
Done processing src/node_watchdog.h
src/node_win32_etw_provider.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WIN32_ETW_PROVIDER_H [build/header_guard] [5]
src/node_win32_etw_provider.h:74: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WIN32_ETW_PROVIDER_H" [build/header_guard] [5]
Done processing src/node_win32_etw_provider.h
src/node_win32_etw_provider-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WIN32_ETW_PROVIDER_INL_H [build/header_guard] [5]
src/node_win32_etw_provider-inl.h:264: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WIN32_ETW_PROVIDER_INL_H" [build/header_guard] [5]
Done processing src/node_win32_etw_provider-inl.h
src/node_win32_perfctr_provider.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WIN32_PERFCTR_PROVIDER_H [build/header_guard] [5]
src/node_win32_perfctr_provider.h:33: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WIN32_PERFCTR_PROVIDER_H" [build/header_guard] [5]
Done processing src/node_win32_perfctr_provider.h
src/node_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WRAP_H [build/header_guard] [5]
src/node_wrap.h:65: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WRAP_H" [build/header_guard] [5]
Done processing src/node_wrap.h
src/pipe_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_PIPE_WRAP_H [build/header_guard] [5]
src/pipe_wrap.h:46: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_PIPE_WRAP_H" [build/header_guard] [5]
Done processing src/pipe_wrap.h
src/req-wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_REQ_WRAP_H [build/header_guard] [5]
src/req-wrap.h:30: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_REQ_WRAP_H" [build/header_guard] [5]
Done processing src/req-wrap.h
src/req-wrap-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_REQ_WRAP_INL_H [build/header_guard] [5]
src/req-wrap-inl.h:41: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_REQ_WRAP_INL_H" [build/header_guard] [5]
Done processing src/req-wrap-inl.h
src/smalloc.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_SMALLOC_H [build/header_guard] [5]
src/smalloc.h:132: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_SMALLOC_H" [build/header_guard] [5]
Done processing src/smalloc.h
src/spawn_sync.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_SPAWN_SYNC_H [build/header_guard] [5]
src/spawn_sync.h:226: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_SPAWN_SYNC_H" [build/header_guard] [5]
Done processing src/spawn_sync.h
src/stream_base.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_STREAM_BASE_H [build/header_guard] [5]
src/stream_base.h:239: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_STREAM_BASE_H" [build/header_guard] [5]
Done processing src/stream_base.h
src/stream_base-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_STREAM_BASE_INL_H [build/header_guard] [5]
src/stream_base-inl.h:113: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_STREAM_BASE_INL_H" [build/header_guard] [5]
Done processing src/stream_base-inl.h
src/stream_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_STREAM_WRAP_H [build/header_guard] [5]
src/stream_wrap.h:107: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_STREAM_WRAP_H" [build/header_guard] [5]
Done processing src/stream_wrap.h
src/string_bytes.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_STRING_BYTES_H [build/header_guard] [5]
src/string_bytes.h:158: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_STRING_BYTES_H" [build/header_guard] [5]
Done processing src/string_bytes.h
src/tcp_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_TCP_WRAP_H [build/header_guard] [5]
src/tcp_wrap.h:50: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_TCP_WRAP_H" [build/header_guard] [5]
Done processing src/tcp_wrap.h
src/tls_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_TLS_WRAP_H [build/header_guard] [5]
src/tls_wrap.h:169: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_TLS_WRAP_H" [build/header_guard] [5]
Done processing src/tls_wrap.h
src/tty_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_TTY_WRAP_H [build/header_guard] [5]
src/tty_wrap.h:35: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_TTY_WRAP_H" [build/header_guard] [5]
Done processing src/tty_wrap.h
src/udp_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_UDP_WRAP_H [build/header_guard] [5]
src/udp_wrap.h:65: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_UDP_WRAP_H" [build/header_guard] [5]
Done processing src/udp_wrap.h
src/util.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_UTIL_H [build/header_guard] [5]
src/util.h:200: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_UTIL_H" [build/header_guard] [5]
Done processing src/util.h
src/util-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_UTIL_INL_H [build/header_guard] [5]
src/util-inl.h:203: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_UTIL_INL_H" [build/header_guard] [5]
Done processing src/util-inl.h
Done processing tools/icu/iculslocs.cc
Done processing tools/icu/no-op.cc
Total errors found: 100
make[1]: *** [cpplint] Error 1
make[1]: Leaving directory `/root/iojs/iojs-v1.5.1'
make: *** [test] Error 2
Activity
rvagg commentedon Mar 18, 2015
you should be able to use
sclto enable the environment needed, e.g.scl enable devtoolset-2 bashwill start abashinstance with all of the env vars ready to go and you can invokeconfigureandmakefrom there.See https://github.com/iojs/build/blob/master/setup/centos6/resources/start.sh for how we're doing this for the build/test machines
edwardsmarkf commentedon Mar 19, 2015
hi - thank you for sharing the "scl" command with me - that is new to me.
unfortunately, i received pretty much the same message:
[root@localhost iojs-v1.5.2-nightly201503191514b82355]# which gcc
/opt/rh/devtoolset-2/root/usr/bin/gcc
[root@localhost iojs-v1.5.2-nightly201503191514b82355]# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/opt/rh/devtoolset-2/root/usr --mandir=/opt/rh/devtoolset-2/root/usr/share/man --infodir=/opt/rh/devtoolset-2/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,fortran,lto --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --disable-libgcj --with-isl=/dev/shm/home/centos/rpm/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-linux/isl-install --with-cloog=/dev/shm/home/centos/rpm/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-linux/cloog-install --with-mpc=/dev/shm/home/centos/rpm/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-linux/mpc-install --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.2 20140120 (Red Hat 4.8.2-15) (GCC)
make test
.
.
.
Done processing src/udp_wrap.cc
Done processing src/util.cc
Done processing src/uv.cc
src/async-wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_ASYNC_WRAP_H [build/header_guard] [5]
src/async-wrap.h:80: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_ASYNC_WRAP_H" [build/header_guard] [5]
Done processing src/async-wrap.h
src/async-wrap-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_ASYNC_WRAP_INL_H [build/header_guard] [5]
src/async-wrap-inl.h:91: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_ASYNC_WRAP_INL_H" [build/header_guard] [5]
Done processing src/async-wrap-inl.h
src/base-object.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_BASE_OBJECT_H [build/header_guard] [5]
src/base-object.h:51: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_BASE_OBJECT_H" [build/header_guard] [5]
Done processing src/base-object.h
src/base-object-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_BASE_OBJECT_INL_H [build/header_guard] [5]
src/base-object-inl.h:66: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_BASE_OBJECT_INL_H" [build/header_guard] [5]
Done processing src/base-object-inl.h
src/debug-agent.h:22: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_DEBUG_AGENT_H [build/header_guard] [5]
src/debug-agent.h:136: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_DEBUG_AGENT_H" [build/header_guard] [5]
Done processing src/debug-agent.h
src/env.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_ENV_H [build/header_guard] [5]
src/env.h:557: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_ENV_H" [build/header_guard] [5]
Done processing src/env.h
src/env-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_ENV_INL_H [build/header_guard] [5]
src/env-inl.h:471: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_ENV_INL_H" [build/header_guard] [5]
Done processing src/env-inl.h
src/handle_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_HANDLE_WRAP_H [build/header_guard] [5]
src/handle_wrap.h:71: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_HANDLE_WRAP_H" [build/header_guard] [5]
Done processing src/handle_wrap.h
src/js_stream.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_JS_STREAM_H [build/header_guard] [5]
src/js_stream.h:49: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_JS_STREAM_H" [build/header_guard] [5]
Done processing src/js_stream.h
src/node_buffer.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_BUFFER_H [build/header_guard] [5]
src/node_buffer.h:104: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_BUFFER_H" [build/header_guard] [5]
Done processing src/node_buffer.h
src/node_constants.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_CONSTANTS_H [build/header_guard] [5]
src/node_constants.h:11: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_CONSTANTS_H" [build/header_guard] [5]
Done processing src/node_constants.h
src/node_counters.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_COUNTERS_H [build/header_guard] [5]
src/node_counters.h:34: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_COUNTERS_H" [build/header_guard] [5]
Done processing src/node_counters.h
src/node_crypto_bio.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_CRYPTO_BIO_H [build/header_guard] [5]
src/node_crypto_bio.h:133: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_CRYPTO_BIO_H" [build/header_guard] [5]
Done processing src/node_crypto_bio.h
src/node_crypto_clienthello.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_CRYPTO_CLIENTHELLO_H [build/header_guard] [5]
src/node_crypto_clienthello.h:115: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_CRYPTO_CLIENTHELLO_H" [build/header_guard] [5]
Done processing src/node_crypto_clienthello.h
src/node_crypto_clienthello-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_CRYPTO_CLIENTHELLO_INL_H [build/header_guard] [5]
src/node_crypto_clienthello-inl.h:56: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_CRYPTO_CLIENTHELLO_INL_H" [build/header_guard] [5]
Done processing src/node_crypto_clienthello-inl.h
src/node_crypto_groups.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_CRYPTO_GROUPS_H [build/header_guard] [5]
src/node_crypto_groups.h:391: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_CRYPTO_GROUPS_H" [build/header_guard] [5]
Done processing src/node_crypto_groups.h
src/node_crypto.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_CRYPTO_H [build/header_guard] [5]
src/node_crypto.h:690: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_CRYPTO_H" [build/header_guard] [5]
Done processing src/node_crypto.h
src/node_dtrace.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_DTRACE_H [build/header_guard] [5]
src/node_dtrace.h:61: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_DTRACE_H" [build/header_guard] [5]
Done processing src/node_dtrace.h
src/node_file.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_FILE_H [build/header_guard] [5]
src/node_file.h:13: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_FILE_H" [build/header_guard] [5]
Done processing src/node_file.h
src/node.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_H [build/header_guard] [5]
src/node.h:441: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_H" [build/header_guard] [5]
Done processing src/node.h
src/node_http_parser.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_HTTP_PARSER_H [build/header_guard] [5]
src/node_http_parser.h:14: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_HTTP_PARSER_H" [build/header_guard] [5]
Done processing src/node_http_parser.h
src/node_i18n.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_I18N_H [build/header_guard] [5]
src/node_i18n.h:18: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_I18N_H" [build/header_guard] [5]
Done processing src/node_i18n.h
src/node_internals.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_INTERNALS_H [build/header_guard] [5]
src/node_internals.h:292: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_INTERNALS_H" [build/header_guard] [5]
Done processing src/node_internals.h
src/node_javascript.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_JAVASCRIPT_H [build/header_guard] [5]
src/node_javascript.h:14: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_JAVASCRIPT_H" [build/header_guard] [5]
Done processing src/node_javascript.h
src/node_lttng.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_LTTNG_H [build/header_guard] [5]
src/node_lttng.h:40: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_LTTNG_H" [build/header_guard] [5]
Done processing src/node_lttng.h
src/node_lttng_provider.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_LTTNG_PROVIDER_H [build/header_guard] [5]
src/node_lttng_provider.h:100: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_LTTNG_PROVIDER_H" [build/header_guard] [5]
Done processing src/node_lttng_provider.h
src/node_object_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_OBJECT_WRAP_H [build/header_guard] [5]
src/node_object_wrap.h:116: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_OBJECT_WRAP_H" [build/header_guard] [5]
Done processing src/node_object_wrap.h
src/node_stat_watcher.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_STAT_WATCHER_H [build/header_guard] [5]
src/node_stat_watcher.h:36: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_STAT_WATCHER_H" [build/header_guard] [5]
Done processing src/node_stat_watcher.h
src/node_v8_platform.h:22: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_V8_PLATFORM_H [build/header_guard] [5]
src/node_v8_platform.h:74: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_V8_PLATFORM_H" [build/header_guard] [5]
Done processing src/node_v8_platform.h
src/node_version.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_VERSION_H [build/header_guard] [5]
src/node_version.h:50: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_VERSION_H" [build/header_guard] [5]
Done processing src/node_version.h
src/node_watchdog.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_WATCHDOG_H [build/header_guard] [5]
src/node_watchdog.h:37: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_WATCHDOG_H" [build/header_guard] [5]
Done processing src/node_watchdog.h
src/node_win32_etw_provider.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_WIN32_ETW_PROVIDER_H [build/header_guard] [5]
src/node_win32_etw_provider.h:74: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_WIN32_ETW_PROVIDER_H" [build/header_guard] [5]
Done processing src/node_win32_etw_provider.h
src/node_win32_etw_provider-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_WIN32_ETW_PROVIDER_INL_H [build/header_guard] [5]
src/node_win32_etw_provider-inl.h:264: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_WIN32_ETW_PROVIDER_INL_H" [build/header_guard] [5]
Done processing src/node_win32_etw_provider-inl.h
src/node_win32_perfctr_provider.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_WIN32_PERFCTR_PROVIDER_H [build/header_guard] [5]
src/node_win32_perfctr_provider.h:33: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_WIN32_PERFCTR_PROVIDER_H" [build/header_guard] [5]
Done processing src/node_win32_perfctr_provider.h
src/node_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_WRAP_H [build/header_guard] [5]
src/node_wrap.h:65: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_NODE_WRAP_H" [build/header_guard] [5]
Done processing src/node_wrap.h
src/pipe_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_PIPE_WRAP_H [build/header_guard] [5]
src/pipe_wrap.h:46: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_PIPE_WRAP_H" [build/header_guard] [5]
Done processing src/pipe_wrap.h
src/req-wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_REQ_WRAP_H [build/header_guard] [5]
src/req-wrap.h:30: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_REQ_WRAP_H" [build/header_guard] [5]
Done processing src/req-wrap.h
src/req-wrap-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_REQ_WRAP_INL_H [build/header_guard] [5]
src/req-wrap-inl.h:41: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_REQ_WRAP_INL_H" [build/header_guard] [5]
Done processing src/req-wrap-inl.h
src/smalloc.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_SMALLOC_H [build/header_guard] [5]
src/smalloc.h:132: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_SMALLOC_H" [build/header_guard] [5]
Done processing src/smalloc.h
src/spawn_sync.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_SPAWN_SYNC_H [build/header_guard] [5]
src/spawn_sync.h:226: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_SPAWN_SYNC_H" [build/header_guard] [5]
Done processing src/spawn_sync.h
src/stream_base.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_STREAM_BASE_H [build/header_guard] [5]
src/stream_base.h:239: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_STREAM_BASE_H" [build/header_guard] [5]
Done processing src/stream_base.h
src/stream_base-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_STREAM_BASE_INL_H [build/header_guard] [5]
src/stream_base-inl.h:113: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_STREAM_BASE_INL_H" [build/header_guard] [5]
Done processing src/stream_base-inl.h
src/stream_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_STREAM_WRAP_H [build/header_guard] [5]
src/stream_wrap.h:107: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_STREAM_WRAP_H" [build/header_guard] [5]
Done processing src/stream_wrap.h
src/string_bytes.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_STRING_BYTES_H [build/header_guard] [5]
src/string_bytes.h:158: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_STRING_BYTES_H" [build/header_guard] [5]
Done processing src/string_bytes.h
src/tcp_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_TCP_WRAP_H [build/header_guard] [5]
src/tcp_wrap.h:50: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_TCP_WRAP_H" [build/header_guard] [5]
Done processing src/tcp_wrap.h
src/tls_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_TLS_WRAP_H [build/header_guard] [5]
src/tls_wrap.h:169: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_TLS_WRAP_H" [build/header_guard] [5]
Done processing src/tls_wrap.h
src/tty_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_TTY_WRAP_H [build/header_guard] [5]
src/tty_wrap.h:35: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_TTY_WRAP_H" [build/header_guard] [5]
Done processing src/tty_wrap.h
src/udp_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_UDP_WRAP_H [build/header_guard] [5]
src/udp_wrap.h:65: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_UDP_WRAP_H" [build/header_guard] [5]
Done processing src/udp_wrap.h
src/util.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_UTIL_H [build/header_guard] [5]
src/util.h:200: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_UTIL_H" [build/header_guard] [5]
Done processing src/util.h
src/util-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_UTIL_INL_H [build/header_guard] [5]
src/util-inl.h:203: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_2_NIGHTLY201503191514B82355_SRC_UTIL_INL_H" [build/header_guard] [5]
Done processing src/util-inl.h
Done processing tools/icu/iculslocs.cc
Done processing tools/icu/no-op.cc
Total errors found: 100
make[1]: *** [cpplint] Error 1
make[1]: Leaving directory `/root/iojs/iojs-v1.5.2-nightly201503191514b82355'
make: *** [test] Error 2
edwardsmarkf commentedon Mar 19, 2015
hello - for fun (or torture) i attempted the same install on a fresh install of centOS-7 and this time the "make test" gave a different error (below)
i downloaded the centOS-7 ISO file and used it to build an environment on virtualbox.
since i was able to successfully get the binary installed, i suppose there is no need for me to experiment further by building it myself. i have been unsuccessful now on both centOS-6.6 and centOS-7.
centOS-7 error below after running "make test":
Release/obj.target/deps/v8/tools/gyp/libv8_base.a /root/iojs/iojs-v1.5.2-nightly201503191514b82355/out/Release/obj.target/deps/v8/tools/gyp/libv8_libbase.a /root/iojs/iojs-v1.5.2-nightly201503191514b82355/out/Release/obj.target/deps/v8/tools/gyp/libv8_nosnapshot.a -Wl,--end-group -lrt -lm -ldl
LINK(target) /root/iojs/iojs-v1.5.2-nightly201503191514b82355/out/Release/iojs: Finished
touch /root/iojs/iojs-v1.5.2-nightly201503191514b82355/out/Release/obj.target/node_dtrace_header.stamp
touch /root/iojs/iojs-v1.5.2-nightly201503191514b82355/out/Release/obj.target/node_dtrace_provider.stamp
touch /root/iojs/iojs-v1.5.2-nightly201503191514b82355/out/Release/obj.target/node_dtrace_ustack.stamp
touch /root/iojs/iojs-v1.5.2-nightly201503191514b82355/out/Release/obj.target/node_etw.stamp
touch /root/iojs/iojs-v1.5.2-nightly201503191514b82355/out/Release/obj.target/node_perfctr.stamp
touch /root/iojs/iojs-v1.5.2-nightly201503191514b82355/out/Release/obj.target/specialize_node_d.stamp
make[1]: Leaving directory
/root/iojs/iojs-v1.5.2-nightly201503191514b82355/out' ln -fs out/Release/iojs iojs [root@localhost iojs-v1.5.2-nightly201503191514b82355]# [root@localhost iojs-v1.5.2-nightly201503191514b82355]# [root@localhost iojs-v1.5.2-nightly201503191514b82355]# [root@localhost iojs-v1.5.2-nightly201503191514b82355]# [root@localhost iojs-v1.5.2-nightly201503191514b82355]# make make -C out BUILDTYPE=Release V=1 make[1]: Entering directory/root/iojs/iojs-v1.5.2-nightly201503191514b82355/out'make[1]: Nothing to be done for
all'. make[1]: Leaving directory/root/iojs/iojs-v1.5.2-nightly201503191514b82355/out'ln -fs out/Release/iojs iojs
[root@localhost iojs-v1.5.2-nightly201503191514b82355]#
[root@localhost iojs-v1.5.2-nightly201503191514b82355]#
[root@localhost iojs-v1.5.2-nightly201503191514b82355]#
[root@localhost iojs-v1.5.2-nightly201503191514b82355]#
[root@localhost iojs-v1.5.2-nightly201503191514b82355]# make test
make -C out BUILDTYPE=Release V=1
make[1]: Entering directory
/root/iojs/iojs-v1.5.2-nightly201503191514b82355/out' make[1]: Nothing to be done forall'.make[1]: Leaving directory `/root/iojs/iojs-v1.5.2-nightly201503191514b82355/out'
ln -fs out/Release/iojs iojs
/usr/bin/python tools/test.py --mode=release message parallel sequential -J
=== release test-child-process-fork-dgram ===
Path: parallel/test-child-process-fork-dgram
Command: out/Release/iojs /root/iojs/iojs-v1.5.2-nightly201503191514b82355/test/parallel/test-child-process-fork-dgram.js
--- TIMEOUT ---
=== release test-cluster-dgram-1 ===
Path: parallel/test-cluster-dgram-1
events.js:141
throw er; // Unhandled 'error' event
^
Error: bind EADDRINUSE 0.0.0.0:12346
at Object.exports._errnoException (util.js:734:11)
at exports._exceptionWithHostPort (util.js:757:20)
at dgram.js:182:20
at rr (cluster.js:573:14)
at Worker. (cluster.js:544:9)
at process. (cluster.js:671:8)
at emitTwo (events.js:92:20)
at process.emit (events.js:169:7)
at handleMessage (child_process.js:306:10)
at Pipe.channel.onread (child_process.js:334:11)
assert.js:87
throw new assert.AssertionError({
^
AssertionError: false == true
at Worker. (/root/iojs/iojs-v1.5.2-nightly201503191514b82355/test/parallel/test-cluster-dgram-1.js:70:7)
at emitNone (events.js:67:13)
at Worker.emit (events.js:163:7)
at ChildProcess. (cluster.js:372:14)
at ChildProcess.g (events.js:257:16)
at emitNone (events.js:67:13)
at ChildProcess.emit (events.js:163:7)
at finish (child_process.js:518:14)
at process._tickCallback (node.js:361:13)
Command: out/Release/iojs /root/iojs/iojs-v1.5.2-nightly201503191514b82355/test/parallel/test-cluster-dgram-1.js
=== release test-cluster-dgram-2 ===
Path: parallel/test-cluster-dgram-2
events.js:141
throw er; // Unhandled 'error' event
^
Error: bind EADDRINUSE 0.0.0.0:12346
at Object.exports._errnoException (util.js:734:11)
at exports._exceptionWithHostPort (util.js:757:20)
at dgram.js:206:18
at dns.js:66:18
at process._tickCallback (node.js:361:13)
at Function.Module.runMain (module.js:453:11)
at startup (node.js:123:18)
at node.js:866:3
Command: out/Release/iojs /root/iojs/iojs-v1.5.2-nightly201503191514b82355/test/parallel/test-cluster-dgram-2.js
=== release test-dgram-bind-default-address ===
Path: parallel/test-dgram-bind-default-address
events.js:141
throw er; // Unhandled 'error' event
^
Error: bind EADDRINUSE 0.0.0.0:12346
at Object.exports._errnoException (util.js:734:11)
at exports._exceptionWithHostPort (util.js:757:20)
at dgram.js:206:18
at dns.js:66:18
at process._tickCallback (node.js:361:13)
at Function.Module.runMain (module.js:453:11)
at startup (node.js:123:18)
at node.js:866:3
Command: out/Release/iojs /root/iojs/iojs-v1.5.2-nightly201503191514b82355/test/parallel/test-dgram-bind-default-address.js
=== release test-dgram-bind-shared-ports ===
Path: parallel/test-dgram-bind-shared-ports
assert.js:87
throw new assert.AssertionError({
^
AssertionError: 'socket1:EADDRINUSE' == 'success'
at Worker. (/root/iojs/iojs-v1.5.2-nightly201503191514b82355/test/parallel/test-dgram-bind-shared-ports.js:17:12)
at emitTwo (events.js:87:13)
at Worker.emit (events.js:169:7)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:169:7)
at handleMessage (child_process.js:306:10)
at Pipe.channel.onread (child_process.js:334:11)
Command: out/Release/iojs /root/iojs/iojs-v1.5.2-nightly201503191514b82355/test/parallel/test-dgram-bind-shared-ports.js
=== release test-dgram-empty-packet ===
Path: parallel/test-dgram-empty-packet
events.js:141
throw er; // Unhandled 'error' event
^
Error: bind EADDRINUSE 0.0.0.0:12346
at Object.exports._errnoException (util.js:734:11)
at exports._exceptionWithHostPort (util.js:757:20)
at dgram.js:206:18
at dns.js:66:18
at process._tickCallback (node.js:361:13)
at Function.Module.runMain (module.js:453:11)
at startup (node.js:123:18)
at node.js:866:3
Command: out/Release/iojs /root/iojs/iojs-v1.5.2-nightly201503191514b82355/test/parallel/test-dgram-empty-packet.js
=== release test-dgram-exclusive-implicit-bind ===
Path: parallel/test-dgram-exclusive-implicit-bind
events.js:141
throw er; // Unhandled 'error' event
^
Error: bind EADDRINUSE 0.0.0.0:12346
at Object.exports._errnoException (util.js:734:11)
at exports._exceptionWithHostPort (util.js:757:20)
at dgram.js:206:18
at dns.js:66:18
at process._tickCallback (node.js:361:13)
at Function.Module.runMain (module.js:453:11)
at startup (node.js:123:18)
at node.js:866:3
Command: out/Release/iojs /root/iojs/iojs-v1.5.2-nightly201503191514b82355/test/parallel/test-dgram-exclusive-implicit-bind.js
=== release test-dgram-implicit-bind ===
Path: parallel/test-dgram-implicit-bind
events.js:141
throw er; // Unhandled 'error' event
^
Error: bind EADDRINUSE 0.0.0.0:12346
at Object.exports._errnoException (util.js:734:11)
at exports._exceptionWithHostPort (util.js:757:20)
at dgram.js:206:18
at dns.js:66:18
at process._tickCallback (node.js:361:13)
at Function.Module.runMain (module.js:453:11)
at startup (node.js:123:18)
at node.js:866:3
Command: out/Release/iojs /root/iojs/iojs-v1.5.2-nightly201503191514b82355/test/parallel/test-dgram-implicit-bind.js
=== release test-dgram-multicast-setTTL ===
Path: parallel/test-dgram-multicast-setTTL
events.js:141
throw er; // Unhandled 'error' event
^
Error: bind EADDRINUSE 0.0.0.0:12346
at Object.exports._errnoException (util.js:734:11)
at exports._exceptionWithHostPort (util.js:757:20)
at dgram.js:206:18
at dns.js:66:18
at process._tickCallback (node.js:361:13)
at Function.Module.runMain (module.js:453:11)
at startup (node.js:123:18)
at node.js:866:3
Command: out/Release/iojs /root/iojs/iojs-v1.5.2-nightly201503191514b82355/test/parallel/test-dgram-multicast-setTTL.js
=== release test-dgram-pingpong ===
Path: parallel/test-dgram-pingpong
server listening on 12348 undefined
Client sending to 12348, localhost PING
/root/iojs/iojs-v1.5.2-nightly201503191514b82355/test/parallel/test-dgram-pingpong.js:31
throw e;
^
Error: bind EADDRINUSE 127.0.0.1:12346
at Object.exports._errnoException (util.js:734:11)
at exports._exceptionWithHostPort (util.js:757:20)
at dgram.js:206:18
at GetAddrInfoReqWrap.asyncCallback as callback
at GetAddrInfoReqWrap.onlookup as oncomplete
Command: out/Release/iojs /root/iojs/iojs-v1.5.2-nightly201503191514b82355/test/parallel/test-dgram-pingpong.js
make: *** [test] Error 1
edwardsmarkf commentedon Mar 20, 2015
rod vagg said earlier:
i am wondering if my problem all along was that i was using centOS-6.6 and 7
jbergstroem commentedon Mar 20, 2015
@edwardsmarkf I don't think the os is the issue here. In a way it might be by modifying environment variables, paths and whatnot; but installing a compiler and setting environment up properly should be able to build iojs on pretty much any unix (sans a bit more foreign combinations of hardened or different libc's). Build issues like these are most likely not related to io.js. If you're keen on experimenting, there's a few of us on IRC to talk to. Although I'm not running CentOS, feel free to ping me (same username as on github) at freenode.
edwardsmarkf commentedon Mar 20, 2015
thank you very much. i have noticed that just because a build does not pass the test phase necessarily means i can not (or should not) use it. it is probably good practice to attempt the test, but so long as my iojs apps are working the same as they were in node, i am satisfied.
for example; i dont think ffmpeg passed "make test" either, but it does what i need it to do.
the error i saw was "EADDRINUSE" - which i tend to see that error quite frequently, when i forget to shut down the "forever" process.