[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kolab-devel
Subject:    Re: [Kolab-devel] PEAR conflict between kolab-irony and kolab-chwala
From:       Daniel Morlock <daniel.morlock () gmail ! com>
Date:       2013-11-24 13:24:26
Message-ID: CAL1OExhDVbGWYziFwOTrL1_rUtWGVQJVuT=ZQaPOC5cYZHZfww () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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
>

[Attachment #5 (text/html)]

<div dir="ltr">Hi,<div><br></div><div>no, they are build from source. Hence there \
won&#39;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):  </div>

<div><br></div><div>Kolab Chwala and Kolab iRony come both with PEAR packages. If you \
link the irony/lib/FileAPI to chwala/lib and run PHP&#39;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.  </div>

<div>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.</div><div><br></div><div>Regards,</div>

<div>Daniel.<br></div></div><div class="gmail_extra"><br><br><div \
class="gmail_quote">On Sun, Nov 24, 2013 at 1:06 AM, Jeroen van Meeuwen (Kolab \
Systems) <span dir="ltr">&lt;<a href="mailto:vanmeeuwen@kolabsys.com" \
target="_blank">vanmeeuwen@kolabsys.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div class="im">On 2013-11-22 20:53, Daniel Morlock \
wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"> Hi,<br>
<br>
these issue concerns Gentoo builds for the latest Kolab 3.1 released from<br>
<a href="http://obs.kolabsys.com" target="_blank">obs.kolabsys.com</a>. When I add an \
ICS event using Caldav, I run into the<br> following fatal error:<br>
<br>
2013/11/22 20:37:56 [error] 19198#0: *14996 FastCGI sent in stderr: &quot;PHP<br>
message: PHP Fatal error:   Cannot redeclare _PEAR_call_destructors()<br>
(previously declared in /usr/share/kolab-chwala/lib/<u></u>ext/PEAR.php:773) in<br>
/usr/share/kolab-irony/vendor/<a href="http://pear-pear.php.net/PEAR/PEAR.php" \
target="_blank"><u></u>pear-pear.php.net/PEAR/PEAR.<u></u>php</a> on line \
777&quot;<br> while reading response header from upstream, client: ....., server: \
                ......,<br>
request: &quot;POST /irony/calendars/..../<u></u>3c4fb6298be2-f36a9eea386a-<u></u>d6a89ece<br>
 HTTP/1.1&quot;, upstream: \
&quot;fastcgi://unix:/run/php5-<u></u>kolab-irony.sock:&quot;, ....<br> <br>
</blockquote>
<br></div>
These are not installed files from packages, are they?<br>
<br>
Kind regards,<br>
<br>
Jeroen van Meeuwen<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Systems Architect, Kolab Systems AG<br>
<br>
e: vanmeeuwen at <a href="http://kolabsys.com" target="_blank">kolabsys.com</a><br>
m: <a href="tel:%2B44%2074%202516%203817" value="+447425163817" target="_blank">+44 \
                74 2516 3817</a><br>
w: <a href="http://www.kolabsys.com" target="_blank">http://www.kolabsys.com</a><br>
<br>
pgp: 9342 BF08<br>
</font></span></blockquote></div><br></div>



_______________________________________________
devel mailing list
devel@lists.kolab.org
https://lists.kolab.org/mailman/listinfo/devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic