[MDEV-20596] Configure fails with newer CMake Created: 2019-09-15  Updated: 2019-09-20  Resolved: 2019-09-20

Status: Closed
Project: MariaDB Server
Component/s: Server
Affects Version/s: 10.3.16
Fix Version/s: 10.2.28, 5.5.66, 10.1.42, 10.3.19, 10.4.9

Type: Bug Priority: Major
Reporter: Ryan Coe Assignee: Vicențiu Ciorbaru
Resolution: Fixed Votes: 0
Labels: None
Environment:

Buildroot 2019.08 with host-cmake 3.13.4


Attachments: File 0002-fix-build-error-with-newer-cmake.patch    

 Description   

The configure step fails with the following error:

CMake Error at cmake/os/Linux.cmake:29 (STRING):
STRING sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
CMakeLists.txt:101 (INCLUDE)

CMake Error at cmake/os/Linux.cmake:29 (STRING):
STRING sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
CMakeLists.txt:101 (INCLUDE)

The attached patch seems to fix the problem.



 Comments   
Comment by Anel Husakovic [ 2019-09-16 ]

Hi nismoryco,
can you please create pull request with this change ?

Comment by Ryan Coe [ 2019-09-16 ]

Pull request created.
https://github.com/MariaDB/server/pull/1389

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