Public bug reported:

The cacti upstream autopkgtests fail [1] due to warnings related to the
use of constant E_STRICT which is deprecated in PHP 8.4 [1]:

224s Unexpected output in /var/log/cacti/cacti.log:
224s 2025-01-24 12:06:00 - ERROR PHP Unknown Error: Constant E_STRICT is 
deprecated in file: /usr/share/cacti/site/include/global_arrays.php  on line: 
479
224s 2025-01-24 12:06:00 - CMDPHP PHP ERROR Backtrace:  
(/index.php[25]:include(), /include/auth.php[27]:require_once(), 
/include/global.php[550]:include_once(), 
/include/global_arrays.php[479]:CactiErrorHandler())

As per [2], E_STRICT may now be ignored. I found an upstream patch [3]
that fixes this issue. We need to backport it to 1.2.28 while a new
release in Debian is awaited.

[1] 
https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-plucky/plucky/amd64/c/cacti/20250124_121518_d88b4@/log.gz
[2] https://php.watch/versions/8.4/E_STRICT-deprecated
[3] 
https://github.com/Cacti/cacti/commit/d83232a7a4711cf5d4e74317323341645623ed2b

** Affects: cacti (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

** Tags added: update-excuse

** Description changed:

- The cacti upstream autopkgtests fail due to warnings related to the use
- of constant E_STRICT which is deprecated in PHP 8.4 [1]:
+ The cacti upstream autopkgtests fail [1] due to warnings related to the
+ use of constant E_STRICT which is deprecated in PHP 8.4 [1]:
  
  224s Unexpected output in /var/log/cacti/cacti.log:
  224s 2025-01-24 12:06:00 - ERROR PHP Unknown Error: Constant E_STRICT is 
deprecated in file: /usr/share/cacti/site/include/global_arrays.php  on line: 
479
  224s 2025-01-24 12:06:00 - CMDPHP PHP ERROR Backtrace:  
(/index.php[25]:include(), /include/auth.php[27]:require_once(), 
/include/global.php[550]:include_once(), 
/include/global_arrays.php[479]:CactiErrorHandler())
  
+ As per [2], E_STRICT may now be ignored. I found an upstream patch [3]
+ that fixes this issue. We need to backport it to 1.2.28 while a new
+ release in Debian is awaited.
  
- As per [1], E_STRICT may now be ignored. I found an upstream patch [2] that 
fixes this issue. We need to backport it to 1.2.28 while a new release in 
Debian is awaited.
- 
- 
- [1] https://php.watch/versions/8.4/E_STRICT-deprecated
- [2] 
https://github.com/Cacti/cacti/commit/d83232a7a4711cf5d4e74317323341645623ed2b
+ [1] 
https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-plucky/plucky/amd64/c/cacti/20250124_121518_d88b4@/log.gz
+ [2] https://php.watch/versions/8.4/E_STRICT-deprecated
+ [3] 
https://github.com/Cacti/cacti/commit/d83232a7a4711cf5d4e74317323341645623ed2b

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2096724

Title:
  autopkgtest failures caused by warnings related E_STRICT deprecation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cacti/+bug/2096724/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to