Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fedora-review rpmlint fails to run on installed RPMs #3569

Open
FaramosCZ opened this issue Jan 3, 2025 · 2 comments
Open

fedora-review rpmlint fails to run on installed RPMs #3569

FaramosCZ opened this issue Jan 3, 2025 · 2 comments
Assignees
Labels

Comments

@FaramosCZ
Copy link

I run into this problem every time. The rpmlint is called but seems to effectively do nothing as it can't reach the files to be checked.

rpmlint:
(none): E: there is no installed rpm xxx
(none): E: there is no installed rpm yyy
(none): E: there is no installed rpm zzz
...
There are no files to process nor additional arguments.
Nothing to do, aborting.
...
0 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 filtered, 0 badness; has taken 0.0 s 
...

Here I prepared an example on a trivial package:
https://download.copr.fedorainfracloud.org/results/mschorm/mariadb-connector-odbc/fedora-rawhide-x86_64/08467147-mariadb-connector-odbc/fedora-review/fedora-review.log.gz

INFO: Running in chroot: ["echo 'rpmlint:'; rpmlint --installed mariadb-connector-odbc mariadb-connector-odbc-debuginfo; echo 'rpmlint-done:'"]
Start: chroot ["echo 'rpmlint:'; rpmlint --installed mariadb-connector-odbc mariadb-connector-odbc-debuginfo; echo 'rpmlint-done:'"]
rpmlint:
(none): E: there is no installed rpm "mariadb-connector-odbc".
(none): E: there is no installed rpm "mariadb-connector-odbc-debuginfo".
There are no files to process nor additional arguments.
Nothing to do, aborting.
============================ rpmlint session starts ============================
rpmlint: 2.5.0
configuration:
    /usr/lib/python3.13/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 32, packages: 2

 0 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 filtered, 0 badness; has taken 0.0 s 
rpmlint-done:
Finish: chroot ["echo 'rpmlint:'; rpmlint --installed mariadb-connector-odbc mariadb-connector-odbc-debuginfo; echo 'rpmlint-done:'"]
Finish: run

01-03 12:07 root         DEBUG        CheckRpmlintInstalled completed: 16.915 seconds
01-03 12:07 root         DEBUG    Running check: CheckRpmlintDebuginfo
01-03 12:07 root         DEBUG    Run command: rpmlint --ignore-unused-rpmlintrc --rpmlintrc /tmp/tmp6i18tkup /var/lib/copr-rpmbuild/results/mariadb-connector-odbc-debuginfo-3.2.4-1.fc42.x86_64.rpm
01-03 12:07 root         DEBUG        CheckRpmlintDebuginfo completed: 0.524 seconds
@FrostyX
Copy link
Member

FrostyX commented Jan 3, 2025

Thank you @FaramosCZ,
somebody will take a look at this.

First step should probably be testing if this works outside Copr through fedora-reivew alone.

@praiskup praiskup added the bug label Jan 6, 2025
@praiskup
Copy link
Member

praiskup commented Jan 6, 2025

We still need to find where the issue is, and triage.

@praiskup praiskup moved this from Needs triage to In 3 months in CPT Kanban Jan 6, 2025
@praiskup praiskup moved this from In 3 months to In Progress in CPT Kanban Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

No branches or pull requests

3 participants