Re: [PATCH] rdma-core: Add missing systemd-devel dependency to the SUSE rdma-core.spec

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

 



On Wed, Dec 06, 2017 at 10:06:57PM +0000, Nikolova, Tatyana E wrote:

> The patch was prompted when the rdma-core daemons were unable to
> start on a SLES12SP2 system, because the shim version of the systemd
> functions were used instead. Unfortunately I don't have the details
> on how rdma-core was installed on this system.

Well, are you even sure it was built with rpmbuild?

> Checking the current SUSE spec file on the same system (without
> systemd-devel installed), it indeed detects a missing dependency:
> "error: Failed build dependencies: pkgconfig(libsystemd) is needed
> by rdma-core-15-0.x86_64"

Because rpmbuild shouldn't have succeeded, right?

> However libsystemd packages (libsystemd0-228-117.12.x86_64 and
> libsystemd0-32bit-228-117.12.x86_64) are installed on this system,
> but systemd-devel is necessary to install the required headers, for
> example "sd-daemon.h" needed by the daemons.

Yes, that is right. But pkgconfig(XXX) is a magic notation to 'bring
in -devel packages for XXX'

So pkgconfig(libsystemd) is supposed to bring in systemd-devel, for
instance.

You'd need to reproduce a failing rpmbuild where the deps are met and
the shims are used to understand this issue..

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



[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