Re: [DynInst_API:] Improving dyninst rpm packaging


Date: Wed, 20 Jun 2012 16:12:30 -0400
From: William Cohen <wcohen@xxxxxxxxxx>
Subject: Re: [DynInst_API:] Improving dyninst rpm packaging
On 06/15/2012 11:10 AM, William Cohen wrote:
> On 06/14/2012 03:05 PM, William Cohen wrote:
> 
>> Hi Matt,
>>
>> I did some looking around and found that other packages using shared libaries force the so name with something like
>>  "-Wl,-soname,your_soname" when the .so file is linked/built.  If this option isn't include in the linking of the .so file then the name used is what ever the file (or symbolic link) name is. So the question is how to best get this option into the make files.
>>
>> Maybe in the various make.module.tmpl files:
>>
>> LDFLAGS		+= -shared $(G_PTHREAD_LD) -Wl,-soname,$(TARGET).$(RELEASE_NUM)
>>
>> Something like the attached patch. It might not be complete and might not work on other architectures or OSs, but I was able to build an rpm on x86_64 successfully and install the resulting RPMs.
>>
>> There is an f17 scratch build of the same SRPM at:
>>
>> http://koji.fedoraproject.org/koji/taskinfo?taskID=4163339
>>
>>
>> -Will
> 
> Hi Matt,
> 
> I found that I didn't have the soname correct for the 32-bit version of dyninstAPI_RT. The attached patch that addresses that.
> 
> Also made a scratch builds of the rpm available at:
> 
> http://koji.fedoraproject.org/koji/taskinfo?taskID=4167561
> 
> -Will

Hi Matt,

I made some progress with the rpm packaging of the dyninst git repo proccontrol branch. The updated dyninst.spec file and dyninst-7.99-0.12.fc17.src.rpm are available at http://people.redhat.com/wcohen/dyninst

This source rpm builds and installs on Fedora 17.  Any feedback on the rpm packaging would be appreciated.

-Will
[← Prev in Thread] Current Thread [Next in Thread→]