BIND 10 #2747: left over .pyo files

BIND 10 Development do-not-reply at isc.org
Fri Feb 15 02:24:39 UTC 2013


#2747: left over .pyo files
-------------------------------------+-------------------------------------
                   Reporter:  jreed  |                 Owner:
                       Type:         |                Status:  new
  defect                             |             Milestone:  New Tasks
                   Priority:         |              Keywords:
  medium                             |             Sensitive:  0
                  Component:         |           Sub-Project:  Core
  Unclassified                       |  Estimated Difficulty:  0
               CVSS Scoring:         |           Total Hours:  0
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 See my old
 https://lists.isc.org/pipermail/bind10-changes/2012-March/009139.html
 that is my commit a8486dda670bf22c27c7cb2ee95b84cc53c1fc08

 I saw the similar problem today with python 3.1.2.
 http://git.bind10.isc.org/~tester/builder/BIND10-distcheck/20130215010523-FreeBSD8-i386/logs/distcheck.out
 {{{
 ERROR: files left in build directory after distclean:
 ./src/lib/python/isc/log_messages/work/pycc_messages.pyo
 }}}

 The workaround (untested) is probably:

 {{{
 diff --git a/src/lib/python/isc/cc/Makefile.am
 b/src/lib/python/isc/cc/Makefile.am
 index f7c5b00..fe7d747 100644
 --- a/src/lib/python/isc/cc/Makefile.am
 +++ b/src/lib/python/isc/cc/Makefile.am
 @@ -7,6 +7,7 @@ pylogmessagedir = $(pyexecdir)/isc/log_messages/

  CLEANFILES = $(PYTHON_LOGMSGPKG_DIR)/work/pycc_messages.py
  CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/pycc_messages.pyc
 +CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/pycc_messages.pyo

  EXTRA_DIST = pycc_messages.mes proto_defs.py
 }}}

 But we have many other CLEANFILES like the same without the .pyo.

 This ticket is to investigate why they are left around and to fix it.

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


More information about the bind10-tickets mailing list