python-rrdtool is almost empty

Bug #388221 reported by LI Daobing
98
This bug affects 16 people
Affects Status Importance Assigned to Milestone
rrdtool (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Karmic by Alessio Treglia

Bug Description

Binary package hint: rrdtool

$ dpkg -L python-rrdtool
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/python-rrdtool
/usr/share/doc/python-rrdtool/NEWS.Debian.gz
/usr/share/doc/python-rrdtool/changelog.gz
/usr/share/doc/python-rrdtool/NEWS.gz
/usr/share/doc/python-rrdtool/copyright
/usr/share/doc/python-rrdtool/changelog.Debian.gz
/usr/share/doc/python-rrdtool/CONTRIBUTORS.gz

ProblemType: Bug
Architecture: i386
Date: Wed Jun 17 09:24:49 2009
Dependencies:

DistroRelease: Ubuntu 9.10
Package: python-rrdtool 1.3.1-4ubuntu2
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.30-9.10-generic
SourcePackage: rrdtool
Uname: Linux 2.6.30-9-generic i686

Revision history for this message
Victor Vargas (kamus) wrote :

I can confirm this issue in Karmic up to date.

Changed in rrdtool (Ubuntu):
status: New → Confirmed
Revision history for this message
Jan Schneider (j-schneider-uib) wrote :

The following patch for debian/rules fixes python-rrdtool package build:

18c18
< for py in `pysupport-parseversions debian/pyversions`; do \
---
> for py in `/usr/share/python-support/private/parseversions debian/pyversions`; do \

Revision history for this message
flashydave (dave-opensourcesolutions) wrote :

I have been looking at this too the last couple of days.
What environment was that tested with?
I have tried your patch with a vanilla karmic but with the same result - i.e. the bindings are not built.

The problem is that parseversions doesnt exist in /usr/share/python-support/private/ so PY_VERS computes to a null string.

The issue has been fixed in the upstream Debian version 1.38 already using.

PY_VERS := $(shell pyversions -vr)

However their version still has dependencies on python <2.6 (which Karmic installs).
There is another Debian bug fix (sorry I dont have the # to hand) which addresses this aspect but I have yet to try incorporating that.

Revision history for this message
Alessio Treglia (quadrispro) wrote :

Solving bug #496284 will close this.

Changed in rrdtool (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
Revision history for this message
Luis Fagundes (lhfagundes) wrote :

Alessio says that solving bug #496284 will close this. That bug was fixed on 2009-12-21, but apparently this issue persists. I'd like to help if someone can guide me.

Revision history for this message
Alessio Treglia (quadrispro) wrote :
Changed in rrdtool (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Michele Mordenti (micmord) wrote :

I made a new build for karmic, someone could try the packet from my ppa and report if it works on bug 507452?
New build at: https://launchpad.net/~micmord/+archive/ppa (rrdtool - 1.3.1-4ubuntu2.1~micmord)

Revision history for this message
Alessio Treglia (quadrispro) wrote : Re: [Bug 388221] Re: python-rrdtool is almost empty

On Thu, Jan 14, 2010 at 5:05 PM, Michele Mordenti
<email address hidden> wrote:
> I made a new build for karmic, someone could try the packet from my ppa and report if it works on bug 507452?
> New build at: https://launchpad.net/~micmord/+archive/ppa (rrdtool - 1.3.1-4ubuntu2.1~micmord)
>

Michele, please attach a diff file containing your changes.

--
Alessio Treglia <email address hidden>
Ubuntu MOTU Developer | Homepage: http://www.alessiotreglia.com
0FEC 59A5 E18E E04F 6D40 593B 45D4 8C7C DCFC 3FD0

Revision history for this message
Luis Fagundes (lhfagundes) wrote :

I tried rrdtool_1.3.1-4ubuntu2.1~micmord_amd64.deb and python-rrdtool_1.3.1-4ubuntu2.1~micmord_amd64.deb and worked fine. My test was a python script that imported rrdtool module and created an empty rrdtool database file.

Tks.

Revision history for this message
Michele Mordenti (micmord) wrote :

At Alessio: the debdiff is at bug 507452. I subscribed you and devfil for SRU ack.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.