FTBFS with PHP 8.0 on Impish
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kopanocore (Debian) |
Fix Released
|
Unknown
|
|||
kopanocore (Ubuntu) |
Fix Released
|
High
|
Bryce Harrington |
Bug Description
Kopanocore FTBFS with PHP 8.0 on Impish.
Here's the full log for more details:
The problem happens because the php-mapi binary package cannot be built. The php-mapi package carries PHP bindings, and they are compatible with PHP 7.4 only.
Here's the lay of the land:
- kopanocore has been orphaned in Debian. It's a complex package and is lagging behind from upstream (Debian and Ubuntu carry version 8.7, whereas upstream is already on version 11).
- Initially we thought it'd be possible to just get rid of the php-mapi package and be done with it. Indeed, doing this makes the package build fine, but unfortunately php-mapi has reverse deps:
Reverse-Depends
* kopano-
* z-push-
* z-push-
* z-push-
- The z-push package is *also* orphaned in Debian.
- Upstream kopanocore already supports PHP 8.0, but I don't think the patch is backportable:
https:/
But I may be wrong.
- Last, but not least, kopanocore blocks the OpenLDAP 2.5 transition.
I'm not entirely convinced of what the best course of action is here. I don't think that we can just remove php-mapi and the related rdeps, but OTOH backporting the patch mentioned above or updating the whole kopanocore package seems too difficult.
Changed in kopanocore (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in kopanocore (Debian): | |
status: | Unknown → Confirmed |
Changed in kopanocore (Debian): | |
status: | Confirmed → Fix Released |
The patch is in line with the type of patching we've been doing for PHP 8. It does seem to be a hard patch, and has a lot of conflicts when applying, but may be the best path here.