Re: [SailfishDevel] exclude requires from rpm: libstdc++

2017-09-18 Thread rinigus
That helped - thank you very much!

Rinigus

On Mon, Sep 18, 2017 at 6:47 PM,  wrote:

> I think the regexp is wrong. You miss a . before the start. ^libstdc.*$
>
> Hope it helps.
>
> Damien.
>
> Le Lundi 18 septembre 2017, rinigus a écrit :
> > 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  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@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] exclude requires from rpm: libstdc++

2017-09-18 Thread dcaliste
I think the regexp is wrong. You miss a . before the start. ^libstdc.*$

Hope it helps.

Damien. 

Le Lundi 18 septembre 2017, rinigus a écrit :
> 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  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-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] exclude requires from rpm: libstdc++

2017-09-18 Thread rinigus
Thank you for reply! Yes, I have multiple compilers in use (regular g++ and
6.4.0) for different components. At this stage, optimization of compilers
would be rather difficult and I would prefer to specify corresponding
exclude define. I did try to specify full names, but that did not help. Not
sure whether the library name + extra in brackets play a role over here.
Someone better than me in regex-fu and spec-fu is needed.

Rinigus

On Mon, Sep 18, 2017 at 5:54 PM, Tone Kastlunger 
wrote:

> 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  wrote:
>
>> Bump. Any takers (see below)? Would really help me out with mess induced
>> by https://build.merproject.org/package/show/home:rinigus:ma
>> ps/mapbox-demo-sfos at the corresponding repo.
>>
>> Rinigus
>>
>> On Sat, Sep 16, 2017 at 10:17 AM, rinigus  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@lists.sailfi
>> shos.org
>>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] exclude requires from rpm: libstdc++

2017-09-18 Thread Tone Kastlunger
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  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  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@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] exclude requires from rpm: libstdc++

2017-09-18 Thread rinigus
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  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-unsubscr...@lists.sailfishos.org

[SailfishDevel] exclude requires from rpm: libstdc++

2017-09-16 Thread rinigus
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-unsubscr...@lists.sailfishos.org