Skip to content

upstream: non-icu builds fail with v6.2.0  #41

@imyller

Description

@imyller

Building with default configuration --with-intl=none (a non-icu build) fails with v6.2.0 due to upstream bug ( PR nodejs/node#6820 ).

This is a known issue and will either need to be patched in meta-nodejs for v6.2.0 or fixed later upstream releases.

Build errors:

| ../src/node_config.cc: In function 'void node::InitConfig(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>)':
| ../src/node_config.cc:24:31: error: 'env' was not declared in this scope
|      target->DefineOwnProperty(env->context(),                                 \
|                                ^
| ../src/node_config.cc:46:5: note: in expansion of macro 'READONLY_BOOLEAN_PROPERTY'
|      READONLY_BOOLEAN_PROPERTY("preserveSymlinks");
|      ^
| ../src/node_config.cc:26:50: error: 'True' was not declared in this scope
|                                True(env->isolate()), ReadOnly).FromJust();     \
|                                                   ^
| ../src/node_config.cc:46:5: note: in expansion of macro 'READONLY_BOOLEAN_PROPERTY'
|      READONLY_BOOLEAN_PROPERTY("preserveSymlinks");
|      ^
| ../src/node_config.cc:26:50: note: suggested alternative:
|                                True(env->isolate()), ReadOnly).FromJust();     \
|                                                   ^
| ../src/node_config.cc:46:5: note: in expansion of macro 'READONLY_BOOLEAN_PROPERTY'
|      READONLY_BOOLEAN_PROPERTY("preserveSymlinks");
|      ^
| In file included from ../src/node.h:42:0,
|                  from ../src/node_config.cc:1:
| ../deps/v8/include/v8.h:8346:16: note:   'v8::True'
|  Local<Boolean> True(Isolate* isolate) {
|                 ^
| make[1]: *** [/oe/aeos-krogoth/build/tmp-aeos-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/nodejs/6.2.0-r1.4/node-v6.2.0/out/Release/obj.target/node/src/node_config.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions