Referenced library 'python' is an uninstalled dependency
Task Info (Flyspray) | |
---|---|
Opened By | Eric Langlois (elanglois) |
Task ID | 66430 |
Type | Bug Report |
Project | Arch Linux |
Category | Arch Projects |
Version | None |
OS | All |
Opened | 2020-04-26 21:44:30 UTC |
Status | Assigned |
Assignee | Kyle Keen (keenerd) |
Details
Description: When running namcap on a PKGBUILD for a python script I get the following output:
helloworld W: Referenced library 'python' is an uninstalled dependency helloworld I: Script link detected (python) in file ['usr/bin/helloworld'] helloworld W: Dependency included and not needed ('python') helloworld I: Depends as namcap sees them: depends=()
"python" is listed as a dependency in the PKGBUILD and is installed.
namcap seems to be contradictory, claiming python is both present and not?
I'm not sure why it thinks python is a library but find /usr/lib -name '*python.so*'
finds nothing.
This is all being run in an Arch Linux docker container with a minimal install A standalone repository with the PKGBUILD and a github action to run the namcap test is here: https://github.com/edlanglois/namcap-python-warning-standalone
I have attached the relevant log file from the action. It shows the complete list of installed packages before running namcap.
The blank output after *** PYTHON LIBRARIES *** is the output produced by find /usr/lib -name '*python.so*'
If I download the resulting package archive file onto my personal computer (which has many more installed packages) then namcap produces no output on it.
Additional info:
- namcap version 3.2.10-1
- Possibly related to https://bugs.archlinux.org/task/58291
Steps to reproduce: See https://github.com/edlanglois/namcap-python-warning-standalone/blob/master/entrypoint.sh https://github.com/edlanglois/namcap-python-warning-standalone/runs/620509599?check_suite_focus=true