[MDEV-27597] Columnstore package in CS 10.6.5 release can not be installed on SLES 12 due to lz4 dependency Created: 2022-01-19  Updated: 2022-03-13  Resolved: 2022-03-13

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Storage Engine - ColumnStore, Tests
Affects Version/s: 10.6
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Timofey Turenko Assignee: Timofey Turenko
Resolution: Won't Fix Votes: 0
Labels: None
Environment:

SLES 12.5



 Description   

Attempt to install MariaDB-columnstore-engine-10.6.5 from https://dlm.mariadb.com/repo/mariadb-server/10.6.5/yum/sles/12/x86_64
on SLES 12.5 :

https://mdbe-buildbot.mariadb.net/#/builders/45/builds/2/steps/29/logs/stdio

Problem: nothing provides liblz4.so.1.7()(64bit) needed by MariaDB-columnstore-engine-10.6.5_6.2.1-1.x86_64
 Solution 1: do not install MariaDB-columnstore-engine-10.6.5_6.2.1-1.x86_64
 Solution 2: break MariaDB-columnstore-engine-10.6.5_6.2.1-1.x86_64 by ignoring some of its dependencies

SLES 12 has:

Information for package liblz4-1:
---------------------------------
Repository     : SLE-SDK12-SP5-Updates                      
Name           : liblz4-1                                   
Version        : 1.8.0-3.3.1  



 Comments   
Comment by Elena Stepanova [ 2022-01-24 ]

liblz4-1_7 package comes from SUSE-PackageHub-12-SP5-Standard-Pool. To my understanding, it is a non-commercial (free of charge) repo/product, but it is not enabled by default.
The question whether it can be considered a "standard" SLES-12 repository was discussed before, and so far we had been leaning towards "no".

In buildbot the package is currently pre-installed on the build machine and the repo is enabled on the install machine.
The dependency appeared between 10.6.4 and 10.6.5, possibly due to installation of the library on the build machine for other purposes.

If we want to avoid the dependency in future, we will need to either drop the package at runtime before 10.6 build on SLES-12, or somehow instruct Columnstore not to use it, if it has a switch for it; and we should do it before the upcoming set of releases, so that at least 10.7 GA doesn't have it, and for 10.6 the exposure is minimal.

Comment by Sergei Golubchik [ 2022-01-24 ]

I think it's fine if ColumnStore will use it. The server should only use default standard repos, but if one wants an extra special engine — I think it's reasonable to expect that it might require an extra special repository.

Comment by Elena Stepanova [ 2022-01-24 ]

tturenko,

See the above. I guess you can enable that repo/product in your tests. If possible, better to do it conditionally – only when Columnstore 10.6+ is involved. If the conditional approach isn't possible, then just enable it – we do it in the CS buildbot anyway.

Comment by Elena Stepanova [ 2022-03-13 ]

Closing based on Sergei's comment above.

Generated at Thu Feb 08 09:54:08 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.