I'm running a ~ keyword system, so www-apps/nextcloud RDEPEND on dev/lang-php resolves to dev-lang/php-8.1.4. At runtime it checks (lib/versioncheck.php) that it's not running on PHP>8.0 and crashes otherwise, so it should probably RDEPEND on dev-lang/php<8.1. Reproducible: Always Steps to Reproduce: 1. Be ~ARCH. 2. Install nextcloud. 3. Try to access nextcloud. Actual Results: Page saying: This version of Nextcloud is not compatible with > PHP 8.0. You are currently running 8.1.4. Expected Results: Nextcloud homepage. Running on ~arm64. Can work around by either masking PHP 8.1 if nothing needs it, or also installing 8.0 otherwise. Is there a better workaround to mask 8.1 for www-apps/nextcloud specifically?
Confirmed. Temporary fix: 'eselect php set cli php7.4'
See: https://docs.nextcloud.com/server/23/admin_manual/installation/source_installation.html Requirement is php7.3 or php7.4.
Seems like 8.0 is fine too: https://docs.nextcloud.com/server/23/admin_manual/installation/system_requirements.html
Sorry for delay here, as commented in relevant PR, I will push a change to restrict: * 23.* ebuilds to <php-8.1 (allowing 8.0 but not newer) * 24.* to <php-8.2 (future-proofing for next PHP releases and to align with upstream version check)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=495e494af5821477af614d9c2a68c1b47b812070 commit 495e494af5821477af614d9c2a68c1b47b812070 Author: Bernard Cafarelli <voyageur@gentoo.org> AuthorDate: 2022-08-08 20:43:27 +0000 Commit: Bernard Cafarelli <voyageur@gentoo.org> CommitDate: 2022-08-08 20:44:17 +0000 www-apps/nextcloud: restrict allowed php versions 23.x especially only supports 8.0 at most Closes: https://bugs.gentoo.org/840221 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org> www-apps/nextcloud/nextcloud-23.0.5.ebuild | 2 +- www-apps/nextcloud/nextcloud-23.0.7.ebuild | 2 +- www-apps/nextcloud/nextcloud-24.0.3.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)