Re: Understanding rpmbuild check-rpath error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11 November 2012 01:21, Suvayu Ali <fatkasuvayu+linux@xxxxxxxxx> 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:
>
> <http://www.rootninja.com/rpmbuild-check-rpaths-can-break-spec-files/>
>
> 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@xxxxxxxxxxxxxxxxxxxxxxx
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


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux