[Pkg-roundcube-maintainers] Bug#817922: Bug#817922: PEAR issues

Yuri D'Elia wavexx at thregr.org
Fri Mar 18 10:59:15 UTC 2016


On Fri, Mar 18 2016, Sandro Knauß <bugs at sandroknauss.de> wrote:
>> That silenced fatal error is only one of at least two I found attempting
>> to call PEAR. Incredibly frustrating.
>
> I see - Do you have a patch for makeing it more verbosy?

I'm not sure about the reasoning of the silencing, but I didn't have
time to investigate.

I suspect that these are calls that might used to produce noise, or were
expected to emit warnings and now produce a fatal error (just grep for
all instances of @PEAR).

>> Apart for some minor session issues (session_renegerate_id failing
>> somewhere due to the sqlite3 backend), I was able to make it run with
>> PHP7 (albeit with several deprecation warnings).
>>
>> Looks like it's not too far off for php 7.
>
> So you haven't to change anything on the code to get it running with php7?

Unfortunately, I had to, but nothing major really. The issue with
session_regenerate_id is nested in some change of semantics in session
cleanup inside the sqlite3 session handler, but that needs to be fixed
properly and I don't want to suggest to comment it out.

I'd expect RC to work without much hassle on both php 5.x and 7.

The biggest hurdle I see is the pear transition though.



More information about the Pkg-roundcube-maintainers mailing list