[Kolab-devel] PEAR conflict between kolab-irony and kolab-chwala

Daniel Morlock daniel.morlock at gmail.com
Sun Nov 24 14:24:26 CET 2013


Hi,

no, they are build from source. Hence there won't be any problem on the
production side (install from packages) but you might get trouble when
building packages. In case you are interested, here is the actual problem
and workaround (during package building):

Kolab Chwala and Kolab iRony come both with PEAR packages. If you link the
irony/lib/FileAPI to chwala/lib and run PHP's composer,
irony/lib/FileAPI/ext/PEAR will be mixed with irony/vendor/pear... stuff.
Hence irony/lib/FileAPI/ext should be excluded befor running composer.
My actual workaround is to copy chwala/lib/* to irony/lib/FileAPI, remove
the ext folder and run composer aferwards. It looks like iRony has no
dependencies from chwala/lib/ext folder.

Regards,
Daniel.


On Sun, Nov 24, 2013 at 1:06 AM, Jeroen van Meeuwen (Kolab Systems) <
vanmeeuwen at kolabsys.com> wrote:

> On 2013-11-22 20:53, Daniel Morlock wrote:
>
>> Hi,
>>
>> these issue concerns Gentoo builds for the latest Kolab 3.1 released from
>> obs.kolabsys.com. When I add an ICS event using Caldav, I run into the
>> following fatal error:
>>
>> 2013/11/22 20:37:56 [error] 19198#0: *14996 FastCGI sent in stderr: "PHP
>> message: PHP Fatal error:  Cannot redeclare _PEAR_call_destructors()
>> (previously declared in /usr/share/kolab-chwala/lib/ext/PEAR.php:773) in
>> /usr/share/kolab-irony/vendor/pear-pear.php.net/PEAR/PEAR.php on line
>> 777"
>> while reading response header from upstream, client: ....., server:
>> ......,
>> request: "POST /irony/calendars/..../3c4fb6298be2-f36a9eea386a-d6a89ece
>> HTTP/1.1", upstream: "fastcgi://unix:/run/php5-kolab-irony.sock:", ....
>>
>>
> These are not installed files from packages, are they?
>
> Kind regards,
>
> Jeroen van Meeuwen
>
> --
> Systems Architect, Kolab Systems AG
>
> e: vanmeeuwen at kolabsys.com
> m: +44 74 2516 3817
> w: http://www.kolabsys.com
>
> pgp: 9342 BF08
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/devel/attachments/20131124/c9b3873a/attachment.html>


More information about the devel mailing list