[MCOL-1231] Get a cmake error while building releases without both Python versions installed instead of a warning Created: 2018-02-23  Updated: 2023-10-26  Resolved: 2018-03-23

Status: Closed
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: 1.1.3
Fix Version/s: 1.1.4

Type: Bug Priority: Major
Reporter: Jens Röwekamp (Inactive) Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Sprint: 2018-05, 2018-06

 Description   

During the 1.1.3 release there was a slight miscommunication about the packet dependencies required to build the packets for releases.

Forcing cmake to check for both Python versions during release should resolve it.

Maybe possible to distinguish between release and normal make install.



 Comments   
Comment by Daniel Lee (Inactive) [ 2018-03-23 ]

Build tested: 1.1.4-1 source

/root/columnstore/mariadb-columnstore-server
commit 3b5242143b394423dbdf96d888410a3c33f9ff97
Merge: b7d93b7 23900e6
Author: benthompson15 <ben.thompson@mariadb.com>
Date: Wed Mar 7 10:39:40 2018 -0600

Merge pull request #104 from mariadb-corporation/davidhilldallas-patch-3

update version

/root/columnstore/mariadb-columnstore-server/mariadb-columnstore-engine
commit 4e167285c6665c9aa0e204eac2de0add61709be4
Merge: 819c69c b800fc7
Author: benthompson15 <ben.thompson@mariadb.com>
Date: Wed Mar 14 13:25:21 2018 -0500

Merge pull request #427 from mariadb-corporation/MCOL-1225

Mcol 1225 - fix mysql/lib library path

[root@localhost mariadb-columnstore-api]# git show
commit 8f4f304e22c8629e6b5feb0bb9724b09ae89b787
Merge: acf32cc a2ec28a
Author: sneJ p <sneJ-@users.noreply.github.com>
Date: Thu Mar 22 00:59:01 2018 -0700

Merge pull request #61 from mariadb-corporation/1.1-mergeup-20180322

Merge develop-1.1 into develop

Without Python 3.4

[root@localhost mariadb-columnstore-api]# cmake . -DRPM=centos7 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DTEST_RUNNER=on -DRUN_CPPCHECK=ON
– Boost version: 1.53.0
– Found GTest: /usr/lib64/libgtest.so
– Found MySQL: /usr/lib64/mysql/libmysqlclient.so
– Looking for include file pthread.h
– Looking for include file pthread.h - found
– Looking for pthread_create
– Looking for pthread_create - not found
– Looking for pthread_create in pthreads
– Looking for pthread_create in pthreads - not found
– Looking for pthread_create in pthread
– Looking for pthread_create in pthread - found
– Found Threads: TRUE
– Found Python2 interpreter
– Found Python2 header file Python.h
– Found Python3 interpreter
CMake Warning at python/CMakeLists.txt:52 (MESSAGE):
NOT found Python3 header file Python.h

CMake Error at python/CMakeLists.txt:62 (MESSAGE):
Python2 and Python3 including headers are required for package build

– Configuring incomplete, errors occurred!
See also "/root/mariadb-columnstore-api/CMakeFiles/CMakeOutput.log".
See also "/root/mariadb-columnstore-api/CMakeFiles/CMakeError.log".

With Python 3.4

Installed:
python34-devel.x86_64 0:3.4.5-5.el7

Complete!
[root@localhost mariadb-columnstore-api]# cmake . -DRPM=centos7 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DTEST_RUNNER=on -DRUN_CPPCHECK=ON
– Boost version: 1.53.0
– Found Python2 interpreter
– Found Python2 header file Python.h
– Found Python3 interpreter
– Found Python3 header file Python.h
– Found SWIG: /usr/bin/swig (found version "2.0.10")
– Found Java: /bin/java (found version "1.8.0.161")
– Found JNI: /usr/lib/jvm/jre/lib/amd64/libjawt.so
– /root/mariadb-columnstore-api/spark-connector/scala
– Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1")
– -----------------------------------------------
– CMAKE_INSTALL_PREFIX = /usr
– CMAKE_BUILD_TYPE = Release
– TEST_RUNNER = on
– RUN_CPPCHECK = ON
– BUILD_DOCS = OFF
– PYTHON = ON
– JAVA = ON
– SPARK_CONNECTOR = ON
– RPM = centos7
– DEB = OFF
– Change a values with: cmake -D<Variable>=<Value>
– ------------------------------------------------

– Configuring done
– Generating done
– Build files have been written to: /root/mariadb-columnstore-api

Comment by Daniel Lee (Inactive) [ 2018-03-23 ]

Closed per my last night.

Generated at Thu Feb 08 02:27:12 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.