pcp
[Top] [All Lists]

build woes

To: PCP <pcp@xxxxxxxxxxx>
Subject: build woes
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 05 Jun 2015 17:39:03 +1000
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
Looks like the JSON PMDA needs python-foo bits that are not universally available, ...

error: Failed dependencies:
        python-jsonpointer is needed by pcp-pmda-json-3.10.5-19.i586
        python-six is needed by pcp-pmda-json-3.10.5-19.i586

but on vm02 (openSUSE 12.1) these rpms do not exist.

I suspect this needs to be conditionally built with additional configure magic to protect the build if the required rpms are not installed.

In Debian-land, the build is OK, but run-time QA is hitting the wall ...

Traceback (most recent call last):
  File "/var/lib/pcp/pmdas/json/pmdajson.python", line 22, in <module>
    import jsonpointer
ImportError: No module named jsonpointer
1052: 51: read: Illegal option -u

The first looks like another variant of the same problem ... there is no python-jsonpointer here (although it might be called something different) and no dependency in the dpkg rules.

The second issue (read -u) looks like a RH-ism that might need to be translated into something more portable.

Between these two my QA farm is pretty much dead in the water.

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