brew install google-js-test fails utterly and make install fails

42 views
Skip to first unread message

Geoffry Roberts

unread,
Aug 8, 2013, 11:23:10 AM8/8/13
to google-...@googlegroups.com
All, 

I am attempting to install google-js-test and am getting nothing but errors both when I run the install using brew as prescribed in the documentation, or when I attempt a manual install.  Under both, there is a place in the output where it complains about there being only 1 argument when 2 are expected.

Is there a workaround or are we just very buggy?

I'd really to use this product. It sounds just right for my needs.

Thanks in advance for your help.

I'm running:
OSX 10.7.5

Brew Install:
brew update
brew install -vd google-js-test
<see below for full output>

Running brew doctor gives the following.  Googling on this yields little relevant to my situation.  I have opened up permissions.  I have removed stray libs as best I can.

Brew Doctor:
abend:~ gcr$ brew doctor
Warning: You may have installed MacGPG2 via the package installer.
Several other checks in this script will turn up problems, such as stray
dylibs in /usr/local and permissions issues with share and man in /usr/local/.

Manual Install:
abend:gjstest-1.0.8 gcr$ make install

<lots of output>
<this seems to be the gist of the trouble>
gjstest/internal/cpp/v8_utils.cc:137:78: error: too few arguments to function
      call, expected 2, have 1
... 

<full output  from above>
abend:~ gcr$ brew install -vd google-js-test
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/google-js-test.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/gflags.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/glog.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/protobuf.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/re2.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/v8.rb
/usr/local/Library/Formula/google-js-test.rb: loading /usr/local/Library/Formula/gflags.rb
/usr/local/Library/Formula/google-js-test.rb: loading /usr/local/Library/Formula/glog.rb
/usr/local/Library/Formula/google-js-test.rb: loading /usr/local/Library/Formula/protobuf.rb
/usr/local/Library/Formula/google-js-test.rb: loading /usr/local/Library/Formula/re2.rb
/usr/local/Library/Formula/google-js-test.rb: loading /usr/local/Library/Formula/v8.rb
Already downloaded: /Library/Caches/Homebrew/google-js-test-1.0.8.tar.bz2
tar xf /Library/Caches/Homebrew/google-js-test-1.0.8.tar.bz2
==> make PREFIX=/usr/local/Cellar/google-js-test/1.0.8
make PREFIX=/usr/local/Cellar/google-js-test/1.0.8
./scripts/cc_library_make_object_deps_file.sh  base/integral_types Makefile scripts/cc_library_make_object_deps_file.sh
./scripts/cc_library_make_object_deps_file.sh  base/logging Makefile scripts/cc_library_make_object_deps_file.sh
./scripts/cc_library_make_header_deps_file.sh  base/stringprintf Makefile base/stringprintf.h scripts/cc_library_make_header_deps_file.sh
./scripts/cc_library_make_object_deps_file.sh  base/template_util Makefile scripts/cc_library_make_object_deps_file.sh
./scripts/cc_library_make_header_deps_file.sh  base/integral_types Makefile base/integral_types.h scripts/cc_library_make_header_deps_file.sh
./scripts/cc_library_make_header_deps_file.sh  base/logging Makefile base/logging.h scripts/cc_library_make_header_deps_file.sh
./scripts/cc_library_make_header_deps_file.sh  base/template_util Makefile base/template_util.h scripts/cc_library_make_header_deps_file.sh
./scripts/cc_library_make_object_deps_file.sh  base/stl_decl_linux Makefile scripts/cc_library_make_object_deps_file.sh
./scripts/cc_library_make_object_deps_file.sh  base/stl_decl_osx Makefile scripts/cc_library_make_object_deps_file.sh
./scripts/cc_library_make_object_deps_file.sh  gjstest/internal/cpp/builtin_paths.generated Makefile scripts/cc_library_make_object_deps_file.sh
protoc --proto_path=. --cpp_out=. gjstest/internal/proto/named_scripts.proto
protoc --proto_path=. --cpp_out=. gjstest/internal/proto/named_scripts.proto
./scripts/cc_library_make_header_deps_file.sh  base/stl_decl_linux Makefile base/stl_decl_linux.h scripts/cc_library_make_header_deps_file.sh
./scripts/cc_library_make_header_deps_file.sh  base/stl_decl_osx Makefile base/stl_decl_osx.h scripts/cc_library_make_header_deps_file.sh
./scripts/js_library_make_deps_file.sh  gjstest/internal/js/namespace Makefile gjstest/internal/js/namespace.js scripts/js_library_make_deps_file.sh
./scripts/js_library_make_deps_file.sh  gjstest/internal/js/slice Makefile gjstest/internal/js/slice.js scripts/js_library_make_deps_file.sh
./scripts/js_library_make_deps_file.sh  gjstest/internal/js/browser/html_builder gjstest/internal/js/namespace.deps Makefile gjstest/internal/js/browser/html_builder.js scripts/js_library_make_deps_file.sh
./scripts/js_library_make_deps_file.sh  gjstest/public/actions gjstest/internal/js/namespace.deps Makefile gjstest/public/actions.js scripts/js_library_make_deps_file.sh
./scripts/cc_library_make_header_deps_file.sh  base/callback base/logging.header_deps Makefile base/callback.h scripts/cc_library_make_header_deps_file.sh
./scripts/cc_library_make_header_deps_file.sh  gjstest/internal/cpp/typed_arrays base/logging.header_deps Makefile gjstest/internal/cpp/typed_arrays.h scripts/cc_library_make_header_deps_file.sh
./scripts/cc_library_make_object_deps_file.sh  util/gtl/map-util Makefile scripts/cc_library_make_object_deps_file.sh
./scripts/cc_library_make_header_deps_file.sh  third_party/cityhash/city base/integral_types.header_deps Makefile third_party/cityhash/city.h scripts/cc_library_make_header_deps_file.sh
./scripts/cc_library_make_header_deps_file.sh  util/gtl/map-util Makefile util/gtl/map-util.h scripts/cc_library_make_header_deps_file.sh
c++ -DHASH_NAMESPACE=__gnu_cxx -I. -I/usr/include/libxml2 -DDEFAULT_DATA_DIR=/usr/local/Cellar/google-js-test/1.0.8/share/gjstest  -c -o gjstest/internal/cpp/gjstest.o gjstest/internal/cpp/gjstest.cc
c++ -DHASH_NAMESPACE=__gnu_cxx -I. -I/usr/include/libxml2 -DDEFAULT_DATA_DIR=/usr/local/Cellar/google-js-test/1.0.8/share/gjstest  -c -o base/stringprintf.o base/stringprintf.cc
./scripts/cc_library_make_object_deps_file.sh  base/basictypes base/integral_types.object_deps Makefile scripts/cc_library_make_object_deps_file.sh
./scripts/cc_library_make_object_deps_file.sh  base/type_traits base/template_util.object_deps Makefile scripts/cc_library_make_object_deps_file.sh
./scripts/cc_library_make_header_deps_file.sh  base/basictypes base/integral_types.header_deps Makefile base/basictypes.h scripts/cc_library_make_header_deps_file.sh
./scripts/cc_library_make_header_deps_file.sh  base/type_traits base/template_util.header_deps Makefile base/type_traits.h scripts/cc_library_make_header_deps_file.sh
./scripts/cc_library_make_object_deps_file.sh  base/stl_decl base/stl_decl_linux.object_deps base/stl_decl_osx.object_deps Makefile scripts/cc_library_make_object_deps_file.sh
./scripts/cc_library_make_header_deps_file.sh gjstest/internal/proto/named_scripts.pb Makefile gjstest/internal/proto/named_scripts.pb.h scripts/cc_library_make_header_deps_file.sh
brew: superenv removed: -I/usr/include/libxml2
brew: superenv removed: -I/usr/include/libxml2
./scripts/cc_library_make_header_deps_file.sh  base/stl_decl base/stl_decl_linux.header_deps base/stl_decl_osx.header_deps Makefile base/stl_decl.h scripts/cc_library_make_header_deps_file.sh
./scripts/js_library_make_deps_file.sh  gjstest/public/matcher_types gjstest/internal/js/namespace.deps Makefile gjstest/public/matcher_types.js scripts/js_library_make_deps_file.sh
./scripts/js_library_make_deps_file.sh  gjstest/internal/js/stack_frame gjstest/internal/js/namespace.deps Makefile gjstest/internal/js/stack_frame.js scripts/js_library_make_deps_file.sh
./scripts/js_library_make_deps_file.sh  gjstest/public/stringify gjstest/internal/js/namespace.deps Makefile gjstest/public/stringify.js scripts/js_library_make_deps_file.sh
./scripts/js_library_make_deps_file.sh  gjstest/public/register gjstest/internal/js/namespace.deps Makefile gjstest/public/register.js scripts/js_library_make_deps_file.sh
c++ -DHASH_NAMESPACE=__gnu_cxx -I. -I/usr/include/libxml2 -DDEFAULT_DATA_DIR=/usr/local/Cellar/google-js-test/1.0.8/share/gjstest  -c -o base/callback.o base/callback.cc
./scripts/cc_library_make_header_deps_file.sh  base/callback-types base/callback.header_deps Makefile base/callback-types.h scripts/cc_library_make_header_deps_file.sh
c++ -DHASH_NAMESPACE=__gnu_cxx -I. -I/usr/include/libxml2 -DDEFAULT_DATA_DIR=/usr/local/Cellar/google-js-test/1.0.8/share/gjstest  -c -o gjstest/internal/cpp/typed_arrays.o gjstest/internal/cpp/typed_arrays.cc
c++ -DHASH_NAMESPACE=__gnu_cxx -I. -I/usr/include/libxml2 -DDEFAULT_DATA_DIR=/usr/local/Cellar/google-js-test/1.0.8/share/gjstest  -c -o third_party/cityhash/city.o third_party/cityhash/city.cc
./scripts/cc_library_make_object_deps_file.sh  base/macros base/type_traits.object_deps Makefile scripts/cc_library_make_object_deps_file.sh
brew: superenv removed: -I/usr/include/libxml2
./scripts/cc_library_make_header_deps_file.sh  base/macros base/type_traits.header_deps Makefile base/macros.h scripts/cc_library_make_header_deps_file.sh
brew: superenv removed: -I/usr/include/libxml2
brew: superenv removed: -I/usr/include/libxml2
c++ -DHASH_NAMESPACE=__gnu_cxx -I. -I/usr/include/libxml2 -DDEFAULT_DATA_DIR=/usr/local/Cellar/google-js-test/1.0.8/share/gjstest  -c -o gjstest/internal/proto/named_scripts.pb.o gjstest/internal/proto/named_scripts.pb.cc
./scripts/cc_library_make_object_deps_file.sh  base/scoped_ptr base/basictypes.object_deps base/macros.object_deps Makefile scripts/cc_library_make_object_deps_file.sh
./scripts/cc_library_make_header_deps_file.sh  strings/ascii_ctype base/basictypes.header_deps Makefile strings/ascii_ctype.h scripts/cc_library_make_header_deps_file.sh
brew: superenv removed: -I/usr/include/libxml2
./scripts/cc_library_make_header_deps_file.sh  base/scoped_ptr base/basictypes.header_deps base/macros.header_deps Makefile base/scoped_ptr.h scripts/cc_library_make_header_deps_file.sh
./scripts/js_library_make_deps_file.sh  gjstest/internal/js/expect_that gjstest/internal/js/namespace.deps gjstest/public/matcher_types.deps Makefile gjstest/internal/js/expect_that.js scripts/js_library_make_deps_file.sh
./scripts/js_library_make_deps_file.sh  gjstest/internal/js/test_environment gjstest/internal/js/namespace.deps gjstest/internal/js/stack_frame.deps Makefile gjstest/internal/js/test_environment.js scripts/js_library_make_deps_file.sh
./scripts/js_library_make_deps_file.sh  gjstest/public/matchers/function_matchers gjstest/internal/js/namespace.deps gjstest/public/matcher_types.deps Makefile gjstest/public/matchers/function_matchers.js scripts/js_library_make_deps_file.sh
./scripts/js_library_make_deps_file.sh  gjstest/public/matchers/string_matchers gjstest/internal/js/namespace.deps gjstest/public/matcher_types.deps gjstest/public/stringify.deps Makefile gjstest/public/matchers/string_matchers.js scripts/js_library_make_deps_file.sh
./scripts/cc_library_make_header_deps_file.sh  base/timer base/integral_types.header_deps base/logging.header_deps base/macros.header_deps Makefile base/timer.h scripts/cc_library_make_header_deps_file.sh
./scripts/cc_library_make_header_deps_file.sh  gjstest/internal/cpp/v8_utils base/callback-types.header_deps base/integral_types.header_deps base/logging.header_deps base/stringprintf.header_deps Makefile gjstest/internal/cpp/v8_utils.h scripts/cc_library_make_header_deps_file.sh
./scripts/cc_library_make_header_deps_file.sh  util/hash/hash base/stl_decl.header_deps third_party/cityhash/city.header_deps Makefile util/hash/hash.h scripts/cc_library_make_header_deps_file.sh
./scripts/cc_library_make_header_deps_file.sh  file/file_utils base/basictypes.header_deps base/integral_types.header_deps base/logging.header_deps base/macros.header_deps Makefile file/file_utils.h scripts/cc_library_make_header_deps_file.sh
c++ -DHASH_NAMESPACE=__gnu_cxx -I. -I/usr/include/libxml2 -DDEFAULT_DATA_DIR=/usr/local/Cellar/google-js-test/1.0.8/share/gjstest  -c -o strings/ascii_ctype.o strings/ascii_ctype.cc
brew: superenv removed: -I/usr/include/libxml2
./scripts/cc_library_make_header_deps_file.sh  strings/strutil base/basictypes.header_deps base/logging.header_deps base/scoped_ptr.header_deps strings/ascii_ctype.header_deps Makefile strings/strutil.h scripts/cc_library_make_header_deps_file.sh
./scripts/js_library_make_deps_file.sh  gjstest/public/logging gjstest/internal/js/namespace.deps gjstest/internal/js/test_environment.deps Makefile gjstest/public/logging.js scripts/js_library_make_deps_file.sh
./scripts/js_library_make_deps_file.sh  gjstest/public/matchers/boolean_matchers gjstest/internal/js/namespace.deps gjstest/internal/js/test_environment.deps gjstest/public/matcher_types.deps Makefile gjstest/public/matchers/boolean_matchers.js scripts/js_library_make_deps_file.sh
./scripts/js_library_make_deps_file.sh  gjstest/public/matchers/number_matchers gjstest/internal/js/namespace.deps gjstest/internal/js/test_environment.deps gjstest/public/matcher_types.deps Makefile gjstest/public/matchers/number_matchers.js scripts/js_library_make_deps_file.sh
c++ -DHASH_NAMESPACE=__gnu_cxx -I. -I/usr/include/libxml2 -DDEFAULT_DATA_DIR=/usr/local/Cellar/google-js-test/1.0.8/share/gjstest  -c -o base/timer.o base/timer.cc
brew: superenv removed: -I/usr/include/libxml2
gjstest/internal/cpp/typed_arrays.cc:92:14: error: calling a private constructor
      of class 'v8::Persistent<v8::FunctionTemplate>'
      return ft_cache;
             ^
/usr/local/include/v8.h:750:13: note: declared private here
  V8_INLINE(Persistent(const Persistent& that)) : val_(that.val_) {}
            ^
/usr/local/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
gjstest/internal/cpp/typed_arrays.cc:95:54: error: 'New' is a private member of
      'v8::Persistent<v8::FunctionTemplate>'
    ft_cache = v8::Persistent<v8::FunctionTemplate>::New(
                                                     ^
/usr/local/include/v8.h:781:23: note: declared private here
  V8_INLINE(static T* New(Isolate* isolate, T* that));
                      ^
/usr/local/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
gjstest/internal/cpp/typed_arrays.cc:96:55: error: too few arguments to function
      call, expected 2, have 1
        v8::FunctionTemplate::New(&ArrayBuffer::V8New));
                                                      ^
/usr/local/include/v8.h:781:3: note: 'New' declared here
  V8_INLINE(static T* New(Isolate* isolate, T* that));
  ^
/usr/local/include/v8.h:80:31: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                              ^
gjstest/internal/cpp/typed_arrays.cc:97:13: error: 'operator->' is a private
      member of 'v8::Persistent<v8::FunctionTemplate>'
    ft_cache->SetClassName(v8::String::New("ArrayBuffer"));
    ~~~~~~~~^
/usr/local/include/v8.h:770:16: note: declared private here
  V8_INLINE(T* operator->() const) { return val_; }
               ^
/usr/local/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
gjstest/internal/cpp/typed_arrays.cc:98:54: error: 'operator->' is a private
      member of 'v8::Persistent<v8::FunctionTemplate>'
    v8::Local<v8::ObjectTemplate> instance = ft_cache->InstanceTemplate();
                                             ~~~~~~~~^
/usr/local/include/v8.h:770:16: note: declared private here
  V8_INLINE(T* operator->() const) { return val_; }
               ^
/usr/local/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
gjstest/internal/cpp/typed_arrays.cc:101:12: error: calling a private constructor
      of class 'v8::Persistent<v8::FunctionTemplate>'
    return ft_cache;
           ^
/usr/local/include/v8.h:750:13: note: declared private here
  V8_INLINE(Persistent(const Persistent& that)) : val_(that.val_) {}
            ^
/usr/local/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
gjstest/internal/cpp/typed_arrays.cc:105:25: error: 'operator->' is a private
      member of 'v8::Persistent<v8::FunctionTemplate>'
    return GetTemplate()->HasInstance(value);
           ~~~~~~~~~~~~~^
/usr/local/include/v8.h:770:16: note: declared private here
  V8_INLINE(T* operator->() const) { return val_; }
               ^
/usr/local/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
gjstest/internal/cpp/typed_arrays.cc:110:40: error: 'operator*' is a private
      member of 'v8::Persistent<v8::Value>'
    v8::Object* obj = v8::Object::Cast(*value);
                                       ^~~~~~
/usr/local/include/v8.h:766:16: note: declared private here
  V8_INLINE(T* operator*() const) { return val_; }
               ^
/usr/local/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
gjstest/internal/cpp/typed_arrays.cc:144:18: error: no member named
      'SetPointerInInternalField' in 'v8::Object'; did you mean
      'SetAlignedPointerInInternalField'?
    args.This()->SetPointerInInternalField(0, buf);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~
                 SetAlignedPointerInInternalField
/usr/local/include/v8.h:2150:8: note: 'SetAlignedPointerInInternalField' declared
      here
  void SetAlignedPointerInInternalField(int index, void* value);
       ^
gjstest/internal/cpp/typed_arrays.cc:160:52: error: too few arguments to function
      call, expected 2, have 1
        v8::Persistent<v8::Object>::New(args.This());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            ^
/usr/local/include/v8.h:781:3: note: 'New' declared here
  V8_INLINE(static T* New(Isolate* isolate, T* that));
  ^
/usr/local/include/v8.h:80:31: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                              ^
gjstest/internal/cpp/typed_arrays.cc:160:37: error: 'New' is a private member of
      'v8::Persistent<v8::Object>'
        v8::Persistent<v8::Object>::New(args.This());
                                    ^
/usr/local/include/v8.h:781:23: note: declared private here
  V8_INLINE(static T* New(Isolate* isolate, T* that));
                      ^
/usr/local/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
gjstest/internal/cpp/typed_arrays.cc:161:16: error: no matching member function
      for call to 'MakeWeak'
    persistent.MakeWeak(NULL, &ArrayBuffer::WeakCallback);
    ~~~~~~~~~~~^~~~~~~~
/usr/local/include/v8.h:634:18: note: candidate template ignored: failed template
      argument deduction
  V8_INLINE(void MakeWeak(
                 ^
/usr/local/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
/usr/local/include/v8.h:639:18: note: candidate template ignored: failed template
      argument deduction
  V8_INLINE(void MakeWeak(
                 ^
/usr/local/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
/usr/local/include/v8.h:644:22: note: candidate function template not viable:
      requires 3 arguments, but 2 were provided
  V8_DEPRECATED(void MakeWeak(
                     ^
/usr/local/include/v8.h:88:35: note: expanded from macro 'V8_DEPRECATED'
#define V8_DEPRECATED(declarator) declarator __attribute__ ((deprecated))
                                  ^
/usr/local/include/v8.h:650:22: note: candidate function template not viable:
      requires 3 arguments, but 2 were provided
  V8_DEPRECATED(void MakeWeak(
                     ^
/usr/local/include/v8.h:88:35: note: expanded from macro 'V8_DEPRECATED'
#define V8_DEPRECATED(declarator) declarator __attribute__ ((deprecated))
                                  ^
gjstest/internal/cpp/typed_arrays.cc:181:71: error: too few arguments to function
      call, expected 2, have 1
        v8::FunctionTemplate::New(&TypedArray<TBytes, TEAType>::V8New));
                                                                      ^
/usr/local/include/v8.h:781:3: note: 'New' declared here
  V8_INLINE(static T* New(Isolate* isolate, T* that));
  ^
/usr/local/include/v8.h:80:31: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                              ^
gjstest/internal/cpp/typed_arrays.cc:191:69: error: no viable conversion from
      'v8::Persistent<v8::FunctionTemplate>' to 'Handle<v8::FunctionTemplate>'
    v8::Local<v8::Signature> default_signature = v8::Signature::New(ft_cache);
                                                                    ^~~~~~~~
/usr/local/include/v8.h:248:26: note: candidate constructor (the implicit copy
      constructor) not viable: no known conversion from
      'v8::Persistent<v8::FunctionTemplate>' to 'const
      v8::Handle<v8::FunctionTemplate> &' for 1st argument
template <class T> class Handle {
                         ^
/usr/local/include/v8.h:272:32: note: candidate template ignored: failed template
      argument deduction
  template <class S> V8_INLINE(Handle(Handle<S> that))
                               ^
/usr/local/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
/usr/local/include/v8.h:3474:56: note: passing argument to parameter 'receiver'
      here
  static Local<Signature> New(Handle<FunctionTemplate> receiver =
                                                       ^
gjstest/internal/cpp/typed_arrays.cc:274:27: error: no member named
      'GetPointerFromInternalField' in 'v8::Object'; did you mean
      'GetAlignedPointerFromInternalField'?
      void* buf = buffer->GetPointerFromInternalField(0);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                          GetAlignedPointerFromInternalField
/usr/local/include/v8.h:5915:15: note: 'GetAlignedPointerFromInternalField'
      declared here
void* Object::GetAlignedPointerFromInternalField(int index) {
              ^
gjstest/internal/cpp/typed_arrays.cc:303:27: error: no member named
      'GetPointerFromInternalField' in 'v8::Object'; did you mean
      'GetAlignedPointerFromInternalField'?
      void* buf = buffer->GetPointerFromInternalField(0);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                          GetAlignedPointerFromInternalField
/usr/local/include/v8.h:5915:15: note: 'GetAlignedPointerFromInternalField'
      declared here
void* Object::GetAlignedPointerFromInternalField(int index) {
              ^
gjstest/internal/cpp/typed_arrays.cc:594:14: error: calling a private constructor
      of class 'v8::Persistent<v8::FunctionTemplate>'
      return ft_cache;
             ^
/usr/local/include/v8.h:750:13: note: declared private here
  V8_INLINE(Persistent(const Persistent& that)) : val_(that.val_) {}
            ^
/usr/local/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
gjstest/internal/cpp/typed_arrays.cc:597:54: error: 'New' is a private member of
      'v8::Persistent<v8::FunctionTemplate>'
    ft_cache = v8::Persistent<v8::FunctionTemplate>::New(
                                                     ^
/usr/local/include/v8.h:781:23: note: declared private here
  V8_INLINE(static T* New(Isolate* isolate, T* that));
                      ^
/usr/local/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
gjstest/internal/cpp/typed_arrays.cc:598:52: error: too few arguments to function
      call, expected 2, have 1
        v8::FunctionTemplate::New(&DataView::V8New));
                                                   ^
/usr/local/include/v8.h:781:3: note: 'New' declared here
  V8_INLINE(static T* New(Isolate* isolate, T* that));
  ^
/usr/local/include/v8.h:80:31: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                              ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [gjstest/internal/cpp/typed_arrays.o] Error 1
make: *** Waiting for unfinished jobs....
/usr/local/Library/Homebrew/formula.rb:581:in `system'
BuildError: Failed executing: make PREFIX=/usr/local/Cellar/google-js-test/1.0.8
Reply all
Reply to author
Forward
0 new messages