[Top][All Lists]

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

Re: Some problems packaging libobjc2 version 1.6

From: David Chisnall
Subject: Re: Some problems packaging libobjc2 version 1.6
Date: Tue, 20 Mar 2012 10:29:32 +0000

On 20 Mar 2012, at 01:11, Richard Stonehouse wrote:

> On Wed, Mar 07, 2012 at 10:35:39PM +0000, David Chisnall wrote:
>> On 7 Mar 2012, at 01:18, Richard Stonehouse wrote:
>>> However it has the danger that any absolute paths contained in any of the 
>>> files will start with /tmp/Buildroot/usr rather than just /usr, which is 
>>> going to cause trouble when the pakage is installed to /.
>> No absolute paths are stored in any generated files in libobjc2, so this 
>> concern is irrelevant.
> Except the absolute symlinks to the shared libraries libobjc.so.4.6.0 and 
> libobjcxx.so.4.6.0. The attached patch converts them to relative symlinks.
> There is also a problem that rpmbuild generates an unresolvable dependency. 
> This appears to be connected with the fact that the libraries do not have 
> sonames and rpmbuild depends on sonames for its automatic dependency 
> generation. Also attached is a patch to give the library an soname, which 
> cures this problem - I don't know whether it creates any others.
> With these patches, and with PREFIX set to ${RPM_BUILD_ROOT}/usr, the 
> rpmbuild works and produces an installable RPM package.

Thanks, both are applied in trunk.


-- Sent from my brain

reply via email to

[Prev in Thread] Current Thread [Next in Thread]