Bug 2129865 - ncurses-compat-lib is not available for F37
Summary: ncurses-compat-lib is not available for F37
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ncurses
Version: 37
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2135400 2144184 2150117 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-26 13:36 UTC by Oleksii Haponiuk
Modified: 2023-01-05 01:17 UTC (History)
11 users (show)

Fixed In Version: ncurses-6.3-4.20220501.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-05 01:17:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Oleksii Haponiuk 2022-09-26 13:36:23 UTC
In Fedora 37 ncurses was updated from 6.2-9 to 6.3-3, but the ncurses-compat-libs package doesn't exist (check https://pkgs.org/download/ncurses-compat-libs or just try `$ sudo dnf install ncurses-compat-libs`). Downgrading ncurses is a nontrivial task because a lot of things depend on it. IMO, ncurses-compat-libs should be added for F37 (which certainly exists for version 6.3-3), or Fedora should stay on version 6.2-9 of ncurses.

Comment 1 Miroslav Lichvar 2022-09-26 13:45:10 UTC
The ncurses-compat-libs subpackage was dropped in 6.3-1, 7 years after the ncurses 6 ABI was introduced in Fedora. There should be no packages in Fedora using the previous ABI. We don't want to keep it in the distro forever. If you have some software using the old ABI, you will need to rebuild it with the current ncurses-devel package.

Comment 2 Miroslav Lichvar 2022-10-17 14:15:16 UTC
*** Bug 2135400 has been marked as a duplicate of this bug. ***

Comment 3 Allann Jones 2022-10-31 12:56:13 UTC
Why not build ncurses with argument --with-abi-version=5 ?

Android AOSP build is dependent of libncurses.so.5

Comment 4 Miroslav Lichvar 2022-10-31 13:07:15 UTC
We were doing that for 7 years. I think that is enough time for all applications that are still maintained to be rebuilt.

As noted in the bug #2135400, AOSP builds with symlinks .so.5 -> so.6.

Comment 5 Miroslav Lichvar 2022-11-21 14:32:09 UTC
*** Bug 2144184 has been marked as a duplicate of this bug. ***

Comment 6 Miroslav Lichvar 2022-12-05 10:20:27 UTC
*** Bug 2150117 has been marked as a duplicate of this bug. ***

Comment 7 Jens Petersen 2022-12-13 12:38:41 UTC
Would it make sense to ship those symlinks in the compat package then?

Comment 8 Zbigniew Jędrzejewski-Szmek 2022-12-13 17:40:11 UTC
I checked the compilation times, and it's 2:30 vs 4:30 on my machine. So a noticeable difference. OTOH, the package builds so quickly that it doesn't really matter.

I'd vote for restoring the compat library too. This is clearly causing problems for many people. Other projects *should* have been updated, but for various reasons, they clearly weren't. Fedora is not just Fedora packages, we also care about what people put on top.

Comment 9 Konrad Schwarz 2022-12-15 15:53:06 UTC
I would also welcome restoring this library.

Comment 10 Oleksii Haponiuk 2022-12-19 13:00:35 UTC
I had a problem installing Xilinx because of this bug, so of course, I would be glad if this library was restored, too.

Comment 11 Bas Mevissen 2022-12-26 12:42:45 UTC
Dear all,

I agree that it in an ideal world would be time to say goodbye to libncurses.so.5. However, a lot of development tools that are only available as binaries do require libncurses.so.5 as they are created to run on a huge number of machines. I myself ran into this issue when trying to compile Android's AOSP. This source tree unfortunately also contains binaries that require said library.

Please consider keeping the libncurses.so.5 supported as long as upstream provides support with the compile flag.

Thanks a lot from a lot of developers running various (big) tools!

I consider this a *severe* bug as it breaks compatibility from previous versions of Fedora without a clear technical advantage. It actually blocks me in progressing in what I'm doing right now.

Comment 12 Dr. Tilmann Bubeck 2022-12-29 13:56:25 UTC
Another software needing libncurses.so.5 is STM32 (https://www.st.com/en/development-tools/stm32cubeide.html#get-software) a development tool to develop for STM32 embedded devices, which is closed source, and can not ve recompiled.

Comment 13 Eric Engle 2023-01-01 16:13:01 UTC
Another software that requires libncurses.so.5 is the Tectia SSH Client from SSH.com.  This software is delivered as RPM packages so there is no way around it.

Comment 14 Miroslav Lichvar 2023-01-02 14:26:59 UTC
Following recommendation from FESCo, the compat-libs subpackage is restored in ncurses-6.3-4.20220501.fc37.

Comment 15 Fedora Update System 2023-01-02 14:39:49 UTC
FEDORA-2023-c6973a909a has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c6973a909a

Comment 16 Bas Mevissen 2023-01-02 22:15:18 UTC
(In reply to Miroslav Lichvar from comment #14)
> Following recommendation from FESCo, the compat-libs subpackage is restored
> in ncurses-6.3-4.20220501.fc37.

Thanks for adding it back. Please keep it in there till at least upstream removes it. I hope it does not cost extra work for you.
In the FESCo meeting, talk was about supporting it until FC40. I fear we may need to support it way longer as the blob vendors may want to support old Ubuntu's that don't have libncurses.so.6 available.

Comment 17 Bas Mevissen 2023-01-02 22:16:20 UTC
(and the package is running fine, I gave karma af Bodhi)

Comment 18 Fedora Update System 2023-01-03 01:09:16 UTC
FEDORA-2023-c6973a909a has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-c6973a909a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-c6973a909a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 19 Fedora Update System 2023-01-05 01:17:27 UTC
FEDORA-2023-c6973a909a has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.