BIND 10 #2720: Test failure in Ubuntu 11.10

BIND 10 Development do-not-reply at isc.org
Tue Feb 12 14:20:27 UTC 2013


#2720: Test failure in Ubuntu 11.10
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:
  stephen                            |                Status:  new
                       Type:         |             Milestone:  New Tasks
  defect                             |              Keywords:
                   Priority:         |             Sensitive:  0
  medium                             |           Sub-Project:  DNS
                  Component:         |  Estimated Difficulty:  0
  Unclassified                       |           Total Hours:  0
               CVSS Scoring:         |
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 Building the latest version of master
 (aff7100abe378e77ed36e6239a82ca483bcd2288) gave the following failure
 during tests:
 {{{
 make[7]: Entering directory
 `/home/stephen/bind10/src/lib/python/isc/acl/tests'
 for pytest in acl_test.py dns_test.py ; do \
         echo Running test: $pytest ; \
 PYTHONPATH=/home/stephen/bind10/src/lib/python/isc/log_messages:/home/stephen/bind10/src/lib/python:/home/stephen/bind10/src/lib/python:/home/stephen/bind10/src/lib/dns/python/.libs:/home/stephen/bind10/src/lib/dns/python/.libs:/home/stephen/bind10/src/lib/isc/python/acl/.libs
 \
          \
         /usr/bin/python3.2
 /home/stephen/bind10/src/lib/python/isc/acl/tests/$pytest || exit ; \
         done
 Running test: acl_test.py
 Traceback (most recent call last):
   File "/home/stephen/bind10/src/lib/python/isc/acl/tests/acl_test.py",
 line 17, in <module>
     from isc.acl.acl import *
   File "/home/stephen/bind10/src/lib/python/isc/acl/__init__.py", line 11,
 in <module>
     import isc.acl.acl
   File "/home/stephen/bind10/src/lib/python/isc/acl/acl.py", line 29, in
 <module>
     from acl import *
 ImportError: /home/stephen/bind10/src/lib/python/isc/acl/.libs/acl.so:
 undefined symbol: _ZNK3isc9Exception4whatEv
 make[7]: *** [check-local] Error 1
 }}}
 This is with gcc version 4.6.1 (!Ubuntu/Linaro 4.6.1-9ubuntu3).

 I'm not clear why the problem has arisen now.  As to the cause, this may
 be a manifestation of the
 [https://lists.isc.org/pipermail/bind10-dev/2011-May/002261.html "libtool"
 problem], discussed on the mailing list in 2011.


 The following change to src/lib/python/isc/acl/Makefile.am appears to fix
 the problem:
 {{{
 diff --git a/src/lib/python/isc/acl/Makefile.am
 b/src/lib/python/isc/acl/Makefile.am
 index 634fadd..4236967 100644
 --- a/src/lib/python/isc/acl/Makefile.am
 +++ b/src/lib/python/isc/acl/Makefile.am
 @@ -28,10 +28,12 @@ _dns_la_CXXFLAGS = $(AM_CXXFLAGS) $(PYTHON_CXXFLAGS)
  # suffix for dynamic objects.  -module is necessary to work this around.
  acl_la_LDFLAGS += -module -avoid-version
  acl_la_LIBADD = $(top_builddir)/src/lib/acl/libb10-acl.la
 +acl_la_LIBADD += $(top_builddir)/src/lib/exceptions/libb10-exceptions.la
  acl_la_LIBADD += $(PYTHON_LIB)

  _dns_la_LDFLAGS += -module -avoid-version
  _dns_la_LIBADD = $(top_builddir)/src/lib/acl/libb10-dnsacl.la
 +_dns_la_LIBADD += $(top_builddir)/src/lib/cc/libb10-cc.la
  _dns_la_LIBADD += $(PYTHON_LIB)

  EXTRA_DIST = acl.py _dns.py

 }}}

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


More information about the bind10-tickets mailing list