View previous topic :: View next topic |
Author |
Message |
SoofMan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/2528038825ee1e1c7a27c0.gif)
Joined: 05 Dec 2008 Posts: 69
|
Posted: Tue Sep 12, 2023 1:37 pm Post subject: |
|
|
sam_ wrote: | Why would I be engaging with you if I didn't want to help? Please also note that everybody else in this thread had their problem resolved (and the issue was always junk in world file / stale settings in /etc/portage). |
I also had the problem resolved.
I am just wondering how you guys are going to get this thing sorted in December, when, let's say, 10% of important packages have still not updated to OpenSSL 3.0 and 1.1 is still hard-masked (or removed).
Last edited by SoofMan on Tue Sep 12, 2023 1:38 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sam_ Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/7738740495f7d1acc45bdb.jpg)
Joined: 14 Aug 2020 Posts: 1721
|
Posted: Tue Sep 12, 2023 1:38 pm Post subject: |
|
|
No, you've worked around it. There's nothing more for us to do "by December". Everything in tree is compatible with OpenSSL 3. The 10% figure is entirely wrong.
Let me know if you actually want help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SoofMan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/2528038825ee1e1c7a27c0.gif)
Joined: 05 Dec 2008 Posts: 69
|
Posted: Tue Sep 12, 2023 1:40 pm Post subject: |
|
|
sam_ wrote: | Everything in tree is compatible with OpenSSL 3 |
OK, I will post my logs in separate thread. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GoofyX Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1667993274460d7f3c3d9d7.png)
Joined: 23 Feb 2005 Posts: 84 Location: Greece
|
Posted: Tue Sep 12, 2023 1:42 pm Post subject: |
|
|
sam_ wrote: | Hi!
Could you either delete that PHP_TARGETS line (so you will use the default, which is currently php8-1), or remove the php8-0 bit from it? A world upgrade then depclean should then work OK. | Could you please explain the reasoning behind the masking of PHP 8.0? It's a perfectly supported by upstream (granted, with security fixes, but IT IS supported) and the only one stable slot left is 8.1. Not even 8.2. It's been discussed that 8.0 cannot build with openssl 3.0, so you could prevent using the ssl flag with this specific branch (8.0), instead of masking it all together.
There are developers that need both 7.4 and 8.0 versions. Going that hard way is not a solution. You could at least keep 8.0 alive until its official EOL time. _________________ ... 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 |
|
![](templates/gentoo/images/spacer.gif) |
SoofMan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/2528038825ee1e1c7a27c0.gif)
Joined: 05 Dec 2008 Posts: 69
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Banana Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/5204386264b863c6da7ffb.jpg)
Joined: 21 May 2004 Posts: 1478 Location: Germany
|
Posted: Tue Sep 12, 2023 1:51 pm Post subject: |
|
|
GoofyX wrote: | sam_ wrote: | Hi!
Could you either delete that PHP_TARGETS line (so you will use the default, which is currently php8-1), or remove the php8-0 bit from it? A world upgrade then depclean should then work OK. | Could you please explain the reasoning behind the masking of PHP 8.0? It's a perfectly supported by upstream (granted, with security fixes, but IT IS supported) and the only one stable slot left is 8.1. Not even 8.2. It's been discussed that 8.0 cannot build with openssl 3.0, so you could prevent using the ssl flag with this specific branch (8.0), instead of masking it all together.
There are developers that need both 7.4 and 8.0 versions. Going that hard way is not a solution. You could at least keep 8.0 alive until its official EOL time. |
Please have a look here: https://www.php.net/supported-versions.php
It is not EOL, but will in 2 months. Also 7 is EOL long ago. _________________ My personal space
My delta-labs.org snippets do expire
PFL - Portage file list - find which package a file or command belongs to. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SoofMan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/2528038825ee1e1c7a27c0.gif)
Joined: 05 Dec 2008 Posts: 69
|
Posted: Tue Sep 12, 2023 1:53 pm Post subject: |
|
|
GoofyX wrote: | [Also 7 is EOL long ago. |
I am going to have to Compile PHP 7.4.x manually I guess.
I will still need it in the future to update the old projects I am working on to PHP 8.x. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GoofyX Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1667993274460d7f3c3d9d7.png)
Joined: 23 Feb 2005 Posts: 84 Location: Greece
|
Posted: Tue Sep 12, 2023 2:03 pm Post subject: |
|
|
I don't care it will be EOL in 2 months. The point is what it is NOW. And now, it's an officially supported version from upstream. By your logic, 7.4 should have been removed last year in 2022, but it was just recently masked. maybe we should scold the Gentoo devs for not removing it earlier, but I'm grateful (and I'm pretty sure there are others too) that they didn't.
This is irrational. In my opinion, it should be unmasked. _________________ ... 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 |
|
![](templates/gentoo/images/spacer.gif) |
grknight Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 20 Feb 2015 Posts: 1744
|
Posted: Tue Sep 12, 2023 2:11 pm Post subject: |
|
|
Technically, PHP 8.0.X does not have to be masked entirely just yet. Just its ssl USE flag since there is no openssl-3 support for the openssl PHP extension.
Edit: Note that the ssl USE is tied to the openssl functions as well as providing SSL support to ftp, imap, mysql, and phar extensions.
Last edited by grknight on Tue Sep 12, 2023 2:38 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sam_ Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/7738740495f7d1acc45bdb.jpg)
Joined: 14 Aug 2020 Posts: 1721
|
Posted: Tue Sep 12, 2023 2:12 pm Post subject: |
|
|
GoofyX wrote: | sam_ wrote: | Hi!
Could you either delete that PHP_TARGETS line (so you will use the default, which is currently php8-1), or remove the php8-0 bit from it? A world upgrade then depclean should then work OK. | Could you please explain the reasoning behind the masking of PHP 8.0? It's a perfectly supported by upstream (granted, with security fixes, but IT IS supported) and the only one stable slot left is 8.1. Not even 8.2. It's been discussed that 8.0 cannot build with openssl 3.0, so you could prevent using the ssl flag with this specific branch (8.0), instead of masking it all together.
There are developers that need both 7.4 and 8.0 versions. Going that hard way is not a solution. You could at least keep 8.0 alive until its official EOL time. |
Upstream didn't care about OpenSSL 3.x at all for <8.1 and have no intention of fixing it. And it's EOL 2 in months anyway. So it's not really perfectly supported in reality. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GoofyX Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1667993274460d7f3c3d9d7.png)
Joined: 23 Feb 2005 Posts: 84 Location: Greece
|
Posted: Tue Sep 12, 2023 2:32 pm Post subject: |
|
|
sam_ wrote: | Upstream didn't care about OpenSSL 3.x at all for <8.1 and have no intention of fixing it. And it's EOL 2 in months anyway. So it's not really perfectly supported in reality. | It's supported with security fixes (which is pretty big deal anyway). Making it build with openssl 3.0 would mean it would be fully (bugs and feature related) supported.
In any case, for anyone else needing PHP 7.4, 8.0 and openssl-1.1, there's the stefantalpalaru overlay, the packages are there. _________________ ... 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 |
|
![](templates/gentoo/images/spacer.gif) |
SoofMan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/2528038825ee1e1c7a27c0.gif)
Joined: 05 Dec 2008 Posts: 69
|
Posted: Tue Sep 12, 2023 2:40 pm Post subject: |
|
|
GoofyX wrote: | In any case, for anyone else needing PHP 7.4, 8.0 and openssl-1.1, there's the stefantalpalaru overlay, the packages are there. |
Thanks, this will make things much easier than building it myself. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sam_ Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/7738740495f7d1acc45bdb.jpg)
Joined: 14 Aug 2020 Posts: 1721
|
Posted: Tue Sep 12, 2023 2:43 pm Post subject: |
|
|
GoofyX wrote: | sam_ wrote: | Upstream didn't care about OpenSSL 3.x at all for <8.1 and have no intention of fixing it. And it's EOL 2 in months anyway. So it's not really perfectly supported in reality. | It's supported with security fixes (which is pretty big deal anyway). Making it build with openssl 3.0 would mean it would be fully (bugs and feature related) supported.
In any case, for anyone else needing PHP 7.4, 8.0 and openssl-1.1, there's the stefantalpalaru overlay, the packages are there. |
In reality, I'm not sure that really makes sense for many users if you can't run it with a supported OpenSSL version. But you're the admin. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SoofMan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/2528038825ee1e1c7a27c0.gif)
Joined: 05 Dec 2008 Posts: 69
|
Posted: Tue Sep 12, 2023 3:16 pm Post subject: |
|
|
sam_ wrote: | In reality, I'm not sure that really makes sense for many users if you can't run it with a supported OpenSSL version. But you're the admin. |
We don't need to run it anywhere critical.
What we need it for is to update all the super-old PHP7.x and PHP5.x projects to PHP8.x by running old and new version next to each other in order to compare whether they work exactly the same.
It's really damn hard to do properly otherwise you know. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sam_ Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/7738740495f7d1acc45bdb.jpg)
Joined: 14 Aug 2020 Posts: 1721
|
Posted: Tue Sep 12, 2023 3:18 pm Post subject: |
|
|
Oh, yes, I get that bit. I'm just giving why I don't consider it fully supported either. It's reasonable to want a copy around for that. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Banana Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/5204386264b863c6da7ffb.jpg)
Joined: 21 May 2004 Posts: 1478 Location: Germany
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GoofyX Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1667993274460d7f3c3d9d7.png)
Joined: 23 Feb 2005 Posts: 84 Location: Greece
|
Posted: Tue Sep 12, 2023 6:54 pm Post subject: |
|
|
Banana wrote: | Is gentoo now blamed for beeing up to date ? |
This is not what I'm saying. It's just there are cases where old versions are needed, because there are legacy projects, or projects that might run on newer PHP versions, but need testing. In both cases, you need time and money to do that and sometimes you don't have these both. Or use docker, but I must learn it first.
I also maintain a few Debian 11 servers that run on PHP 7.4 and 8.0. They work fine and I'm sure that at least for another 1-2 years I will have support for these old versions, security wise, by the Debian team.
My vps runs on PHP 8.0. If I sync today, I'm in trouble. I will have to test the sites that they indeed run in 8.1 and upgrade (they will probably do, but the need for test is there).
A couple of months ago, PHP was slotted with 7.4, 8.0 and 8.1 and you could switch back and forth easily to test legacy projects. After today, there's only 8.1 (8.2 is still in testing). The slots are powerful and I really like them, but such actions as masking old "unsupported" versions ruin their purpose.
The PHP lifecycle sucks. Every version is only supported for 3 years. There is no LTS version and after the 3-year period, you are literally f....d, you are on your own. They must really do something about it. _________________ ... 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 |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 21918
|
Posted: Tue Sep 12, 2023 7:41 pm Post subject: |
|
|
PHP 8.1.0 was added to the Gentoo tree in November 2021. You have now had ~22 months during which you could update to php-8.1.x and test it out. As noted earlier in the thread, php-8.0.x is on its way out. By your stated timeline, it will be end-of-life by the end of the year. You should plan to be off it before end-of-life occurs, so that if a last minute problem delays your migration, you still have time to complete it before end-of-life.
Old versions are masked as unsupported when they are infeasible to support. In this case, PHP upstream elected not to patch php-8.0.x to work with new OpenSSL-3. Therefore, any system that wants openssl-3 needs to remove <php-8.1[ssl]. If PHP upstream had backported support for openssl-3, or if openssl-3 was drop-in compatible with openssl-1 such that php upstream did not need to backport anything, then it is likely the Gentoo maintainers would not have placed this mask at this time.
Given the bad PHP lifecycle, perhaps you should stop using it and find a better supported language. Gentoo is well known for tracking upstream, and part of that is that you should not expect the Gentoo maintainers to provide post-end-of-life support for projects. Sometimes this will be done if necessary to avoid a disaster elsewhere, but there is no policy promising it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|