bundy icon indicating copy to clipboard operation
bundy copied to clipboard

Build issue: "_typeobject::tp_finalize"

Open TimJSwan89 opened this issue 6 years ago • 0 comments

$ uname -a
Linux timothy-VirtualBox 4.13.0-38-generic #43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build error log:

...
Making all in python
make[6]: Entering directory '/home/timothy/Desktop/bundy/src/lib/dns/python'
Making all in .
make[7]: Entering directory '/home/timothy/Desktop/bundy/src/lib/dns/python'
  CXX      libb10_pydnspp_la-pydnspp_common.lo
  CXX      libb10_pydnspp_la-name_python.lo
name_python.cc:610:1: error: missing initializer for member ‘_typeobject::tp_finalize’ [-Werror=missing-field-initializers]
 };
 ^
name_python.cc:665:1: error: missing initializer for member ‘_typeobject::tp_finalize’ [-Werror=missing-field-initializers]
 };
 ^
cc1plus: all warnings being treated as errors
Makefile:699: recipe for target 'libb10_pydnspp_la-name_python.lo' failed
make[7]: *** [libb10_pydnspp_la-name_python.lo] Error 1
...

To reproduce:

git clone https://github.com/bundy-dns/bundy.git
cd bundy/
git checkout 52101dfd4fb6a648927596799461f829ec05eaa2 # Tag 7 Apr 2014 bind10-1.2.0rc1-release
sed -i -e "645s/rdlen/int(rdlen)/g" src/lib/util/python/gen_wiredata.py
autoreconf -i
./configure --disable-generate-docs
make

TimJSwan89 avatar Apr 13 '18 21:04 TimJSwan89