Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286388 - mysql-python-1.2.3_rc1 darwin patch fails
Summary: mysql-python-1.2.3_rc1 darwin patch fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-25 11:28 UTC by Ramon
Modified: 2009-10-15 19:30 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ramon 2009-09-25 11:28:59 UTC
Upgrading from 1.2.2-r1 fails, the mysql-python-1.2.2-darwin.patch fails

Output from patch:
***** mysql-python-1.2.2-darwin.patch *****

===========================================

PATCH COMMAND:   patch -p0 -g0 -E --no-backup-if-mismatch < /Volumes/Shared/prefix/usr/portage/dev-python/mysql-python/files/mysql-python-1.2.2-darwin.patch

===========================================
patching file _mysql.c
Hunk #1 FAILED at 34.
Hunk #2 FAILED at 478.
2 out of 2 hunks FAILED -- saving rejects to file _mysql.c.rej
===========================================


Reproducible: Always

Steps to Reproduce:
1.emerge mysql-python-1.2.3_rc3
2.
3.
Comment 1 Ramon 2009-09-25 11:38:14 UTC
Removing the patch from the ebuild solves the problem, apparently the problem that the patch was addressing has been fixed upstream

I'm too lazy to upload such a small patch :)

--- a/dev-python/mysql-python/mysql-python-1.2.3_rc1.ebuild    2009-09-21 22:33:14 +0200
+++b/dev-python/mysql-python/mysql-python-1.2.3_rc1.ebuild       2009-09-25 13:36:06 +0200
@@ -26,5 +26,4 @@
 src_unpack() {
        distutils_src_unpack
        cd "${S}"
-       epatch "${FILESDIR}"/${PN}-1.2.2-darwin.patch
 }
Comment 2 Wormo (RETIRED) gentoo-dev 2009-10-05 07:05:43 UTC
Thanks for reporting the problem & the solution, assigning to maintainers.
Comment 3 Fabian Groffen gentoo-dev 2009-10-15 19:30:55 UTC
ah, lost bug.  I think I fixed this the other day.  Thanks