FS#79700 - [kismet] PKGBUILD use libraries as dep instead of package

Attached to Project: Arch Linux
Opened by solsTiCe (zebul666) - Friday, 15 September 2023, 14:08 GMT
Last edited by Toolybird (Toolybird) - Friday, 15 September 2023, 21:27 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

At each major upgrade of protobuf or any other libraries listed in the *depends" array of the PKGBUILD, you have to remove and rebuilt yourself kismet package if you want to continue using it.

Isn't that bad practice to list libraries in *depends*? Why is that listing the package in depends not enough? or not good?

I am now using this for the kismet-git package:
depends=('bluez-libs'
'gcc-libs'
'glibc'
'libcap'
'libelf'
'libnl'
'libnm'
'libcap-ng'
'libnm'
'libpcap'
'libusb'
'libwebsockets'
'lm_sensors'
'mosquitto'
'pcre'
'protobuf'
'protobuf-c'
'python'
'python-protobuf'
'python-pyserial'
'python-numpy'
'python-websockets'
'sqlite'
'systemd'
'zlib')
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 15 September 2023, 21:27 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See comments
Comment by Antonio Rojas (arojas) - Friday, 15 September 2023, 14:44 GMT
"At each major upgrade of protobuf or any other libraries listed in the *depends" array of the PKGBUILD, you have to remove and rebuilt yourself kismet package if you want to continue using it."

No, you don't. The package is rebuilt when needed, as it was last time protobuf was updated. Can you elaborate what is the actual issue you're reporting?
Comment by solsTiCe (zebul666) - Friday, 15 September 2023, 15:20 GMT
Ok, then you can close this. But is it really needed to depend on the lib and not the package ?
Comment by loqs (loqs) - Friday, 15 September 2023, 19:40 GMT Comment by solsTiCe (zebul666) - Friday, 15 September 2023, 20:50 GMT
None. I removed kismet after `pacman -Syu` complained. I should have have waited a bit more, it seems. And be more patient.

And I was thinking that depending on libraries was overkill. But, if it is some new defaults....

I was not really familiar with than feature. or the new autdeps one.

Never mind

Loading...