[SailfishDevel] exclude requires from rpm: libstdc++

Tone Kastlunger users.giulietta at gmail.com
Mon Sep 18 14:54:42 UTC 2017


It seems you have 5 different std lib's.
Find out what is linking them (my guess is different components/libraries),
change all to one and compile.
If that is not possible, specify all the libs one by one with full names in
the spec file.

That's my 2cents

On Mon, Sep 18, 2017 at 12:10 PM, rinigus <rinigus.git at gmail.com> wrote:

> 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
>>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.
> sailfishos.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20170918/48543146/attachment.html>


More information about the Devel mailing list