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

Daniel Morlock <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab
Message-ID <CAL1OExhDVbGWYziFwOTrL1_rUtWGVQJVuT=ZQaPOC5cYZHZfww__1933.95180763236$1385299520$gmane$org@mail.gmail.com>
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) <
[email protected]> 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
>

_______________________________________________
devel mailing list
[email protected]
https://lists.kolab.org/mailman/listinfo/devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.