<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Thank you very much for the detailed answer(s) and comments.</div><div class=""><br class=""></div><div class="">My next question would be for some advice where to find more information on topics like</div><div class=""><br class=""></div><div class="">- default splitting policy (settings) </div><div class="">- flags as <span style="color: rgb(0, 249, 0); font-family: 'Andale Mono'; background-color: rgb(0, 0, 0);" class="">INHIBIT_PACKAGE_DEBUG_SPLIT</span></div><div class="">- etc…</div><div class=""><br class=""></div><div class="">May be there is some ‘obvious logic’ in files splits, etc. which would make reading the code easily….</div><div class=""><br class=""></div><div class="">So far, I tried to read the manuals, Yocto book… It looks like those papers are covering well the general ideas and strategies. </div><div class="">But as they say - ‘ the devil is in details’, </div><div class="">And so far, I have hard time to find info on such details… </div><div class=""><br class=""></div><div class="">Once again, thanks for the kind attention to this matter. </div><div class="">And my apology that I put the original message within the wrong list. </div><div class=""><br class=""></div><div class="">Michael.</div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Aug 25, 2014, at 11:46 AM, Khem Raj <<a href="mailto:raj.khem@gmail.com" class="">raj.khem@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">On 14-08-25 10:24:57, Mark Hatle wrote:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">First this is the wrong list. The question should have gone to oe-core<br class="">devel, or openembedded-devel lists. (I have CC'd the first)<br class=""><br class="">On 8/21/14, 9:59 PM,<span class="Apple-converted-space"> </span><a href="mailto:info@sd-kyber.com" class="">info@sd-kyber.com</a><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote type="cite" class="">Hi,<br class="">I’m trying to write ( and to use ) a recipe which should build a simple .rpm,<br class="">which contains the /usr/lib/libaffinity.so and a few header files within<br class="">/usr/include/affinity/* subdir.<br class=""></blockquote></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">if you install it right then you should get one rpm with library another</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">one ${PN}-dev which should contain the headers and all debug info will</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">be split out into a rpm of its own ${PN}-dbg, this is standard</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">packaging strategy in OE.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" class=""><br class="">However, it looks like bitbake is trying / “forcing” me to build a ${PN}-dbg<br class="">package….:<br class=""></blockquote></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Yes it will, is there any issue with that ?</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" class=""><br class="">I’m doing the following steps:<br class=""><br class="">1. recipe:<br class="">“<br class="">…<br class="">inherit cmake pkgconfig<br class=""><br class="">PACKAGES = "${PN}"<br class=""></blockquote></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">overriding PACKAGES will leave some unpackaged files.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" class="">FILES_${PN} = "${libdir}/libaffinity.so /usr/include/affinity/*”<br class="">…<br class=""></blockquote></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">I would suggest to use standard packaging split if thats not a big</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">issue.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" class="">“<br class=""></blockquote><br class="">Just removing '${PN}-dbg' does not inform the system that you do not want<br class="">debug information to be generated. There is a set of standard routines,<br class="">performed after do_install, that will generate the debug information unless<br class="">disabled.<br class=""><br class="">To disable the routines you set:<br class=""><br class="">INHIBIT_PACKAGE_DEBUG_SPLIT = '1'<br class="">INHIBIT_PACKAGE_STRIP = '1'<br class=""><br class="">There are two settings they can be used separately, but in your case you<br class="">likely want both.<br class=""><br class="">INHIBIT_PACKAGE_DEBUG_SPLIT = '1' disables the files in your package from<br class="">being split into run-time and debug components.<br class=""><br class="">INHIBIT_PACKAGE_STRIP = '1' disabled the system from attempting to strip the<br class="">run-time components of debug information.<br class=""><br class="">--Mark<br class=""><br class=""><blockquote type="cite" class="">So, I assume I’ m asking to build only 1 package.<br class=""><br class="">2. During the bitbake processing, as the compilation, build, and installation<br class="">are over, the files are copied into the ${D} directory, as expected:<br class="">“<br class="">michael@localhost image]$ pwd<br class="">/home/michael/Devlab/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/affinityng/0.1-r0/image<br class="">[michael@localhost image]$ cd usr<br class="">[michael@localhost usr]$ ls -la<br class="">total 16<br class="">drwxr-xr-x. 4 michael michael 4096 Aug 21 19:57 .<br class="">drwxr-xr-x. 3 michael michael 4096 Aug 21 19:57 ..<br class="">drwxr-xr-x. 3 michael michael 4096 Aug 21 19:57 include<br class="">drwxr-xr-x. 2 michael michael 4096 Aug 21 19:57 lib<br class="">“<br class="">So far, everything as expected in accordance with the Yocto reference.<br class=""><br class="">3. According to the manual reference - "The |do_package| and<br class="">|do_packagedata| tasks combine to analyze the files found in the |D|<br class=""><<a href="http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-D" class="">http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-D</a>> directory…”,<br class="">I would expect that the package would be build.<br class="">However, the attempt to build is failing. with the error:<br class="">“…<br class="">ERROR: QA Issue: affinityng: Files/directories were installed but not shipped<br class=""> /usr/src<br class=""> /usr/lib/.debug<br class=""> /usr/lib/.debug/libaffinity.so<br class=""> /usr/src/debug<br class=""> /usr/src/debug/affinityng<br class=""> /usr/src/debug/affinityng/0.1-r0<br class=""> /usr/src/debug/affinityng/0.1-r0/kernel<br class="">…<br class="">“<br class=""><br class="">4. Following the reference, I checked the PKGD directory, where the files should<br class="">be before split….<br class="">And I noticed that there is the src directory there, in addition to<br class="">directories — include and lib — the only ones I was expecting to see there.<br class="">( see log below ) .<br class=""><br class="">“<br class="">/home/michael/Devlab/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/affinityng/0.1-r0/package/usr<br class="">….<br class="">[michael@localhost usr]$ ls -la<br class="">total 20<br class="">drwxr-xr-x. 5 michael michael 4096 Aug 21 19:57 .<br class="">drwxr-xr-x. 3 michael michael 4096 Aug 21 19:57 ..<br class="">drwxr-xr-x. 3 michael michael 4096 Aug 21 19:57 include<br class="">drwxr-xr-x. 3 michael michael 4096 Aug 21 19:57 lib<br class="">drwxr-xr-x. 3 michael michael 4096 Aug 21 19:57 src<br class="">[michael@localhost usr]$ pwd<br class="">/home/michael/Devlab/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/affinityng/0.1-r0/package/usr<br class="">[michael@localhost usr]$ cd src<br class="">[michael@localhost src]$ ls -la<br class="">total 12<br class="">drwxr-xr-x. 3 michael michael 4096 Aug 21 19:57 .<br class="">drwxr-xr-x. 5 michael michael 4096 Aug 21 19:57 ..<br class="">drwxr-xr-x. 3 michael michael 4096 Aug 21 19:57 debug<br class="">[michael@localhost src]$<br class="">“<br class="">5. It looks like that as result of package split, the include & lib directories<br class="">are used properly to build affinityng package, at least it is shown in<br class="">packages-split properly.<br class="">But then , the content of the src directory is causing the problem with QA.<br class=""><br class="">6. At the same time, if I ask to build ${PN}-dbg package in addition - both<br class="">packages are build, no QA complains, and all src/debug/* are going into the -dbg<br class="">package…<br class=""><br class="">I wonder,<br class="">- why does the src directory appear within PKGD/usr? ( If there is no such<br class="">directory within the ${D} directory...)<br class="">- where is the definition for -dbg package is coming from, and is it possible<br class="">to disable it?<br class=""><br class="">May be somebody have the answer or suggestion what to check next….<br class=""><br class="">Thanks for a kind attention to the matter.<br class=""><br class="">Have a great day,<br class="">Michael.<br class=""><br class=""><br class=""><br class=""></blockquote><br class="">--<span class="Apple-converted-space"> </span><br class="">_______________________________________________<br class="">bitbake-devel mailing list<br class=""><a href="mailto:bitbake-devel@lists.openembedded.org" class="">bitbake-devel@lists.openembedded.org</a><br class=""><a href="http://lists.openembedded.org/mailman/listinfo/bitbake-devel" class="">http://lists.openembedded.org/mailman/listinfo/bitbake-devel</a><br class=""></blockquote><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">--<span class="Apple-converted-space"> </span></span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">bitbake-devel mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:bitbake-devel@lists.openembedded.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">bitbake-devel@lists.openembedded.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://lists.openembedded.org/mailman/listinfo/bitbake-devel" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lists.openembedded.org/mailman/listinfo/bitbake-devel</a></div></blockquote></div><br class=""></body></html>