First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 129410
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Tom Martin (RETIRED) <slarti@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: john smith <static321@hotmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 129410 depends on: Show dependency tree
Bug 129410 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-09 20:20 0000
looking at the ebuild and the variable EVO_VERSION only gets set if evolution
is USEd. its then references in the unpack function and crashes when the file
can't be found...

>>> Unpacking mail-notification-2.0.tar.gz to /var/tmp/portage/mail-notification-2.0/work

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *  
/usr/portage/mail-client/mail-notification/files/mail-notification-2.0-evolution-.diff
 *   ( mail-notification-2.0-evolution-.diff )

------- Comment #1 From Seemant Kulleen (RETIRED) 2006-04-10 07:25:44 0000 -------
Index: mail-notification-2.0.ebuild
===================================================================
RCS file:
/var/cvsroot/gentoo-x86/mail-client/mail-notification/mail-notification-2.0.ebuild,v
retrieving revision 1.6
diff -u -B -r1.6 mail-notification-2.0.ebuild
--- mail-notification-2.0.ebuild        8 Apr 2006 10:51:45 -0000       1.6
+++ mail-notification-2.0.ebuild        10 Apr 2006 14:25:28 -0000
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header:
/var/cvsroot/gentoo-x86/mail-client/mail-notification/mail-notification-2.0.ebuild,v
1.6 2006/04/08 10:51:45 slarti Exp $

-inherit eutils gnome2 multilib flag-o-matic
+inherit eutils gnome2 multilib flag-o-matic versionator

 DESCRIPTION="A GNOME trayicon which checks for mail. Supports mbox, MH,
 Maildir, IMAP, Sylpheed, POP3, Gmail and Evolution.  Authenticates via
@@ -35,7 +35,10 @@

 pkg_setup() {
        if use evolution ; then
-               EVO_VERSION="$(best_version mail-client/evolution)"
+               EVO_INSTALLED="$(best_version mail-client/evolution)"
+
+               EVO_VERSION=${EVO_INSTALLED##*-}
+               EVO_VERSION=$(get_version_component_range 1-2 ${EVO_VERSION})
        fi

        G2CONF="${G2CONF} $(use_enable ssl)"
@@ -54,7 +57,11 @@
        unpack ${A}
        cd ${S}

-       epatch "${FILESDIR}/${P}-evolution-${EVO_VERSION}.diff"
+       if use evolution
+       then
+               epatch "${FILESDIR}/${P}-evolution-${EVO_VERSION}.diff"
+       fi
+
        epatch "${FILESDIR}/${P}-buildfix.diff"
        epatch "${FILESDIR}/${P}-gmail-properties-fix.diff"

------- Comment #2 From Tom Martin (RETIRED) 2006-04-10 10:39:24 0000 -------
In CVS, thanks.

------- Comment #3 From Jakub Moc (RETIRED) 2006-04-10 12:08:58 0000 -------
*** Bug 129509 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug