[MDEV-14233] Build and Runtime Dependencies list Created: 2017-10-31  Updated: 2018-05-08  Resolved: 2018-05-08

Status: Closed
Project: MariaDB Server
Component/s: Documentation
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Michal Schorm Assignee: Ian Gilfillan
Resolution: Fixed Votes: 0
Labels: None


 Description   

Hello,

I'd like to know if there is any list of dependecies for MariaDB.

I'd use a list like this, where I could easily find, which dependecies any part of MariaDB and plugin needs.

It would help my packaging efforts, mainly in places, where I need ommit some features and plugins in different products I manage. For example, In Fedora, I'd like to have as many features and plugins enabled as possible, and using system dependencies (not bundled). In RHEL f.e. the set of packages is much more thin than the Fedora one.
Even though, once the popularity of some plugin would grow, we (redhat) could decide to start the support of the plugin and its dependencies. And at that point, precise knowledge about the dependency tree would help me quite much.
(Still, I'm not looking for the dependecy tree, but a list only)

Does a list like that already exists?
Any command that could help me? (like grep all header files from mariadb source code and somehow find packages that provides them - for build requires - don't cover runtime requirements)



 Comments   
Comment by Michal Schorm [ 2017-10-31 ]

As I'm thinking about that - I would like to get closer to your RPM layout. You have several plugins detached from the server.
And it also means, the dependecies for them can lie on thmesleves, not on MariaDB - which is also highly appreciated.

Comment by Sergei Golubchik [ 2017-11-01 ]

Yes, that's basically the rule. We put plugin in a server package when it does not introduce new dependencies. Otherwise it goes in a separate package.

Comment by Sergei Golubchik [ 2017-11-01 ]

What about rpm -qiRp MariaDB*.rpm (same as rpm --query --info --requires --package MariaDB*.rpm?
This should print all dependencies for all packages.

Comment by Michal Schorm [ 2017-11-01 ]

I see a difference: "MariaDB*.rpm" are package provided by you, "mariadb*.rpm" are packages packed in Fedora.

In that case, if you say "you can check Requires: of our packages" - that's a nice tip, thanks. However I think you bundle many parts, so I definitelly won't find all the possible dependencies, when completely un-bundled.

Comment by Sergei Golubchik [ 2017-11-01 ]

Yes, I, basically, meant "checking Requires of all our packages, if that works for you".

We bundle libraries in binary tarballs. But in rpm (and deb) packages, I believe, we don't bundle anything that is provided by the distribution.

Comment by Michal Schorm [ 2018-02-18 ]

Can be closed

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