discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Some problems packaging libobjc2 version 1.6


From: Richard Stonehouse
Subject: Re: Some problems packaging libobjc2 version 1.6
Date: Tue, 20 Mar 2012 01:11:44 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

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.

--
     Richard Stonehouse

Attachment: libobjc2-1.6-fix_absolute_symlinks.patch
Description: Text Data

Attachment: libobjc2-1.6-set_soname.patch
Description: Text Data


reply via email to

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