Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#51379 - [bind-tools] python required an NOT optional

Attached to Project: Arch Linux
Opened by christophe yayon (cyayon) - Friday, 14 October 2016, 14:40 GMT
Last edited by Sébastien Luttringer (seblu) - Monday, 17 October 2016, 22:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

python is a mandatory dependency for last bind-tools 9.11.0-1 (instead of optionnal).

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
# pacman -R python
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: bind-tools: removing python breaks dependency 'python'
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Monday, 17 October 2016, 22:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  bind 9.11.0-2
Comment by Doug Newgard (Scimmia) - Friday, 14 October 2016, 14:50 GMT
Right. Why do you think this is wrong?
Comment by christophe yayon (cyayon) - Friday, 14 October 2016, 14:54 GMT
Hi,

Because before this release pyhton was not mandatory and in description package URL (https://www.archlinux.org/packages/extra/x86_64/bind-tools/) it's marked as optionnal.
Moreover, i think it's not a good thing :-)

Thanks.
Comment by Dave Reisner (falconindy) - Friday, 14 October 2016, 15:02 GMT
The package metadata is simply wrong...

Depends On : glibc libcap libseccomp libxml2 zlib krb5 e2fsprogs openssl readline geoip idnkit dnssec-anchors json-c python
Optional Deps : python: for python scripts

python is listed in both depends and optdepends.
Comment by christophe yayon (cyayon) - Friday, 14 October 2016, 15:05 GMT
oh, sorry, i not saw duplicate...

Do you plan to keep python as a mandatory dependency ?
I think it's so KISS to maintain this dependency. As soon as it was not in previous version...

Thanks.
Comment by Dave Reisner (falconindy) - Friday, 14 October 2016, 15:14 GMT
I don't plan to do anything. It's not my package. That said:

$ pkgfile -qbl bind-tools | xargs -d $'\n' awk 'FNR == 1 && $0 ~ /python/ { python += 1 } END { printf "%d out of %d bins are python\n", python, ARGC }'
3 out of 26 bins are python

Optional seems appropriate...
Comment by christophe yayon (cyayon) - Friday, 14 October 2016, 20:55 GMT
Thanks for your answer Dave.

What could i do to suggest to keep python only as optionnal ? What is the procedure is this case.

Thanks.
Comment by christophe yayon (cyayon) - Monday, 17 October 2016, 09:08 GMT
oh, sorry, i not saw duplicate...

Do you plan to keep python as a mandatory dependency ?
I think it's so KISS to maintain this dependency. As soon as it was not in previous version...

Thanks.

Loading...