Opened 11 years ago

Closed 11 years ago

#39739 closed defect (fixed)

nodejs-devel @0.11.4 fails to build on Snow Leopard

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: nodejs-devel

Description

nodejs-devel @0.11.4 failed to build on the Snow Leopard buildbot:

https://build.macports.org/builders/buildports-snowleopard-x86_64/builds/18750/steps/compile/logs/stdio

  /usr/bin/g++-4.2 '-D_DARWIN_USE_64_BIT_INODE=1' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DNODE_TAG=""' '-DHAVE_OPENSSL=1' '-DHAVE_DTRACE=1' '-D__POSIX__' '-DPLATFORM="darwin"' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I/opt/local/include/openssl -I../src -I../tools/msvs/genfiles -I../deps/uv/src/ares -I/opt/local/var/macports/build/_opt_mports_dports_devel_nodejs-devel/nodejs-devel/work/node-v0.11.4/out/Release/obj/gen -I../deps/v8/include -I../deps/zlib -I../deps/http_parser -I../deps/cares/include -I../deps/uv/include  -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF /opt/local/var/macports/build/_opt_mports_dports_devel_nodejs-devel/nodejs-devel/work/node-v0.11.4/out/Release/.deps//opt/local/var/macports/build/_opt_mports_dports_devel_nodejs-devel/nodejs-devel/work/node-v0.11.4/out/Release/obj.target/node/src/fs_event_wrap.o.d.raw -O2 -c -o /opt/local/var/macports/build/_opt_mports_dports_devel_nodejs-devel/nodejs-devel/work/node-v0.11.4/out/Release/obj.target/node/src/fs_event_wrap.o ../src/fs_event_wrap.cc
  /usr/bin/g++-4.2 '-D_DARWIN_USE_64_BIT_INODE=1' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DNODE_TAG=""' '-DHAVE_OPENSSL=1' '-DHAVE_DTRACE=1' '-D__POSIX__' '-DPLATFORM="darwin"' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I/opt/local/include/openssl -I../src -I../tools/msvs/genfiles -I../deps/uv/src/ares -I/opt/local/var/macports/build/_opt_mports_dports_devel_nodejs-devel/nodejs-devel/work/node-v0.11.4/out/Release/obj/gen -I../deps/v8/include -I../deps/zlib -I../deps/http_parser -I../deps/cares/include -I../deps/uv/include  -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF /opt/local/var/macports/build/_opt_mports_dports_devel_nodejs-devel/nodejs-devel/work/node-v0.11.4/out/Release/.deps//opt/local/var/macports/build/_opt_mports_dports_devel_nodejs-devel/nodejs-devel/work/node-v0.11.4/out/Release/obj.target/node/src/cares_wrap.o.d.raw -O2 -c -o /opt/local/var/macports/build/_opt_mports_dports_devel_nodejs-devel/nodejs-devel/work/node-v0.11.4/out/Release/obj.target/node/src/cares_wrap.o ../src/cares_wrap.cc
../deps/v8/include/v8.h: In function ‘void node::cares_wrap::AfterGetAddrInfo(uv_getaddrinfo_t*, int, addrinfo*)’:
../deps/v8/include/v8.h:6394: error: ‘always_inline’ function could not be inlined in call to ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’: function not inlinable
../src/cares_wrap.cc:800: error: called from here

The Lion and Mountain Lion buildbots, which use a newer Xcode and therefore clang, built it without problems. Perhaps this needs to be reported to the developers of either nodejs or v8. I haven't tested whether using the old clang or llvm-gcc-4.2 that Xcode 3.2.6 provide would allow the port to build on Snow Leopard.

Change History (1)

comment:1 Changed 11 years ago by ci42

Resolution: fixed
Status: newclosed

Fixed in r108217.

Note: See TracTickets for help on using tickets.