Announcement

Collapse
No announcement yet.

Errors out when building voltdb-6.0 community version

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

  • Errors out when building voltdb-6.0 community version

    hi all:
    I have successfully built voltdb5.8 and 5.9,but failed when trying to build 6.0 version,errors out as follows:
    [exec] [exec] Compiler: gcc 4.4.7
    [exec] OpenSSL: version 1.0.2d, config linux-x86_64:gcc -fpic
    [exec]

    BUILD FAILED
    /opt/workspace2/voltdb-6.0/build.xml:1548: exec returned: 255



    Is the version of gcc too low?

    thanks for your help!
    Last edited by kevinMao; 02-03-2016, 10:07 PM.

  • #2
    kevinMao,
    I can confirm on my machine with this currently installed:
    OS X 10.11.2 (15C50)
    gcc - 5.3.0
    openssl - 1.0.2f
    I am able to build community edition of VoltDB successfully.

    In our recent release, v6.0, we've made some build change requirements, most notably:
    cmake
    Xcode update (7.2) #Mac only or latest c++ version
    Java 8
    I'd suggest installing/updating cmake and c++. Additionally, we recommend 'ant clean' before trying to build the VoltDB.
    Peter Zhao

    Comment


    • #3
      hi pzhao
      I have successfully build the voltdb6.1 on CentOS6.7 using ant ,but failed when I trying to build the project using eclipse,erros as follows:
      org.hsqldb_voltpatches.HsqlException: General error: java.lang.VerifyError: Inconsistent stackmap frames at branch target 162
      Exception Details:
      Location:
      org/hsqldb_voltpatches/persist/PersistentStoreCollectionSession.getStore(Ljava/lang/Object;)Lorg/hsqldb_voltpatches/persist/PersistentStore; @162: goto
      Reason:
      Type top (current frame, locals[3]) is not assignable to 'org/hsqldb_voltpatches/persist/PersistentStore' (stack map, locals[3])
      Current Frame:
      bci: @9
      flags: { }
      locals: { 'org/hsqldb_voltpatches/persist/PersistentStoreCollectionSession', 'java/lang/Object', 'org/hsqldb_voltpatches/TableBase' }
      stack: { integer }
      Stackmap Frame:
      bci: @162
      flags: { }
      locals: { 'org/hsqldb_voltpatches/persist/PersistentStoreCollectionSession', 'java/lang/Object', 'org/hsqldb_voltpatches/TableBase', 'org/hsqldb_voltpatches/persist/PersistentStore' }
      stack: { }
      Bytecode:
      0x0000000: 2bc0 0024 4d2c b400 26aa 0000 0000 0099
      0x0000010: 0000 000b 0000 000d 0000 001b 0000 0045
      0x0000020: 0000 006f 2ab4 001a 2cb6 002a b600 47c0
      0x0000030: 004a 4e2d c700 182a b400 1cb4 004c b400
      0x0000040: 522a b400 1c2a 2c04 b600 584e 2db0 2ab4
      0x0000050: 0018 2cb6 002a b600 47c0 004a 4e2d c700
      0x0000060: 182a b400 1cb4 004c b400 522a b400 1c2a
      0x0000070: 2c04 b600 584e 2db0 2ab4 0016 2cb6 002a
      0x0000080: b600 47c0 004a 4e2d c700 182a b400 1cb4
      0x0000090: 004c b400 522a b400 1c2a 2c04 b600 584e
      0x00000a0: 2db0 a700 044d 1101 9112 5eb8 0038 bf
      Exception Handler Table:
      bci [0, 77] => handler: 165
      bci [78, 119] => handler: 165
      bci [120, 161] => handler: 165
      Stackmap Table:
      append_frame(@36,Object[#36])
      append_frame(@76,Object[#74])
      chop_frame(@78,1)
      append_frame(@118,Object[#74])
      chop_frame(@120,1)
      append_frame(@160,Object[#74])
      same_frame(@162)
      full_frame(@165,{Object[#1],Object[#3]},{Object[#96]})
      same_frame(@166)

      at org.hsqldb_voltpatches.Error.error(Error.java:76)
      at org.hsqldb_voltpatches.Database.reopen(Database.ja va:377)
      at org.hsqldb_voltpatches.Database.open(Database.java :265)
      at org.hsqldb_voltpatches.DatabaseManager.getDatabase (DatabaseManager.java:250)
      at org.hsqldb_voltpatches.DatabaseManager.newSession( DatabaseManager.java:170)
      at org.hsqldb_voltpatches.HSQLInterface.loadHsqldb(HS QLInterface.java:131)
      at org.voltdb.compiler.PlannerTool.<init>(PlannerTool .java:72)
      at org.voltdb.CatalogContext.<init>(CatalogContext.ja va:138)
      at org.voltdb.RealVoltDB.readDeploymentAndCreateStart erCatalogContext(RealVoltDB.java:1544)
      at org.voltdb.RealVoltDB.initialize(RealVoltDB.java:4 81)
      at org.voltdb.VoltDB.initialize(VoltDB.java:908)
      at org.voltdb.VoltDB.main(VoltDB.java:892)
      2016-03-17 06:25:57,037 ERROR [main] ZK-SERVER: Thread Thread[main,5,main] died
      java.lang.RuntimeException: java.lang.NullPointerException
      at org.voltdb.RealVoltDB.readDeploymentAndCreateStart erCatalogContext(RealVoltDB.java:1548)
      at org.voltdb.RealVoltDB.initialize(RealVoltDB.java:4 81)
      at org.voltdb.VoltDB.initialize(VoltDB.java:908)
      at org.voltdb.VoltDB.main(VoltDB.java:892)
      Caused by: java.lang.NullPointerException
      at org.hsqldb_voltpatches.HSQLInterface.loadHsqldb(HS QLInterface.java:141)
      at org.voltdb.compiler.PlannerTool.<init>(PlannerTool .java:72)
      at org.voltdb.CatalogContext.<init>(CatalogContext.ja va:138)
      at org.voltdb.RealVoltDB.readDeploymentAndCreateStart erCatalogContext(RealVoltDB.java:1544)




      Could you give me some clue how to solve this problem?
      Thanks for your time.

      Comment

      Working...
      X