Announcement

Collapse
No announcement yet.

VoltDB-6.9 master branch failed to build on x86_64.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • VoltDB-6.9 master branch failed to build on x86_64.

    Hi,

    I am trying to build VoltDB-6.9 cloned from master branch on x86_64 running Ubuntu 16.04 distribution. Command "ant check" is failing with following errors:

    [exec] [exec] g++ -Wall -Wextra -Werror -Woverloaded-virtual -Wpointer-arith -Wcast-qual -Wwrite-strings -Winit-self -Wno-sign-compare -Wno-unused-parameter -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DNOCLOCK -fno-omit-frame-pointer -fvisibility=default -DBOOST_SP_DISABLE_THREADS -DBOOST_DISABLE_THREADS -DBOOST_ALL_NO_LIB -pthread -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-unused-local-typedefs -Wno-ignored-qualifiers -fno-strict-aliasing -std=c++11 -g3 -O3 -mmmx -msse -msse2 -msse3 -DNDEBUG -DVOLT_LOG_LEVEL=500 -Wno-attributes -Wcast-align -DLINUX -fpic -isystem /root/voltdb/third_party/cpp -I/root/voltdb/src/ee -I/root/voltdb/obj/release/3pty-install/include -I/root/voltdb/obj/release -L/root/voltdb/obj/release/3pty-install/lib -rdynamic -g3 -o cpptests/storage/table_test static_objects/table_test.o objects/harness.o objects/volt.a -lpcre2-8 -ls2geo -lcrypto
    [exec] [exec] /root/voltdb/tests/ee/storage/persistenttable_test.cpp: In member function 'virtual void PersistentTableTest_TruncateTableTest::run()':
    [exec] [exec] /root/voltdb/tests/ee/storage/persistenttable_test.cpp:354:10: error: variable 'added' set but not used [-Werror=unused-but-set-variable]
    [exec] [exec] bool added;
    [exec] [exec] ^
    [exec] [exec] /root/voltdb/tests/ee/storage/persistenttable_test.cpp: In member function 'virtual void PersistentTableTest_SwapTablesTest::run()':
    [exec] [exec] /root/voltdb/tests/ee/storage/persistenttable_test.cpp:386:10: error: variable 'added' set but not used [-Werror=unused-but-set-variable]
    [exec] [exec] bool added;
    [exec] [exec] ^
    [exec] [exec] g++ -Wall -Wextra -Werror -Woverloaded-virtual -Wpointer-arith -Wcast-qual -Wwrite-strings -Winit-self -Wno-sign-compare -Wno-unused-parameter -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DNOCLOCK -fno-omit-frame-pointer -fvisibility=default -DBOOST_SP_DISABLE_THREADS -DBOOST_DISABLE_THREADS -DBOOST_ALL_NO_LIB -pthread -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-unused-local-typedefs -Wno-ignored-qualifiers -fno-strict-aliasing -std=c++11 -g3 -O3 -mmmx -msse -msse2 -msse3 -DNDEBUG -DVOLT_LOG_LEVEL=500 -Wno-attributes -Wcast-align -DLINUX -fpic -isystem /root/voltdb/third_party/cpp -I/root/voltdb/src/ee -I/root/voltdb/obj/release/3pty-install/include -I/root/voltdb/obj/release -c -I/root/voltdb/tests/ee -MMD -MP -o static_objects/tabletuple_export_test.o /root/voltdb/tests/ee/storage/tabletuple_export_test.cpp
    [exec] [exec] g++ -Wall -Wextra -Werror -Woverloaded-virtual -Wpointer-arith -Wcast-qual -Wwrite-strings -Winit-self -Wno-sign-compare -Wno-unused-parameter -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DNOCLOCK -fno-omit-frame-pointer -fvisibility=default -DBOOST_SP_DISABLE_THREADS -DBOOST_DISABLE_THREADS -DBOOST_ALL_NO_LIB -pthread -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-unused-local-typedefs -Wno-ignored-qualifiers -fno-strict-aliasing -std=c++11 -g3 -O3 -mmmx -msse -msse2 -msse3 -DNDEBUG -DVOLT_LOG_LEVEL=500 -Wno-attributes -Wcast-align -DLINUX -fpic -isystem /root/voltdb/third_party/cpp -I/root/voltdb/src/ee -I/root/voltdb/obj/release/3pty-install/include -I/root/voltdb/obj/release -c -I/root/voltdb/tests/ee -MMD -MP -o static_objects/tabletuplefilter_test.o /root/voltdb/tests/ee/storage/tabletuplefilter_test.cpp
    [exec] [exec] g++ -Wall -Wextra -Werror -Woverloaded-virtual -Wpointer-arith -Wcast-qual -Wwrite-strings -Winit-self -Wno-sign-compare -Wno-unused-parameter -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DNOCLOCK -fno-omit-frame-pointer -fvisibility=default -DBOOST_SP_DISABLE_THREADS -DBOOST_DISABLE_THREADS -DBOOST_ALL_NO_LIB -pthread -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-unused-local-typedefs -Wno-ignored-qualifiers -fno-strict-aliasing -std=c++11 -g3 -O3 -mmmx -msse -msse2 -msse3 -DNDEBUG -DVOLT_LOG_LEVEL=500 -Wno-attributes -Wcast-align -DLINUX -fpic -isystem /root/voltdb/third_party/cpp -I/root/voltdb/src/ee -I/root/voltdb/obj/release/3pty-install/include -I/root/voltdb/obj/release -c -I/root/voltdb/tests/ee -MMD -MP -o static_objects/harness_test.o /root/voltdb/tests/ee/harness_test.cpp
    [exec] [exec] cc1plus: all warnings being treated as errors
    [exec] [exec] make: *** [static_objects/persistenttable_test.o] Error 1
    [exec] [exec] make: *** Waiting for unfinished jobs....
    [exec] [exec] makefile:2687: recipe for target 'static_objects/persistenttable_test.o' failed
    [exec] [exec] make: Leaving directory '/root/voltdb/obj/release'
    [exec] [exec] Building with c++11
    [exec] [exec] Compiler: gcc 5.4.0
    [exec] [exec] OpenSSL: version 1.0.2d, config linux-x86_64:gcc -fpic
    [exec] [exec]
    [exec] [exec] build.py: Making the makefile
    [exec] [exec] Making in directory "obj/release/" with 4 threads
    [exec]
    [exec] BUILD FAILED
    [exec] /root/voltdb/build.xml:1567: exec returned: 255
    [exec]
    [exec] Total time: 1 minute 56 seconds

    BUILD FAILED
    /root/voltdb/build.xml:556: exec returned: 1

    Total time: 3 minutes 15 seconds

    I am seeing these issues for about 3-4 days. Has VoltDB become unstable? Or could anything be wrong with my build?

    Thanks,
    Atul.

  • #2
    Hi. I'm Bill White from VoltDB. I'm not specifically tasked with build issues, but I'm interested in them.

    This test is somewhat new. Perhaps it was broken when you cloned it. That seems unlikely, but it has happened. I have just verified that the C++ code, both the product and test code, build in debug, which is what you are doing here. This is with the state of master as of 2017-01-17T17:44:30+00:00. That's UTC time.

    Perhaps you should pull from github and try again. Do you have any outstanding changes?

    Comment


    • #3
      Hi Bill,

      Thanks for verifying and responding to my problem. Unfortunately, my builds are still failing on x86 with latest code checkout. I am following these steps:

      git clone https://github.com/VoltDB/voltdb.git
      cd voltdb
      ant
      ant check

      My system time is Wed Jan 18 13:32:23 UTC 2017.
      I am using following g++:

      ~/voltdb# g++ -v
      Using built-in specs.
      COLLECT_GCC=g++
      COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
      Target: x86_64-linux-gnu
      Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
      Thread model: posix
      gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)

      Comment

      Working...
      X