Re: rdma-core packaging and multilib

Jason Gunthorpe
2017-03-14T18:17:08Z

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, just put place holders and say to run 'ib_acme -D
. -O' to learn the configured value.

Jason