Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 449072 - dev-db/mysql-5.5.28 should RDEPEND on sys-libs/libaio
Summary: dev-db/mysql-5.5.28 should RDEPEND on sys-libs/libaio
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-28 18:01 UTC by Bernd Wurst
Modified: 2013-01-20 02:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
mysql-v2 eclass patch (mysql-RDEPEND.patch,1.81 KB, patch)
2012-12-29 03:44 UTC, Brian Evans (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Wurst 2012-12-28 18:01:52 UTC
MySQL has sys-libs/libaio listed in DEPEND but not in RDEPEND. 

When installing from source, there is no difference. But when installing dev-db/mysql from binary packages (we have several servers with equal hardware), only RDEPEND is used and libaio is not seen as a dependancy.
mysql-server does not start without libaio installed.

Maybe the (kind of useless) line 'RDEPEND="${RDEPEND}"' should read 'RDEPEND="${DEPEND}"' instead.


# emerge -pv mysql

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-libs/libaio-0.3.109-r3  USE="(-multilib) -static-libs" 43 kB
[ebuild     U ~] dev-db/mysql-5.5.28 [5.1.66] USE="community perl profiling ssl -berkdb -cluster -debug -embedded -extraengine -jemalloc% -latin1 -max-idx-128 -minimal (-selinux) -static -systemtap% -tcmalloc% {-test} (-big-tables%) (-pbxt%) (-xtradb%)" 25,952 kB
[ebuild     U ~] virtual/mysql-5.5 [5.1] USE="-embedded -minimal -static" 0 kB

Total: 3 packages (2 upgrades, 1 new), Size of downloads: 25,995 kB


# emerge -pv --usepkg mysql

These are the packages that would be merged, in order:

Calculating dependencies... done!
[binary     U ~] dev-db/mysql-5.5.28 [5.1.66] USE="community perl profiling ssl -berkdb -cluster -debug -embedded -extraengine -jemalloc% -latin1 -max-idx-128 -minimal (-selinux) -static -systemtap% -tcmalloc% {-test} (-big-tables%) (-pbxt%) (-xtradb%)" 0 kB
[binary     U ~] virtual/mysql-5.5 [5.1] USE="-embedded -minimal -static" 0 kB

Total: 2 packages (2 upgrades, 2 binaries), Size of downloads: 0 kB
Comment 1 Brian Evans (RETIRED) gentoo-dev 2012-12-29 03:44:57 UTC
Created attachment 333650 [details, diff]
mysql-v2 eclass patch

The problem occurs in eclass/mysql-v2.eclass.
New dependancies were added below the RDEPEND line which should be above it.

The attached patch should fix the issue.

Also posted in my personal overlay https://github.com/grknight/gentoo-mysql
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2013-01-20 02:45:49 UTC
InCVS