View previous topic :: View next topic |
Author |
Message |
Shark_y n00b
Joined: 15 Jun 2004 Posts: 35
|
Posted: Thu Jun 25, 2009 1:47 pm Post subject: Help with patching Zarafa and Libvmime |
|
|
I'm installing Zarafa as here on gentoo-wiki and here the ebuild.
The patch for libvmime is not applying and exits with this message:
Code: | * ERROR: dev-cpp/libvmime-0.7.1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_unpack
* environment, line 2168: Called epatch
'vmime-gcc-4.4-support.diff'
* environment, line 1132: Called die
* The specific snippet of code:
* die "Failed Patch: ${patchname}!";
* The die message:
* Failed Patch: vmime-gcc-4.4-support.diff! | and more in detail:
Code: | ======================================
PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch <
vmime-gcc-4.4-support.diff
======================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- libvmime-0.7.1/src/platforms/posix/posixFile.cpp 2005-04-09
10:42:46.000000000 +0200
|+++ libvmime-0.7.1/src/platforms/posix/posixFile.cpp.gcc44 2009-03-29
21:09:07.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored | Apparently there is some mismatch between the patch and the code because I cannot manually apply the patch to the online libvmime-0.7.1.
This happens also by manually patching, this commands lead to this error: Code: | wget http://developer.zarafa.com/download/zarafa-vmime-patches.tar.gz
wget http://developer.zarafa.com/download/libvmime-0.7.1.tar.bz2
tar xjvf libvmime-0.7.1.tar.bz2
tar xzvf zarafa-vmime-patches.tar.gz
patch -p0 < vmime-gcc-4.4-support.diff
| this is the output: Code: | patching file libvmime-0.7.1/src/platforms/posix/posixFile.cpp
Hunk #1 FAILED at 28.
1 out of 1 hunk FAILED -- saving rejects to file libvmime-0.7.1/src/platforms/posix/posixFile.cpp.rej
cat posixFile.cpp.rej
***************
*** 28,33 ****
#include <dirent.h>
#include <string.h>
#include "vmime/exception.hpp"
--- 28,34 ----
#include <dirent.h>
+ #include <stdio.h>
#include <string.h>
#include "vmime/exception.hpp" |
How can I modify the patch or the code to make it work and continue the emerge? |
|
Back to top |
|
|
Vogi n00b
Joined: 26 Sep 2005 Posts: 35
|
Posted: Sat Aug 22, 2009 12:03 pm Post subject: |
|
|
Hello!
Afaik the patch from bugs.gentoo.org is only needed when you are using gcc 4.4
I am using gcc 4.3 on my system and the original patches from the zarafa webpage work fine for me.
I think, the only difference is an additional gcc4.4 patch for gentoo systems.
Btw: Has anybody already succeeded in compling zarafa 6.30.1 on gentoo?
Seems, that the make files include some packages (zarafa-ssm) from the commercial version.
I tried to use the patches from the zarafa forum (were made for 6.30.0) - but without success.
Code: | make[3]: Entering directory
`/var/tmp/portage/www-apps/zarafa-6.30.1/work/zarafa-6.30.1/ECtools/zarafa-stats'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../common -DLINUX
-I../../mapi4linux/include -I../../libfreebusy -I../../common -O2
-march=athlon-xp -fPIC -g -rdynamic -Wall -Wno-write-strings -pedantic
-Wno-long-long -pthread -MT zarafa-stats.o -MD -MP -MF ".deps/zarafa-stats.Tpo"
-c -o zarafa-stats.o zarafa-stats.cpp; \
then mv -f ".deps/zarafa-stats.Tpo" ".deps/zarafa-stats.Po"; else rm -f
".deps/zarafa-stats.Tpo"; exit 1; fi
make[3]: *** Keine Regel vorhanden, um das Target »zarafa-ssm«,
benötigt von »all-am«, zu erstellen. Schluss.
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: Leaving directory
`/var/tmp/portage/www-apps/zarafa-6.30.1/work/zarafa-6.30.1/ECtools/zarafa-stats'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory
`/var/tmp/portage/www-apps/zarafa-6.30.1/work/zarafa-6.30.1/ECtools'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory
`/var/tmp/portage/www-apps/zarafa-6.30.1/work/zarafa-6.30.1'
make: *** [all] Fehler 2
|
Greetings,
Vogi |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|