[MCOL-3367] ColumnStore API rpm packages failed to install Created: 2019-06-05  Updated: 2023-10-26  Resolved: 2019-06-20

Status: Closed
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: 1.2.4
Fix Version/s: 1.2.5

Type: Bug Priority: Critical
Reporter: Daniel Lee (Inactive) Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
PartOf
is part of MCOL-3647 Merge develop-1.2 into develop Closed
Sprint: 2019-06

 Description   

Build tested: MCSAPI 1.2.4-1

I tested the API installation on Lentos 7 only.

I downloaded the API RPM packages and tried to install them. I got:
[root@localhost ~]# ls -al *.rpm
rw-rr-. 1 root root 53368 Jun 5 17:02 mariadb-columnstore-api-1.2.4-1-x86_64-centos7-cpp-devel.rpm
rw-rr-. 1 root root 841144 Jun 5 17:02 mariadb-columnstore-api-1.2.4-1-x86_64-centos7-cpp.rpm
rw-rr-. 1 root root 230888 Jun 5 17:02 mariadb-columnstore-api-1.2.4-1-x86_64-centos7-java.rpm
rw-rr-. 1 root root 8628 Jun 5 17:02 mariadb-columnstore-api-1.2.4-1-x86_64-centos7-pyspark3.rpm
rw-rr-. 1 root root 8620 Jun 5 17:02 mariadb-columnstore-api-1.2.4-1-x86_64-centos7-pyspark.rpm
rw-rr-. 1 root root 540532 Jun 5 17:02 mariadb-columnstore-api-1.2.4-1-x86_64-centos7-python3.rpm
rw-rr-. 1 root root 538720 Jun 5 17:02 mariadb-columnstore-api-1.2.4-1-x86_64-centos7-python.rpm
rw-rr-. 1 root root 25152 Jun 5 17:02 mariadb-columnstore-api-1.2.4-1-x86_64-centos7-spark.rpm
[root@localhost ~]# rpm -ivh *.rpm
warning: mariadb-columnstore-api-1.2.4-1-x86_64-centos7-cpp-devel.rpm: Header V4 RSA/SHA512 Signature, key ID a41f5c14: NOKEY
error: Failed dependencies:
libjavamcsapi.so()(64bit) is needed by mariadb-columnstore-api-java-1.2.4-1.x86_64

Developer also reproduced the issue in his environment



 Comments   
Comment by Jens Röwekamp (Inactive) [ 2019-06-05 ]

Narrowed it down:
With the CentOS 7 stock cmake (2.8.12) package build works as expected and is valid.
But with cmake 3.13, 3.14 (only ones tested yet) the package build concludes, but sets the metadata wrong:
The package provides: libjavamcsapi.so.1.2.4()(64bit) ,
but requires: libjavamcsapi.so()(64bit) [without the 1.2.4 suffix]
hence it can't install itself

Comment by Jens Röwekamp (Inactive) [ 2019-06-11 ]

Changed javamcsapi's CMakeLists.txt to be build properly on CentOS 7 and cmake 3.13.
Tested package build on CentOS 7, Debian 9 and Ubuntu 18.04 on local machines successfully.
Hopefully, our build systems see it similarly.

For QA:

  • verify that buildbot test pipeline executes tests successfully
  • do install tests of the build packages by buildbot for every OS
Comment by Daniel Lee (Inactive) [ 2019-06-20 ]

Build verified: 1.2.5-1 nightly

[root@localhost ~]# cat gitversionInfo.txt
server commit:
374ddee
engine commit:
4675816

Repeated the same test and it worked.

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