Problem getting package to compile on EL6
Orion Poplawski
orion at cora.nwra.com
Tue Sep 10 22:48:37 UTC 2013
On 09/10/2013 04:37 PM, Susi Lehtola wrote:
> On Tue, 10 Sep 2013 16:05:21 -0600
> Orion Poplawski <orion at cora.nwra.com> wrote:
>> On 09/10/2013 02:40 PM, Susi Lehtola wrote:
>>> Running find-debuginfo.sh manually in the mock chroot, I get
>>>
>>> $ /usr/lib/rpm/find-debuginfo.sh
>>> --strict-build-id /builddir/build/BUILD/json-c-json-c-0.11-20130402/
>>> find: cannot search `': No such file or directory find: `debug': No
>>> such file or directory
>>
>> I can track it down to debugedit segfaulting:
>>
>> $ /usr/lib/rpm/debugedit
>> -b /builddir/build/BUILD/json-c-json-c-0.11-20130402
>> -d /usr/src/debug -i
>> -l /builddir/build/BUILD/json-c-json-c-0.11-20130402/debugsources.list /builddir/build/BUILDROOT/json-c-0.11-4.el6.x86_64/usr/lib64/libjson.so.0.1.0
>> Segmentation fault
>
> That's interesting - I don't see a segfault. It would seem that the
> first find error comes from the strip phase (line 196 of
> find-debuginfo.sh), and the second from the symlink phase (line 262).
>
You need to set RPM_BUILD_DIR and RPM_BUILD_ROOT to run find-debuginfo.sh by
hand. That gets rid of the find error.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion at nwra.com
Boulder, CO 80301 http://www.nwra.com
More information about the devel
mailing list