FS#51747 - [namcap] Wrong dependency detection for split packages

Attached to Project: Arch Linux
Opened by NicoHood (NicoHood) - Tuesday, 08 November 2016, 19:19 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Wednesday, 09 November 2016, 21:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

namcap detects wrong missing dependencies for split packages:
python2-kivy-git E: Dependency python detected and not included (programs ['python'] needed in scripts ['usr/lib/python2.7/site-packages/kivy/tools/kviewer.py'])

Samples:
https://gist.github.com/NicoHood/f76dbf1ef51b43afd9881a8b39f0edb4
https://www.archlinux.org/packages/community/any/python-pyusb/
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Wednesday, 09 November 2016, 21:08 GMT
Reason for closing:  Not a bug
Comment by Antonio Rojas (arojas) - Tuesday, 08 November 2016, 20:08 GMT
namcap is right. You need to fix the file's shebang
Comment by NicoHood (NicoHood) - Tuesday, 08 November 2016, 21:40 GMT
Or you are right. I also confused this with an other issue.
So is this shebang an upstream bug or PKGBUILD bug? I think its more a problem of the PKGBUILD as the upstrream source cannot really provide support for both versions in this special script.

The other error I found was this:
PKGBUILD (python-pyusb) E: Missing description in PKGBUILD
When the description is split into the packages and not a global description is used. That makes sense for python2. Have a look at pyusb.
Comment by Bartłomiej Piotrowski (Barthalion) - Wednesday, 09 November 2016, 21:08 GMT
Description is a bug (please report it separately). Fixing shebangs is your job. Closing.

Loading...