On Tue, Dec 20, 2022 at 10:12 AM David Runge email@example.com wrote:
Please rebuild nextcloud packages and see if they work before moving php to outside of staging. This is what I introduced the php-interpreter virtual provides for! :)
Package builds should fail right away in check() if it is not compatible. I think we will need to do an adjustment to the clamping code that Caleb introduced a while back though, as it still relies on the "php7" binary, but should instead rely on "php-legacy" instead now I guess.
Good point. I only looked at the package metadata and not the PKGBUILD. This indeed needs some adjustment as it makes some assumptions that no longer work. I would propose to make it depend on php-legacy directly (but keep the version check on build and versioned dependency). This should reduce the complexity of the PKGBUILD a lot. There are only a few months every year where Nextcloud will work with the latest PHP version and users will need to adjust their configuration when moving back and forward. (I can do the required changes if you like)