CMake fails if TokuDB tests pass

Bug #1521566 reported by Laurynas Biveinis
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.6
Invalid
Undecided
Unassigned
5.7
Fix Released
Medium
Tomislav Plavcic

Bug Description

CMake started failing if TokuDB configures to build:

http://jenkins.percona.com/view/5.7/job/mysql-5.7-param/30/BUILD_TYPE=debug,Host=ubuntu-wily-64bit/console

00:02:00.231 CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
00:02:00.231 Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR)
00:02:00.231 Call Stack (most recent call first):
00:02:00.231 /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
00:02:00.231 /usr/share/cmake-3.2/Modules/FindZLIB.cmake:110 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
00:02:00.231 libbinlogstandalone/CMakeLists.txt:30 (FIND_PACKAGE)

zlib is here and simply restarting cmake on the same build directory allows it to complete.

This is blocking 5.7 Jenkins testing

Tags: pkg
tags: added: pkg
Revision history for this message
Tomislav Plavcic (tplavcic) wrote :

As discussed over chat added "-DWITH_ZLIB=system" to the template for now and should be checked in detail.

Revision history for this message
Roel Van de Paar (roel11) wrote :

Happened for me too. Something's odd as this does not happen with MS 5.7. Note also different line number.

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindZLIB.cmake:85 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  libbinlogstandalone/CMakeLists.txt:30 (FIND_PACKAGE)

Revision history for this message
Roel Van de Paar (roel11) wrote :

This is:

git clone --recursive https://github.com/laurynas-biveinis/percona-server.git PS-5.7-BETA2 -b percona-server-5.7.9-up-to-date-5.6

Revision history for this message
Tomislav Plavcic (tplavcic) wrote :
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-3335

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.