Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97177 - psi-0.9.3-r4 and psi-status_indicator++_add-on_roster-nr.patch
Summary: psi-0.9.3-r4 and psi-status_indicator++_add-on_roster-nr.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-27 01:48 UTC by Robert Wolf
Modified: 2005-06-28 13:35 UTC (History)
0 users

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


Attachments
psi-status_indicator++_add-on_roster-nr.patch-20003.out (psi-status_indicator++_add-on_roster-nr.patch-20003.out,31.17 KB, text/plain)
2005-06-27 01:49 UTC, Robert Wolf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Wolf 2005-06-27 01:48:04 UTC
# emerge -u psi

>>> emerge (1 of 4) net-im/psi-0.9.3-r4 to /
>>> md5 files   ;-) psi-0.9.3-r2.ebuild
>>> md5 files   ;-) psi-0.9.3-r1.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) psi-0.9.3-r3.ebuild
>>> md5 files   ;-) psi-0.9.3-r4.ebuild
>>> md5 files   ;-) files/digest-psi-0.9.3-r1
>>> md5 files   ;-) files/digest-psi-0.9.3-r2
>>> md5 files   ;-) files/psi-desktop_file_and_icons_directories.patch
>>> md5 files   ;-) files/psi-pathfix.patch
>>> md5 files   ;-) files/psi-desktop.patch
>>> md5 files   ;-) files/digest-psi-0.9.3-r3
>>> md5 files   ;-) files/psi-reverse_trayicon.patch
>>> md5 files   ;-) files/digest-psi-0.9.3-r4
>>> md5 files   ;-) files/psi-emergency.png
>>> md5 files   ;-) files/psi-indicator.png
>>> md5 src_uri ;-) psi-0.9.3.tar.bz2
>>> md5 src_uri ;-) psi-0.9.3-gentoo-extras-0.5.tar.bz2
>>> md5 src_uri ;-) psi_cs-0.9.3-a.tar.bz2
>>> md5 src_uri ;-) psi_de-0.9.3-c.tar.bz2
>>> Unpacking source...
>>> Unpacking psi-0.9.3.tar.bz2 to /portage.work/portage/psi-0.9.3-r4/work
>>> Unpacking psi-0.9.3-gentoo-extras-0.5.tar.bz2 to /portage.work/portage/psi-0.9.3-r4/work
>>> Unpacking psi_cs-0.9.3-a.tar.bz2 to /portage.work/portage/psi-0.9.3-r4/work
>>> Unpacking psi_de-0.9.3-c.tar.bz2 to /portage.work/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 ]
 * 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.
 * Applying psi-roster-nr-0.7.patch ...                                                                                                                                    [ ok ]
 * Applying psi-status_indicator++_add-on_roster-nr.patch ...

 * Failed Patch: psi-status_indicator++_add-on_roster-nr.patch !
 *  ( /portage.work/portage/psi-0.9.3-r4/work/0.9.3/psi-status_indicator++_add-on_roster-nr.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /portage.work/portage/psi-0.9.3-r4/temp/psi-status_indicator++_add-on_roster-nr.patch-20003.out


!!! ERROR: net-im/psi-0.9.3-r4 failed.
!!! Function epatch, Line 361, Exitcode 0
!!! Failed Patch: psi-status_indicator++_add-on_roster-nr.patch!
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Robert Wolf 2005-06-27 01:49:53 UTC
Created attachment 62031 [details]
psi-status_indicator++_add-on_roster-nr.patch-20003.out
Comment 2 Gustavo Felisberto (RETIRED) gentoo-dev 2005-06-27 11:42:29 UTC
I have no idea why that happens to you, several people already installed from
portage and no one had any problems. Try emerge sync and try again to emerge. If
you still have problems re-open this bug and try to give us a bit more info.
Comment 3 Robert Wolf 2005-06-27 23:54:59 UTC
I have emerged this morning, still the same error. I found the problem is in
patch file psi-status_indicator++_add-on_roster-nr.patch. This patch is from
extras-I hope you are manager of this ebuild. If not, sorry for disturbing.

SOMEONE has added this patch for extras and this patch has full paths to files
(/var/tmp/portage/psi-0.9.3-r4/work/psi-0.9.3-orig/iconsets/roster/default/icondef.xml)
instead of relative paths. In ebuild, there is command

epatch ${PATCHDIR}/psi-status_indicator++_add-on_roster-nr.patch

and this command runs "patch -p0 ...." and it is the problem, because real files
are somewhere else for my settings. In usual gentoo environment it's OK. But I
have moved /var/tmp/portage into /portage.work/portage and I HAVE set path in
/etc/make.conf. Everything else works fine. But someone did this patch with full
path (I think this is not correct way how to do patches).

The solutions is either to delete paths
/var/tmp/portage/psi-0.9.3-r4/work/psi-0.9.3-orig/ from file names in patchfile,
or to update epatch command in ebuild to ignore (or strip) seven directories at
the beggining of the file names (I have tried to run patch -p7 .... and it
worked). But epatch doesn't provide possibility to set strip count (it
automaticly tries only strip 0 to 5 directories), so someone should update the
patch to contain NOT full paths, but only relative paths to patched files. I
found there are another two files with full paths: vcard-photo-interface.patch
and psi-add-status-history.patch.

I'm not sure, who creates and manages psi-*-gentoo-extras, can you assign this
bug to him, if this person is not you? Thank you very much for your help.
Comment 4 Gustavo Felisberto (RETIRED) gentoo-dev 2005-06-28 13:35:00 UTC
Thanks for the long description and fix. I'm commiting a fixed version. Please
try a emerge sync in an hour or so.