Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32023 - net-im/psi-0.9-r1 build fails "Cannot find $EPATCH_SOURCE!"
Summary: net-im/psi-0.9-r1 build fails "Cannot find $EPATCH_SOURCE!"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High blocker
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-26 03:45 UTC by Alex Walker
Modified: 2003-10-28 08:04 UTC (History)
2 users (show)

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 Alex Walker 2003-10-26 03:45:13 UTC
Fails like this - the patch doesn't exist in portage...

Calculating dependencies ...done!
>>> emerge (1 of 2) net-im/psi-0.9-r1 to /
>>> md5 src_uri ;-) psi-0.9.tar.bz2
>>> md5 src_uri ;-) qssl-2.0.tar.bz2
kde-functions
kde-functions
>>> Unpacking source...
>>> Unpacking psi-0.9.tar.bz2 to /store/portage-tmp/portage/psi-0.9-r1/work
>>> Unpacking qssl-2.0.tar.bz2 to /store/portage-tmp/portage/psi-0.9-r1/work
 * Applying psi_gpg_fix...                                                                                                                   [ ok ]

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /usr/portage/net-im/psi/files/gen2-branding-0.9.patch


!!! ERROR: net-im/psi-0.9-r1 failed.
!!! Function epatch, Line 214, Exitcode 0
!!! Cannot find $EPATCH_SOURCE!
Comment 1 Alex Walker 2003-10-26 05:13:25 UTC
I found the 0.8.7 patch and put it in that location, renamed to the right
name and it seemed to work fine... although the patch does seem rather simple!
 Does getOSName not return the desired result?

--- psiaccount.cpp.orig 2002-12-06 15:00:19.000000000 +0100
+++ psiaccount.cpp      2002-12-06 14:59:50.000000000 +0100
@@ -139,7 +139,7 @@

        // create Jabber::Client
        d->client = new Client;
-       d->client->setOSName(getOSName());
+       d->client->setOSName("Gentoo Linux");
        d->client->setTimeZone(getTZString(), getTZOffset());
        d->client->setClientName(PROG_NAME);
        d->client->setClientVersion(PROG_VERSION);
Comment 2 Malcolm Scott 2003-10-28 05:58:48 UTC
From the ChangeLog:

  21 Oct 2003; Luke-Jr <luke-jr@gentoo.org> psi-0.9.ebuild,
  files/gen2-branding-0.9.patch:
  Removed useless patch; Psi already identifies Gentoo :)

This suggests that perhaps psi-0.9-r1.ebuild was adapted from an old version
of psi-0.9.ebuild which still referred to this patch. I suggest that this
patch can probably simply be removed harmlessly from 0.9-r1 as it was from
0.9.

If I knew where Psi actually uses the OS name, I'd test this... but I can't
find any reference to it in the UI.
Comment 3 Hanno Böck gentoo-dev 2003-10-28 08:04:02 UTC
This was my fault, I accidently added a faulty psi-0.9-r1 version.
Fixed.