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

rpmlint: command not found #98

Closed
ximon18 opened this issue Jan 2, 2024 · 0 comments · Fixed by #99
Closed

rpmlint: command not found #98

ximon18 opened this issue Jan 2, 2024 · 0 comments · Fixed by #99
Labels
bug Something isn't working rpm

Comments

@ximon18
Copy link
Member

ximon18 commented Jan 2, 2024

This issue started occurring in the Ploutos weekly self-tests, e.g. from https://github.com/NLnetLabs/ploutos-testing/actions/runs/7235128698/job/19712251960:

+ rpmlint --version
/__w/_temp/1b089934-9321-4e2b-bc07-db8db288747e.sh: line 129: rpmlint: command not found

The underlying cause is an installation failure, which for some reason doesn't cause the job to abort:

+ pip3 install python-magic rpmlint
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
The directory '/github/home/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/github/home/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting python-magic
  Downloading https://files.pythonhosted.org/packages/6c/73/9f872cb81fc5c3bb48f7227872c28975f998f3e7c2b1c16e95e6432bbb90/python_magic-0.4.27-py2.py3-none-any.whl
Collecting rpmlint
  Downloading https://files.pythonhosted.org/packages/c3/a8/dc6436df1f2dd1ebe27ee22ae263c8a55fa588223a19df9bd2194f054634/rpmlint-2.5.0.tar.gz (5.9MB)
  Running setup.py (path:/tmp/pip-build-g7y7yq_q/rpmlint/setup.py) egg_info for package rpmlint produced metadata for project name unknown. Fix your #egg=rpmlint fragments.
Installing collected packages: python-magic, unknown
  Running setup.py install for unknown: started
    Running setup.py install for unknown: finished with status 'done'
Successfully installed python-magic-0.4.27 unknown-0.0.0
@ximon18 ximon18 added bug Something isn't working rpm labels Jan 2, 2024
@ximon18 ximon18 mentioned this issue Jan 3, 2024
19 tasks
@ximon18 ximon18 linked a pull request Jan 3, 2024 that will close this issue
19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rpm
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant