Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-14305

6.0.0-beta1 does not build on centos 5

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: Build process
    • Labels:
      None

      Description

      Xiaoming Wang Richard Chapman Kunal Aswani Lorraine Chapman

      At the time of 6.0.0-beta1, the centos5 build does not build properly.

      Here is the build error:

      19:27:33 [ 77%] Building CXX object roxie/ccd/CMakeFiles/ccd.dir/ccdkey.cpp.o
      19:27:35 /var/lib/jenkins/workspace/CE-Candidate-6.0.0-beta1/CE/centos-5.7-x86_64/HPCC-Platform/roxie/ccd/ccdkey.cpp: In member function ‘void InMemoryIndexManager::generateKeys(InMemoryIndexSet&)’:
      19:27:35 /var/lib/jenkins/workspace/CE-Candidate-6.0.0-beta1/CE/centos-5.7-x86_64/HPCC-Platform/roxie/ccd/ccdkey.cpp:1306: warning: ‘bestIdx’ may be used uninitialized in this function
      19:27:36 Scanning dependencies of target eclagent
      19:27:36 [ 78%] Building CXX object ecl/eclagent/CMakeFiles/eclagent.dir/eclagentmain.cpp.o
      19:27:37 Linking CXX executable ../../Release/bin/eclagent
      19:27:37 [ 78%] Built target eclagent
      19:27:37 [ 78%] Building CXX object roxie/ccd/CMakeFiles/ccd.dir/ccdlistener.cpp.o
      19:27:38 /var/lib/jenkins/workspace/CE-Candidate-6.0.0-beta1/CE/centos-5.7-x86_64/HPCC-Platform/roxie/ccd/ccdlistener.cpp: In static member function ‘static void RoxieListener::updateAffinity()’:
      19:27:38 /var/lib/jenkins/workspace/CE-Candidate-6.0.0-beta1/CE/centos-5.7-x86_64/HPCC-Platform/roxie/ccd/ccdlistener.cpp:673: error: ‘CPU_COUNT’ was not declared in this scope
      19:27:38 make[2]: *** [roxie/ccd/CMakeFiles/ccd.dir/ccdlistener.cpp.o] Error 1
      19:27:38 make[2]: *** Waiting for unfinished jobs....
      19:27:38 Scanning dependencies of target eclcc
      19:27:39 [ 78%] Building CXX object ecl/eclcc/CMakeFiles/eclcc.dir/reservedwords.cpp.o
      19:27:39 [ 78%] Building CXX object ecl/eclcc/CMakeFiles/eclcc.dir/eclcc.cpp.o
      19:27:42 Linking CXX executable ../../Release/bin/eclcc
      19:27:42 make[1]: *** [roxie/ccd/CMakeFiles/ccd.dir/all] Error 2
      19:27:42 make[1]: *** Waiting for unfinished jobs....
      19:27:42 [ 78%] Built target eclcc
      19:27:42 make: *** [all] Error 2
      19:27:42 Build step 'CMake Build' marked build as failure
      19:27:42 Archiving artifacts
      19:27:43 SSH: Current build result is [FAILURE], not going to run.
      19:27:43 Finished: FAILURE

        Attachments

          Activity

            People

            • Assignee:
              richardkchapman Richard Chapman
              Reporter:
              cloln Chris Lo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: