Bug#888463: bind9utils

2018-01-26 Thread Ondřej Surý
I moved the bug report to the public queue. Thanks for the patch.

Ondrej
-- 
Ondřej Surý 

On Fri, Jan 26, 2018, at 13:27, Andreas Hasenack wrote:
> Suggested patch attached.
> 
> The ISC bug I just opened is still private, but should be opened up once a
> developer over there reviews it.
> Email had 1 attachment:
> + add-ply-dependency-to-python-scripts.patch
>   1k (text/x-patch)



Bug#888463: bind9utils

2018-01-26 Thread Andreas Hasenack
Suggested patch attached.

The ISC bug I just opened is still private, but should be opened up once a
developer over there reviews it.
Description: Add the required ply python module as a dependency
 python3-ply is required by the python scripts, but not declared as a
 dependency.
Author: Andreas Hasenack 
Bug: https://bugs.isc.org/Public/Bug/Display.html?id=47065
Bug-Debian: https://bugs.debian.org/888463
Last-Update: 2018-01-26
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/bin/python/setup.py
+++ b/bin/python/setup.py
@@ -14,4 +14,5 @@
   author='Internet Systems Consortium, Inc',
   author_email='bind9-b...@isc.org',
   license='ISC',
+  requires=['ply'],
   packages=['isc'])


Bug#888463: bind9utils: missing python3-ply dependency for python scripts

2018-01-25 Thread Andreas Hasenack
Package: bind9utils
Version: 1:9.11.2.P1-1
Severity: normal

Dear Maintainer,

The bind9utils package is missing a runtime dependency on python3-ply. For
some reason, it wasn't included automatically during the package build
process.

root@sid-bind9-ply3-depends:~# dpkg -s bind9utils|grep ^Depends|grep
python3-ply
root@sid-bind9-ply3-depends:~#

If you install bind9utils without python3-ply, the scripts will fail like
this:
root@sid-bind9-ply3-depends:~# dnssec-checkds
Traceback (most recent call last):
  File "/usr/sbin/dnssec-checkds", line 18, in 
import isc.checkds
  File "/usr/lib/python3/dist-packages/isc/__init__.py", line 17, in

from isc.keyseries import *
  File "/usr/lib/python3/dist-packages/isc/keyseries.py", line 13, in

from .policy import *
  File "/usr/lib/python3/dist-packages/isc/policy.py", line 10, in 
import ply.lex as lex
ModuleNotFoundError: No module named 'ply'

The three scripts are:
/usr/sbin/dnssec-checkds
/usr/sbin/dnssec-coverage
/usr/sbin/dnssec-keymgr


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.13.0-31-generic (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bind9utils depends on:
ii  libbind9-160  1:9.11.2.P1-1
ii  libc6 2.26-5
ii  libcap2   1:2.25-1.2
ii  libcomerr21.43.8-2
ii  libdns169 1:9.11.2.P1-1
ii  libgeoip1 1.6.12-1
ii  libgssapi-krb5-2  1.16-2
ii  libisc166 1:9.11.2.P1-1
ii  libisccc160   1:9.11.2.P1-1
ii  libisccfg160  1:9.11.2.P1-1
ii  libjson-c30.12.1-1.3
ii  libk5crypto3  1.16-2
ii  libkrb5-3 1.16-2
ii  liblmdb0  0.9.21-1
ii  libssl1.1 1.1.0g-2
ii  libxml2   2.9.4+dfsg1-6.1
ii  python3   3.6.4-1

bind9utils recommends no packages.

bind9utils suggests no packages.

-- no debconf information