On 03/16/2017 08:47 AM, David Howells wrote:
Hi,
When creating an update for cross-gcc, I see:
cross-gcc.src:388: E: hardcoded-library-path in /usr/lib/debug"
from dist.rpmlint.
cross-gcc's spec file does stuff to /usr/lib/debug because it's a compiler and
the debuginfo shouldn't be extracted from some of the compiled bits it ships
with (crt*.o files and libgcc archives, for example).
Is there a right way to do this so as not to incur the above error?
I imagine the same problem occurs in gcc also since I copied the debuginfo
extraction code from there.
Just ignore it, since you are doing the right thing. You can add a .rpmlint
file to cross-gcc to have the qa tools ignore it as well:
from Config import *
addFilter("hardcoded-library-path in /usr/lib/debug");
--
Orion Poplawski
Technical Manager 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301
http://www.nwra.com