Giter VIP home page Giter VIP logo

Comments (5)

pmq20 avatar pmq20 commented on July 20, 2024

Is memory too low for that machine? The log is too much truncated. Could you share more?

from node-packer.

geekycompy avatar geekycompy commented on July 20, 2024

This is the one with 4GB of memory and yet it doesn't compile

../deps/libsquash/sample/enclose_io_unix.h:43:8: warning: C++ style comments are not allowed in ISO C90
 #endif // !_WIN32
        ^
../deps/libsquash/sample/enclose_io_unix.h:43:8: warning: (this will be reported only once per input file)
  g++ '-DU_ATTRIBUTE_DEPRECATED=' '-D_CRT_SECURE_NO_DEPRECATE=' '-DU_STATIC_IMPLEMENTATION=1' -I../deps/icu-small/source
/common  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -Wno-deprecated-declarations -O3 -fno-omit-frame-pointer -fno
-exceptions -std=gnu++0x -frtti -MMD -MF /tmp/nodec/node-v8.1.4/out/Release/.deps//tmp/nodec/node-v8.1.4/out/Release/obj
.target/icustubdata/deps/icu-small/source/stubdata/stubdata.o.d.raw   -c -o /tmp/nodec/node-v8.1.4/out/Release/obj.targe
t/icustubdata/deps/icu-small/source/stubdata/stubdata.o ../deps/icu-small/source/stubdata/stubdata.cpp
  g++  -I../deps/gtest -I../deps/gtest/include  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -Wno-missing-field-ini
tializers -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /tmp/nodec/node-v8.1.4/out/Release
/.deps//tmp/nodec/node-v8.1.4/out/Release/obj.target/gtest/deps/gtest/src/gtest-death-test.o.d.raw   -c -o /tmp/nodec/no
de-v8.1.4/out/Release/obj.target/gtest/deps/gtest/src/gtest-death-test.o ../deps/gtest/src/gtest-death-test.cc
  g++  -I../deps/gtest -I../deps/gtest/include  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -Wno-missing-field-ini
tializers -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /tmp/nodec/node-v8.1.4/out/Release
/.deps//tmp/nodec/node-v8.1.4/out/Release/obj.target/gtest/deps/gtest/src/gtest-filepath.o.d.raw   -c -o /tmp/nodec/node
-v8.1.4/out/Release/obj.target/gtest/deps/gtest/src/gtest-filepath.o ../deps/gtest/src/gtest-filepath.cc
virtual memory exhausted: Cannot allocate memory
deps/v8/src/v8_libsampler.target.mk:101: recipe for target '/tmp/nodec/node-v8.1.4/out/Release/obj.target/v8_libsampler/
deps/v8/src/libsampler/sampler.o' failed
make[1]: *** [/tmp/nodec/node-v8.1.4/out/Release/obj.target/v8_libsampler/deps/v8/src/libsampler/sampler.o] Error 1
make[1]: *** Waiting for unfinished jobs....
virtual memory exhausted: Cannot allocate memory
deps/gtest/gtest.target.mk:82: recipe for target '/tmp/nodec/node-v8.1.4/out/Release/obj.target/gtest/deps/gtest/src/gte
st-filepath.o' failed
make[1]: *** [/tmp/nodec/node-v8.1.4/out/Release/obj.target/gtest/deps/gtest/src/gtest-filepath.o] Error 1
virtual memory exhausted: Cannot allocate memory
deps/libsquash/enclose_io_libsquash.target.mk:97: recipe for target '/tmp/nodec/node-v8.1.4/out/Release/obj.target/enclo
se_io_libsquash/deps/libsquash/sample/enclose_io_memfs.o' failed
make[1]: *** [/tmp/nodec/node-v8.1.4/out/Release/obj.target/enclose_io_libsquash/deps/libsquash/sample/enclose_io_memfs.
o] Error 1
rm 2bd47e96d6715d427749a9aecb9fbbcb47a76f14.intermediate
Makefile:76: recipe for target 'node' failed
make: *** [node] Error 2
Failed running ["make -j4"]

from node-packer.

geekycompy avatar geekycompy commented on July 20, 2024

ok, I got past that with 32GB memory and increasing the swap to 10GB

but now, heres another error...

' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D_POSIX_C_SOURCE=200112' '-DUCONFIG_NO_SERVICE=1' '-DUCONFIG_NO_REGULAR_EXPRESSIONS=1' '-DU_ENABLE_DYLOAD=0' '-DU_STATIC_IMPLEMENTATION=1' '-DU_HAVE_STD_STRING=0' '-DUCONFIG_NO_BREAK_ITERATION=0' '-DUCONFIG_NO_LEGACY_CONVERSION=1' '-DDEBUG' '-D_DEBUG' '-DV8_ENABLE_CHECKS' -I../src -I../tools/msvs/genfiles -I../deps/v8/include -I../deps/cares/include -I../deps/uv/include -I/tmp/nodec/node-v8.1.4/out/Debug/obj/gen -I/tmp/nodec/node-v8.1.4/out/Debug/obj/gen/include -I../deps/gtest/include -I../deps/zlib -I../deps/openssl/openssl/include -I../deps/http_parser -I../deps/icu-small/source/i18n -I../deps/icu-small/source/common  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -g -O0 -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /tmp/nodec/node-v8.1.4/out/Debug/.deps//tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/src/node_crypto_clienthello.o.d.raw   -c -o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/src/node_crypto_clienthello.o ../src/node_crypto_clienthello.cc
  g++ '-DGTEST_DONT_DEFINE_ASSERT_EQ=1' '-DGTEST_DONT_DEFINE_ASSERT_GE=1' '-DGTEST_DONT_DEFINE_ASSERT_GT=1' '-DGTEST_DONT_DEFINE_ASSERT_LE=1' '-DGTEST_DONT_DEFINE_ASSERT_LT=1' '-DGTEST_DONT_DEFINE_ASSERT_NE=1' '-DNODE_WANT_INTERNALS=1' '-DNODE_USE_V8_PLATFORM=1' '-DNODE_HAVE_I18N_SUPPORT=1' '-DNODE_HAVE_SMALL_ICU=1' '-DHAVE_INSPECTOR=1' '-DHAVE_OPENSSL=1' '-D__POSIX__' '-DHTTP_PARSER_STRICT=0' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D_POSIX_C_SOURCE=200112' '-DUCONFIG_NO_SERVICE=1' '-DUCONFIG_NO_REGULAR_EXPRESSIONS=1' '-DU_ENABLE_DYLOAD=0' '-DU_STATIC_IMPLEMENTATION=1' '-DU_HAVE_STD_STRING=0' '-DUCONFIG_NO_BREAK_ITERATION=0' '-DUCONFIG_NO_LEGACY_CONVERSION=1' '-DDEBUG' '-D_DEBUG' '-DV8_ENABLE_CHECKS' -I../src -I../tools/msvs/genfiles -I../deps/v8/include -I../deps/cares/include -I../deps/uv/include -I/tmp/nodec/node-v8.1.4/out/Debug/obj/gen -I/tmp/nodec/node-v8.1.4/out/Debug/obj/gen/include -I../deps/gtest/include -I../deps/zlib -I../deps/openssl/openssl/include -I../deps/http_parser -I../deps/icu-small/source/i18n -I../deps/icu-small/source/common  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -g -O0 -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /tmp/nodec/node-v8.1.4/out/Debug/.deps//tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/src/tls_wrap.o.d.raw   -c -o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/src/tls_wrap.o ../src/tls_wrap.cc
  g++ '-DGTEST_DONT_DEFINE_ASSERT_EQ=1' '-DGTEST_DONT_DEFINE_ASSERT_GE=1' '-DGTEST_DONT_DEFINE_ASSERT_GT=1' '-DGTEST_DONT_DEFINE_ASSERT_LE=1' '-DGTEST_DONT_DEFINE_ASSERT_LT=1' '-DGTEST_DONT_DEFINE_ASSERT_NE=1' '-DNODE_WANT_INTERNALS=1' '-DNODE_USE_V8_PLATFORM=1' '-DNODE_HAVE_I18N_SUPPORT=1' '-DNODE_HAVE_SMALL_ICU=1' '-DHAVE_INSPECTOR=1' '-DHAVE_OPENSSL=1' '-D__POSIX__' '-DHTTP_PARSER_STRICT=0' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D_POSIX_C_SOURCE=200112' '-DUCONFIG_NO_SERVICE=1' '-DUCONFIG_NO_REGULAR_EXPRESSIONS=1' '-DU_ENABLE_DYLOAD=0' '-DU_STATIC_IMPLEMENTATION=1' '-DU_HAVE_STD_STRING=0' '-DUCONFIG_NO_BREAK_ITERATION=0' '-DUCONFIG_NO_LEGACY_CONVERSION=1' '-DDEBUG' '-D_DEBUG' '-DV8_ENABLE_CHECKS' -I../src -I../tools/msvs/genfiles -I../deps/v8/include -I../deps/cares/include -I../deps/uv/include -I/tmp/nodec/node-v8.1.4/out/Debug/obj/gen -I/tmp/nodec/node-v8.1.4/out/Debug/obj/gen/include -I../deps/gtest/include -I../deps/zlib -I../deps/openssl/openssl/include -I../deps/http_parser -I../deps/icu-small/source/i18n -I../deps/icu-small/source/common  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -g -O0 -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /tmp/nodec/node-v8.1.4/out/Debug/.deps//tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/src/backtrace_posix.o.d.raw   -c -o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/src/backtrace_posix.o ../src/backtrace_posix.cc
  g++ -pthread -rdynamic -m64 -Wl,--whole-archive,/tmp/nodec/node-v8.1.4/out/Debug/obj.target/deps/openssl/libopenssl.a -Wl,--no-whole-archive -Wl,-z,noexecstack -Wl,--whole-archive /tmp/nodec/node-v8.1.4/out/Debug/obj.target/deps/v8/src/libv8_base.a -Wl,--no-whole-archive -pthread  -o /tmp/nodec/node-v8.1.4/out/Debug/cctest -Wl,--start-group /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/test/cctest/test_base64.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/test/cctest/test_environment.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/test/cctest/test_util.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/test/cctest/test_url.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/test/cctest/test_inspector_socket.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/test/cctest/test_inspector_socket_server.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/src/inspector_agent.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/src/inspector_io.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/src/inspector_socket.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/src/inspector_socket_server.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/src/node_crypto.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/src/node_crypto_bio.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/src/node_crypto_clienthello.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/src/tls_wrap.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/cctest/src/backtrace_posix.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/deps/gtest/libgtest.a /tmp/nodec/node-v8.1.4/out/Debug/obj.target/deps/libsquash/libenclose_io_libsquash.a /tmp/nodec/node-v8.1.4/out/Debug/obj.target/deps/libautoupdate/libautoupdate.a /tmp/nodec/node-v8.1.4/out/Debug/obj.target/deps/zlib/libzlib.a /tmp/nodec/node-v8.1.4/out/Debug/obj.target/deps/openssl/libopenssl.a /tmp/nodec/node-v8.1.4/out/Debug/obj.target/deps/http_parser/libhttp_parser.a /tmp/nodec/node-v8.1.4/out/Debug/obj.target/deps/uv/libuv.a /tmp/nodec/node-v8.1.4/out/Debug/obj.target/deps/v8/src/libv8_libplatform.a /tmp/nodec/node-v8.1.4/out/Debug/obj.target/tools/icu/libicui18n.a /tmp/nodec/node-v8.1.4/out/Debug/obj.target/deps/cares/libcares.a /tmp/nodec/node-v8.1.4/out/Debug/obj.target/deps/v8/src/libv8_libbase.a /tmp/nodec/node-v8.1.4/out/Debug/obj.target/deps/v8/src/libv8_base.a /tmp/nodec/node-v8.1.4/out/Debug/obj.target/deps/v8/src/libv8_libsampler.a /tmp/nodec/node-v8.1.4/out/Debug/obj.target/tools/icu/libicuucx.a /tmp/nodec/node-v8.1.4/out/Debug/obj.target/tools/icu/libicudata.a /tmp/nodec/node-v8.1.4/out/Debug/obj.target/tools/icu/libicustubdata.a /tmp/nodec/node-v8.1.4/out/Debug/obj.target/deps/v8/src/libv8_nosnapshot.a /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/gen/node_javascript.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/src/node_debug_options.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/src/async-wrap.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/src/env.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/src/node.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/src/node_buffer.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/src/node_i18n.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/src/node_url.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/src/util.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/src/string_bytes.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/src/string_search.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/src/stream_base.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/src/node_constants.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/src/node_revert.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/src/tracing/agent.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/src/tracing/node_trace_buffer.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/src/tracing/node_trace_writer.o /tmp/nodec/node-v8.1.4/out/Debug/obj.target/node/src/tracing/trace_event.o -lm -ldl -lrt -Wl,--end-group
if [ ! -r node_g -o ! -L node_g ]; then ln -fs out/Debug/node node_g; fi
Failed running ["make -j4"]

from node-packer.

ckome avatar ckome commented on July 20, 2024

同样的错误.并不是总是发生.多试几次偶尔正常.
debian8 x64 ,4G RAM.

make[1]: *** Waiting for unfinished jobs....
rm 8c46e17a920ac177fdd355e40bb79e0f4de1f6d5.intermediate
Makefile:76: recipe for target 'node' failed
make: *** [node] Error 2
Failed running ["make -j4"]

from node-packer.

pmq20 avatar pmq20 commented on July 20, 2024

Regarding the another error, I think you missed the line that caused the real problem. Could you look more into the entirety of the log and find the line most relevant to causing the error? It probably has "error: " in it.

from node-packer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.