<div dir="ltr"><div><div><div>It seems you have 5 different std lib's.<br></div>Find out what is linking them (my guess is different components/libraries), change all to one and compile.<br></div>If that is not possible, specify all the libs one by one with full names in the spec file.<br><br></div>That's my 2cents<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 18, 2017 at 12:10 PM, rinigus <span dir="ltr"><<a href="mailto:rinigus.git@gmail.com" target="_blank">rinigus.git@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Bump. Any takers (see below)? Would really help me out with mess induced by <a href="https://build.merproject.org/package/show/home:rinigus:maps/mapbox-demo-sfos" target="_blank">https://build.merproject.<wbr>org/package/show/home:rinigus:<wbr>maps/mapbox-demo-sfos</a> at the corresponding repo.<span class="HOEnZb"><font color="#888888"><div><br></div><div>Rinigus</div></font></span><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 16, 2017 at 10:17 AM, rinigus <span dir="ltr"><<a href="mailto:rinigus.git@gmail.com" target="_blank">rinigus.git@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I have a trouble with excluding libstdc++ requirements from RPM. In my case, I compile the code with gcc-6.4 and include libstdc++ as an app-shipped library through /usr/share/appname/lib . Maybe someone could help to construct exclude define - I didn't managed to cure the requirements in spec using macro section</div><div>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(205,139,0)"><br></span></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#000000"><span style="text-decoration-line:underline">%</span>define __provides_exclude_from ^<span style="text-decoration-line:underline">%</span>{_datadir}/.*$</font></pre>
<pre style="margin-top:0px;margin-bottom:0px"><font color="#000000"><span style="text-decoration-line:underline">%</span>define __requires_exclude ^libstdc*$</font></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(205,139,0)"><br></span></pre>Not sure what I am doing wrong in this case. It would really speed me up if I can get over this bump. RPM checker errors are:<pre style="margin-top:0px;margin-bottom:0px"><br></pre></div><div>
<p style="margin:0px"><span style="color:rgb(170,0,0)">ERROR</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(0,0,170)">libstdc++.so.6(CXXABI_1.3.8)</span><span style="color:rgb(0,0,0)">] Cannot require shared library: 'libstdc++.so.6(CXXABI_1.3.8)'</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">ERROR</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(0,0,170)">libstdc++.so.6(CXXABI_1.3.9)</span><span style="color:rgb(0,0,0)">] Cannot require shared library: 'libstdc++.so.6(CXXABI_1.3.9)'</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">ERROR</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(0,0,170)">libstdc++.so.6(GLIBCXX_3.4.20<wbr>)</span><span style="color:rgb(0,0,0)">] Cannot require shared library: 'libstdc++.so.6(GLIBCXX_3.4.20<wbr>)'</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">ERROR</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(0,0,170)">libstdc++.so.6(GLIBCXX_3.4.21<wbr>)</span><span style="color:rgb(0,0,0)">] Cannot require shared library: 'libstdc++.so.6(GLIBCXX_3.4.21<wbr>)'</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">ERROR</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(0,0,170)">libstdc++.so.6(GLIBCXX_3.4.22<wbr>)</span><span style="color:rgb(0,0,0)">] Cannot require shared library: 'libstdc++.so.6(GLIBCXX_3.4.22<wbr>)'</span></p><p style="margin:0px"><span style="color:rgb(0,0,0)"><br></span></p><p style="margin:0px"><span style="color:rgb(0,0,0)">Please note that, at this stage, I would prefer to ship libstdc++ lib version with the application.</span></p><p style="margin:0px"><span style="color:rgb(0,0,0)"><br></span></p><p style="margin:0px"><span style="color:rgb(0,0,0)">Cheers,</span></p><p style="margin:0px"><span style="color:rgb(0,0,0)"><br></span></p><p style="margin:0px"><span style="color:rgb(0,0,0)">Rinigus</span></p></div></div>
</blockquote></div><br></div></div></div></div>
<br>______________________________<wbr>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.<wbr>sailfishos.org</a><br></blockquote></div><br></div>