#1152295 cacti: Compatibility with PHP 8.6

Package:
src:cacti
Source:
src:cacti
Submitter:
David Prévot
Date:
2026-10-28 19:01:00 UTC
Severity:
normal
Tags:
#1152295#5
Date:
2026-10-27 16:49:30 UTC
From:
To:
Hi Paul,

Looking at the last (failed) run of the autopkgtest of cacti with php8.6
from experimental [1], some deprecations are emitted because of the use
of spl_object_hash() (that might be replaceable by spl_object_id()), and
because “Returning a value from a {cons,des}tructor is deprecated” [2]
(and maybe more).

    1: https://ci.debian.net/packages/c/cacti/unstable/amd64/76318505/
    2: https://wiki.php.net/rfc/deprecate-return-value-from-construct

With the upcoming transition to PHP 8.6, it would be nice to get those
deprecation fixed, or at least silenced.

Thanks in advance.

Regards,

taffit

#1152295#12
Date:
2026-10-28 18:59:27 UTC
From:
To:
Hi taffit,

Thanks for the heads up.

I recall that last time there was something like this I asked you to
contact upstream directly. Is upstream already aware of the issue?

Paul