Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100929 - psi-0.9.3-r4 ebuild fails handling extras USE flag and missing patch
Summary: psi-0.9.3-r4 ebuild fails handling extras USE flag and missing patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-31 13:36 UTC by Steve Arnold
Modified: 2005-08-22 17:18 UTC (History)
2 users (show)

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


Attachments
Patch for the ebuild (psi-0.9.3-r4.ebuild.patch,319 bytes, patch)
2005-08-01 14:56 UTC, Régis Décamps
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Arnold archtester gentoo-dev 2005-07-31 13:36:46 UTC
Another bogus PSI patch error; this happens *without* extras set:

>>> Unpacking psi-0.9.3.tar.bz2 to /var/tmp/portage/psi-0.9.3-r4/work
 * Applying psi-pathfix.patch ...                                         [ ok ]
 * Applying psi-desktop.patch ...                                         [ ok ]
 * Applying psi-desktop_file_and_icons_directories.patch ...              [ ok ]
 * Applying psi-reverse_trayicon.patch ...                                [ ok ]
/usr/portage/net-im/psi/psi-0.9.3-r4.ebuild: line 76: COPYING: command not found
 * You are about to build a version of Psi with extra unsuported patches.
 * Patched psi versions will not be supported by the Gentoo devs or the psi
 * development team.
 * If you do not want that please press Control-C now and add '-extras' to 
 * your USE flags.

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /var/tmp/portage/psi-0.9.3-r4/work/0.9.3/psi-roster-nr-0.7.patch
 *   ( psi-roster-nr-0.7.patch )


!!! ERROR: net-im/psi-0.9.3-r4 failed.
!!! Function epatch, Line 217, Exitcode 0
!!! Cannot find $EPATCH_SOURCE!
!!! If you need support, post the topmost build error, NOT this status message.

The ebuild check for -extras doesn't seem to work for me either:

if !(use extras); then

skips right to the "else" clause, whether or not USE="-extras" is set.  If I 
change it to this:

if ! use extras ; then

it works correctly with -extras (but the patch still fails with "extras").  In 
addition to the patch path being all wrong, the patch doesn't seem to exist on 
my system.
Comment 1 Régis Décamps 2005-08-01 14:56:10 UTC
Created attachment 64900 [details, diff]
Patch for the ebuild

I sugguest this patch for the ebuild. 

Now the ebuild takes into account the "-extras" USE flag.

Now the ebuild can be merged, because the psi-roster-nr patch is ignored. I
don't know what it was originally for and could not find it on the web.
Comment 2 Régis Décamps 2005-08-01 14:58:21 UTC
Note: Same problem on AMD64. I believe all platforms are affected.
Comment 3 Tommy McDaniel 2005-08-02 15:04:38 UTC
I can confirm this, on my dual Opteron computer. I was about to file a bug 
report about it myself. 
Comment 4 darkstalker 2005-08-04 16:52:12 UTC
The patch it's looking for is included in the 
psi-0.9.3-gentoo-extras-0.5.tar.bz2 archive. Not sure what is going on with 
this ebuild... something's definitely not right. 
Comment 5 Sascha Silbe 2005-08-05 14:34:26 UTC
Same problem here with USE=-extras.
Comment 6 Gustavo Felisberto (RETIRED) gentoo-dev 2005-08-12 17:12:57 UTC
Sorry for the delay but vacations are needed for everyone :) 
Please do a emerge sync in an hour or so and try again. If all goes ok report
here please.
Comment 7 Gustavo Felisberto (RETIRED) gentoo-dev 2005-08-22 17:18:55 UTC
Assuming all was fixed ok. Please reopen if needed