[MDEV-22066] out-of-source build fails with WITHOUT_SERVER=ON Created: 2020-03-28  Updated: 2020-10-06  Resolved: 2020-08-11

Status: Closed
Project: MariaDB Server
Component/s: Compiling
Affects Version/s: 10.4.13, 10.3.24
Fix Version/s: 10.3.26

Type: Bug Priority: Minor
Reporter: Kolbe Kegel Assignee: Anel Husakovic
Resolution: Fixed Votes: 0
Labels: cmake
Environment:

macOS 10.15.3 (Darwin seastar.local 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan 9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64)

cmake 3.16.2


Issue Links:
Relates
relates to MDBF-116 Change WITHOUT_SERVER builder to use ... Open

 Description   

cmake ../server/ -DWITH_SSL=system -DOPENSSL_ROOT_DIR=/usr/local/Cellar/openssl@1.1/1.1.1d/ -DPLUGIN_ROCKSDB=NO -DPLUGIN_OQGRAPH=NO -DPLUGIN_TOKUDB=NO -DWITHOUT_SERVER=ON

[ 78%] Building CXX object plugin/handler_socket/CMakeFiles/hsclient.dir/libhsclient/hstcpcli.cpp.o
/Users/kolbe/Devel/git/mariadb/server/plugin/handler_socket/libhsclient/hstcpcli.cpp:9:10: fatal error: 'my_global.h' file not found
#include <my_global.h>
         ^~~~~~~~~~~~~
1 error generated.
make[2]: *** [plugin/handler_socket/CMakeFiles/hsclient.dir/libhsclient/hstcpcli.cpp.o] Error 1
make[1]: *** [plugin/handler_socket/CMakeFiles/hsclient.dir/all] Error 2
make: *** [all] Error 2

Probably a simple fix for someone who has a more intrepid relationship with CMake than I do!



 Comments   
Comment by Anel Husakovic [ 2020-03-28 ]

Thanks we are aware of this there is work in progress based on PR #1466 where you have workaround.

Comment by Anel Husakovic [ 2020-08-11 ]

Pushed to 10.3 with https://github.com/MariaDB/server/commit/863e28ff3ed0a5859561c397cbfb492170989ddd

Generated at Thu Feb 08 09:11:56 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.