Re: rdma-core packaging and multilib

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

 



On 3/14/2017 2:17 PM, Jason Gunthorpe wrote:
> On Tue, Mar 14, 2017 at 02:02:15PM -0400, Jarod Wilson wrote:
> 
>> Report from TEST_MULTILIB:
>> [BAD] [ibacm] Subpackage ibacm is not multilib-clean for x86_64 vs i686: 2
>> files have non-equal 32/64bit content:
>>   /usr/share/man/man7/ibacm_prov.7.gz
>>   /etc/rdma/ibacm_opts.cfg
> 
> Yep
> 
>> ibacm_prov.7.gz on x86_64 vs i686:
>> ...
>> -2. be installed under a configured directory, eg., /usr/lib64/ibacm;
>> +2. be installed under a configured directory, eg., /usr/lib/ibacm;
>> ...
>>
>> Similar for ibacm_opts.cfg:
>>
>> -# provider_lib_path /usr/lib64/ibacm
>> +# provider_lib_path /usr/lib/ibacm
>>
>> Not sure what the ideal resolution is for this. I'd rather not put in the
>> wrong path for one arch or the other, and I think lib64 isn't used
>> universally by all 64-bit distros.
> 
> cmake substitutes in the correct path string at build time.
> 
> If you want these files to be identical then we cannot include the
> path names at all

That's not entirely true.  The man page specifically says the path in
the man page is an example, so it need not match the arch in use, it can
simply be one or the other with no substitution.  For the provider lib
path, it's in a comment, so again it would be possible to use proper
verbage to express that it is a sample and not use substitution.  We
might even be able to do something like:

# Modern distros commonly use either /usr/lib or /usr/lib64 for the
# default _libpath.  Substitute the correct value below before
# uncommenting
# provider_lib_path _libpath/ibacm

> , just put place holders and say to run 'ib_acme -D
> . -O' to learn the configured value.
> 
> Jason
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


-- 
Doug Ledford <dledford@xxxxxxxxxx>
    GPG Key ID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux