Uploaded image for project: 'MariaDB Foundation Development'
  1. MariaDB Foundation Development
  2. MDBF-116

Change WITHOUT_SERVER builder to use out-of-source builds

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Per conversion on zulip:
      I'm curios now how this builder (pc9-without-server-ubuntu-1804) got successful build with configuraiton:
      https://buildbot.mariadb.org/#/builders/42/builds/2356/steps/7/logs/stdio

      cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER=g++ -DWITHOUT_SERVER=1 && make -j14 package'
      

      In my case (with out-of-source) there was failure before the patch (https://github.com/MariaDB/server/tree/bb-10.3-anel-withoutserver):

      $ cmake ../../10.3 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DWITHOUT_SERVER=1
       
      $ make -j14
      [ 14%] Building C object unittest/examples/CMakeFiles/skip_all-t.dir/skip_all-t.c.o
      [ 14%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_p3_to_p2.c.o
      [ 14%] Building C object libservices/CMakeFiles/mysqlservices.dir/my_md5_service.c.o
      /home/anel/mariadb/10.3/plugin/handler_socket/libhsclient/hstcpcli.cpp:9:10: fatal error: my_global.h: No such file or directory
       #include <my_global.h>
                ^~~~~~~~~~~~~
      compilation terminated.
      plugin/handler_socket/CMakeFiles/hsclient.dir/build.make:134: recipe for target 'plugin/handler_socket/CMakeFiles/hsclient.dir/libhsclient/hstcpcli.cpp.o' failed
      make[2]: *** [plugin/handler_socket/CMakeFiles/hsclient.dir/libhsclient/hstcpcli.cpp.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      

      It would be great this to be changed.

      Attachments

        Issue Links

          Activity

            People

              vladbogo Vlad Bogolin
              anel Anel Husakovic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: