Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912670 - www-apps/tt-rss-99999999 supports PHP 8.2
Summary: www-apps/tt-rss-99999999 supports PHP 8.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-20 11:32 UTC by Karl-Johan Karlsson
Modified: 2023-09-19 08:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl-Johan Karlsson 2023-08-20 11:32:53 UTC
www-apps/tt-rss has supported PHP 8.2 for a while, and since https://gitlab.tt-rss.org/tt-rss/tt-rss/-/commit/a4543de3ac4b8b4e81f317a5ebb0d88004e3884c on 15 May it is now upstream's recommended default. I am currently running my instance on PHP 8.2 without problems. However, the live ebuild says only lower versions are supported:

   PHP_SLOTS="8.1 8.0 7.4"

Please mark the live ebuild www-apps/tt-rss-99999999 as compatible with PHP 8.2.

Reproducible: Always
Comment 1 J. Paul Reed 2023-09-18 22:13:53 UTC
This was fixed in commit https://gitweb.gentoo.org/repo/gentoo.git/commit/www-apps/tt-rss?id=291c589208abc5bb0b304c80d1316347747731e5 which is great (thanks @chewi@gentoo.org!)

_However_, that commit does introduce somewhat of a regression: it bumped PHP_SLOTS support to (only) PHP 8.2. This is problematic because PHP 8.2 is currently listed as experimental on every platform:

Keywords:    8.2.10:8.2: ~alpha ~amd64 ~amd64-linux ~arm ~arm64 ~hppa ~ia64
                         ~loong ~mips ~ppc ~ppc-macos ~ppc64 ~riscv ~s390
                         ~sparc ~x64-macos ~x86 ~x86-linux


I copied the ebuild and added PHP 8.1 slow support back into the ebuild, built it, and did the wwwapp-config upgrade.

Everything seems to be in working order.

So, I'd like to request that (the stable) PHP 8.1.x get added back as an available PHP slot for the tt-rss 20230901 ebuild.
Comment 2 Larry the Git Cow gentoo-dev 2023-09-19 07:59:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2ba73fefb1545ea50dda68f41d56a3fd7e6457b

commit c2ba73fefb1545ea50dda68f41d56a3fd7e6457b
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2023-09-19 07:59:04 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2023-09-19 07:59:04 +0000

    www-apps/tt-rss: Add PHP 8.1
    
    8.2 is not stable yet, and 8.1 reportedly works fine.
    
    Closes: https://bugs.gentoo.org/912670
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 www-apps/tt-rss/tt-rss-20230901.ebuild | 2 +-
 www-apps/tt-rss/tt-rss-99999999.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 3 James Le Cuirot gentoo-dev 2023-09-19 08:01:59 UTC
Sorry for the wait on 8.2, I'd lost track of this.

Upstream only support using Docker, so it wasn't clear whether 8.1 would still work, plus I don't use stable, so I hadn't noticed the issue there. Thanks for reporting that it works. It's good to know others are making use of this package.