Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62498

CMake No such file or directory - No RUN

    XMLWordPrintable

Details

    Description

      Hello,

      I'm trying to build a simple project in C++ hosted in Bitbucket with CMake plugin and i get  this error 
      [build] $ cmake -G "Unix Makefiles" -D CMAKE_BUILD_TYPE=Release /var/jenkins_home/workspace/ticpp_ip_libs
      ERROR: Cannot run program "cmake" (in directory "/var/jenkins_home/workspace/ticpp_ip_libs/build"): error=2, No such file or directory
      Build step 'CMake Build' marked build as failure
      Finished: FAILURE

      Attachments

        Activity

          arturox_x Arturo Arenas added a comment -

          In the /var/jenkins_home/tools/hudson.plugins.cmake.CmakeTool/3.17.3/ directory, are the following files:

           

          bash-4.4$ ls /var/jenkins_home/tools/hudson.plugins.cmake.CmakeTool/3.17.3/

          bin  share

          bash-4.4$ ls /var/jenkins_home/tools/hudson.plugins.cmake.CmakeTool/3.17.3/bin/

          ccmake cmake  cmake-gui  cpack  ctest

          bash-4.4$ ls /var/jenkins_home/tools/hudson.plugins.cmake.CmakeTool/3.17.3/share/

          aclocal  applications  cmake-3.17  icons  mime

          arturox_x Arturo Arenas added a comment - In the /var/jenkins_home/tools/hudson.plugins.cmake.CmakeTool/3.17.3/ directory, are the following files:   bash-4.4$ ls /var/jenkins_home/tools/hudson.plugins.cmake.CmakeTool/3.17.3/ bin  share bash-4.4$ ls /var/jenkins_home/tools/hudson.plugins.cmake.CmakeTool/3.17.3/bin/ ccmake cmake  cmake-gui  cpack  ctest bash-4.4$ ls /var/jenkins_home/tools/hudson.plugins.cmake.CmakeTool/3.17.3/share/ aclocal  applications  cmake-3.17  icons  mime
          15knots Martin Weber added a comment -

          Directory layout looks good. You are using the latest version of cmake, so I suspected the directory layout in the downloaded zip changed, which is apparently not the case.

           

          But from the ldd output, I see this
          Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /var/jenkins_home/tools/hudson.plugins.cmake.CmakeTool/3.17.3/bin/cmake)
           

          This is definitely not related to the cmake plugin.

          15knots Martin Weber added a comment - Directory layout looks good. You are using the latest version of cmake, so I suspected the directory layout in the downloaded zip changed, which is apparently not the case.   But from the ldd output, I see this Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /var/jenkins_home/tools/hudson.plugins.cmake.CmakeTool/3.17.3/bin/cmake)   This is definitely not related to the cmake plugin.
          arturox_x Arturo Arenas added a comment -

          Yes, that error y so weird, but i don't know how to add  that shared library  missed. The jenkins-blueocean not have a package manager like dnf, yum or apt-get, what can i do? 

          arturox_x Arturo Arenas added a comment - Yes, that error y so weird, but i don't know how to add  that shared library  missed. The jenkins-blueocean not have a package manager like dnf, yum or apt-get, what can i do? 
          15knots Martin Weber added a comment -

          Report this at the team that maintains Docker blueocean environment?

          15knots Martin Weber added a comment - Report this at the team that maintains Docker blueocean environment?
          arturox_x Arturo Arenas added a comment -

          Yes, i'll do that, thanks a lot Martin!! I really appreciate your help

          arturox_x Arturo Arenas added a comment - Yes, i'll do that, thanks a lot Martin!! I really appreciate your help

          People

            15knots Martin Weber
            arturox_x Arturo Arenas
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: