pcp
[Top] [All Lists]

Re: [pcp] build woes

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: [pcp] build woes
From: David Disseldorp <ddiss@xxxxxxx>
Date: Mon, 8 Jun 2015 12:15:59 +0200
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <5572A9D3.1070505@xxxxxxxxxxxxxxxx>
References: <55715217.7000009@xxxxxxxxxxxxxxxx> <20150605121723.0c1fcdc3@xxxxxxxxxxx> <5572A9D3.1070505@xxxxxxxxxxxxxxxx>
Hi Ken,

On Sat, 06 Jun 2015 18:05:39 +1000, Ken McDonell wrote:

> Well, I spent one whole day upgrading ... nah ... complete reinstalling 
> openSUSE 13.2 and finally got to build packages to be hit by ...

Sorry to hear that the upgrade was painful. As with SLES, it should just
be a matter of adding the new repositories via `zypper addrepo <url>`
and performing the upgrade via `zypper dist-upgrade`.

> error: Failed dependencies:
>         libibmad >= 1.1.7 is needed by pcp-pmda-infiniband-3.10.5-1.i586
>         libibumad >= 1.1.7 is needed by pcp-pmda-infiniband-3.10.5-1.i586
>         python3-jsonpointer is needed by pcp-pmda-json-3.10.5-1.i586
>         python3-six is needed by pcp-pmda-json-3.10.5-1.i586
>         libpfm >= 4.4 is needed by pcp-pmda-perfevent-3.10.5-1.i586
> Error: rpm failed!
> 
> 
> Seems like for this platform ...
> 
> + libibmad does not exist, but something called libibmad5 does.
> + libibumad does not exist, but something called libibumad3 does.

We carry the following BuildRequires entries for pcp-pmda-infiniband
in the spec file[1]:
  %package pmda-infiniband
  ...
  BuildRequires:  libibmad-devel >= 1.3.7
  BuildRequires:  libibumad-devel >= 1.3.7

With openSUSE 13.2, they can be satisfied via:
  # zypper install 'libibmad-devel >= 1.3.7' 'libibumad-devel >= 1.3.7'
  ...
  The following 4 NEW packages are going to be installed:
    libibmad-devel libibmad5 libibumad-devel libibumad3 

> + python3-jsonpointer does not exist, but python-jsonpointer also exists and 
> was installed
> + python3-six is available but so is python-six ... not sure how the punter 
> is supposed to get this sorted out
> + libpfm does not exist, but something called libpfm4 does.

Looks like these dependencies are new with PCP 3.10.5/master, which I
haven't looked at packaging yet.

> So has anyone been building all the PCP bits for openSUSE 13.2?  And if so, 
> how, please!

Only 3.10.4 at this stage[2]. I'll take a look at master/3.10.5 builds
for SLE/openSUSE if I get a chance this week.

Cheers, David

1. openSUSE Factory spec file
   
https://build.opensuse.org/package/view_file/Base:System/pcp/pcp.spec?expand=1

2. Sample PCP 3.10.4 for openSUSE 13.2
   https://build.opensuse.org/package/show/home:dmdiss:pcp_threeten/pcp

<Prev in Thread] Current Thread [Next in Thread>