View previous topic :: View next topic |
Author |
Message |
edward_scott Apprentice
Joined: 17 Jan 2006 Posts: 163
|
Posted: Sat Jan 24, 2015 11:27 pm Post subject: emerge mysql 5.6.22 failing in configure step [SOLVED] |
|
|
I am at a loss here, hoping the community can once again come to my rescue.
During a system update after an admittedly shamefully long time, most of which was going pretty smoothly, I am stuck trying to update dev-db/mysql-5.6.22:
Code: | C -march=native -mtune=native -O2 -pipe -fno-strict-aliasing -Wall -Wextra -Wformat-security -Wvla -Wwrite-strings -Wdeclaration-after-statement
C++ -march=native -mtune=native -O2 -pipe -fno-strict-aliasing -felide-constructors -fno-exceptions -fno-rtti -fno-strict-aliasing -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter
Linker flags:
Executable -Wl,-O1 -Wl,--as-needed
Module -Wl,-O1 -Wl,--as-needed
Shared -Wl,-O1 -Wl,--as-needed
-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_32.x86/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_32.x86/CMakeFiles/CMakeError.log".
* ERROR: dev-db/mysql-5.6.22::gentoo failed (configure phase):
* cmake failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 4553: Called mysql-multilib_src_configure
* environment, line 4002: Called multilib-minimal_src_configure
* environment, line 2998: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
* environment, line 3205: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 2929: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 2927: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
* environment, line 541: Called multilib-minimal_abi_src_configure
* environment, line 2992: Called multilib_src_configure
* environment, line 3457: Called cmake-utils_src_configure
* environment, line 863: Called _execute_optionally 'src_configure'
* environment, line 332: Called enable_cmake-utils_src_configure
* environment, line 1346: Called die
* The specific snippet of code:
* "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; |
CMakeOutput.log does not seem to reveal anything obvious. The tail end of the file:
Code: | Linking C executable cmTryCompileExec150882965
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec150882965.dir/link.txt --verbose=1
/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -m32 -march=native -mtune=native -O2 -pipe -fno-strict-aliasing -DHAVE_WVLA -Wvla -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTryCompileExec150882965.dir/src.c.o -o cmTryCompileExec150882965 -rdynamic -ledit
gmake[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_32.x86/CMakeFiles/CMakeTmp'
Source file was:
int main(void) { return 0; }
|
CMakerError.log shows an error but I am not sure what to make of it:
Code: | Building C object CMakeFiles/cmTryCompileExec1998280718.dir/src.c.o
/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -m32 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__ST
DC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -march=native -mtune=native -O2 -pipe -fno-strict-aliasing -DSTRUCT_DIRENT_HAS_D_NAMLEN -o CMakeFiles/cmTryCompileExec1998280718.dir/src.c.o -c /var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_32.x86/CMakeFiles/CMakeTmp/src.c
/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_32.x86/CMakeFiles/CMakeTmp/src.c: In function ‘main’:
/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_32.x86/CMakeFiles/CMakeTmp/src.c:7:14: error: ‘struct dirent’ has no member named ‘d_namlen’
(void) tmp->d_namlen;
^
CMakeFiles/cmTryCompileExec1998280718.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec1998280718.dir/src.c.o' failed
gmake[1]: *** [CMakeFiles/cmTryCompileExec1998280718.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_32.x86/CMakeFiles/CMakeTmp'
Makefile:118: recipe for target 'cmTryCompileExec1998280718/fast' failed
gmake: *** [cmTryCompileExec1998280718/fast] Error 2
Source file was:
#include <dirent.h>
int main()
{
struct dirent* tmp;
(void) tmp->d_namlen;
return 0;emerge --info '=dev-db/mysql-5.6.22::gentoo'
}
Determining if the function mbscmp exists failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_32.x86/CMakeFiles/CMakeTmp[/code | ]
emerge --info '=dev-db/mysql-5.6.22::gentoo'
emerge -pqv '=dev-db/mysql-5.6.22::gentoo'
Any help is as always much appreciated.
Last edited by edward_scott on Sat Mar 21, 2015 6:12 pm; edited 2 times in total |
|
Back to top |
|
|
Pearlseattle Apprentice
Joined: 04 Oct 2007 Posts: 162 Location: Switzerland
|
Posted: Sun Jan 25, 2015 7:38 pm Post subject: |
|
|
I have just emerged successfully "dev-db/mysql-5.6.22", so the problem is not with the package itself but with your config/PC.
Perhaps you can post the full output of your emerge command? "Configure" sometimes continues even when other stuff fails - posting just the last lines won't be enough to see the error.
Btw., any specific reason you're using MySQL and not MariaDB?
Since MySQL was bought from Oracle at least a part of the community started focusing on the fork (MariaDB), so MariaDB should be in theory more future-proof... . |
|
Back to top |
|
|
hdcg Tux's lil' helper
Joined: 07 Apr 2013 Posts: 120
|
Posted: Sun Jan 25, 2015 9:02 pm Post subject: |
|
|
Hi,
the updated also failed for me. I tracked it down to the configure step:
Code: |
-- OPENSSL_INCLUDE_DIR = /usr/include
-- OPENSSL_LIBRARY = /usr/lib64/libssl.so
-- CRYPTO_LIBRARY = /usr/lib64/libcrypto.so
-- OPENSSL_MAJOR_VERSION =
-- Looking for SHA512_DIGEST_LENGTH
-- Looking for SHA512_DIGEST_LENGTH - found
CMake Error at cmake/ssl.cmake:234 (MESSAGE):
Cannot find appropriate system libraries for SSL. Use WITH_SSL=bundled to
enable SSL support
Call Stack (most recent call first):
CMakeLists.txt:404 (MYSQL_CHECK_SSL)
|
To workaround this issue I have removed the SSL use flag for now.
Best Regards,
Holger |
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3435 Location: Gainesville, Florida
|
Posted: Mon Jan 26, 2015 6:05 am Post subject: |
|
|
I just ran into the exact problem as hdcg posted. What's the best way to move to mariadb from mysql? I looked on the forum, and found this, but thought it might be outdated.
https://forums.gentoo.org/viewtopic-p-7278928.html
I'm currently at mysql-5.6.21-r1, and virtual/mysql-5.6-r2. Several other posts on this (such as this: https://forums.gentoo.org/viewtopic-p-7614264.html ) leave me even more unsure about how to proceed and not cause more problems.
Any advice as to the current correct procedure to move to mariadb
I've never run into a mysql problem before, and knew about mariadb, but didn't know why it was being pulled in (with many conflicts) before I could partially clean up my -uDNv @world mess I found myself in.
Now it doesn't pull it in, but I'm thinking I still need to go to mariadb before I run into more problems on all my Gentoo installs.
I'm leary of doing the -ssl USE flag work-around hdcg mentioned. _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11 |
|
Back to top |
|
|
Wa77aCe n00b
Joined: 12 Aug 2014 Posts: 3
|
Posted: Mon Jan 26, 2015 11:41 am Post subject: |
|
|
I've also trouble with the latest mysql update. Here my debug information:
Code: | -- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeError.log".
* ERROR: dev-db/mysql-5.6.22::gentoo failed (configure phase):
* cmake failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 4519: Called mysql-multilib_src_configure
* environment, line 3968: Called multilib-minimal_src_configure
* environment, line 2964: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
* environment, line 3171: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 2895: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 2893: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
* environment, line 507: Called multilib-minimal_abi_src_configure
* environment, line 2958: Called multilib_src_configure
* environment, line 3423: Called cmake-utils_src_configure
* environment, line 829: Called _execute_optionally 'src_configure'
* environment, line 298: Called enable_cmake-utils_src_configure
* environment, line 1312: Called die
* The specific snippet of code:
* "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
*
* If you need support, post the output of `emerge --info '=dev-db/mysql-5.6.22::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-db/mysql-5.6.22::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-db/mysql-5.6.22/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.6.22/temp/environment'.
* Working directory: '/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64'
* S: '/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql'
>>> Failed to emerge dev-db/mysql-5.6.22, Log file:
>>> '/var/tmp/portage/dev-db/mysql-5.6.22/temp/build.log'
* Messages for package dev-db/mysql-5.6.22:
* MySQL MY_DATADIR is /var/lib/mysql
* MySQL datadir found in /var/lib/mysql
* A new one will not be created.
* ERROR: dev-db/mysql-5.6.22::gentoo failed (configure phase):
* cmake failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 4519: Called mysql-multilib_src_configure
* environment, line 3968: Called multilib-minimal_src_configure
* environment, line 2964: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
* environment, line 3171: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 2895: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 2893: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
* environment, line 507: Called multilib-minimal_abi_src_configure
* environment, line 2958: Called multilib_src_configure
* environment, line 3423: Called cmake-utils_src_configure
* environment, line 829: Called _execute_optionally 'src_configure'
* environment, line 298: Called enable_cmake-utils_src_configure
* environment, line 1312: Called die
* The specific snippet of code:
* "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
*
* If you need support, post the output of `emerge --info '=dev-db/mysql-5.6.22::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-db/mysql-5.6.22::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-db/mysql-5.6.22/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.6.22/temp/environment'.
* Working directory: '/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64'
* S: '/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql'
|
Content of the /var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeOutput.log seems to be ok.
Here the last entries of the /var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeError.log:
Code: |
...
/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp/src.c: In function 'main':
/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp/src.c:9:7: error: 'struct sockaddr_in' has no member named 'sin_len'
tmp->sin_len;
^
CMakeFiles/cmTryCompileExec521258057.dir/build.make:60: recipe for target 'CMakeFiles/cmTryCompileExec521258057.dir/src.c.o' failed
gmake[1]: *** [CMakeFiles/cmTryCompileExec521258057.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec521258057/fast' failed
gmake: *** [cmTryCompileExec521258057/fast] Error 2
Source file was:
#include <sys/types.h>
#include <netinet/in.h>
#include <sys/socket.h>
int main()
{
struct sockaddr_in* tmp;
tmp->sin_len;
return 0;
}
Performing C SOURCE FILE Test HAVE_SOCKADDR_IN6_SIN6_LEN failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec1374672522/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec1374672522.dir/build.make CMakeFiles/cmTryCompileExec1374672522.dir/build
gmake[1]: Entering directory '/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1374672522.dir/src.c.o
/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -march=corei7-avx -O2 -mabm -m$
/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp/src.c: In function 'main':
/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp/src.c:9:7: error: 'struct sockaddr_in6' has no member named 'sin6_len'
tmp->sin6_len;
^
CMakeFiles/cmTryCompileExec1374672522.dir/build.make:60: recipe for target 'CMakeFiles/cmTryCompileExec1374672522.dir/src.c.o' failed
gmake[1]: *** [CMakeFiles/cmTryCompileExec1374672522.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec1374672522/fast' failed
gmake: *** [cmTryCompileExec1374672522/fast] Error 2
Source file was:
#include <sys/types.h>
#include <netinet/in.h>
#include <sys/socket.h>
int main()
{
struct sockaddr_in6* tmp;
tmp->sin6_len;
return 0;
}
Performing C SOURCE FILE Test STRUCT_DIRENT_HAS_D_NAMLEN failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec726409573/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec726409573.dir/build.make CMakeFiles/cmTryCompileExec726409573.dir/build
gmake[1]: Entering directory '/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec726409573.dir/src.c.o
/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -march=corei7-avx -O2 -mabm -m$
/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp/src.c: In function 'main':
/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp/src.c:7:7: error: 'struct dirent' has no member named 'd_namlen'
tmp->d_namlen;
^
CMakeFiles/cmTryCompileExec726409573.dir/build.make:60: recipe for target 'CMakeFiles/cmTryCompileExec726409573.dir/src.c.o' failed
gmake[1]: *** [CMakeFiles/cmTryCompileExec726409573.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec726409573/fast' failed
gmake: *** [cmTryCompileExec726409573/fast] Error 2
Source file was:
#include <dirent.h>
int main()
{
struct dirent* tmp;
tmp->d_namlen;
return 0;
}
Determining if the function mbscmp exists failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec2857861437/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec2857861437.dir/build.make CMakeFiles/cmTryCompileExec2857861437.dir/build
gmake[1]: Entering directory '/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2857861437.dir/CheckFunctionExists.c.o
/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -march=corei7-avx -O2 -mabm -m$
Linking C executable cmTryCompileExec2857861437
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2857861437.dir/link.txt --verbose=1
/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -march=corei7-avx -O2 -mabm -mavx2 -mbmi -mbmi2 -mf16c -mfma -mfsgsbase -mlzcnt -mrdrnd -pipe --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2$
CMakeFiles/cmTryCompileExec2857861437.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xe): undefined reference to `mbscmp'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec2857861437.dir/build.make:91: recipe for target 'cmTryCompileExec2857861437' failed
gmake[1]: *** [cmTryCompileExec2857861437] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-5.6.22/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec2857861437/fast' failed
gmake: *** [cmTryCompileExec2857861437/fast] Error 2
|
No idea, what to do. On another server/installation everything works fine.... |
|
Back to top |
|
|
vibrion n00b
Joined: 13 Apr 2006 Posts: 13
|
Posted: Tue Jan 27, 2015 3:19 pm Post subject: Same problem USE="-ssl" solve it |
|
|
MAking a big upgrade and mysql-5.6.22 fail with same errors as above. As another user said disabling ssl at least allow compilation |
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3435 Location: Gainesville, Florida
|
Posted: Sat Jan 31, 2015 4:15 pm Post subject: |
|
|
Hmmm. Jan.30, I noticed mysql-5.6.22 on one of my amd64 installs updated fine. I was in a hurry, so didn't check why it succeeded, but IIRC that has a kde profile- not sure if that has ssl flag by default, or not. Currently not on Gentoo, but I'll check later. BTW, All my gentoo installs are currently running gcc-4.9.2. Unfortunately, I didn't notice if ssl was also updated. _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11 |
|
Back to top |
|
|
a.m n00b
Joined: 23 Nov 2012 Posts: 14
|
Posted: Thu Feb 05, 2015 10:44 am Post subject: regex fails on openssl-1.0.2 (or later, I’d expect) |
|
|
See this bug for details.
Since 5.6.22-r1 has not shown up in my tree yet,
I put this patch in /etc/portage/patches/dev-db/mysql:
=======
--- cmake/ssl.cmake.orig 2015-02-05 11:07:50.893673809 +0100
+++ cmake/ssl.cmake 2015-02-05 11:08:05.555673472 +0100
@@ -166,7 +166,7 @@
# Encoded as MNNFFPPS: major minor fix patch status
FILE(STRINGS "${OPENSSL_INCLUDE_DIR}/openssl/opensslv.h"
OPENSSL_VERSION_NUMBER
- REGEX "^#define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x[0-9].*"
+ REGEX "^#[ ]*define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x[0-9].*"
)
STRING(REGEX REPLACE
"^.*OPENSSL_VERSION_NUMBER[\t ]+0x([0-9]).*$" "\\1”
=======
Now, mysql-5.6.22 builds fine even with openssl-1.0.2-r1 and USE=ssl. |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1653
|
Posted: Fri Feb 20, 2015 9:41 pm Post subject: |
|
|
The patches on dev-db/mysql-5.6.22 have been adjusted to fix the >=openssl-1.0.2 detection error |
|
Back to top |
|
|
edward_scott Apprentice
Joined: 17 Jan 2006 Posts: 163
|
Posted: Sat Mar 21, 2015 6:12 pm Post subject: |
|
|
looks like that fixed it. marking this resolved. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|