Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382581 - =net-mail/cyrus-imap-admin-2.4.11 fails because of missing patch
Summary: =net-mail/cyrus-imap-admin-2.4.11 fails because of missing patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-11 08:59 UTC by Torsten Kaiser
Modified: 2011-09-11 13:15 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 Torsten Kaiser 2011-09-11 08:59:41 UTC
Trying to upgrade from 2.4.10 results in:
 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/portage/net-mail/cyrus-imap-admin/files/cyrus-imap-admin-2.4.11-ldflags.patch
 *   ( cyrus-imap-admin-2.4.11-ldflags.patch )
 * ERROR: net-mail/cyrus-imap-admin-2.4.11 failed (prepare phase):
 *   Cannot find $EPATCH_SOURCE!
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_prepare
 *   environment, line 2993:  Called epatch '/usr/portage/net-mail/cyrus-imap-admin/files/cyrus-imap-admin-2.4.11-ldflags.patch'
 *   environment, line 1346:  Called die
 * The specific snippet of code:
 *                   die "Cannot find \$EPATCH_SOURCE!";
 * 
 * If you need support, post the output of 'emerge --info =net-mail/cyrus-imap-admin-2.4.11',
 * the complete build log and the output of 'emerge -pqv =net-mail/cyrus-imap-admin-2.4.11'.
 * The complete build log is located at '/var/tmp/portage/net-mail/cyrus-imap-admin-2.4.11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-mail/cyrus-imap-admin-2.4.11/temp/environment'.
 * S: '/var/tmp/portage/net-mail/cyrus-imap-admin-2.4.11/work/cyrus-imapd-2.4.11'

The cause is, that the files directory of cyrus-imap-admin only contains to identical files cyrus-imap-admin-2.4.10-ldflags.patch and cyrus-imap-admin-2.4.9-ldflags.patch but no .11-patch.

The following change to the -2.4.11.ebuild lets me emerge this package sucessfully:
--- /usr/portage/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.4.11.ebuild       2011-09-09 09:25:34.000000000 +0200
+++ /root/ebuilds/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.4.11.ebuild      2011-09-11 10:50:05.404610640 +0200
@@ -30,7 +30,7 @@
 S="${WORKDIR}/cyrus-imapd-${MY_PV}"
 
 src_prepare() {
-       epatch "${FILESDIR}/${P}-ldflags.patch"
+       epatch "${FILESDIR}/cyrus-imap-admin-2.4.9-ldflags.patch"
 }
 
 src_configure() {

(I would suggest the same change to -2.4.10, that way the dublicate patch can be dropped from the portage tree)
Comment 1 Eray Aslan gentoo-dev 2011-09-11 13:15:39 UTC
Fixed.  Thanks for the bug report.