Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669920 - dev-db/mysql-5.7.23-r2 fails configure without server USE
Summary: dev-db/mysql-5.7.23-r2 fails configure without server USE
Status: RESOLVED DUPLICATE of bug 669236
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-29 15:44 UTC by Tom Dexter
Modified: 2018-10-29 18:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Full build.log (build.log,69.64 KB, text/x-log)
2018-10-29 17:09 UTC, Tom Dexter
Details
Full CMakeError.log (CMakeError.log,70.14 KB, text/x-log)
2018-10-29 17:09 UTC, Tom Dexter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Dexter 2018-10-29 15:44:35 UTC
While I'm not 100% sure this is related to the lack of the server USE flag (a client only install) this has compiled fine elsewhere here so I strongly suspect that's related. Here's the configure step error I get from emerge:

-- CMAKE_C_FLAGS_RELWITHDEBINFO: -DNDEBUG -DDBUG_OFF
-- CMAKE_CXX_FLAGS_RELWITHDEBINFO: -DNDEBUG -DDBUG_OFF
-- <<< Gentoo configuration >>>
Build type      RelWithDebInfo
Install path    /usr
Compiler flags:
C               -march=pentium4 -O2 -pipe -fomit-frame-pointer -fno-stack-protector -fno-strict-aliasing -Wall -Wextra -Wformat-security -Wvla -Wimplicit-fallthrough=2 -Wwrite-strings -Wdeclaration-after-statement
C++             -march=pentium4 -O2 -pipe -fomit-frame-pointer -fno-stack-protector -felide-constructors -fno-strict-aliasing -Wall -Wextra -Wformat-security -Wvla -Wimplicit-fallthrough=2 -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.7.23-r2/work/mysql-5.7.23_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/dev-db/mysql-5.7.23-r2/work/mysql-5.7.23_build/CMakeFiles/CMakeError.log".
 * ERROR: dev-db/mysql-5.7.23-r2::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 4822:  Called multilib_src_configure
 *   environment, line 4086:  Called cmake-utils_src_configure
 *   environment, line 1264:  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.7.23-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/mysql-5.7.23-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-db/mysql-5.7.23-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.7.23-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/mysql-5.7.23-r2/work/mysql-5.7.23_build'
 * S: '/var/tmp/portage/dev-db/mysql-5.7.23-r2/work/mysql'

>>> Failed to emerge dev-db/mysql-5.7.23-r2, Log file:

>>>  '/var/tmp/portage/dev-db/mysql-5.7.23-r2/temp/build.log'

Here's what appears to be the pertinent part of the CMakeError.log mentioned there:

Determining if the function strvis exists failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mysql-5.7.23-r2/work/mysql-5.7.23_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_174cd/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_174cd.dir/build.make CMakeFiles/cmTC_174cd.dir/build
gmake[1]: Entering directory '/var/tmp/portage/dev-db/mysql-5.7.23-r2/work/mysql-5.7.23_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_174cd.dir/CheckFunctionExists.c.o
/usr/bin/i686-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=pentium4 -O2 -pipe -fomit-frame-pointer -fno-stack-protector -fno-strict-aliasing -Wall -Wextra -Wformat-security -Wvla -Wimplicit-fallthrough=2 -Wwrite-strings -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=strvis   -o CMakeFiles/cmTC_174cd.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_174cd
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_174cd.dir/link.txt --verbose=1
/usr/bin/i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -fomit-frame-pointer -fno-stack-protector -fno-strict-aliasing -Wall -Wextra -Wformat-security -Wvla -Wimplicit-fallthrough=2 -Wwrite-strings -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=strvis  -Wl,-O1 -Wl,--as-needed  -rdynamic CMakeFiles/cmTC_174cd.dir/CheckFunctionExists.c.o  -o cmTC_174cd 
CMakeFiles/cmTC_174cd.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0x7): undefined reference to `strvis'
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_174cd.dir/build.make:98: cmTC_174cd] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-5.7.23-r2/work/mysql-5.7.23_build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:126: cmTC_174cd/fast] Error 2


Determining if the function strunvis exists failed with the following output:
Change Dir: /var/tmp/portage/dev-db/mysql-5.7.23-r2/work/mysql-5.7.23_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_467f4/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_467f4.dir/build.make CMakeFiles/cmTC_467f4.dir/build
gmake[1]: Entering directory '/var/tmp/portage/dev-db/mysql-5.7.23-r2/work/mysql-5.7.23_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_467f4.dir/CheckFunctionExists.c.o
/usr/bin/i686-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=pentium4 -O2 -pipe -fomit-frame-pointer -fno-stack-protector -fno-strict-aliasing -Wall -Wextra -Wformat-security -Wvla -Wimplicit-fallthrough=2 -Wwrite-strings -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=strunvis   -o CMakeFiles/cmTC_467f4.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_467f4
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_467f4.dir/link.txt --verbose=1
/usr/bin/i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -fomit-frame-pointer -fno-stack-protector -fno-strict-aliasing -Wall -Wextra -Wformat-security -Wvla -Wimplicit-fallthrough=2 -Wwrite-strings -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=strunvis  -Wl,-O1 -Wl,--as-needed  -rdynamic CMakeFiles/cmTC_467f4.dir/CheckFunctionExists.c.o  -o cmTC_467f4 
CMakeFiles/cmTC_467f4.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0x7): undefined reference to `strunvis'
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_467f4.dir/build.make:98: cmTC_467f4] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-5.7.23-r2/work/mysql-5.7.23_build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:126: cmTC_467f4/fast] Error 2

Thanks!
Comment 1 Tom Dexter 2018-10-29 17:09:08 UTC
Created attachment 553612 [details]
Full build.log
Comment 2 Tom Dexter 2018-10-29 17:09:46 UTC
Created attachment 553614 [details]
Full CMakeError.log
Comment 3 Brian Evans (RETIRED) gentoo-dev 2018-10-29 17:43:38 UTC

*** This bug has been marked as a duplicate of bug 669236 ***
Comment 4 Tom Dexter 2018-10-29 18:06:04 UTC
Apologies for the duplicate. No clue how I missed that.