<div dir="ltr">On 8 September 2016 at 20:19, Mark Hatle <span dir="ltr">&lt;<a href="mailto:mark.hatle@windriver.com" target="_blank">mark.hatle@windriver.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="gmail-">&gt; -  Â  Â rm -f ${D}/${mandir}/man8/rpmcache.<wbr>8*<br>
&gt; -  Â  Â rm -f ${D}/${mandir}/man8/rpmgraph.<wbr>8*<br>
&gt; -  Â  Â rm -f ${D}/${mandir}/*/man8/<wbr>rpmcache.8*<br>
&gt; -  Â  Â rm -f ${D}/${mandir}/*/man8/<wbr>rpmgraph.8*<br>
&gt; -  Â  Â rm -rf ${D}/${mandir}/{fr,ko}<br>
<br>
</span>Above cases need to be removed.  We do not support the rpmcache or rpmgraph, and<br>
at least for a long time the man pages were being generated for them.  (If this<br>
is no longer true, and man pages ARE being generated they should be removed.)</blockquote><div><br></div><div>These manpages are not installed in the first place.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="gmail-">
&gt; -  Â  Â rm -f ${D}/${includedir}/popt.h<br>
&gt; -  Â  Â rm -f ${D}/${libdir}/libpopt.*<br>
&gt; -  Â  Â rm -f ${D}/${libdir}/pkgconfig/popt.<wbr>pc<br>
&gt; -  Â  Â rm -f ${D}/${datadir}/locale/*/LC_<wbr>MESSAGES/popt.mo<br>
&gt; -  Â  Â rm -f ${D}/${mandir}/man3/popt.3<br>
<br>
</span>We can use either an internal or external version of the popt library.  If the<br>
internal version is used, we MUST remove all of these files.  If the external<br>
version is used, the RPM won&#39;t end up doing anything.</blockquote><div><br></div><div>Okay, restored.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="gmail-">
&gt; -  Â  Â rm -f ${D}/${mandir}/man1/xar.1*<br>
&gt; -  Â  Â rm -f ${D}/${bindir}/xar<br>
&gt; -  Â  Â rm -rf ${D}/${includedir}/xar<br>
&gt; -  Â  Â rm -f ${D}/${libdir}/libxar*<br></span></blockquote><div><br></div><div>xar is a PACKAGECONFIG which is disabled by default, so removing the files if it is enabled seems wrong.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="gmail-">
&gt; -  Â  Â rm -f ${D}/${bindir}/lz*<br>
&gt; -  Â  Â rm -f ${D}/${bindir}/unlzma<br>
&gt; -  Â  Â rm -f ${D}/${bindir}/unxz<br>
&gt; -  Â  Â rm -f ${D}/${bindir}/xz*<br>
&gt; -  Â  Â rm -rf ${D}/${includedir}/lzma*<br>
&gt; -  Â  Â rm -f ${D}/${mandir}/man1/lz*.1<br>
&gt; -  Â  Â rm -f ${D}/${libdir}/pkgconfig/<wbr>liblzma*<br>
<br>
</span>Above files may be generated in some configurations.  (Possible that is no<br>
longer true.</blockquote><div><br></div><div>Doesn&#39;t appear to be true any more: rpm links to an external xz.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> &gt; -  Â  Â rm -f ${D}${PYTHON_SITEPACKAGES_DIR}<wbr>/*.a</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="gmail-">
&gt;  Â  Â  Â rm -f ${D}${PYTHON_SITEPACKAGES_DIR}<wbr>/*.la<br>
&gt; -  Â  Â rm -f ${D}${PYTHON_SITEPACKAGES_DIR}<wbr>/rpm/*.a<br>
&gt;  Â  Â  Â rm -f ${D}${PYTHON_SITEPACKAGES_DIR}<wbr>/rpm/*.la<br>
<br>
</span>The .a files were removed because we didn&#39;t want anyone statically linking to<br>
python.a, not sure they they were being produced to begin with.. but that is why<br>
that was there.</blockquote><div><br></div><div>Nothing is installing these but I suspect this is a side-effect of Poky&#39;s no-static-libs change, so I&#39;ll remove this. <br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="gmail-">&gt; -  Â  Â rm -f ${D}/${libdir}/rpm/libsqldb.*<br>
&gt; -<br>
<br>
</span>If &#39;sqlite&#39; support is enabled in RPM, the above should be removed.  It will<br>
clash with external components.</blockquote><div><br></div><div>Done.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="gmail-"><br>
&gt; -  Â  Â # We don&#39;t want, nor need the Mandriva multiarch items<br>
&gt; -  Â  Â rm -f ${D}/${bindir}/multiarch-<wbr>dispatch<br>
&gt; -  Â  Â rm -f ${D}/${bindir}/multiarch-<wbr>platform<br>
&gt; -  Â  Â rm -f ${D}/${libdir}/rpm/check-<wbr>multiarch-files<br>
&gt; -  Â  Â rm -f ${D}/${libdir}/rpm/mkmultiarch<br>
&gt; -  Â  Â rm -f ${D}/${includedir}/multiarch-<wbr>dispatch.h<br>
&gt; -<br>
<br>
</span>Again, some configs may produce these.. if they&#39;re not produced in our config we<br>
can remove it.</blockquote><div><br></div><div>Not anymore apparently:</div><div><br></div><div>noinst_SCRIPTS += multiarch-dispatch multiarch-platform</div><div>noinst_SCRIPTS += check-multiarch-files mkmultiarch</div><div>noinst_HEADERS = multiarch-dispatch.h</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="gmail-">
&gt;  Â  Â  Â rm -f ${D}/${libdir}/rpm/gstreamer.<wbr>sh<br>
&gt;  Â  Â  Â rm -f ${D}/${libdir}/rpm/gem_helper.<wbr>rb<br>
&gt;  Â  Â  Â rm -f ${D}/${libdir}/rpm/rubygems.rb<br>
&gt; @@ -610,12 +567,10 @@ do_install_append() {<br>
&gt;  Â  Â  Â rm -f ${D}/${libdir}/rpm/macros.d/<wbr>kernel<br>
&gt;  Â  Â  Â rm -f ${D}/${libdir}/rpm/macros.d/<wbr>gstreamer<br>
&gt;  Â  Â  Â rm -f ${D}/${libdir}/rpm/bin/mgo<br>
&gt; -  Â  Â rm -f ${D}/${libdir}/rpm/bin/<wbr>dbconvert<br>
<br>
</span>dbconvert is not useful for us.. it used to be provided, so we removed it.</blockquote><div><br></div><div>This doesn&#39;t get installed anymore.</div><div><br></div><div>V2 incoming.</div><div><br></div><div>Ross</div></div></div></div>