[SailfishDevel] exclude requires from rpm: libstdc++

rinigus rinigus.git at gmail.com
Mon Sep 18 09:10:22 UTC 2017


Bump. Any takers (see below)? Would really help me out with mess induced by
https://build.merproject.org/package/show/home:rinigus:maps/mapbox-demo-sfos
at the corresponding repo.

Rinigus

On Sat, Sep 16, 2017 at 10:17 AM, rinigus <rinigus.git at gmail.com> wrote:

> Hi,
>
> 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
>
>
> %define __provides_exclude_from ^%{_datadir}/.*$
>
> %define __requires_exclude ^libstdc*$
>
>
> 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:
>
>
> ERROR [libstdc++.so.6(CXXABI_1.3.8)] Cannot require shared library:
> 'libstdc++.so.6(CXXABI_1.3.8)'
>
> ERROR [libstdc++.so.6(CXXABI_1.3.9)] Cannot require shared library:
> 'libstdc++.so.6(CXXABI_1.3.9)'
>
> ERROR [libstdc++.so.6(GLIBCXX_3.4.20)] Cannot require shared library:
> 'libstdc++.so.6(GLIBCXX_3.4.20)'
>
> ERROR [libstdc++.so.6(GLIBCXX_3.4.21)] Cannot require shared library:
> 'libstdc++.so.6(GLIBCXX_3.4.21)'
>
> ERROR [libstdc++.so.6(GLIBCXX_3.4.22)] Cannot require shared library:
> 'libstdc++.so.6(GLIBCXX_3.4.22)'
>
>
> Please note that, at this stage, I would prefer to ship libstdc++ lib
> version with the application.
>
>
> Cheers,
>
>
> Rinigus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20170918/0bd9afa3/attachment.html>


More information about the Devel mailing list