Description of problem: wxGetLinuxDistributionInfo() is used by the KiCad package to gather release information for bug reports. wxGetLinuxDistributionInfo() uses /usr/bin/lsb_release to get that data, but /usr/bin/lsb_release is owned by the redhat-lsb-core package, which is not generally installed on user's machines. I've added a weak dependency in KiCad to pull in redhat-lsb-core, but that pulls in a vast amount of other unnecessary things, like a sendmail provider, which is causing complaints among KiCad users. As suggested on the devel mailing list [1], wxGetLinuxDistributionInfo() could be altered to instead read the information directly from os-release(5). I don't know if that is something the wxGTK upstream would consider, or if it could be a patch on the Fedora wxGTK package. I'm willing to help out with this proposal. [1] https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/WE55P2AVNHQEEIAFUTKTRWVOCMUVULGB/ Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Call wxGetLinuxDistributionInfo() without having redhad-lsb-core installed 2. Notice that the distribution information is blank Actual results: Expected results: Additional info:
FWIW the code in wxGetLinuxDistributionInfo() is from 2013, when LSB was still a thing, so I think upstream might be willing to modernize it :-)
Hi, I will provide redhad-lsb-core soon in epel 9, redhat-lsb-4.1-61.fc39 was built Mon, 10 Apr 2023 I hope start supporting lsb-5.0 man lsb_release for more information , I also have a couple of tickets to review ...
Submitted PR upstream: https://github.com/wxWidgets/wxWidgets/pull/23712
This has been implemented in Rawhide.
Thank you, Scott - I appreciate your help!
FYI lsb-5.0 is arriving to epel9 https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-336dbb57e0