BIND 10 #2628: python missing IPv6 support

BIND 10 Development do-not-reply at isc.org
Thu Jan 10 23:08:18 UTC 2013


#2628: python missing IPv6 support
-------------------------------------+-------------------------------------
                   Reporter:  jreed  |                 Owner:  UnAssigned
                       Type:         |                Status:  new
  defect                             |             Milestone:  New Tasks
                   Priority:         |              Keywords:
  medium                             |             Sensitive:  0
                  Component:         |           Sub-Project:  DNS
  libdns++                           |  Estimated Difficulty:  0
               CVSS Scoring:         |           Total Hours:  0
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 I am fine with stalling or closing this ticket for now. But I am entering
 these details so that someone searching about a failure will have notes
 about it.

 If python is missing IPv6 support, the build will fail with:

 {{{
 message_fromWire19.wire
 ../../../../../../src/lib/dns/tests/testdata/message_fromWire19.spec
 Traceback (most recent call last):
   File "../../../../../src/lib/util/python/gen_wiredata.py", line 1275, in
 <module>
     obj.dump(output)
   File "../../../../../src/lib/util/python/gen_wiredata.py", line 691, in
 dump
     bin_address = socket.inet_pton(socket.AF_INET6, self.address)
 socket.error: can't use AF_INET6, IPv6 is disabled
 *** Error code 1
 }}}

 Or tests may fail like:

 {{{
 [ RUN      ] MessageTest.fromWireCombineRRs
 unknown file: Failure
 C++ exception with description "IN/AAAA RDATA construction from wire
 failed: insufficient buffer length: 0" thrown in the test body.
 [  FAILED  ] MessageTest.fromWireCombineRRs (1 ms)
 [ RUN      ] MessageTest.fromWirePreserveAnswer
 unknown file: Failure
 C++ exception with description "IN/AAAA RDATA construction from wire
 failed: insufficient buffer length: 0" thrown in the test body.
 [  FAILED  ] MessageTest.fromWirePreserveAnswer (1 ms)
 }}}

-- 
Ticket URL: <https://bind10.isc.org/ticket/2628>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list