View previous topic :: View next topic |
Author |
Message |
erwan Apprentice
Joined: 01 Jun 2003 Posts: 150 Location: Tokyo
|
Posted: Mon Aug 11, 2003 2:57 am Post subject: commonc++: "patch2 failed" |
|
|
Hello.
I have a problem trying to emerge commonc++ to update my system:
Code: |
Calculating world dependencies ...done!
>>> emerge (1 of 64) dev-libs/commonc++-1.9.7-r3 to /
>>> md5 src_uri ;-) commonc++-1.9.7.tar.gz
>>> md5 src_uri ;-) commonc++_1.9.7-1.diff.gz
>>> Unpacking source...
>>> Unpacking commonc++-1.9.7.tar.gz to /var/tmp/portage/commonc++-1.9.7-r3/work
>>> Unpacking commonc++_1.9.7-1.diff.gz to /var/tmp/portage/commonc++-1.9.7-r3/work
* Applying commmonc++-0.1.patch... [ ok ]
!!! ERROR: dev-libs/commonc++-1.9.7-r3 failed.
!!! Function src_unpack, Line 25, Exitcode 1
!!! patch2 failed
|
Any clues ? _________________ See me on Jabber: erwan@im.loisant.org |
|
Back to top |
|
|
chaoslord007 n00b
Joined: 26 Aug 2003 Posts: 14 Location: Wernersberg - Germany
|
Posted: Tue Aug 26, 2003 11:58 am Post subject: |
|
|
I have the same problem but no Idea.
There are more and more updates waiting for the commonc++ package at emerge world.
Does anyone out there know a solution ? _________________ Immer Dusma bleiwe |
|
Back to top |
|
|
Vergo n00b
Joined: 19 Apr 2003 Posts: 42 Location: Oulu, Finland
|
Posted: Tue Aug 26, 2003 12:16 pm Post subject: |
|
|
I had the same problem and found this line from the ebuild in src_unpack()
Code: | use ppc && epatch ${DISTDIR}/commonc++_1.9.7-1.diff.gz || die "patch2 failed" |
If I understand that correctly, it will fail unless the system is a ppc. My temporary fix was to remove that line (its line 25) from to ebuild and it merged fine after that. |
|
Back to top |
|
|
chaoslord007 n00b
Joined: 26 Aug 2003 Posts: 14 Location: Wernersberg - Germany
|
Posted: Thu Aug 28, 2003 7:14 am Post subject: |
|
|
I must have been blind. Thx it helped in my case.
But you should only remove the "use ppc &&" part so that the patch in the *.diff.gz is apllied. Otherwise you get a commonc++ Rev2 and your System means only it is Rev3. The Patch seems not to be an ppc only variant. _________________ Immer Dusma bleiwe |
|
Back to top |
|
|
Nemesis n00b
Joined: 26 Apr 2003 Posts: 22
|
Posted: Wed Sep 24, 2003 4:44 pm Post subject: Praise the king! |
|
|
That was gold!
Why didnt I see that... |
|
Back to top |
|
|
|