Re: [gentoo-user] dns/bind-tools 9.14 -> 9.16 pulling in 17 new dependencies?!
On 2020-07-20 11:31, Alarig Le Lay wrote: > On Mon 20 Jul 2020 16:20:47 GMT, Neil Bothwick wrote: >> Including the man page in the files directory would avoid this, although >> I don't know if this is considered good practice. > > Perhaps adding a man use flag which enabled by default? > The return-on-investment is too low, since we'd have to hack every upstream build system to support it, and almost everyone wants the man pages anyway. They're tiny, and the package is often unusable without them. These are build-only dependencies so "emerge --depclean" can remove them after you install bind-tools. In a source-based distro, you should probably just get comfortable with having a million build tools installed though.
Re: [gentoo-user] dns/bind-tools 9.14 -> 9.16 pulling in 17 new dependencies?!
On Mon, Jul 20, 2020 at 04:36:05PM +0100, Neil Bothwick wrote: > i don't think that's the issue. The problem is that the man pages are not > included in the upstream package, only the source for them. So if you > want to be able to RTFM, you need a load of dependencies. Perhaps a solution from upstream would be to distribute a simplified groff man page with the program, and then the package managers could enable the documentation requiring Sphinx only when the `doc` flag is set. It seems like pre-9.16 versions distributed a lot of basic man pages for all the various tools [1]. These have disappeared in recent versions. $ find bind-9.14.12/ -regextype sed -regex "^.*[a-zA-Z][^0-9]*\.[0-9]$" -type f bind-9.14.12/bin/dnssec/dnssec-dsfromkey.8 bind-9.14.12/bin/dnssec/dnssec-verify.8 bind-9.14.12/bin/dnssec/dnssec-importkey.8 bind-9.14.12/bin/dnssec/dnssec-keygen.8 bind-9.14.12/bin/dnssec/dnssec-revoke.8 bind-9.14.12/bin/dnssec/dnssec-cds.8 bind-9.14.12/bin/dnssec/dnssec-signzone.8 bind-9.14.12/bin/dnssec/dnssec-keyfromlabel.8 bind-9.14.12/bin/dnssec/dnssec-settime.8 bind-9.14.12/bin/delv/delv.1 bind-9.14.12/bin/tests/system/checkconf/dnssec.3 bind-9.14.12/bin/tests/system/checkconf/dnssec.2 bind-9.14.12/bin/tests/system/checkconf/dnssec.1 bind-9.14.12/bin/tests/system/statschannel/traffic.expect.5 bind-9.14.12/bin/tests/system/statschannel/traffic.expect.6 bind-9.14.12/bin/tests/system/statschannel/traffic.expect.2 bind-9.14.12/bin/tests/system/statschannel/traffic.expect.4 bind-9.14.12/bin/tests/system/statschannel/traffic.expect.1 bind-9.14.12/bin/tests/system/addzone/ns2/redirect.db.1 bind-9.14.12/bin/tests/system/addzone/ns2/redirect.db.2 bind-9.14.12/bin/tests/system/addzone/ns1/redirect.db.1 bind-9.14.12/bin/tests/system/addzone/ns1/redirect.db.2 bind-9.14.12/bin/tests/system/addzone/ns3/redirect.db.1 bind-9.14.12/bin/tests/system/addzone/ns3/redirect.db.2 bind-9.14.12/bin/confgen/ddns-confgen.8 bind-9.14.12/bin/confgen/rndc-confgen.8 bind-9.14.12/bin/named/named.conf.5 bind-9.14.12/bin/named/named.8 bind-9.14.12/bin/python/dnssec-checkds.8 bind-9.14.12/bin/python/dnssec-keymgr.8 bind-9.14.12/bin/python/dnssec-coverage.8 bind-9.14.12/bin/dig/host.1 bind-9.14.12/bin/dig/dig.1 bind-9.14.12/bin/dig/nslookup.1 bind-9.14.12/bin/check/named-checkzone.8 bind-9.14.12/bin/check/named-checkconf.8 bind-9.14.12/bin/tools/named-journalprint.8 bind-9.14.12/bin/tools/mdig.1 bind-9.14.12/bin/tools/dnstap-read.1 bind-9.14.12/bin/tools/named-rrchecker.1 bind-9.14.12/bin/tools/nsec3hash.8 bind-9.14.12/bin/tools/arpaname.1 bind-9.14.12/bin/tools/named-nzd2nzf.8 bind-9.14.12/bin/plugins/filter-.8 bind-9.14.12/bin/nsupdate/nsupdate.1 bind-9.14.12/bin/pkcs11/pkcs11-keygen.8 bind-9.14.12/bin/pkcs11/pkcs11-tokens.8 bind-9.14.12/bin/pkcs11/pkcs11-list.8 bind-9.14.12/bin/pkcs11/pkcs11-destroy.8 bind-9.14.12/bin/rndc/rndc.conf.5 bind-9.14.12/bin/rndc/rndc.8 bind-9.14.12/isc-config.sh.1 $ find bind-9.16.4/ -regextype sed -regex "^.*[a-zA-Z][^0-9]*\.[0-9]$" -type f bind-9.16.4/bin/tests/system/checkconf/dnssec.3 bind-9.16.4/bin/tests/system/checkconf/dnssec.2 bind-9.16.4/bin/tests/system/checkconf/dnssec.1 bind-9.16.4/bin/tests/system/statschannel/traffic.expect.5 bind-9.16.4/bin/tests/system/statschannel/traffic.expect.6 bind-9.16.4/bin/tests/system/statschannel/traffic.expect.2 bind-9.16.4/bin/tests/system/statschannel/traffic.expect.4 bind-9.16.4/bin/tests/system/statschannel/traffic.expect.1 bind-9.16.4/bin/tests/system/addzone/ns2/redirect.db.1 bind-9.16.4/bin/tests/system/addzone/ns2/redirect.db.2 bind-9.16.4/bin/tests/system/addzone/ns1/redirect.db.1 bind-9.16.4/bin/tests/system/addzone/ns1/redirect.db.2 bind-9.16.4/bin/tests/system/addzone/ns3/redirect.db.1 bind-9.16.4/bin/tests/system/addzone/ns3/redirect.db.2 [1] https://downloads.isc.org/isc/bind9/9.14.12/bind-9.14.12.tar.gz -- Ashley Dixon suugaku.co.uk 2A9A 4117 DA96 D18A 8A7B B0D2 A30E BF25 F290 A8AA signature.asc Description: PGP signature
Re: [gentoo-user] dns/bind-tools 9.14 -> 9.16 pulling in 17 new dependencies?!
On Mon, 20 Jul 2020 17:31:04 +0200, Alarig Le Lay wrote: > > Including the man page in the files directory would avoid this, > > although I don't know if this is considered good practice. > > Perhaps adding a man use flag which enabled by default? i don't think that's the issue. The problem is that the man pages are not included in the upstream package, only the source for them. So if you want to be able to RTFM, you need a load of dependencies. -- Neil Bothwick "Daddy, what does formatting drive 'C' mean? pgpYpAuaXa816.pgp Description: OpenPGP digital signature
Re: [gentoo-user] dns/bind-tools 9.14 -> 9.16 pulling in 17 new dependencies?!
On Mon 20 Jul 2020 16:20:47 GMT, Neil Bothwick wrote: > Including the man page in the files directory would avoid this, although > I don't know if this is considered good practice. Perhaps adding a man use flag which enabled by default? -- Alarig
Re: [gentoo-user] dns/bind-tools 9.14 -> 9.16 pulling in 17 new dependencies?!
On Mon, 20 Jul 2020 15:52:56 +0100, Ashley Dixon wrote: > > Does bind-tools really need packages like sphinxcontrib-qthelp, > > sphinxcontrib-applehelp, sphinxcontrib-jsmath, > > sphinxcontrib-htmlhelp? > > All of these are unfortunate consequences of Sphinx's hefty dependency > list [3]. It seems that as the manual pages are installed with the > package (regardless of the `doc` USE-flag), That's to be expected, the doc flag is supposed to control the installation of extra documentation. > there is no way of > mitigating this dependency bloat with the bind-tools 9.16 series. > Hopefully this can be addressed by the developers in future. Including the man page in the files directory would avoid this, although I don't know if this is considered good practice. -- Neil Bothwick Man and mouse are alike, both end up in pussy :) pgpQkpJ1S9Xtc.pgp Description: OpenPGP digital signature
Re: [gentoo-user] dns/bind-tools 9.14 -> 9.16 pulling in 17 new dependencies?!
On Mon, Jul 20, 2020 at 02:39:48PM -, Grant Edwards wrote: > During my regular update, I see that net-dns/bind-tools is upgrading > from 9.14 to 9.16, and that's triggering the installation of _17_ new > packages (all apparently related to sphinx and Babel). > > Is this sort of dependency bloat really necessary? > > The "doc" flag for bind-tools is not set, so why does it demand that > sphinx be installed? Sphinx is required (BDEPEND [1]) to build the man page, as commented in the ebuild [2]: # sphinx required for man-page and html creation BDEPEND="${PYTHON_DEPS} dev-python/sphinx virtual/pkgconfig" > Does bind-tools really need packages like sphinxcontrib-qthelp, > sphinxcontrib-applehelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp? All of these are unfortunate consequences of Sphinx's hefty dependency list [3]. It seems that as the manual pages are installed with the package (regardless of the `doc` USE-flag), there is no way of mitigating this dependency bloat with the bind-tools 9.16 series. Hopefully this can be addressed by the developers in future. [1] https://devmanual.gentoo.org/general-concepts/dependencies/#build-dependencies [2] https://gitweb.gentoo.org/repo/gentoo.git/tree/net-dns/bind-tools/bind-tools-9.16.4.ebuild#n39 [3] https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/sphinx/sphinx-3.1.2.ebuild#n23 -- Ashley Dixon suugaku.co.uk 2A9A 4117 DA96 D18A 8A7B B0D2 A30E BF25 F290 A8AA signature.asc Description: PGP signature
[gentoo-user] dns/bind-tools 9.14 -> 9.16 pulling in 17 new dependencies?!
During my regular update, I see that net-dns/bind-tools is upgrading from 9.14 to 9.16, and that's triggering the installation of _17_ new packages (all apparently related to sphinx and Babel). Is this sort of dependency bloat really necessary? The "doc" flag for bind-tools is not set, so why does it demand that sphinx be installed? Does bind-tools really need packages like sphinxcontrib-qthelp, sphinxcontrib-applehelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp? -- Grant