New: mariadb build error
https://bugs.busybox.net/show_bug.cgi?id=11781
Bug ID: 11781
Summary: mariadb build error
Product: buildroot
Version: 2018.11.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: skif at skif-web.ru
CC: buildroot at uclibc.org
Target Milestone: ---
Don't find multiple headers, full error log in attach
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 11781] mariadb build error
https://bugs.busybox.net/show_bug.cgi?id=11781
--- Comment #1 from Alexey <[email protected]> --- Created attachment 7981
--> https://bugs.busybox.net/attachment.cgi?id=7981&action=edit
cmake error log
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 11781] mariadb build error
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=11781
--- Comment #2 from Arnout Vandecappelle <[email protected]> ---
I can confirm a build failure, but the error is in fact from this (I think):
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)
Note that mariadb doesn't get built in the autobuilders because it comes from a choice.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 11781] mariadb build error
Ryan, care to take a look at this mariadb build failure?
Regards,
Arnout
Quoted 19 lines · bugzilla at busybox.net
https://bugs.busybox.net/show_bug.cgi?id=11781
--- Comment #2 from Arnout Vandecappelle <[email protected]> ---
I can confirm a build failure, but the error is in fact from this (I think):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)Note that mariadb doesn't get built in the autobuilders because it comes from a choice.
[Buildroot] [Bug 11781] mariadb build error
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=11781
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at buildroot.uclibc |bluemrp9 at gmail.com
|.org |
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 11781] mariadb build error
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=11781
--- Comment #3 from Ryan Coe <[email protected]> ---
I get a build failure related to a missing host openssl package. The following patch [1] fixes it for me. Note that this was marked superseded.
[1] http://patchwork.ozlabs.org/patch/1026864/
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 11781] mariadb build error
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=11781
--- Comment #4 from Peter Seiderer <[email protected]> ---
Can reproduce the failure Arnout describes (on buildroot master), fixed by:
diff -u build/mariadb-10.3.16/cmake/os/Linux.cmake.orig build/mariadb-10.3.16/cmake/os/Linux.cmake
--- build/mariadb-10.3.16/cmake/os/Linux.cmake.orig 2019-08-15
21:36:25.032673425 +0200
+++ build/mariadb-10.3.16/cmake/os/Linux.cmake 2019-08-15 21:36:54.065106056 +0200
@@ -27,8 +27,8 @@
# Fix CMake (< 2.8) flags. -rdynamic exports too many symbols. FOREACH(LANG C CXX)
STRING(REPLACE "-rdynamic" ""
- CMAKE_SHARED_LIBRARY_LINK_${LANG}_FLAGS
- ${CMAKE_SHARED_LIBRARY_LINK_${LANG}_FLAGS}
+ "CMAKE_SHARED_LIBRARY_LINK_${LANG}_FLAGS"
+ "${CMAKE_SHARED_LIBRARY_LINK_${LANG}_FLAGS}" )
ENDFOREACH()
Disclaimer: no cmake expert, just a quick fix/hack, not sure if the patch makes sense ;-), but fixes the configure error...
@Alexey: Your failure is with buildroot-2018.11.4, feel free to try the patch, in case of failure please provide a complete config/defconfig file to reproduce and a complete log of the mariadb build steps (your provided log is only about the cmake checks, no real failure)...
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 11781] mariadb build error
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=11781
Arnout Vandecappelle <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED--- Comment #5 from Arnout Vandecappelle <[email protected]> --- Fixed by c2ff8c63dab10d2c1adca7229101b5468dac562b
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.