Package: dnstwist
Version: 0~20200424-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Note: Using FTBTS tag since it's the closest thing we have to this
(since autopkgtest failures block testing migration).

>From the autopkgtest log with python3-dnspython 2.0.0-1:

autopkgtest [11:09:49]: test testdebiandomain:  - - - - - - - - - - results - - 
- - - - - - - -
testdebiandomain     FAIL stderr: /usr/bin/dnstwist:618: DeprecationWarning: 
please use dns.resolver.Resolver.resolve() instead
autopkgtest [11:09:49]: test testdebiandomain:  - - - - - - - - - - stderr - - 
- - - - - - - -
/usr/bin/dnstwist:618: DeprecationWarning: please use 
dns.resolver.Resolver.resolve() instead
  domain['dns-ns'] = self.answer_to_list(resolv.query(domain['domain-name'], 
'NS'))
/usr/bin/dnstwist:630: DeprecationWarning: please use 
dns.resolver.Resolver.resolve() instead
  domain['dns-a'] = self.answer_to_list(resolv.query(domain['domain-name'], 
'A'))
/usr/bin/dnstwist:638: DeprecationWarning: please use 
dns.resolver.Resolver.resolve() instead
  domain['dns-aaaa'] = self.answer_to_list(resolv.query(domain['domain-name'], 
'AAAA'))
/usr/bin/dnstwist:647: DeprecationWarning: please use 
dns.resolver.Resolver.resolve() instead
  domain['dns-mx'] = self.answer_to_list(resolv.query(domain['domain-name'], 
'MX'))
autopkgtest [11:09:49]: @@@@@@@@@@@@@@@@@@@@ summary
testdebiandomain     FAIL stderr: /usr/bin/dnstwist:618: DeprecationWarning: 
please use dns.resolver.Resolver.resolve() instead

Since it's just a warning, this could be worked around by allowing
stderr output during the test.  Unless you object, I'll probably do an
NMU to do that since this will block dnspython testing migration.  I'll
post a diff to the bug before I do.

In the longer run, porting to the new .resolve class is a better
solution and is usually pretty trivial (s/query/resolve//).

Scott K

-- System Information:
Debian Release: 10.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-10-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= 
(charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to