simplesamlphp-1.9.1-1.1 not compatible with PHP8.1

Bug #1979010 reported by Mark Donnelly
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
simplesamlphp (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The 1.9.1-1.1 version of simplesamlphp that ships with Ubuntu 22.04 LTS/jammy does not work with PHP8.1, which is the default PHP. Specifically:
* There is a call in /usr/share/simplesamlphp/lib/SimpleSAML/Error/Assertion.php
  to "assert_options(ASSERT_QUIET_EVAL, 0);", which does not exist in PHP8.1
* There is some other bug that causes an infinite loop of redirects between a simplesamlphp
  SP and the IdP, with simplesamlphp logging in the system journal:
      Unable to save session.
      Exception: Serialization of 'DOMElement' is not allowed

Building the package with 1.19.5 fixes both of these issues.

Revision history for this message
John P. Richardson (paul-reverendlinux) wrote :

I too have hit this same issue with same result and work around. Looks like it was fixed in 1.19.4; https://github.com/simplesamlphp/simplesamlphp/issues/1545 .

Revision history for this message
Ed Hillis (edhillis-su) wrote :

I am pretty ignorant about package maintenance, please bear with me. When might we see this fixed in an update of the Ubuntu package?

Could you say more about "building the package with" 1.19.5? Again, simply ignorant here. I'm just looking for some language or terminology that might help me find documentation about how to do this.

Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in simplesamlphp (Ubuntu):
status: New → Confirmed
Revision history for this message
Roman Smid (smid-v) wrote :

This also affects me. Any news on this?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.