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)
Fixed. Thanks for the bug report.