View previous topic :: View next topic |
Author |
Message |
GoofyX Tux's lil' helper
Joined: 23 Feb 2005 Posts: 88 Location: Greece
|
Posted: Thu Nov 14, 2024 5:01 pm Post subject: PHP 8.1.x masked? |
|
|
I've just synced today and saw the announcement about PHP 8.1.x going masked:
Quote: | !!! The following installed packages are masked:
- dev-lang/php-8.1.30::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Michael Orlitzky <mjo@gentoo.org> (2024-11-13)
# PHP 8.1.x no longer receives bug fixes unless they address security
# issues. That means no build fixes, no updates for modern compilers,
# and no tweaks for newer versions of dependencies. We can't really
# afford to maintain our own little fork of this, so it's time to
# upgrade (sorry). With it goes any unmaintained PECL packages
# that don't support 8.2 or newer.
|
While there's still one year with support by upstream with security fixes, Gentoo decides to mask it upfront and effectively remove it by the tree.
On the other hand, Debian old stable (11.x) still supports PHP 7.4, with their backporting fixes. While I don't fully support this policy, I still prefer it than the Gentoo one masking a perfectly supported PHP version one year before the official announced EOL by upstream.
And we didn't even get a notice, just one day you sync and you find your existing PHP installation going out of support and removing the PHP 8.1 USE flag. You may find it odd, but there are people out there using Gentoo in their servers with PHP applications installed and running.
That's nice. Very nice. _________________ ... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain... |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9280
|
Posted: Thu Nov 14, 2024 5:54 pm Post subject: Re: PHP 8.1.x masked? |
|
|
GoofyX wrote: | And we didn't even get a notice |
Aren't you literally complaining about that *notice* you got right now?
I mean, the message contains enough explanation for you to understand the reasoning behind the masking. |
|
Back to top |
|
|
GoofyX Tux's lil' helper
Joined: 23 Feb 2005 Posts: 88 Location: Greece
|
Posted: Thu Nov 14, 2024 6:01 pm Post subject: Re: PHP 8.1.x masked? |
|
|
asturm wrote: | GoofyX wrote: | And we didn't even get a notice |
Aren't you literally complaining about that *notice* you got right now?
I mean, the message contains enough explanation for you to understand the reasoning behind the masking. | I meant to get a upfront notice that gives a grace period before the actual masking, so that users with PHP 8.1 will have time to test their apps and prepare the upgrade path to 8.2.
I'm a Gentoo user for almost 20 years by now. I understand what it takes to maintain a build in a rolling release, but for the PHP package, especially for the 8.1 branch, I don't understand the need to drop the currently supported by upstream version because of difficulties in the maintenance process. In the case of version 7.4 and 8.0, I understood reasoning behind the masking because they would not build with Openssl 3.x, but what's the rush for the forward masking in the case of 8.1? _________________ ... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain... |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9280
|
Posted: Thu Nov 14, 2024 6:13 pm Post subject: |
|
|
After 20 years you surely know how to unmask a package.
The mask message does not contain a removal date, and you can read it as an early notice. Here's the git summary in addition:
Code: | profiles/package.mask: mask dev-lang/php:8.1 and revdeps
PHP 8.1 is still under limited security support upstream, but is EOL
otherwise. That doesn't play well with a rolling, source-based
distribution. We mask it now before too many problems accrue.
The next major version 8.2 has been stable for a while and the
upgrade is not too difficult. |
|
|
Back to top |
|
|
GoofyX Tux's lil' helper
Joined: 23 Feb 2005 Posts: 88 Location: Greece
|
Posted: Thu Nov 14, 2024 6:19 pm Post subject: |
|
|
asturm wrote: | After 20 years you surely know how to unmask a package. |
Yeah ok, it's because I don't know how to unmask a package is the reason I opened this thread.
Thank you for your replies. _________________ ... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain... |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9280
|
Posted: Thu Nov 14, 2024 6:24 pm Post subject: |
|
|
GoofyX wrote: | asturm wrote: | After 20 years you surely know how to unmask a package. |
Yeah ok, it's because I don't know how to unmask a package is the reason I opened this thread. |
I'm trying to put your agitation into perspective.
The maintainer makes clear that they will not go out of their way to keep alive a semi-supported LTS version when the first build errors crop up. They probably have an idea of what the usual rate of necessary fixes is, and that it *will* happen. If they masked 8.1 only when that happens, you would be in much more of a hurry to upgrade your system(s), I'd say. |
|
Back to top |
|
|
GoofyX Tux's lil' helper
Joined: 23 Feb 2005 Posts: 88 Location: Greece
|
Posted: Thu Nov 14, 2024 6:31 pm Post subject: |
|
|
asturm wrote: | GoofyX wrote: | asturm wrote: | After 20 years you surely know how to unmask a package. |
Yeah ok, it's because I don't know how to unmask a package is the reason I opened this thread. |
I'm trying to put your agitation into perspective.
The maintainer makes clear that they will not go out of their way to keep alive a semi-supported LTS version when the first build errors crop up. They probably have an idea of what the usual rate of necessary fixes is, and that it *will* happen. If they masked 8.1 only when that happens, you would be in much more of a hurry to upgrade your system(s), I'd say. |
I just think this is too early. It would make more sense to me if this happened eg. sometime during the next summer.
Anyway, it is what it is.
Thanks for taking the time to reply. _________________ ... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain... |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9280
|
Posted: Thu Nov 14, 2024 6:39 pm Post subject: |
|
|
Let me pick a few random fixes from git history:
Code: | dev-lang/php: fix the 8.1.x build with gcc-14, icu-74
dev-lang/php: Fix implicit declaration of function '__c11_atomic_load'
dev-lang/php: Backport patch from upstream for ICU 70 changes |
The first one is *already* having to backport 8.1 fixes no longer provided by upstream. How many like these are likely to come up until next summer, with upstream not doing any of those anymore? Would you want to be left "unbothered" and leave your systems at 8.1 all that time? |
|
Back to top |
|
|
eschwartz Developer
Joined: 29 Oct 2023 Posts: 223
|
Posted: Thu Nov 14, 2024 6:48 pm Post subject: Re: PHP 8.1.x masked? |
|
|
GoofyX wrote: | asturm wrote: | GoofyX wrote: | And we didn't even get a notice |
Aren't you literally complaining about that *notice* you got right now?
I mean, the message contains enough explanation for you to understand the reasoning behind the masking. | I meant to get a upfront notice that gives a grace period before the actual masking, so that users with PHP 8.1 will have time to test their apps and prepare the upgrade path to 8.2.
I'm a Gentoo user for almost 20 years by now. I understand what it takes to maintain a build in a rolling release, but for the PHP package, especially for the 8.1 branch, I don't understand the need to drop the currently supported by upstream version because of difficulties in the maintenance process. In the case of version 7.4 and 8.0, I understood reasoning behind the masking because they would not build with Openssl 3.x, but what's the rush for the forward masking in the case of 8.1? |
A mask is, literally, the defined mechanism which Gentoo defines for providing people with an upfront notice that gives a grace period during which users who depend on the masked package can test their apps and prepare the upgrade path.
It is defined this way because packages which are masked still otherwise work, and because masking means that the user sees a message every time they sync until they resolve the issue by either uninstalling the package or unmasking it.
GoofyX wrote: | asturm wrote: | After 20 years you surely know how to unmask a package. |
Yeah ok, it's because I don't know how to unmask a package is the reason I opened this thread.
Thank you for your replies. |
I am surprised that you never encountered this need before! But I'm also delighted to help out.
Here is a general overview of the process: https://wiki.gentoo.org/wiki/Knowledge_Base:Unmasking_a_package
Section 2.2 in particular. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1730 Location: Germany
|
|
Back to top |
|
|
|