Bug 2091504

Summary: MC's version sort is broken
Product: [Fedora] Fedora Reporter: Artem S. Tashkinov <aros>
Component: mcAssignee: Jindrich Novy <jnovy>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 36CC: dvlasenk, jnovy, kloczko.tomasz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mc-4.8.28-2.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-03 03:06:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Artem S. Tashkinov 2022-05-30 06:58:44 UTC
Would be great if Fedora's maintainer of MC included the patch for this bug: https://midnight-commander.org/ticket/4374

The commit fixing it: https://github.com/MidnightCommander/mc/commit/34d3726b79d35481e96f5fabe8e34e3439e6d9d9

I'm a stupid idiot who doesn't want to learn shell, git, RPM spec, so please do it instead yourself.

MC 4.8.29 might release in half a year and I don't want this feature to be broken all this time.

Thank you!

Comment 1 Jindrich Novy 2022-05-30 08:46:17 UTC
No problems, happy to help! At least we will test the patch before new upstream version is released.

Comment 2 Fedora Update System 2022-05-30 08:56:54 UTC
FEDORA-2022-50252ec95c has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-50252ec95c

Comment 3 Fedora Update System 2022-06-01 02:28:26 UTC
FEDORA-2022-50252ec95c has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-50252ec95c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-50252ec95c

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

Comment 4 Fedora Update System 2022-06-03 03:06:43 UTC
FEDORA-2022-50252ec95c has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Artem S. Tashkinov 2022-06-04 09:09:42 UTC
This fix unfortunately didn't work as it's turned out that the bug is not only in MC but in the gnulib library that MC uses as well.

Andrew Borodin has posted a new patch but the old one is still required.

https://midnight-commander.org/ticket/4374#comment:18

I don't want to reopen this bug report and I'll leave it to you whether to release a new update.