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

cmake installation on osx: missing files & strange layout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Component/s: cmakebuilder-plugin
    • Labels:
      None
    • Environment:
      OSX 10.10.5, jenkins 1.609.3, cmakebuilder plugin 2.3.2, JDK 1.7.0_80-b15
    • Similar Issues:

      Description

      on osx, our jenkins jobs fail when trying to build with the automatically installed cmake:

      ...
           [exec] CMake Error: Could not find cmake module file: CMakeSystemSpecificInitialize.cmake
           [exec] CMake Error at /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeCompilerIdDetection.cmake:38 (list):
           [exec]   list sub-command REMOVE_ITEM requires two or more arguments.
           [exec] Call Stack (most recent call first):
           [exec]   /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:108 (compiler_id_detection)
           [exec]   /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:126 (CMAKE_DETERMINE_COMPILER_ID_WRITE)
           [exec]   /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
           [exec]   /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCCompiler.cmake:109 (CMAKE_DETERMINE_COMPILER_ID)
           [exec]   CMakeLists.txt:8 (project)
      

      the error message indicates missing cmake files:
      the installed cmake has a strange layout and some files seem to be missing. observe the difference (e.g. missing *-DetermineCompiler.cmake files) between the jenkins-installed cmake and the one installed via "port":

      PORT

      zrh-jnk-osx10-64-b1:~ root# ls /opt/local/share/cmake-3.3/Modules/Compiler/
      ADSP-DetermineCompiler.cmake               GNU.cmake                                  QCC-C.cmake
      Absoft-Fortran.cmake                       HP-ASM.cmake                               QCC-CXX.cmake
      AppleClang-ASM.cmake                       HP-C-DetermineCompiler.cmake               QCC.cmake
      AppleClang-C-FeatureTests.cmake            HP-C.cmake                                 SCO-C.cmake
      AppleClang-C.cmake                         HP-CXX-DetermineCompiler.cmake             SCO-CXX.cmake
      AppleClang-CXX-FeatureTests.cmake          HP-CXX.cmake                               SCO-DetermineCompiler.cmake
      AppleClang-CXX.cmake                       HP-Fortran.cmake                           SCO.cmake
      AppleClang-DetermineCompiler.cmake         IAR-ASM.cmake                              SDCC-C-DetermineCompiler.cmake
      Borland-DetermineCompiler.cmake            IAR-C.cmake                                SunPro-ASM.cmake
      

      JENKINS CMAKEBUILDER

      zrh-jnk-osx10-64-b1:~ root# ls /Volumes/data/tools/cmake/share/cmake-3.3/Modules/Compiler/
      Absoft-Fortran.cmake    GHS-CXX.cmake           IAR.cmake               PGI.cmake               SunPro-Fortran.cmake
      AppleClang-ASM.cmake    GNU-ASM.cmake           Intel-ASM.cmake         PathScale-C.cmake       TI-ASM.cmake
      AppleClang-C.cmake      GNU-C.cmake             Intel-C.cmake           PathScale-CXX.cmake     TI-C.cmake
      AppleClang-CXX.cmake    GNU-CXX.cmake           Intel-CXX.cmake         PathScale.cmake         TI-CXX.cmake
      Clang-ASM.cmake         GNU-Fortran.cmake       Intel-Fortran.cmake     QCC-C.cmake             TinyCC-C.cmake
      Clang-C.cmake           GNU.cmake               MIPSpro-C.cmake         QCC-CXX.cmake           VisualAge-C.cmake
      Clang-CXX.cmake         HP-ASM.cmake            MIPSpro-CXX.cmake       QCC.cmake               VisualAge-CXX.cmake
      

      also, the whole package layout seems weird, compare the unpacked tar ball vs the cmake installed by cmakebuilder:

      UNPACKED

      cmake-3.3.2-Darwin-x86_64
      └── CMake.app
          └── Contents
              ├── Frameworks
              ├── Info.plist
              ├── MacOS
              ├── Resources
              ├── bin
              ├── doc
              ├── man
              └── share
      

      CMAKEBUILDER

      /Volumes/data/tools/cmake/
      ├── Frameworks
      │   ├── QtCore.framework
      │   └── QtGui.framework
      ├── Info.plist
      ├── MacOS
      │   └── CMake
      ├── Resources
      │   └── CMakeSetup.icns
      ├── bin
      │   ├── ccmake
      │   ├── cmake
      │   ├── cmake-gui -> ../MacOS/CMake
      │   ├── cmakexbuild
      │   ├── cpack
      │   └── ctest
      ├── cmake-3.3.2-Darwin-x86_64
      │   └── CMake.app
      └── share
          ├── aclocal
          └── cmake-3.3
      

      why the differences?

        Attachments

          Issue Links

            Activity

            mistafunk mistafunk created issue -
            mistafunk mistafunk made changes -
            Field Original Value New Value
            Description while the automatic installation of cmake itself works, the files have a strange layout and some modules seem to be missing. observe the difference (e.g. missing *-DetermineCompiler.cmake files) between the jenkins-installed cmake and the one installed via "port":

            PORT
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /opt/local/share/cmake-3.3/Modules/Compiler/
            ADSP-DetermineCompiler.cmake GNU.cmake QCC-C.cmake
            Absoft-Fortran.cmake HP-ASM.cmake QCC-CXX.cmake
            AppleClang-ASM.cmake HP-C-DetermineCompiler.cmake QCC.cmake
            AppleClang-C-FeatureTests.cmake HP-C.cmake SCO-C.cmake
            AppleClang-C.cmake HP-CXX-DetermineCompiler.cmake SCO-CXX.cmake
            AppleClang-CXX-FeatureTests.cmake HP-CXX.cmake SCO-DetermineCompiler.cmake
            AppleClang-CXX.cmake HP-Fortran.cmake SCO.cmake
            AppleClang-DetermineCompiler.cmake IAR-ASM.cmake SDCC-C-DetermineCompiler.cmake
            Borland-DetermineCompiler.cmake IAR-C.cmake SunPro-ASM.cmake
            {noformat}

            JENKINS CMAKEBUILDER
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /Volumes/data/tools/cmake/share/cmake-3.3/Modules/Compiler/
            Absoft-Fortran.cmake GHS-CXX.cmake IAR.cmake PGI.cmake SunPro-Fortran.cmake
            AppleClang-ASM.cmake GNU-ASM.cmake Intel-ASM.cmake PathScale-C.cmake TI-ASM.cmake
            AppleClang-C.cmake GNU-C.cmake Intel-C.cmake PathScale-CXX.cmake TI-C.cmake
            AppleClang-CXX.cmake GNU-CXX.cmake Intel-CXX.cmake PathScale.cmake TI-CXX.cmake
            Clang-ASM.cmake GNU-Fortran.cmake Intel-Fortran.cmake QCC-C.cmake TinyCC-C.cmake
            Clang-C.cmake GNU.cmake MIPSpro-C.cmake QCC-CXX.cmake VisualAge-C.cmake
            Clang-CXX.cmake HP-ASM.cmake MIPSpro-CXX.cmake QCC.cmake VisualAge-CXX.cmake
            {noformat}
            while the automatic installation of cmake itself works, the installed cmake files have a strange layout and some files seem to be missing. observe the difference (e.g. missing *-DetermineCompiler.cmake files) between the jenkins-installed cmake and the one installed via "port":

            PORT
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /opt/local/share/cmake-3.3/Modules/Compiler/
            ADSP-DetermineCompiler.cmake GNU.cmake QCC-C.cmake
            Absoft-Fortran.cmake HP-ASM.cmake QCC-CXX.cmake
            AppleClang-ASM.cmake HP-C-DetermineCompiler.cmake QCC.cmake
            AppleClang-C-FeatureTests.cmake HP-C.cmake SCO-C.cmake
            AppleClang-C.cmake HP-CXX-DetermineCompiler.cmake SCO-CXX.cmake
            AppleClang-CXX-FeatureTests.cmake HP-CXX.cmake SCO-DetermineCompiler.cmake
            AppleClang-CXX.cmake HP-Fortran.cmake SCO.cmake
            AppleClang-DetermineCompiler.cmake IAR-ASM.cmake SDCC-C-DetermineCompiler.cmake
            Borland-DetermineCompiler.cmake IAR-C.cmake SunPro-ASM.cmake
            {noformat}

            JENKINS CMAKEBUILDER
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /Volumes/data/tools/cmake/share/cmake-3.3/Modules/Compiler/
            Absoft-Fortran.cmake GHS-CXX.cmake IAR.cmake PGI.cmake SunPro-Fortran.cmake
            AppleClang-ASM.cmake GNU-ASM.cmake Intel-ASM.cmake PathScale-C.cmake TI-ASM.cmake
            AppleClang-C.cmake GNU-C.cmake Intel-C.cmake PathScale-CXX.cmake TI-C.cmake
            AppleClang-CXX.cmake GNU-CXX.cmake Intel-CXX.cmake PathScale.cmake TI-CXX.cmake
            Clang-ASM.cmake GNU-Fortran.cmake Intel-Fortran.cmake QCC-C.cmake TinyCC-C.cmake
            Clang-C.cmake GNU.cmake MIPSpro-C.cmake QCC-CXX.cmake VisualAge-C.cmake
            Clang-CXX.cmake HP-ASM.cmake MIPSpro-CXX.cmake QCC.cmake VisualAge-CXX.cmake
            {noformat}
            mistafunk mistafunk made changes -
            Description while the automatic installation of cmake itself works, the installed cmake files have a strange layout and some files seem to be missing. observe the difference (e.g. missing *-DetermineCompiler.cmake files) between the jenkins-installed cmake and the one installed via "port":

            PORT
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /opt/local/share/cmake-3.3/Modules/Compiler/
            ADSP-DetermineCompiler.cmake GNU.cmake QCC-C.cmake
            Absoft-Fortran.cmake HP-ASM.cmake QCC-CXX.cmake
            AppleClang-ASM.cmake HP-C-DetermineCompiler.cmake QCC.cmake
            AppleClang-C-FeatureTests.cmake HP-C.cmake SCO-C.cmake
            AppleClang-C.cmake HP-CXX-DetermineCompiler.cmake SCO-CXX.cmake
            AppleClang-CXX-FeatureTests.cmake HP-CXX.cmake SCO-DetermineCompiler.cmake
            AppleClang-CXX.cmake HP-Fortran.cmake SCO.cmake
            AppleClang-DetermineCompiler.cmake IAR-ASM.cmake SDCC-C-DetermineCompiler.cmake
            Borland-DetermineCompiler.cmake IAR-C.cmake SunPro-ASM.cmake
            {noformat}

            JENKINS CMAKEBUILDER
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /Volumes/data/tools/cmake/share/cmake-3.3/Modules/Compiler/
            Absoft-Fortran.cmake GHS-CXX.cmake IAR.cmake PGI.cmake SunPro-Fortran.cmake
            AppleClang-ASM.cmake GNU-ASM.cmake Intel-ASM.cmake PathScale-C.cmake TI-ASM.cmake
            AppleClang-C.cmake GNU-C.cmake Intel-C.cmake PathScale-CXX.cmake TI-C.cmake
            AppleClang-CXX.cmake GNU-CXX.cmake Intel-CXX.cmake PathScale.cmake TI-CXX.cmake
            Clang-ASM.cmake GNU-Fortran.cmake Intel-Fortran.cmake QCC-C.cmake TinyCC-C.cmake
            Clang-C.cmake GNU.cmake MIPSpro-C.cmake QCC-CXX.cmake VisualAge-C.cmake
            Clang-CXX.cmake HP-ASM.cmake MIPSpro-CXX.cmake QCC.cmake VisualAge-CXX.cmake
            {noformat}
            while the automatic installation of cmake itself works, the installed cmake files have a strange layout and some files seem to be missing. observe the difference (e.g. missing *-DetermineCompiler.cmake files) between the jenkins-installed cmake and the one installed via "port":

            PORT
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /opt/local/share/cmake-3.3/Modules/Compiler/
            ADSP-DetermineCompiler.cmake GNU.cmake QCC-C.cmake
            Absoft-Fortran.cmake HP-ASM.cmake QCC-CXX.cmake
            AppleClang-ASM.cmake HP-C-DetermineCompiler.cmake QCC.cmake
            AppleClang-C-FeatureTests.cmake HP-C.cmake SCO-C.cmake
            AppleClang-C.cmake HP-CXX-DetermineCompiler.cmake SCO-CXX.cmake
            AppleClang-CXX-FeatureTests.cmake HP-CXX.cmake SCO-DetermineCompiler.cmake
            AppleClang-CXX.cmake HP-Fortran.cmake SCO.cmake
            AppleClang-DetermineCompiler.cmake IAR-ASM.cmake SDCC-C-DetermineCompiler.cmake
            Borland-DetermineCompiler.cmake IAR-C.cmake SunPro-ASM.cmake
            {noformat}

            JENKINS CMAKEBUILDER
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /Volumes/data/tools/cmake/share/cmake-3.3/Modules/Compiler/
            Absoft-Fortran.cmake GHS-CXX.cmake IAR.cmake PGI.cmake SunPro-Fortran.cmake
            AppleClang-ASM.cmake GNU-ASM.cmake Intel-ASM.cmake PathScale-C.cmake TI-ASM.cmake
            AppleClang-C.cmake GNU-C.cmake Intel-C.cmake PathScale-CXX.cmake TI-C.cmake
            AppleClang-CXX.cmake GNU-CXX.cmake Intel-CXX.cmake PathScale.cmake TI-CXX.cmake
            Clang-ASM.cmake GNU-Fortran.cmake Intel-Fortran.cmake QCC-C.cmake TinyCC-C.cmake
            Clang-C.cmake GNU.cmake MIPSpro-C.cmake QCC-CXX.cmake VisualAge-C.cmake
            Clang-CXX.cmake HP-ASM.cmake MIPSpro-CXX.cmake QCC.cmake VisualAge-CXX.cmake
            {noformat}

            also, the whole package layout seems weird, compare the unpacked tar ball vs the cmake installed by cmakebuilder:

            UNPACKED
            {noformat}
            cmake-3.3.2-Darwin-x86_64
            └── CMake.app
                └── Contents
                    ├── Frameworks
                    ├── Info.plist
                    ├── MacOS
                    ├── Resources
                    ├── bin
                    ├── doc
                    ├── man
                    └── share
            {noformat}

            CMAKEBUILDER
            {noformat}
            /Volumes/data/tools/cmake/
            ├── Frameworks
            │   ├── QtCore.framework
            │   └── QtGui.framework
            ├── Info.plist
            ├── MacOS
            │   └── CMake
            ├── Resources
            │   └── CMakeSetup.icns
            ├── bin
            │   ├── ccmake
            │   ├── cmake
            │   ├── cmake-gui -> ../MacOS/CMake
            │   ├── cmakexbuild
            │   ├── cpack
            │   └── ctest
            ├── cmake-3.3.2-Darwin-x86_64
            │   └── CMake.app
            └── share
                ├── aclocal
                └── cmake-3.3
            {noformat}

            why the differences?
            mistafunk mistafunk made changes -
            Summary cmake installation on osx: wrong file layout cmake installation on osx: missing files & strange layout
            mistafunk mistafunk made changes -
            Description while the automatic installation of cmake itself works, the installed cmake files have a strange layout and some files seem to be missing. observe the difference (e.g. missing *-DetermineCompiler.cmake files) between the jenkins-installed cmake and the one installed via "port":

            PORT
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /opt/local/share/cmake-3.3/Modules/Compiler/
            ADSP-DetermineCompiler.cmake GNU.cmake QCC-C.cmake
            Absoft-Fortran.cmake HP-ASM.cmake QCC-CXX.cmake
            AppleClang-ASM.cmake HP-C-DetermineCompiler.cmake QCC.cmake
            AppleClang-C-FeatureTests.cmake HP-C.cmake SCO-C.cmake
            AppleClang-C.cmake HP-CXX-DetermineCompiler.cmake SCO-CXX.cmake
            AppleClang-CXX-FeatureTests.cmake HP-CXX.cmake SCO-DetermineCompiler.cmake
            AppleClang-CXX.cmake HP-Fortran.cmake SCO.cmake
            AppleClang-DetermineCompiler.cmake IAR-ASM.cmake SDCC-C-DetermineCompiler.cmake
            Borland-DetermineCompiler.cmake IAR-C.cmake SunPro-ASM.cmake
            {noformat}

            JENKINS CMAKEBUILDER
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /Volumes/data/tools/cmake/share/cmake-3.3/Modules/Compiler/
            Absoft-Fortran.cmake GHS-CXX.cmake IAR.cmake PGI.cmake SunPro-Fortran.cmake
            AppleClang-ASM.cmake GNU-ASM.cmake Intel-ASM.cmake PathScale-C.cmake TI-ASM.cmake
            AppleClang-C.cmake GNU-C.cmake Intel-C.cmake PathScale-CXX.cmake TI-C.cmake
            AppleClang-CXX.cmake GNU-CXX.cmake Intel-CXX.cmake PathScale.cmake TI-CXX.cmake
            Clang-ASM.cmake GNU-Fortran.cmake Intel-Fortran.cmake QCC-C.cmake TinyCC-C.cmake
            Clang-C.cmake GNU.cmake MIPSpro-C.cmake QCC-CXX.cmake VisualAge-C.cmake
            Clang-CXX.cmake HP-ASM.cmake MIPSpro-CXX.cmake QCC.cmake VisualAge-CXX.cmake
            {noformat}

            also, the whole package layout seems weird, compare the unpacked tar ball vs the cmake installed by cmakebuilder:

            UNPACKED
            {noformat}
            cmake-3.3.2-Darwin-x86_64
            └── CMake.app
                └── Contents
                    ├── Frameworks
                    ├── Info.plist
                    ├── MacOS
                    ├── Resources
                    ├── bin
                    ├── doc
                    ├── man
                    └── share
            {noformat}

            CMAKEBUILDER
            {noformat}
            /Volumes/data/tools/cmake/
            ├── Frameworks
            │   ├── QtCore.framework
            │   └── QtGui.framework
            ├── Info.plist
            ├── MacOS
            │   └── CMake
            ├── Resources
            │   └── CMakeSetup.icns
            ├── bin
            │   ├── ccmake
            │   ├── cmake
            │   ├── cmake-gui -> ../MacOS/CMake
            │   ├── cmakexbuild
            │   ├── cpack
            │   └── ctest
            ├── cmake-3.3.2-Darwin-x86_64
            │   └── CMake.app
            └── share
                ├── aclocal
                └── cmake-3.3
            {noformat}

            why the differences?
            our jenkins jobs fail when trying to build with the automatically installed cmake:
            {noformat}
            ...
                 [exec] CMake Error: Could not find cmake module file: CMakeSystemSpecificInitialize.cmake
                 [exec] CMake Error at /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeCompilerIdDetection.cmake:38 (list):
                 [exec] list sub-command REMOVE_ITEM requires two or more arguments.
                 [exec] Call Stack (most recent call first):
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:108 (compiler_id_detection)
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:126 (CMAKE_DETERMINE_COMPILER_ID_WRITE)
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCCompiler.cmake:109 (CMAKE_DETERMINE_COMPILER_ID)
                 [exec] CMakeLists.txt:8 (project)
            {noformat}

            while the automatic installation of cmake itself works, the installed cmake files have a strange layout and some files seem to be missing. observe the difference (e.g. missing *-DetermineCompiler.cmake files) between the jenkins-installed cmake and the one installed via "port":

            PORT
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /opt/local/share/cmake-3.3/Modules/Compiler/
            ADSP-DetermineCompiler.cmake GNU.cmake QCC-C.cmake
            Absoft-Fortran.cmake HP-ASM.cmake QCC-CXX.cmake
            AppleClang-ASM.cmake HP-C-DetermineCompiler.cmake QCC.cmake
            AppleClang-C-FeatureTests.cmake HP-C.cmake SCO-C.cmake
            AppleClang-C.cmake HP-CXX-DetermineCompiler.cmake SCO-CXX.cmake
            AppleClang-CXX-FeatureTests.cmake HP-CXX.cmake SCO-DetermineCompiler.cmake
            AppleClang-CXX.cmake HP-Fortran.cmake SCO.cmake
            AppleClang-DetermineCompiler.cmake IAR-ASM.cmake SDCC-C-DetermineCompiler.cmake
            Borland-DetermineCompiler.cmake IAR-C.cmake SunPro-ASM.cmake
            {noformat}

            JENKINS CMAKEBUILDER
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /Volumes/data/tools/cmake/share/cmake-3.3/Modules/Compiler/
            Absoft-Fortran.cmake GHS-CXX.cmake IAR.cmake PGI.cmake SunPro-Fortran.cmake
            AppleClang-ASM.cmake GNU-ASM.cmake Intel-ASM.cmake PathScale-C.cmake TI-ASM.cmake
            AppleClang-C.cmake GNU-C.cmake Intel-C.cmake PathScale-CXX.cmake TI-C.cmake
            AppleClang-CXX.cmake GNU-CXX.cmake Intel-CXX.cmake PathScale.cmake TI-CXX.cmake
            Clang-ASM.cmake GNU-Fortran.cmake Intel-Fortran.cmake QCC-C.cmake TinyCC-C.cmake
            Clang-C.cmake GNU.cmake MIPSpro-C.cmake QCC-CXX.cmake VisualAge-C.cmake
            Clang-CXX.cmake HP-ASM.cmake MIPSpro-CXX.cmake QCC.cmake VisualAge-CXX.cmake
            {noformat}

            also, the whole package layout seems weird, compare the unpacked tar ball vs the cmake installed by cmakebuilder:

            UNPACKED
            {noformat}
            cmake-3.3.2-Darwin-x86_64
            └── CMake.app
                └── Contents
                    ├── Frameworks
                    ├── Info.plist
                    ├── MacOS
                    ├── Resources
                    ├── bin
                    ├── doc
                    ├── man
                    └── share
            {noformat}

            CMAKEBUILDER
            {noformat}
            /Volumes/data/tools/cmake/
            ├── Frameworks
            │   ├── QtCore.framework
            │   └── QtGui.framework
            ├── Info.plist
            ├── MacOS
            │   └── CMake
            ├── Resources
            │   └── CMakeSetup.icns
            ├── bin
            │   ├── ccmake
            │   ├── cmake
            │   ├── cmake-gui -> ../MacOS/CMake
            │   ├── cmakexbuild
            │   ├── cpack
            │   └── ctest
            ├── cmake-3.3.2-Darwin-x86_64
            │   └── CMake.app
            └── share
                ├── aclocal
                └── cmake-3.3
            {noformat}

            why the differences?
            mistafunk mistafunk made changes -
            Description our jenkins jobs fail when trying to build with the automatically installed cmake:
            {noformat}
            ...
                 [exec] CMake Error: Could not find cmake module file: CMakeSystemSpecificInitialize.cmake
                 [exec] CMake Error at /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeCompilerIdDetection.cmake:38 (list):
                 [exec] list sub-command REMOVE_ITEM requires two or more arguments.
                 [exec] Call Stack (most recent call first):
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:108 (compiler_id_detection)
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:126 (CMAKE_DETERMINE_COMPILER_ID_WRITE)
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCCompiler.cmake:109 (CMAKE_DETERMINE_COMPILER_ID)
                 [exec] CMakeLists.txt:8 (project)
            {noformat}

            while the automatic installation of cmake itself works, the installed cmake files have a strange layout and some files seem to be missing. observe the difference (e.g. missing *-DetermineCompiler.cmake files) between the jenkins-installed cmake and the one installed via "port":

            PORT
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /opt/local/share/cmake-3.3/Modules/Compiler/
            ADSP-DetermineCompiler.cmake GNU.cmake QCC-C.cmake
            Absoft-Fortran.cmake HP-ASM.cmake QCC-CXX.cmake
            AppleClang-ASM.cmake HP-C-DetermineCompiler.cmake QCC.cmake
            AppleClang-C-FeatureTests.cmake HP-C.cmake SCO-C.cmake
            AppleClang-C.cmake HP-CXX-DetermineCompiler.cmake SCO-CXX.cmake
            AppleClang-CXX-FeatureTests.cmake HP-CXX.cmake SCO-DetermineCompiler.cmake
            AppleClang-CXX.cmake HP-Fortran.cmake SCO.cmake
            AppleClang-DetermineCompiler.cmake IAR-ASM.cmake SDCC-C-DetermineCompiler.cmake
            Borland-DetermineCompiler.cmake IAR-C.cmake SunPro-ASM.cmake
            {noformat}

            JENKINS CMAKEBUILDER
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /Volumes/data/tools/cmake/share/cmake-3.3/Modules/Compiler/
            Absoft-Fortran.cmake GHS-CXX.cmake IAR.cmake PGI.cmake SunPro-Fortran.cmake
            AppleClang-ASM.cmake GNU-ASM.cmake Intel-ASM.cmake PathScale-C.cmake TI-ASM.cmake
            AppleClang-C.cmake GNU-C.cmake Intel-C.cmake PathScale-CXX.cmake TI-C.cmake
            AppleClang-CXX.cmake GNU-CXX.cmake Intel-CXX.cmake PathScale.cmake TI-CXX.cmake
            Clang-ASM.cmake GNU-Fortran.cmake Intel-Fortran.cmake QCC-C.cmake TinyCC-C.cmake
            Clang-C.cmake GNU.cmake MIPSpro-C.cmake QCC-CXX.cmake VisualAge-C.cmake
            Clang-CXX.cmake HP-ASM.cmake MIPSpro-CXX.cmake QCC.cmake VisualAge-CXX.cmake
            {noformat}

            also, the whole package layout seems weird, compare the unpacked tar ball vs the cmake installed by cmakebuilder:

            UNPACKED
            {noformat}
            cmake-3.3.2-Darwin-x86_64
            └── CMake.app
                └── Contents
                    ├── Frameworks
                    ├── Info.plist
                    ├── MacOS
                    ├── Resources
                    ├── bin
                    ├── doc
                    ├── man
                    └── share
            {noformat}

            CMAKEBUILDER
            {noformat}
            /Volumes/data/tools/cmake/
            ├── Frameworks
            │   ├── QtCore.framework
            │   └── QtGui.framework
            ├── Info.plist
            ├── MacOS
            │   └── CMake
            ├── Resources
            │   └── CMakeSetup.icns
            ├── bin
            │   ├── ccmake
            │   ├── cmake
            │   ├── cmake-gui -> ../MacOS/CMake
            │   ├── cmakexbuild
            │   ├── cpack
            │   └── ctest
            ├── cmake-3.3.2-Darwin-x86_64
            │   └── CMake.app
            └── share
                ├── aclocal
                └── cmake-3.3
            {noformat}

            why the differences?
            on osx, our jenkins jobs fail when trying to build with the automatically installed cmake:
            {noformat}
            ...
                 [exec] CMake Error: Could not find cmake module file: CMakeSystemSpecificInitialize.cmake
                 [exec] CMake Error at /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeCompilerIdDetection.cmake:38 (list):
                 [exec] list sub-command REMOVE_ITEM requires two or more arguments.
                 [exec] Call Stack (most recent call first):
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:108 (compiler_id_detection)
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:126 (CMAKE_DETERMINE_COMPILER_ID_WRITE)
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCCompiler.cmake:109 (CMAKE_DETERMINE_COMPILER_ID)
                 [exec] CMakeLists.txt:8 (project)
            {noformat}

            while the automatic installation of cmake itself works, the installed cmake files have a strange layout and some files seem to be missing. observe the difference (e.g. missing *-DetermineCompiler.cmake files) between the jenkins-installed cmake and the one installed via "port":

            PORT
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /opt/local/share/cmake-3.3/Modules/Compiler/
            ADSP-DetermineCompiler.cmake GNU.cmake QCC-C.cmake
            Absoft-Fortran.cmake HP-ASM.cmake QCC-CXX.cmake
            AppleClang-ASM.cmake HP-C-DetermineCompiler.cmake QCC.cmake
            AppleClang-C-FeatureTests.cmake HP-C.cmake SCO-C.cmake
            AppleClang-C.cmake HP-CXX-DetermineCompiler.cmake SCO-CXX.cmake
            AppleClang-CXX-FeatureTests.cmake HP-CXX.cmake SCO-DetermineCompiler.cmake
            AppleClang-CXX.cmake HP-Fortran.cmake SCO.cmake
            AppleClang-DetermineCompiler.cmake IAR-ASM.cmake SDCC-C-DetermineCompiler.cmake
            Borland-DetermineCompiler.cmake IAR-C.cmake SunPro-ASM.cmake
            {noformat}

            JENKINS CMAKEBUILDER
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /Volumes/data/tools/cmake/share/cmake-3.3/Modules/Compiler/
            Absoft-Fortran.cmake GHS-CXX.cmake IAR.cmake PGI.cmake SunPro-Fortran.cmake
            AppleClang-ASM.cmake GNU-ASM.cmake Intel-ASM.cmake PathScale-C.cmake TI-ASM.cmake
            AppleClang-C.cmake GNU-C.cmake Intel-C.cmake PathScale-CXX.cmake TI-C.cmake
            AppleClang-CXX.cmake GNU-CXX.cmake Intel-CXX.cmake PathScale.cmake TI-CXX.cmake
            Clang-ASM.cmake GNU-Fortran.cmake Intel-Fortran.cmake QCC-C.cmake TinyCC-C.cmake
            Clang-C.cmake GNU.cmake MIPSpro-C.cmake QCC-CXX.cmake VisualAge-C.cmake
            Clang-CXX.cmake HP-ASM.cmake MIPSpro-CXX.cmake QCC.cmake VisualAge-CXX.cmake
            {noformat}

            also, the whole package layout seems weird, compare the unpacked tar ball vs the cmake installed by cmakebuilder:

            UNPACKED
            {noformat}
            cmake-3.3.2-Darwin-x86_64
            └── CMake.app
                └── Contents
                    ├── Frameworks
                    ├── Info.plist
                    ├── MacOS
                    ├── Resources
                    ├── bin
                    ├── doc
                    ├── man
                    └── share
            {noformat}

            CMAKEBUILDER
            {noformat}
            /Volumes/data/tools/cmake/
            ├── Frameworks
            │   ├── QtCore.framework
            │   └── QtGui.framework
            ├── Info.plist
            ├── MacOS
            │   └── CMake
            ├── Resources
            │   └── CMakeSetup.icns
            ├── bin
            │   ├── ccmake
            │   ├── cmake
            │   ├── cmake-gui -> ../MacOS/CMake
            │   ├── cmakexbuild
            │   ├── cpack
            │   └── ctest
            ├── cmake-3.3.2-Darwin-x86_64
            │   └── CMake.app
            └── share
                ├── aclocal
                └── cmake-3.3
            {noformat}

            why the differences?
            mistafunk mistafunk made changes -
            Description on osx, our jenkins jobs fail when trying to build with the automatically installed cmake:
            {noformat}
            ...
                 [exec] CMake Error: Could not find cmake module file: CMakeSystemSpecificInitialize.cmake
                 [exec] CMake Error at /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeCompilerIdDetection.cmake:38 (list):
                 [exec] list sub-command REMOVE_ITEM requires two or more arguments.
                 [exec] Call Stack (most recent call first):
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:108 (compiler_id_detection)
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:126 (CMAKE_DETERMINE_COMPILER_ID_WRITE)
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCCompiler.cmake:109 (CMAKE_DETERMINE_COMPILER_ID)
                 [exec] CMakeLists.txt:8 (project)
            {noformat}

            while the automatic installation of cmake itself works, the installed cmake files have a strange layout and some files seem to be missing. observe the difference (e.g. missing *-DetermineCompiler.cmake files) between the jenkins-installed cmake and the one installed via "port":

            PORT
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /opt/local/share/cmake-3.3/Modules/Compiler/
            ADSP-DetermineCompiler.cmake GNU.cmake QCC-C.cmake
            Absoft-Fortran.cmake HP-ASM.cmake QCC-CXX.cmake
            AppleClang-ASM.cmake HP-C-DetermineCompiler.cmake QCC.cmake
            AppleClang-C-FeatureTests.cmake HP-C.cmake SCO-C.cmake
            AppleClang-C.cmake HP-CXX-DetermineCompiler.cmake SCO-CXX.cmake
            AppleClang-CXX-FeatureTests.cmake HP-CXX.cmake SCO-DetermineCompiler.cmake
            AppleClang-CXX.cmake HP-Fortran.cmake SCO.cmake
            AppleClang-DetermineCompiler.cmake IAR-ASM.cmake SDCC-C-DetermineCompiler.cmake
            Borland-DetermineCompiler.cmake IAR-C.cmake SunPro-ASM.cmake
            {noformat}

            JENKINS CMAKEBUILDER
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /Volumes/data/tools/cmake/share/cmake-3.3/Modules/Compiler/
            Absoft-Fortran.cmake GHS-CXX.cmake IAR.cmake PGI.cmake SunPro-Fortran.cmake
            AppleClang-ASM.cmake GNU-ASM.cmake Intel-ASM.cmake PathScale-C.cmake TI-ASM.cmake
            AppleClang-C.cmake GNU-C.cmake Intel-C.cmake PathScale-CXX.cmake TI-C.cmake
            AppleClang-CXX.cmake GNU-CXX.cmake Intel-CXX.cmake PathScale.cmake TI-CXX.cmake
            Clang-ASM.cmake GNU-Fortran.cmake Intel-Fortran.cmake QCC-C.cmake TinyCC-C.cmake
            Clang-C.cmake GNU.cmake MIPSpro-C.cmake QCC-CXX.cmake VisualAge-C.cmake
            Clang-CXX.cmake HP-ASM.cmake MIPSpro-CXX.cmake QCC.cmake VisualAge-CXX.cmake
            {noformat}

            also, the whole package layout seems weird, compare the unpacked tar ball vs the cmake installed by cmakebuilder:

            UNPACKED
            {noformat}
            cmake-3.3.2-Darwin-x86_64
            └── CMake.app
                └── Contents
                    ├── Frameworks
                    ├── Info.plist
                    ├── MacOS
                    ├── Resources
                    ├── bin
                    ├── doc
                    ├── man
                    └── share
            {noformat}

            CMAKEBUILDER
            {noformat}
            /Volumes/data/tools/cmake/
            ├── Frameworks
            │   ├── QtCore.framework
            │   └── QtGui.framework
            ├── Info.plist
            ├── MacOS
            │   └── CMake
            ├── Resources
            │   └── CMakeSetup.icns
            ├── bin
            │   ├── ccmake
            │   ├── cmake
            │   ├── cmake-gui -> ../MacOS/CMake
            │   ├── cmakexbuild
            │   ├── cpack
            │   └── ctest
            ├── cmake-3.3.2-Darwin-x86_64
            │   └── CMake.app
            └── share
                ├── aclocal
                └── cmake-3.3
            {noformat}

            why the differences?
            on osx, our jenkins jobs fail when trying to build with the automatically installed cmake:
            {noformat}
            ...
                 [exec] CMake Error: Could not find cmake module file: CMakeSystemSpecificInitialize.cmake
                 [exec] CMake Error at /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeCompilerIdDetection.cmake:38 (list):
                 [exec] list sub-command REMOVE_ITEM requires two or more arguments.
                 [exec] Call Stack (most recent call first):
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:108 (compiler_id_detection)
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:126 (CMAKE_DETERMINE_COMPILER_ID_WRITE)
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
                 [exec] /Volumes/data/tools/cmake/share/cmake-3.3/Modules/CMakeDetermineCCompiler.cmake:109 (CMAKE_DETERMINE_COMPILER_ID)
                 [exec] CMakeLists.txt:8 (project)
            {noformat}

            the error message indicates missing cmake files:
            the installed cmake has a strange layout and some files seem to be missing. observe the difference (e.g. missing *-DetermineCompiler.cmake files) between the jenkins-installed cmake and the one installed via "port":

            PORT
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /opt/local/share/cmake-3.3/Modules/Compiler/
            ADSP-DetermineCompiler.cmake GNU.cmake QCC-C.cmake
            Absoft-Fortran.cmake HP-ASM.cmake QCC-CXX.cmake
            AppleClang-ASM.cmake HP-C-DetermineCompiler.cmake QCC.cmake
            AppleClang-C-FeatureTests.cmake HP-C.cmake SCO-C.cmake
            AppleClang-C.cmake HP-CXX-DetermineCompiler.cmake SCO-CXX.cmake
            AppleClang-CXX-FeatureTests.cmake HP-CXX.cmake SCO-DetermineCompiler.cmake
            AppleClang-CXX.cmake HP-Fortran.cmake SCO.cmake
            AppleClang-DetermineCompiler.cmake IAR-ASM.cmake SDCC-C-DetermineCompiler.cmake
            Borland-DetermineCompiler.cmake IAR-C.cmake SunPro-ASM.cmake
            {noformat}

            JENKINS CMAKEBUILDER
            {noformat}
            zrh-jnk-osx10-64-b1:~ root# ls /Volumes/data/tools/cmake/share/cmake-3.3/Modules/Compiler/
            Absoft-Fortran.cmake GHS-CXX.cmake IAR.cmake PGI.cmake SunPro-Fortran.cmake
            AppleClang-ASM.cmake GNU-ASM.cmake Intel-ASM.cmake PathScale-C.cmake TI-ASM.cmake
            AppleClang-C.cmake GNU-C.cmake Intel-C.cmake PathScale-CXX.cmake TI-C.cmake
            AppleClang-CXX.cmake GNU-CXX.cmake Intel-CXX.cmake PathScale.cmake TI-CXX.cmake
            Clang-ASM.cmake GNU-Fortran.cmake Intel-Fortran.cmake QCC-C.cmake TinyCC-C.cmake
            Clang-C.cmake GNU.cmake MIPSpro-C.cmake QCC-CXX.cmake VisualAge-C.cmake
            Clang-CXX.cmake HP-ASM.cmake MIPSpro-CXX.cmake QCC.cmake VisualAge-CXX.cmake
            {noformat}

            also, the whole package layout seems weird, compare the unpacked tar ball vs the cmake installed by cmakebuilder:

            UNPACKED
            {noformat}
            cmake-3.3.2-Darwin-x86_64
            └── CMake.app
                └── Contents
                    ├── Frameworks
                    ├── Info.plist
                    ├── MacOS
                    ├── Resources
                    ├── bin
                    ├── doc
                    ├── man
                    └── share
            {noformat}

            CMAKEBUILDER
            {noformat}
            /Volumes/data/tools/cmake/
            ├── Frameworks
            │   ├── QtCore.framework
            │   └── QtGui.framework
            ├── Info.plist
            ├── MacOS
            │   └── CMake
            ├── Resources
            │   └── CMakeSetup.icns
            ├── bin
            │   ├── ccmake
            │   ├── cmake
            │   ├── cmake-gui -> ../MacOS/CMake
            │   ├── cmakexbuild
            │   ├── cpack
            │   └── ctest
            ├── cmake-3.3.2-Darwin-x86_64
            │   └── CMake.app
            └── share
                ├── aclocal
                └── cmake-3.3
            {noformat}

            why the differences?
            mistafunk mistafunk made changes -
            Attachment manual cmake installation.png [ 30985 ]
            mistafunk mistafunk made changes -
            Environment OSX 10.10.5, jenkins 1.609.3, cmakebuilder plugin 2.3.2 OSX 10.10.5, jenkins 1.609.3, cmakebuilder plugin 2.3.2, JDK 1.7.0_80-b15
            15knots Martin Weber made changes -
            Link This issue depends on JENKINS-20693 [ JENKINS-20693 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 166443 ] JNJira + In-Review [ 182388 ]
            15knots Martin Weber made changes -
            Assignee Martin Weber [ 15knots ]
            15knots Martin Weber made changes -
            Resolution Cannot Reproduce [ 5 ]
            Status Open [ 1 ] Resolved [ 5 ]

              People

              Assignee:
              15knots Martin Weber
              Reporter:
              mistafunk mistafunk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: