BIND 10 #1101: log message .py's should be installed under site-packages/isc/

BIND 10 Development do-not-reply at isc.org
Sun Sep 18 22:27:55 UTC 2011


#1101: log message .py's should be installed under site-packages/isc/
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  UnAssigned
  jinmei                             |                Status:  reviewing
                       Type:         |             Milestone:
  defect                             |  Sprint-20110927
                   Priority:  major  |            Resolution:
                  Component:         |             Sensitive:  0
  logging                            |           Sub-Project:  Core
                   Keywords:         |  Estimated Difficulty:  4.0
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by jinmei):

 Replying to [comment:7 jelte]:
 > There is one problem; it works with a build directory when unpacked from
 the tarball, but not with a build directory straight from source, since
 the 'import-work' intermediate files end up in the build dir...

 Hmm, I just confirmed that 'make check' failed if I built it in a
 separate directory (starting from "mkdir _build; cd _build;
 ../configure <options>; make") as follows:

 {{{
 Running test: master_test.py
 Traceback (most recent call last):
   File
 "/Users/jinmei/src/isc/git/bind10-1101/_build/../src/lib/python/isc/datasrc/tests/master_test.py",
 line 16, in <module>
     from isc.datasrc.master import *
   File
 "/Users/jinmei/src/isc/git/bind10-1101/src/lib/python/isc/__init__.py",
 line 3, in <module>
     import isc.config
   File
 "/Users/jinmei/src/isc/git/bind10-1101/src/lib/python/isc/config/__init__.py",
 line 1, in <module>
     from isc.config.ccsession import *
   File
 "/Users/jinmei/src/isc/git/bind10-1101/src/lib/python/isc/config/ccsession.py",
 line 46, in <module>
     from isc.log_messages.config_messages import *
 ImportError: No module named log_messages.config_messages
 }}}

 Is this what you meant?

 (I thought this should work as 'make distcheck' succeeded, but I have to
 confess I haven't checked this case explicitly).

-- 
Ticket URL: <http://bind10.isc.org/ticket/1101#comment:8>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list