Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 268698

Summary: ebuild for dev-perl/DBD-mysql with embedded USE flag
Product: Gentoo Linux Reporter: Greg Dziegielewski <jabbas>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: j0inty, proteuss
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: DBD-mysql/DBD-mysql-4.01.1.ebuild with handling of embedded USE flag

Description Greg Dziegielewski 2009-05-05 07:34:46 UTC
in current portage dev-perl/DBD-mysql ebuild does not have possibility to compile it with "embedded" MySQL.
So, here it is ;-)

Reproducible: Always

Steps to Reproduce:
Comment 1 Greg Dziegielewski 2009-05-05 07:35:44 UTC
Created attachment 190389 [details]
DBD-mysql/DBD-mysql-4.01.1.ebuild with handling of embedded USE flag
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-02-07 03:10:06 UTC
InCVS.
Comment 3 Steffen 'j0inty' Stollfuß 2011-02-07 14:42:51 UTC
Hi,

This seems to not work correctly if the virtual/mysql package is installed, too

--- With USE="embedded" ---

arko ~ # emerge -1 dev-perl/DBD-mysql

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

Calculating dependencies ... done!

emerge: there are no ebuilds built with USE flags to satisfy "=virtual/mysql-5.1[-embedded]".
!!! One of the following packages is required to complete your request:
- virtual/mysql-5.1 (Change USE: -embedded)
(dependency required by "dev-perl/DBD-mysql-4.18-r1" [ebuild])
(dependency required by "dev-perl/DBD-mysql" [argument])


--- with USE="-embedded" ---
arko ~ # USE="-embedded" emerge -1 dev-perl/DBD-mysql

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

Calculating dependencies  ... done!
[ebuild   R    ] dev-db/mysql-5.1.53  USE="community perl ssl -big-tables -cluster (-debug) -embedded* -extraengine -latin1 -max-idx-128 -minimal -pbxt -profiling (-selinux) -static -test -xtradb" 24,522 kB                                                                                                                                                    
[ebuild   R    ] virtual/mysql-5.1  USE="-embedded* -static" 0 kB
[ebuild     U  ] dev-perl/DBD-mysql-4.18-r1 [4.18] USE="-embedded%" 0 kB

Total: 3 packages (1 upgrade, 2 reinstalls), Size of downloads: 24,522 kB

Would you like to merge these packages? [Yes/No]

regards
j0inty
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-02-07 18:00:59 UTC
I've tweaked the dep and it shouldn't happen now. Please sync+test (you'll see a comment with today's date in the changelog).