Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928894 - www-apps/drupal-10.0.11: PHP 8.2 can be enabled for a while now
Summary: www-apps/drupal-10.0.11: PHP 8.2 can be enabled for a while now
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-07 16:09 UTC by Osiris
Modified: 2024-04-11 18:31 UTC (History)
2 users (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 Osiris 2024-04-07 16:09:05 UTC
When Drupal 10 was added to the tree in dfe559ee0d581d16966d8638382b57e2a560ca46, it was limited to PHP 8.2 due to (conditional?) dependency on dev-php/pecl-uploadprogress which did not support PHP 8.2 at that time.

However, in 149dee72b9bfab759a40fdf116590033c4dbca34 PHP 8.2 support for dev-php/pecl-uploadprogress was enabled (almost a year ago now).

Thus, www-apps/drupal:10 can also have PHP 8.2 enabled I'd think.

(I'm also curious to know why the strict dependency on PHP 8.2 wasn't also conditional on the uploadprogress use flag? Would make sense I right?)

Thanks!

Reproducible: Always

Steps to Reproduce:
1. USE="uploadprogress" emerge -av www-apps/drupal:10

(with only PHP 8.2 on your system)
Actual Results:  
[ebuild  NS    ] dev-lang/php-8.1.26-r1:8.1::gentoo [8.2.15:8.2::gentoo] USE="(...)" 11,533 KiB
[ebuild   N   ~] dev-php/pecl-uploadprogress-2.0.2-r1::gentoo  USE="-examples" PHP_TARGETS="php8-1* php8-2" 20 KiB
[ebuild   N   ~] www-apps/drupal-10.0.11:10.0.11::gentoo  USE="mysql sqlite uploadprogress vhosts -postgres" 17,052 KiB

Expected Results:  
[ebuild   N   ~] dev-php/pecl-uploadprogress-2.0.2-r1::gentoo  USE="-examples" PHP_TARGETS="-php8-1 php8-2" 20 KiB
[ebuild   N   ~] www-apps/drupal-10.0.11:10.0.11::gentoo  USE="mysql sqlite uploadprogress vhosts -postgres" 17,052 KiB
Comment 1 Viorel Munteanu gentoo-dev 2024-04-09 06:20:14 UTC
You are right.  I will add 10.1.8 but not backport this to 10.0, as it is end of life already.  I'll remove the obsolete versions in a few days.

Thank you!
Comment 2 Larry the Git Cow gentoo-dev 2024-04-09 06:36:04 UTC
The bug has been closed via the following commit(s):

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

commit 85d0cb7613b858e253b05b6aa48d9d57f237357b
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2024-04-09 06:19:29 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2024-04-09 06:35:56 +0000

    www-apps/drupal: add 10.1.8
    
    Closes: https://bugs.gentoo.org/928894
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 www-apps/drupal/Manifest             |  1 +
 www-apps/drupal/drupal-10.1.8.ebuild | 72 ++++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)
Comment 3 Osiris 2024-04-11 18:31:15 UTC
Thanks!