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

Bug 572772

Summary: mysql_fx.eclass should die if selected patch is missing
Product: Gentoo Linux Reporter: Thomas Deutschmann (RETIRED) <whissi>
Component: EclassesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Die if selected patch from mysql-extras is missing

Description Thomas Deutschmann (RETIRED) gentoo-dev 2016-01-24 16:00:48 UTC
Created attachment 423802 [details, diff]
Die if selected patch from mysql-extras is missing

Hi,

while creating my own "mysql-extras" package I only committed the "0000_index.txt" and not the patch added to the index.

I only noticed because my change was absent from the compiled binary. If I would have watched the ebuild's prepare output in detail, I could have noticed that the patch was only listed in the "using" and not "applying" list but would expect that when the file is listed in the "using" list that it could be skipped?

Please see my attached patch which will add a check to the eclass.
Comment 1 Brian Evans (RETIRED) gentoo-dev 2016-03-09 19:09:16 UTC
mysql_fx is being phased out with EAPI=6