[oe-issues] [Bug 2443] New: QA failure for .debug directory in python-cheetah

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Fri Jun 8 07:19:25 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=2443

           Summary: QA failure for .debug directory in python-cheetah
           Product: Openembedded
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: jake at cogini.com
         QAContact: tinderbox-oe at gmx.net


Created an attachment (id=1578)
 --> (http://bugs.openembedded.org/attachment.cgi?id=1578)
Patch to include .debug directory in -dbg package

The FILES mask for the python-cheetah-dbg package does not include
the .debug directory /lib/python2.4/site-packages/Cheetah/.debug. 

The attached patch python-cheetah-debug.patch adds it. 

Something generic might be added to the distutils-base.bbclass
to automatically handle this issue. 

The attached patch distutils-base-debug.patch does this. 
This patch uses a SRCNAME variable to identify the path under
site-packages, i.e. 

FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/${SRCNAME}/.debug"

A lot of module packages don't define this variable, though. 



Here are the build error messages. 

NOTE: Checking Package: python-cheetah
ERROR: QA Issue: non debug package contains .debug directory: python-cheetah
path
/work/mipsel-linux/python-cheetah-1.0-r0/install/python-cheetah/usr/lib/python2.4/site-packages/Cheetah/.debug/_namemapper.so
NOTE: Checking Package: python-cheetah-doc
NOTE: Checking Package: python-cheetah-dev
NOTE: Checking Package: python-cheetah-locale
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Error in executing:
ERROR: Exception:exceptions.SystemExit Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:exceptions.SystemExit Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:exceptions.SystemExit Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:exceptions.SystemExit Message:1
ERROR: Printing the environment of the function
ERROR: Build of
/home/jake/build/oe/org.openembedded.dev/packages/python/python-cheetah_1.0.bb
do_package failed
ERROR: Task 5
(/home/jake/build/oe/org.openembedded.dev/packages/python/python-cheetah_1.0.bb,
do_package) failed


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list