[MDBF-116] Change WITHOUT_SERVER builder to use out-of-source builds Created: 2020-08-10  Updated: 2022-02-01

Status: Open
Project: MariaDB Foundation Development
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Anel Husakovic Assignee: Vlad Bogolin
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MDEV-22066 out-of-source build fails with WITHOU... Closed

 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.



 Comments   
Comment by Daniel Black [ 2020-08-11 ]

https://github.com/MariaDB/mariadb.org-tools/pull/51

Generated at Thu Feb 08 03:35:33 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.