rpmbuild --rebuild --target i686 kernel-2.6.5-1.354.src.rpm [Failed]

Warren Togami wtogami at redhat.com
Sun May 9 05:32:34 UTC 2004


Matias Feliciano wrote:
> Le sam 08/05/2004 à 22:59, Matias Feliciano a écrit :
> 
>>Le sam 08/05/2004 à 11:23, Michael Schwendt a écrit :
>>
>>>On Sat, 08 May 2004 01:56:11 +0200, Matias Feliciano wrote:
>>>
>>>
>>>>$ rpmbuild --rebuild --target i686 kernel-2.6.5-1.354.src.rpm
>>>>[...]
>>>>+ /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
>>>>File '/lib/modules/2.6.5-1.354.fmatias/build/scripts/kconfig/conf' contains an invalid rpath '$ORIGIN'
>>>>File '/lib/modules/2.6.5-1.354.fmatiassmp/build/scripts/kconfig/conf' contains an invalid rpath '$ORIGIN'
>>>>error: Bad exit status from /var/tmp/rpm-tmp.40344 (%install)
>>>>
>>>>
>>>>$ objdump -x /var/tmp/kernel-2.6.5-1.354.fmatias-root/lib/modules/2.6.5-1.354.fmatias/build/scripts/kconfig/conf | grep ORIGIN
>>>>  RPATH       $ORIGIN
>>>>
>>>>Any thought ?
>>>
>>>https://bugzilla.fedora.us/show_bug.cgi?id=1401#c32
>>>
>>
>>Thanks, I'll try again after removing fedora-rpmdevtools.
>>
> 
> 
> Finally, I keep fedora-rpmdevtools.
> 
> fedora-buildrpmtree added :
> %__arch_install_post   /usr/lib/rpm/check-rpaths   /usr/lib/rpm/check-buildroot
> to my .rpmmacros.
> 
> I suppress this line.
> 
> 

Well, the whole point of check-rpaths is to detect potential bad rpaths 
in packages.  If people totally avoid using it, we wont easily detect 
bad rpath problems before they are published in packages.

Warren





More information about the test mailing list