Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4940

cmake on AIX fails for 5.5.32 (but works for 5.5.31)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.5.32
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      AIX 5.3 TL07 (5300-07-01-0748) - old to be more backwards compatible;
      IBM XL C/C++ for AIX, V11.1 (5724-X13)
      Version: 11.01.0000.0013

      Description

      cannot run cmake because of error - does not do a successful compiler test

      from 5.5.31:

      -- Running cmake version 2.8.11.2
      -- The C compiler identification is XL 11.1.0
      -- The CXX compiler identification is XL 11.1.0
      -- Check for working C compiler: /usr/vac/bin/cc
      -- Check for working C compiler: /usr/vac/bin/cc -- works
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working CXX compiler: /usr/vacpp/bin/xlC
      -- Check for working CXX compiler: /usr/vacpp/bin/xlC -- works
      ...
      -- Performing Test HAVE_PEERCRED
      -- Performing Test HAVE_PEERCRED - Failed
      -- Performing Test HAVE_SOCKPEERCRED
      -- Performing Test HAVE_SOCKPEERCRED - Failed
      -- Looking for event.h
      -- Looking for event.h - not found
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /data/prj/mariadb/mariadb-5.5.31
      

      from 5.5.32:

      -- Check for working C compiler: /usr/vac/bin/cc
      CMake Error: Generator: execution of make failed. Make command was: /opt/bin/make "cmTryCompileExec2323280062/fast"
      -- Check for working C compiler: /usr/vac/bin/cc -- broken
      CMake Error at /opt/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
        The C compiler "/usr/vac/bin/cc" is not able to compile a simple test
        program.
      

      It fails with the following output:

         Change Dir: /data/prj/mariadb/mariadb-5.5.32/CMakeFiles/CMakeTmp
      
        Run Build Command:/opt/bin/make "cmTryCompileExec2323280062/fast"
      
        No such file or directory
      
        Generator: execution of make failed.  Make command was: /opt/bin/make
        "cmTryCompileExec2323280062/fast"
      
        CMake will not be able to correctly generate this project.
      Call Stack (most recent call first):
        CMakeLists.txt:71 (PROJECT)
      
      -- Configuring incomplete, errors occurred!
      root@x093:[/data/prj/mariadb/mariadb-5.5.32]
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            serg Sergei Golubchik added a comment -

            how do you invoke cmake?

            Show
            serg Sergei Golubchik added a comment - how do you invoke cmake?
            Hide
            MichaelFelt Michael Felt added a comment -

            in both cases, in the 'current' directory, and as root,

            1. cmake .
            Show
            MichaelFelt Michael Felt added a comment - in both cases, in the 'current' directory, and as root, cmake .
            Hide
            serg Sergei Golubchik added a comment -

            Sorry, we don't have AIX in our build farm and we don't support MariaDB on AIX.
            But if you provide a patch that fixes this, I'll be happy to apply it.

            Hint: look at the CMakeFiles/CMakeTmp/ directory, there you'll find the sources of this test program and a makefile. You can try to compile it manually and see what fails.

            Show
            serg Sergei Golubchik added a comment - Sorry, we don't have AIX in our build farm and we don't support MariaDB on AIX. But if you provide a patch that fixes this, I'll be happy to apply it. Hint: look at the CMakeFiles/CMakeTmp/ directory, there you'll find the sources of this test program and a makefile. You can try to compile it manually and see what fails.
            Hide
            MichaelFelt Michael Felt added a comment -

            bah tablets.
            your comment does not show atm.

            in short, i would like to rely on mariadb because oracle has dropped support on AIX. I shall look into setting up a system as a build farm, if that helps. Just not this week. Vacation this week.

            Show
            MichaelFelt Michael Felt added a comment - bah tablets. your comment does not show atm. in short, i would like to rely on mariadb because oracle has dropped support on AIX. I shall look into setting up a system as a build farm, if that helps. Just not this week. Vacation this week.
            Hide
            MichaelFelt Michael Felt added a comment -

            I am still here, but been side-tracked by work.

            Show
            MichaelFelt Michael Felt added a comment - I am still here, but been side-tracked by work.
            Hide
            MichaelFelt Michael Felt added a comment -

            since cmake is "completing" with version 5.5.33 and 5.5.33a - whatever was not working for me is working now, so this can be closed.

            Either it never was an error - and I have stopped making a mistake, or it is fixed.

            note: I am using the following command sequence:

            gzip -dc mariadb-5.5.33a.tar.gz | tar xf -
            mv mariadb-5.5.33a mariadb-5.5.33.1
            cd mariadb-5.5.33.1
            cmake . -DWITH_JEMALLOC=no
            make

            Show
            MichaelFelt Michael Felt added a comment - since cmake is "completing" with version 5.5.33 and 5.5.33a - whatever was not working for me is working now, so this can be closed. Either it never was an error - and I have stopped making a mistake, or it is fixed. note: I am using the following command sequence: gzip -dc mariadb-5.5.33a.tar.gz | tar xf - mv mariadb-5.5.33a mariadb-5.5.33.1 cd mariadb-5.5.33.1 cmake . -DWITH_JEMALLOC=no make

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                MichaelFelt Michael Felt
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: