> On Sep 14, 2015, at 12:22, Laurent Lecigne <[email protected]> wrote:
>
> Hello Hanspeter,
>
> Thanks for your quick response !
>
> I’ve tried the latest mongodb package but I still got compilation errors on
> v8 and related (required deps like gcc5 and the like built properly).
>
> —8<——
You cut off the compiler line which actually triggers the error, which makes
debugging the problem more difficult. And it’s normally the _first_ error
which is actually relevant—often later error messages are consequences of the
initial error.
> scons: ***
> [build/darwin/use-system-boost/use-system-pcre/use-system-snappy/usev8/third_party/v8/src/x64/debug-x64.o]
> Error 1
> In file included from src/third_party/v8/src/x64/deoptimizer-x64.cc:28:
> In file included from src/third_party/v8/src/v8.h:60:
> In file included from src/third_party/v8/src/objects-inl.h:38:
> In file included from src/third_party/v8/src/elements.h:33:
> In file included from src/third_party/v8/src/heap.h:41:
> src/third_party/v8/src/store-buffer.h:229:9: error: private field 'heap_' is
> not used [-Werror,-Wunused-private-field]
> Heap* heap_;
> ^
> 3 errors generated.
> —8<——
>
> I’ll doubt fink project will upgrade to a later mongodb version (like 2.6)
> because of possible backward compatibility issues with existing deps I guess.
I’m assuming that Hanspeter wanted to make a minimal change from the existing
packaging so that we could put something out quickly.
> Anyway, I’ll go and try a 2.6.x build from source outside of Fink ecosystem
> and keep you posted.
>
> Thanks for your support.
>
> Regards.
>
Oddly enough, I get a failure at a different location in the build:
g++ -o
build/darwin/use-system-boost/use-system-pcre/use-system-snappy/usev8/third_party/v8/src/x64/codegen-x64.o
-c -Wnon-virtual-dtor -Woverloaded-virtual -MD -fPIC -fno-strict-aliasing
-ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3
-ansi -pedantic -mmacosx-version-min=10.4 -Werror -W -Wno-unused-parameter
-D_SCONS -DMONGO_EXPOSE_MACROS -DPCRE_STATIC -DSUPPORT_UTF8
-D_FILE_OFFSET_BITS=64 -DMONGO_HAVE_HEADER_UNISTD_H
-DMONGO_HAVE_EXECINFO_BACKTRACE -DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT
-Ibuild/darwin/use-system-boost/use-system-pcre/use-system-snappy/usev8/third_party/v8/src
-Isrc/third_party/v8/src
-Ibuild/darwin/use-system-boost/use-system-pcre/use-system-snappy/usev8/third_party/libstemmer_c/include
-Isrc/third_party/libstemmer_c/include
-Ibuild/darwin/use-system-boost/use-system-pcre/use-system-snappy/usev8/third_party/s2
-Isrc/third_party/s2
-Ibuild/darwin/use-system-boost/use-system-pcre/use-system-snappy/usev8 -Isrc
-Ibuild/darwin/use-system-boost/use-system-pcre/use-system-snappy/usev8/mongo
-Isrc/mongo -I/sw/opt/boost-1_55/include -I/sw/include
-Ibuild/darwin/use-system-boost/use-system-pcre/use-system-snappy/usev8/third_party/s2
-Isrc/third_party/s2 src/third_party/v8/src/x64/codegen-x64.cc
In file included from src/third_party/v8/src/x64/assembler-x64.cc:28:
In file included from src/third_party/v8/src/v8.h:60:
In file included from src/third_party/v8/src/objects-inl.h:38:
In file included from src/third_party/v8/src/elements.h:33:
In file included from src/third_party/v8/src/heap.h:35:
In file included from src/third_party/v8/src/incremental-marking.h:33:
In file included from src/third_party/v8/src/mark-compact.h:32:
src/third_party/v8/src/spaces.h:830:26: error: 'this' pointer cannot be null in
well-defined C++ code; comparison may be assumed to always evaluate to
true [-Werror,-Wtautological-undefined-compare]
bool exists() { return this != NULL && code_range_ != NULL; }
^~~~ ~~~~
src/third_party/v8/src/spaces.h:832:9: error: 'this' pointer cannot be null in
well-defined C++ code; comparison may be assumed to always evaluate to
false [-Werror,-Wtautological-undefined-compare]
if (this == NULL || code_range_ == NULL) return false;
^~~~ ~~~~
In file included from src/third_party/v8/src/x64/builtins-x64.cc:28:
In file included from src/third_party/v8/src/v8.h:60:
In file included from src/third_party/v8/src/objects-inl.h:38:
In file included from src/third_party/v8/src/elements.h:33:
In file included from src/third_party/v8/src/heap.h:35:
In file included from src/third_party/v8/src/incremental-marking.h:33:
In file included from src/third_party/v8/src/mark-compact.h:32:
src/third_party/v8/src/spaces.h:830:26: error: 'this' pointer cannot be null in
well-defined C++ code; comparison may be assumed to always evaluate to
true [-Werror,-Wtautological-undefined-compare]
bool exists() { return this != NULL && code_range_ != NULL; }
^~~~ ~~~~
src/third_party/v8/src/spaces.h:832:9: error: 'this' pointer cannot be null in
well-defined C++ code; comparison may be assumed to always evaluate to
false [-Werror,-Wtautological-undefined-compare]
if (this == NULL || code_range_ == NULL) return false;
^~~~ ~~~~
In file included from src/third_party/v8/src/x64/code-stubs-x64.cc:28:
In file included from src/third_party/v8/src/v8.h:60:
In file included from src/third_party/v8/src/objects-inl.h:38:
In file included from src/third_party/v8/src/elements.h:33:
In file included from src/third_party/v8/src/heap.h:35:
In file included from src/third_party/v8/src/incremental-marking.h:33:
In file included from src/third_party/v8/src/mark-compact.h:32:
src/third_party/v8/src/spaces.h:830:26: error: 'this' pointer cannot be null in
well-defined C++ code; comparison may be assumed to always evaluate to
true [-Werror,-Wtautological-undefined-compare]
bool exists() { return this != NULL && code_range_ != NULL; }
^~~~ ~~~~
src/third_party/v8/src/spaces.h:832:9: error: 'this' pointer cannot be null in
well-defined C++ code; comparison may be assumed to always evaluate to
false [-Werror,-Wtautological-undefined-compare]
if (this == NULL || code_range_ == NULL) return false;
^~~~ ~~~~
In file included from src/third_party/v8/src/x64/codegen-x64.cc:28:
In file included from src/third_party/v8/src/v8.h:60:
In file included from src/third_party/v8/src/objects-inl.h:38:
In file included from src/third_party/v8/src/elements.h:33:
In file included from src/third_party/v8/src/heap.h:35:
In file included from src/third_party/v8/src/incremental-marking.h:33:
In file included from src/third_party/v8/src/mark-compact.h:32:
src/third_party/v8/src/spaces.h:830:26: error: 'this' pointer cannot be null in
well-defined C++ code; comparison may be assumed to always evaluate to
true [-Werror,-Wtautological-undefined-compare]
bool exists() { return this != NULL && code_range_ != NULL; }
^~~~ ~~~~
src/third_party/v8/src/spaces.h:832:9: error: 'this' pointer cannot be null in
well-defined C++ code; comparison may be assumed to always evaluate to
false [-Werror,-Wtautological-undefined-compare]
if (this == NULL || code_range_ == NULL) return false;
^~~~ ~~~~
In file included from src/third_party/v8/src/x64/assembler-x64.cc:28:
In file included from src/third_party/v8/src/v8.h:60:
In file included from src/third_party/v8/src/objects-inl.h:38:
In file included from src/third_party/v8/src/elements.h:33:
In file included from src/third_party/v8/src/heap.h:41:
src/third_party/v8/src/store-buffer.h:229:9: error: private field 'heap_' is not
used [-Werror,-Wunused-private-field]
Heap* heap_;
^
3 errors generated.
scons: ***
[build/darwin/use-system-boost/use-system-pcre/use-system-snappy/usev8/third_party/v8/src/x64/assembler-x64.o]
Error 1
In file included from src/third_party/v8/src/x64/builtins-x64.cc:28:
In file included from src/third_party/v8/src/v8.h:60:
In file included from src/third_party/v8/src/objects-inl.h:38:
In file included from src/third_party/v8/src/elements.h:33:
In file included from src/third_party/v8/src/heap.h:41:
src/third_party/v8/src/store-buffer.h:229:9: error: private field 'heap_' is not
used [-Werror,-Wunused-private-field]
Heap* heap_;
^
3 errors generated.
scons: ***
[build/darwin/use-system-boost/use-system-pcre/use-system-snappy/usev8/third_party/v8/src/x64/builtins-x64.o]
Error 1
In file included from src/third_party/v8/src/x64/codegen-x64.cc:28:
In file included from src/third_party/v8/src/v8.h:60:
In file included from src/third_party/v8/src/objects-inl.h:38:
In file included from src/third_party/v8/src/elements.h:33:
In file included from src/third_party/v8/src/heap.h:41:
src/third_party/v8/src/store-buffer.h:229:9: error: private field 'heap_' is not
used [-Werror,-Wunused-private-field]
Heap* heap_;
^
3 errors generated.
scons: ***
[build/darwin/use-system-boost/use-system-pcre/use-system-snappy/usev8/third_party/v8/src/x64/codegen-x64.o]
Error 1
In file included from src/third_party/v8/src/x64/code-stubs-x64.cc:28:
In file included from src/third_party/v8/src/v8.h:60:
In file included from src/third_party/v8/src/objects-inl.h:38:
In file included from src/third_party/v8/src/elements.h:33:
In file included from src/third_party/v8/src/heap.h:41:
src/third_party/v8/src/store-buffer.h:229:9: error: private field 'heap_' is not
used [-Werror,-Wunused-private-field]
Heap* heap_;
^
In file included from src/third_party/v8/src/x64/code-stubs-x64.cc:33:
src/third_party/v8/src/code-stubs.h:591:12: error: private field 'lhs_' is not
used [-Werror,-Wunused-private-field]
Register lhs_;
^
src/third_party/v8/src/code-stubs.h:594:12: error: private field 'rhs_' is not
used [-Werror,-Wunused-private-field]
Register rhs_;
^
5 errors generated.
Package manager version: 0.38.99.git
Distribution version: selfupdate-cvs Tue Sep 15 09:17:06 2015, 10.10, x86_64
Trees: local/main stable/main stable/crypto local/injected
Xcode.app: 6.4
Xcode command-line tools: 6.4.0.0.1.1435007323
Max. Fink build jobs: 4
------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users