> On Sep 15, 2015, at 10:07, Hanspeter Niederstrasser <f...@snaggledworks.com> > wrote: > > On Tue, September 15, 2015 11:37 am, Alexander Hansen wrote: >> >>> On Sep 14, 2015, at 12:22, Laurent Lecigne <lleci...@gmail.com> wrote: >>> >>> Hello Hanspeter, >>> >>> Thanks for your quick response ! >>> >>> Ive 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 its normally the _first_ >> error which is actually relevantoften 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< >>> >>> Ill doubt fink project will upgrade to a later mongodb version (like >>> 2.6) because of possible backward compatibility issues with existing >>> deps I guess. >> >> Im assuming that Hanspeter wanted to make a minimal change from the >> existing packaging so that we could put something out quickly. > > I also messed up because the updated patch was supposed to remove the > -Werror flag so that warnings would not become fatal. I'll look at it > again tonight to see where I lost the change. > > I don't know mongodb, which is why I kept the update as minimal as > possible and didn't bump up to the latest 2.6 or 3.0 series. > > Hanspeter > > -- > More agile than a turtle, stronger than a mouse, nobler than a lettuce > >
The location of the failure changes with the number of build jobs. But at 1 job, here’s what I get (twice in a row, so I’ll _assume_ that it is reproducible) : g++ -o build/darwin/use-system-boost/use-system-pcre/use-system-snappy/usev8/third_party/v8/src/x64/assembler-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/assembler-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/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 scons: building terminated because of errors. -- Alexander Hansen, Ph.D. Fink User Liaison ------------------------------------------------------------------------------ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users