[oe-users] mysterious .debug dirs
Star Glue
starglue at free.fr
Fri Oct 12 16:07:15 UTC 2007
Ok. After reading that :
http://projects.linuxtogo.org/pipermail/openembedded-devel/2007-March/001594.html
,
I solved the problem adding those lines in the .bb file :
FILES_${PN}-dbg += "/usr/lib/pd/bin/.debug"
FILES_${PN}-dbg += "/usr/lib/pd/extra/.debug"
FILES_${PN}-dbg += "/usr/lib/pd/intern/.debug"
"/usr/lib/pd/..." is the path I found in the QA Issue messages like :
ERROR: QA Issue: non debug package contains .debug directory: pda path
/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/usr/lib/pd/intern/.debug/sfread~.pd_linux
Sorry for disturbing.
Hal
Star Glue a écrit :
> Hello list,
> I'm trying to compile Pure Data Anywhere (an audio application) with OE,
> but the Quality Assurance complains at the do_package task, saying :
>
> ERROR: QA Issue: non debug package contains .debug directory: ...
>
> This is followed by the path of the .debug dir.
>
> I cannot find in the source of Pure Data any line that create those
> .debug dirs (no makedir command ...)
> I think I don't need them but while I don't know how they are created, I
> can't remove them.
> Any help would be appreciated.
> regards,
> Hal
>
> Here is the .bb file :
>
> LICENSE = GPL
> SECTION = "x11"
> PRIORITY = "optional"
> MAINTAINER = "Guenter Geiger <geiger at debian.org>"
> DEPENDS = "x11 xft xtst tk"
> DESCRIPTION = "PDa"
> PR = "r1"
> S="${WORKDIR}/PDa/src"
> SRC_URI = "file:///home/hal/download/PDa-0.7-pre1-src.tgz"
> FILES_${PN} = "${bindir} ${libdir} ${datadir}"
> inherit base package_ipk
> do_build() {
> export X11LIB=${STAGING_LIBDIR}
> oe_runmake -C ${S}
> }
> do_install() {
> oe_runmake -C ${S} DESTDIR=${D} install
> }
>
> Here is a part of the bitbake -D -D output :
>
> DEBUG: Executing task do_package
> DEBUG: update_data()
> NOTE: package pda-1.0-r1: task do_package: started
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/image)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/image)
> DEBUG: No locale files in this package
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/image)
> DEBUG: mkdirhier(/home/hal/angstrom/build/tmp/deploy/glibc)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/image)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/image/usr/lib/pd/bin/.debug)
> DEBUG: created
> /home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/image/usr/lib/pd/bin/.debug
> DEBUG: runstrip: 'arm-angstrom-linux-gnueabi-strip'
> --remove-section=.comment --remove-section=.note
> '/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/image/usr/lib/pd/bin/pd-gui'
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/image/usr/lib/pd/bin/.debug)
> DEBUG: runstrip: 'arm-angstrom-linux-gnueabi-strip'
> --remove-section=.comment --remove-section=.note
> '/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/image/usr/lib/pd/bin/pd-watchdog'
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/image/usr/lib/pd/extra/.debug)
>
> .../... lot of similar lines ...
>
> DEBUG: runstrip: 'arm-angstrom-linux-gnueabi-strip'
> --remove-section=.comment --remove-section=.note
> '/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/image/usr/bin/pd'
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/image/usr/bin/.debug)
> DEBUG: runstrip: 'arm-angstrom-linux-gnueabi-strip'
> --remove-section=.comment --remove-section=.note
> '/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/image/usr/bin/pdsend'
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/image/usr/bin/.debug)
> DEBUG: runstrip: 'arm-angstrom-linux-gnueabi-strip'
> --remove-section=.comment --remove-section=.note
> '/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/image/usr/bin/pdreceive'
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda-dbg)
> DEBUG: created
> /home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda-dbg
> DEBUG: update_data()
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda-dbg/./usr/bin/.debug)
> DEBUG: created
> /home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda-dbg/./usr/bin/.debug
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda-dbg/./usr/bin/.debug)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda-dbg/./usr/bin/.debug)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda)
> DEBUG: created
> /home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda
> DEBUG: update_data()
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/bin)
> DEBUG: created
> /home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/bin
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/bin)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/bin)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/bin)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/share/pixmaps)
> DEBUG: created
> /home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/share/pixmaps
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/share/applications)
> DEBUG: created
> /home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/share/applications
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/bin)
> DEBUG: created
> /home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/bin
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/bin)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/bin)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/extra)
> DEBUG: created
> /home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/extra
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/extra)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/extra)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/extra)
>
> .../... lot of similar lines
>
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/intern)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/intern)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/bin/.debug)
> DEBUG: created
> /home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/bin/.debug
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/bin/.debug)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/extra/.debug)
>
> .../... lot of similar lines ...
>
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/intern/.debug)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/intern/.debug)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/doc/5.reference)
> DEBUG: created
> /home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/doc/5.reference
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/doc/5.reference)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/doc/7.stuff/tools)
> DEBUG: created
> /home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/doc/7.stuff/tools
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/doc/7.stuff/tools)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/./usr/lib/pd/doc/7.stuff/tools)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda-doc)
> DEBUG: created
> /home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda-doc
> DEBUG: update_data()
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda-dev)
> DEBUG: created
> /home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda-dev
> DEBUG: update_data()
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda-dev/./usr/include)
> DEBUG: created
> /home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda-dev/./usr/include
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda-locale)
> DEBUG: created
> /home/hal/angstrom/build/tmp/work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda-locale
> DEBUG: update_data()
> DEBUG: LIBNAMES: pkg pda-dbg libs 0 bins 0 sonames []
> DEBUG: LIBNAMES: pkg pda libs 0 bins 1 sonames []
> DEBUG: LIBNAMES: pkg pda-doc libs 0 bins 0 sonames []
> DEBUG: LIBNAMES: pkg pda-dev libs 0 bins 0 sonames []
> DEBUG: LIBNAMES: pkg pda-locale libs 0 bins 0 sonames []
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/staging/arm-angstrom-linux-gnueabi/shlibs)
> DEBUG: calculating shlib provides for pda-dbg
> DEBUG: calculating shlib provides for pda
> DEBUG: calculating shlib provides for pda-doc
> DEBUG: calculating shlib provides for pda-dev
> DEBUG: calculating shlib provides for pda-locale
> DEBUG: calculating shlib requirements for pda-dbg
> DEBUG: calculating shlib requirements for pda
> NOTE: Couldn't find shared library provider for
> /home/hal/angstrom/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libtk8.4.so
> NOTE: Couldn't find shared library provider for
> /home/hal/angstrom/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libtcl8.4.so
> DEBUG: calculating shlib requirements for pda-doc
> DEBUG: calculating shlib requirements for pda-dev
> DEBUG: calculating shlib requirements for pda-locale
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/staging/arm-angstrom-linux-gnueabi/shlibs)
> DEBUG:
> mkdirhier(/home/hal/angstrom/build/tmp/staging/pkgdata/armv5te-angstrom-linux-gnueabi/runtime)
> NOTE: DO PACKAGE QA
> NOTE: Checking Package: pda-dbg
> NOTE: Checking Package: pda
> ERROR: QA Issue: non debug package contains .debug directory: pda path
> /work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/usr/lib/pd/bin/.debug/pd-gui
> ERROR: QA Issue: non debug package contains .debug directory: pda path
> /work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/usr/lib/pd/bin/.debug/pd-watchdog
>
> .../... lot of Issue pointing to the created directories ...
>
> ERROR: QA Issue: non debug package contains .debug directory: pda path
> /work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/usr/lib/pd/intern/.debug/vsnapshot~.pd_linux
> ERROR: QA Issue: non debug package contains .debug directory: pda path
> /work/armv5te-angstrom-linux-gnueabi/pda-1.0-r1/install/pda/usr/lib/pd/intern/.debug/wrap~.pd_linux
> DEBUG: update_data()
> NOTE: Checking Package: pda-doc
> DEBUG: update_data()
> NOTE: Checking Package: pda-dev
> DEBUG: update_data()
> NOTE: Checking Package: pda-locale
> DEBUG: update_data()
> ERROR: QA run found fatal errors. Please consider fixing them.
> ERROR: Error in executing:
> ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
> ERROR: Printing the environment of the function
> ERROR: Error in executing:
> ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
> ERROR: Printing the environment of the function
> ERROR: Error in executing:
> ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
> ERROR: Printing the environment of the function
> ERROR: Error in executing:
> ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
> ERROR: Printing the environment of the function
>
> _______________________________________________
> Openembedded-users mailing list
> Openembedded-users at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
>
>
>
More information about the Openembedded-users
mailing list