Summary: | dev-db/mysql-5.0.84-r1 fails to apply 15000_all_mysql_gcc-4.4_5.0.77.patch | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andres.becerra, d2_racing, eXt, gentoo, lpmichalik, mark+gentoobugs, matrix47, patrick, steffen |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
15000_all_mysql_gcc-4.4_5.0.77.patch-14006.out
Enviroment file of my chrash build log of my chrash mysql-5.0.84-r1.ebuild.patch |
Description
Lars Wendler (Polynomial-C) (RETIRED)
2009-09-08 06:40:19 UTC
Created attachment 203443 [details]
15000_all_mysql_gcc-4.4_5.0.77.patch-14006.out
*** Bug 284085 has been marked as a duplicate of this bug. *** Created attachment 203451 [details]
Enviroment file of my chrash
Created attachment 203453 [details]
build log of my chrash
Created attachment 203455 [details, diff]
mysql-5.0.84-r1.ebuild.patch
A simple patch to the mysql-5.0.84-r1.ebuild to make it compile. The problematic patch is marked for exclusion.
Interestingly, there is no difference between mysql-5.0.84.ebuild and mysql-5.0.84-r1.ebuild, apart from the version number. And apart of the fact that mysql-5.0.84.ebuild compiles.
I personally hate when there is so much hidden inside eclasses. So far I've found that the problematic patch is absolutely inapplicable in -r1, but I still don't know if 5.0.84-r1 differs from 5.0.84 by applying some additional patch before the problematic one, or what is the cause of the problem.
The patch fails to apply because patch 10090_all_innodb_show_bp-percona-5.0.84-b18-20090811.patch is not applied before. The mysql_fx eclass (function _mysql_mv_patches) reads the 0000_index.txt from mysql-extras and moves only patches, which according to the versions, they apply to. The above patch for innodb is marked only for @ver 5.00.84.00 to 5.00.84.00, but we have the 5.00.84.01, caused by the -r1 in the ebuild name. Without the -r1 the version is 5.00.84.00. Perhaps the 0000_index.txt in the mysql-extras tarball needs to be updated. Fixed now, yes, it was a serial typo in the patchset index file that caused some patches to not be applied, and thus others to fail. It's fixed in the tree now, and the file is pushed to the mirrors. If you need it in the meantime: http://dev.gentoo.org/~robbat2/distfiles/mysql-extras-20090908-1245Z.tar.bz2 *** Bug 284170 has been marked as a duplicate of this bug. *** *** Bug 284254 has been marked as a duplicate of this bug. *** |