Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133422 - =dev-python/py-rrdtool-0.2.1-r1 stable request
Summary: =dev-python/py-rrdtool-0.2.1-r1 stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: IA-64 team
URL:
Whiteboard:
Keywords:
: 151244 154958 (view as bug list)
Depends on:
Blocks: 132570
  Show dependency tree
 
Reported: 2006-05-15 15:11 UTC by Evan Klitzke
Modified: 2007-03-14 01:11 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
py-rrdtool-0.2.1-r2.ebuild and files/_rrdtoolmodule.c.patch (py-rrdtool_new_ebuild.tgz,902 bytes, application/octet-stream)
2006-05-16 03:44 UTC, Angelo Leto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Klitzke 2006-05-15 15:11:22 UTC
When trying to emerge py-rrdtool-0.2.1, the build fails on the first file it tries to compile; it looks like this is from a real syntax error in the source code (rather than a weird portage problem), but I could be wrong.

localhost evan # emerge py-rrdtool
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-python/py-rrdtool-0.2.1 to /
>>> md5 files   ;-) py-rrdtool-0.2.1-r1.ebuild
>>> md5 files   ;-) py-rrdtool-0.2.1.ebuild
>>> md5 files   ;-) files/digest-py-rrdtool-0.2.1-r1
>>> md5 files   ;-) files/digest-py-rrdtool-0.2.1
>>> md5 src_uri ;-) py-rrdtool-0.2.1.tar.gz
>>> Unpacking source...
>>> Unpacking py-rrdtool-0.2.1.tar.gz to /var/tmp/portage/py-rrdtool-0.2.1/work
>>> Source unpacked.
running build
running build_py
creating build
creating build/lib.linux-i686-2.4
creating build/lib.linux-i686-2.4/rrdtool
copying rrdtool/__init__.py -> build/lib.linux-i686-2.4/rrdtool
running build_ext
building 'rrdtool._rrdtool' extension
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/src
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -march=pentium-m -O2 -pipe -fomit-frame-pointer -fPIC -I/usr/local/include -I/usr/include/python2.4 -c src/_rrdtoolmodule.c -o build/temp.linux-i686-2.4/src/_rrdtoolmodule.o
src/_rrdtoolmodule.c: In function `PyRRD_graph':
src/_rrdtoolmodule.c:239: error: too few arguments to function `rrd_graph'
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1

!!! ERROR: dev-python/py-rrdtool-0.2.1 failed.
!!! Function distutils_src_compile, Line 35, Exitcode 1
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.

And here is my emerge --info:
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1.40GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/gentopia"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac alsa amr apache2 apm audiofile avahi avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cjk cli crypt ctype curl daap dba dbus dri dv dvb eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild fat ffmpeg firefox flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imlib ipv6 isdnlog java jpeg kernel_linux lcms lesstif libg++ libwww logrotate mad matroska mbox memlimit mikmod mmx mng mp3 mp4 mpeg musepack ncurses nls nptl ntfs ogg openal opengl oss pam pam_console pcmcia pcre pdf pdflib perl plotutils png posix pppd python quicktime readline recode reflection samba sdl session simplexml slang soap sockets sox spell spl sse ssl svg svga tcltk tcpd tetex theora tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales vim-with-x vorbis win32codecs wmf x86 xfs xml xml2 xorg xsl xv xvid xvmc zlib video_cards_i810 video_cards_i830 video_cards_i915"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 1 Angelo Leto 2006-05-16 03:44:45 UTC
Created attachment 86847 [details]
py-rrdtool-0.2.1-r2.ebuild and files/_rrdtoolmodule.c.patch

The new ebuild allow to compile py-rrdtool v. 0.2.1 with >=net-analyzer/rrdtool-1.2.1
I successfully tested the rrd_graph function, neverthless more test should be done.
Comment 2 Markus Ullmann (RETIRED) gentoo-dev 2006-06-01 14:59:06 UTC
Imported to cvs, thanks for providing a patch :)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-10-14 00:23:27 UTC
*** Bug 151244 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-10-14 00:24:03 UTC
x86, please stabilize the fixed version, thanks.
Comment 5 Markus Meier gentoo-dev 2006-10-14 07:33:39 UTC
doesn't emerge here (x86):

>>> Unpacking source...
>>> Unpacking py-rrdtool-0.2.1.tar.gz to /var/tmp/portage/py-rrdtool-0.2.1-r1/work
 * Applying py-rrdtool-rrdtool12.patch ...
  [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/py-rrdtool-0.2.1-r1/work/py-rrdtool-0.2.1 ...
running build
running build_py
creating build
creating build/lib.linux-i686-2.4
creating build/lib.linux-i686-2.4/rrdtool
copying rrdtool/__init__.py -> build/lib.linux-i686-2.4/rrdtool
running build_ext
building 'rrdtool._rrdtool' extension
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/src
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=prescott -pipe -fomit-frame-pointer -fPIC -I/usr/local/include -I/usr/include/python2.4 -c src/_rrdtoolmodule.c -o build/temp.linux-i
686-2.4/src/_rrdtoolmodule.o
src/_rrdtoolmodule.c: In function 'PyRRD_graph':
src/_rrdtoolmodule.c:244: error: too many arguments to function 'rrd_graph'
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1


# qlist -Iv rrdtool
net-analyzer/rrdtool-1.0.49
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2006-10-15 15:20:21 UTC
Tested -r1

The only thing you need is to remove the blocker for versions higher or equal to 1.2 of rrdtools, then it

1) emerges fine
2) passes collision test
3) seems to work, but maybe you may check...

Comment 7 Evil Compile Person 2006-10-21 07:30:29 UTC
ok, looks like we only need to wait for the fixed version to be marked stable ...
Comment 8 Joshua Jackson (RETIRED) gentoo-dev 2006-10-23 20:39:00 UTC
problem is that 1.2.6-r1 is stable and if it says you need under it..it'll cause a up down cycle/blockage...and that is not allowed. Thus we need it fixed.
Comment 9 Joshua Jackson (RETIRED) gentoo-dev 2006-11-07 21:36:50 UTC
netmon *poke* need to figure out what's going on with this. As the depend for rrdtool causes a updown cycle....
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-11-12 23:11:29 UTC
*** Bug 154958 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-11-12 23:14:36 UTC
(In reply to comment #9)
> netmon *poke* need to figure out what's going on with this. As the depend for
> rrdtool causes a updown cycle....

As said in Comment #6 and in the duplicate bug, the dependency is wrong, it should be exactly the opposite, i.e. >=net-analyzer/rrdtool-1.2
Comment 12 Cédric Krier gentoo-dev 2006-11-18 04:54:39 UTC
Fix the dependency in cvs
Comment 13 Markus Meier gentoo-dev 2006-11-18 11:03:06 UTC
dev-python/py-rrdtool-0.2.1-r1
1. emerges on x86
2. passes collision test
3. in a python shell 'import rrdtool'  works

Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18.1 i686)
=================================================================
System uname: 2.6.18.1 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.6
Last Sync: Sat, 18 Nov 2006 18:00:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="autoconfig collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://gentoo.inode.at/"
LINGUAS="en de en_GB de_CH"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 asf berkdb bitmap-fonts cairo cdr cdrom cli cracklib crypt cups dbus divx dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss encode fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kdeenablefinal kernel_linux ldap libg++ linguas_de linguas_de_CH linguas_en linguas_en_GB mad mikmod mmx mono mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection rtsp ruby samba sdl session smp spell spl sse sse2 sse3 ssl svg tcpd test tetex theora threads truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_fbdev video_cards_i810 video_cards_vesa vorbis win32codecs wxwindows x264 xine xml xorg xprint xv xvid zlib"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 14 Tudor Vaida 2006-11-18 12:33:35 UTC
Same here, with the newer -r1 ebuild dependencies seem in order:
# emerge -pv py-rrdtool
...
[ebuild  N    ] net-analyzer/rrdtool-1.2.15-r2  USE="python -doc -perl -rrdcgi -tcltk (-uclibc)" 0 kB 
[ebuild  N    ] dev-python/py-rrdtool-0.2.1-r1  0 kB

emerge finished successfully, import rrdtool works:
gcc-profile: i686-pc-linux-gnu-4.1.1, hardened profile
Comment 15 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-19 10:03:05 UTC
So netmon herd is ok with early stabilisation of this package on x86?  If so, reopen please.
Comment 16 Markus Ullmann (RETIRED) gentoo-dev 2006-11-19 10:13:04 UTC
Tested it on some examples as well and seems to work okay, so I'd say let's go ahead with stabilization then
Comment 17 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-19 10:51:57 UTC
We are done, close this bug if you don't feel like adding more arches.
Comment 18 Markus Ullmann (RETIRED) gentoo-dev 2006-11-19 12:17:19 UTC
gah, bad typos in CC field... 

please test and stable as well
Comment 19 Radoslaw Kojdecki 2006-11-19 13:37:06 UTC
Please fix a "Manifest" file !!!
Comment 20 Radoslaw Kojdecki 2006-11-19 13:38:42 UTC
Ouh ... it builds well, but I had to manually change the "Manifest" file and manually upgrade a "rrdtool" package to newest (~x86) version !
Comment 21 nixnut (RETIRED) gentoo-dev 2006-11-20 11:34:33 UTC
Stable on ppc