[Python-modules-team] Bug#810260: Bug#810260: python-getdns: FTBFS: error: "GETDNS_TRANSPORT_STARTTLS" undeclared
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Fri Jan 8 01:37:34 UTC 2016
Control: reassign 810260 getdns
Control: affects 810260 python-getdns
Control: retitle backward-incompatible API change in getdns 0.9.0
In https://bugs.debian.org/810260, Chris Lamb wrote:
> Source: python-getdns
> Version: 0.5.0-1
> Severity: serious
> Justification: fails to build from source
> User: reproducible-builds at lists.alioth.debian.org
> Usertags: ftbfs
> X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
>
> Dear Maintainer,
>
> python-getdns fails to build from source in unstable/amd64:
>
> [..]
>
> debian/rules override_dh_auto_build
> make[1]: Entering directory '/home/lamby/temp/cdt.20160107183847.CqL8VbfjsW/python-getdns-0.5.0'
> dh_auto_build -a
> I: pybuild base:184: /usr/bin/python setup.py build
> running build
> running build_ext
> building 'getdns' extension
> creating build
> creating build/temp.linux-x86_64-2.7
> x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c getdns.c -o build/temp.linux-x86_64-2.7/getdns.o -g
> x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c pygetdns_util.c -o build/temp.linux-x86_64-2.7/pygetdns_util.o -g
> x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c context.c -o build/temp.linux-x86_64-2.7/context.o -g
> context.c: In function ‘context_set_dns_transport_list’:
> context.c:878:68: error: ‘GETDNS_TRANSPORT_STARTTLS’ undeclared (first use in this function)
> if ((transport < GETDNS_TRANSPORT_UDP) || (transport > GETDNS_TRANSPORT_STARTTLS)) {
> ^
> context.c:878:68: note: each undeclared identifier is reported only once for each function it appears in
> error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
> E: pybuild pybuild:274: build: plugin distutils failed with: exit code=1: /usr/bin/python setup.py build
> dh_auto_build: pybuild --build -i python{version} -p 2.7 --dir . returned exit code 13
> debian/rules:9: recipe for target 'override_dh_auto_build' failed
> make[1]: *** [override_dh_auto_build] Error 25
> make[1]: Leaving directory '/home/lamby/temp/cdt.20160107183847.CqL8VbfjsW/python-getdns-0.5.0'
> debian/rules:6: recipe for target 'build' failed
> make: *** [build] Error 2
>
> [..]
>
> The full build log is attached.
This appears to be due to an unnoticed API change in libgetdns 0.9.0,
sorry about that. I've just raised the issue with upstream, hopefully
we can get it resolved promptly.
--dkg
More information about the Python-modules-team
mailing list