Re: Understanding rpmbuild check-rpath error

2012-11-13 Thread Suvayu Ali
Hi dex,

On Mon, Nov 12, 2012 at 11:27:45PM +, dexter wrote:
> On 11 November 2012 01:21, Suvayu Ali  wrote:
> 
> > I came across this:
> >
> > 
> >
> > I guess that means in my case working around by setting QA_RPATHS is the
> > best bet?
> 
> Alternatively you could try in your install section:
> chrpath --delete %{buildroot}%{_bindir}%{name}
> or
> patch the configure script around line 491 to not include the rpath
> linker flags.
> 

Thanks for this pointers.  I however find it strange that I run into
this problem with the spec file I got from the fedora srpm!

Thanks for the help.

:)

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Understanding rpmbuild check-rpath error

2012-11-12 Thread dexter
On 11 November 2012 01:21, Suvayu Ali  wrote:
> On Sat, Nov 10, 2012 at 10:53:15PM +0100, Suvayu Ali wrote:
>>
>> I'm trying to build a git snapshot rpm package of notmuch and I keep
>> running into a warning.  As I understand from the message, it can be
>> worked around but I would rather resolve the problem than sweep it under
>> the rug.  I'm using the spec file from the Fedora srpm with a couple of
>> changes to include the git commit in the package and tarball name.
>>
>> Could someone help me understand what the error is and where the problem
>> might be?
>>

RPATHS are considered bad in fedora but dont ask me why :-)

> I came across this:
>
> 
>
> I guess that means in my case working around by setting QA_RPATHS is the
> best bet?

Alternatively you could try in your install section:
chrpath --delete %{buildroot}%{_bindir}%{name}
or
patch the configure script around line 491 to not include the rpath
linker flags.

   ...dex
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Understanding rpmbuild check-rpath error

2012-11-10 Thread Suvayu Ali
On Sat, Nov 10, 2012 at 10:53:15PM +0100, Suvayu Ali wrote:
> 
> I'm trying to build a git snapshot rpm package of notmuch and I keep
> running into a warning.  As I understand from the message, it can be
> worked around but I would rather resolve the problem than sweep it under
> the rug.  I'm using the spec file from the Fedora srpm with a couple of
> changes to include the git commit in the package and tarball name.
> 
> Could someone help me understand what the error is and where the problem
> might be?
> 

I came across this:



I guess that means in my case working around by setting QA_RPATHS is the
best bet?

Anyway, in the mean time I also attempted to learn how to use mock.  I
have questions about that but that is probably better for another
thread.

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org