I tried to use rpmdeplint to run test https://fedoraproject.org/wiki/QA:Testcase_Mediakit_Repoclosure on Fedora-Server-dvd-ppc64le-28_Beta-1.3.iso but it fails with the following: rpmdeplint check-repoclosure --repo testdeps,/media /media/Packages/s/systemd* Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/rpmdeplint/__init__.py", line 42, in get_hawkey_package_arch return arch_map[pkg_arch] KeyError: 'ppc64le' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/rpmdeplint", line 11, in <module> load_entry_point('rpmdeplint==1.4', 'console_scripts', 'rpmdeplint')() File "/usr/lib/python3.6/site-packages/rpmdeplint/cli.py", line 232, in main return args.func(args) File "/usr/lib/python3.6/site-packages/rpmdeplint/cli.py", line 73, in cmd_check_repoclosure with dependency_analyzer_from_args(args) as analyzer: File "/usr/lib/python3.6/site-packages/rpmdeplint/cli.py", line 145, in dependency_analyzer_from_args sack_arches = {get_hawkey_package_arch(rpm) for rpm in rpms} - {'noarch'} File "/usr/lib/python3.6/site-packages/rpmdeplint/cli.py", line 145, in <setcomp> sack_arches = {get_hawkey_package_arch(rpm) for rpm in rpms} - {'noarch'} File "/usr/lib/python3.6/site-packages/rpmdeplint/__init__.py", line 46, in get_hawkey_package_arch package_name, pkg_arch)) AttributeError: Architecture was not correctly determined for /media/Packages/s/systemd-238-7.fc28.ppc64le.rpm arch was ppc64le This is failing on ppc64 also
Hmm yes, it seems in rpmdeplint 1.x we have a rather incomplete arch list. It is supposed to be derived from the libsolv archpolicies but it might have been written with a misunderstanding of how the mappings in libsolv work, specifically the "dummy" policies: https://github.com/openSUSE/libsolv/commit/aea953a42d99399938eb6c98a220310aa438c376 I can fix this in rpmdeplint 1.x by expanding it to the full list of known arches. The good news is, in rpmdeplint 2.0 this all goes away and we just let libsolv deal with it instead.
Better yet, if we have no mapping for the arch we should use it as is with no re-mapping. That is what libsolv is doing too. https://gerrit.beaker-project.org/6053
This message is a reminder that Fedora 28 is nearing its end of life. On 2019-May-28 Fedora will stop maintaining and issuing updates for Fedora 28. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '28'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 28 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.