Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158510 - dev-python/pyqwt-4.2 fails to compile with python 2.5
Summary: dev-python/pyqwt-4.2 fails to compile with python 2.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.5
  Show dependency tree
 
Reported: 2006-12-18 17:13 UTC by Vladimir Brik
Modified: 2007-03-13 19:20 UTC (History)
0 users

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


Attachments
pyqwt-4.2-r1.ebuild (pyqwt-4.2-r1.ebuild,1.37 KB, text/plain)
2007-01-06 09:04 UTC, Troy Melhase
Details
pyqwt-4.2-r2.ebuild (pyqwt-4.2-r2.ebuild,1.42 KB, text/plain)
2007-01-10 05:28 UTC, Troy Melhase
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Brik 2006-12-18 17:13:04 UTC
After emerging python 2.5-r1, python-updater failed on pyqwt 4.2.

There is a new version of pyqwt available, but it's not in portage yet.

Error:
These PyQwt packages will be built: qwt iqt.
The PyQwt packages will be installed in /usr/lib/python/site-packages.
The PyQwt .sip files will be installed in /usr/share/sip.
Generating the C++ source for the qwt module...
//usr/bin/sip -x Qt_STYLE_WINDOWSXP -x Qt_STYLE_INTERLACE -x Qt_STYLE_WINDOWSXP -x VendorID -t WS_X11 -t Qt_3_3_6 -j 1 -c qwt -b qwt/qwt.sbf -I ../sip -I /usr/share/sip ../sip/qwtmod.sip
sip: QwtPlot::titleLabel() has overloaded functions with the same Python signature
Error: Unable to create the C++ code.
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: dev-python/pyqwt-4.2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  pyqwt-4.2.ebuild, line 35:   Called die

emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.19 i686)
=================================================================
System uname: 2.6.19 i686 Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
Gentoo Base System version 1.12.6
Last Sync: Mon, 18 Dec 2006 22:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4, 2.5-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
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.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -msse3 -O2 -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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium-m -msse3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo"
LINGUAS="en"
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://gentoo3.chem.wisc.edu/gentoo-portage"
USE="x86 X alsa bash-completion berkdb bitmap-fonts cdr cli cpudetection cracklib crypt cscope css cups dbus dlloader dri dvd dvdr dvdread elibc_glibc ffmpeg fortran fuse gdbm gif gpm gtk gtk2 hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kdehiddenvisibility kernel_linux lapack libg++ linguas_en logitech-mouse mad mmx mp3 mpeg mplayer ncurses nls nptl nptlonly nsplugin nvidia ofx opengl pam pcre pdf perl plotutils png ppds pppd python qt3 qt4 rdesktop readline reflection sensord session spl sqlite sse sse2 ssl svg tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nvidia vim-syntax win32codecs x264 xcomposite xinerama xorg xscreensaver xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-19 02:21:29 UTC

*** This bug has been marked as a duplicate of 148397 ***
Comment 2 Vladimir Brik 2006-12-26 16:11:57 UTC
I don't think this is a duplicate of 148397. I already had sip-4.5.2 installed when this was submitted. Right now I use sip-4.5.2-r2 and get the same error.
Comment 3 Troy Melhase 2007-01-06 09:04:29 UTC
Created attachment 105599 [details]
pyqwt-4.2-r1.ebuild
Comment 4 Troy Melhase 2007-01-06 09:06:16 UTC
(In reply to comment #2)
> I don't think this is a duplicate of 148397. I already had sip-4.5.2 installed
> when this was submitted. Right now I use sip-4.5.2-r2 and get the same error.
> 

the problem is outlined here:

http://www.mail-archive.com/pykde%40mats.imk.fraunhofer.de/msg07869.html

the attached ebuild removes the two problem lines from ./sip/qwtplot.sip.

Comment 5 Troy Melhase 2007-01-10 05:28:42 UTC
Created attachment 106316 [details]
pyqwt-4.2-r2.ebuild

previous attachment handled only python 2.4.  this attachment also handles python 2.5.
Comment 6 Vladimir Brik 2007-01-15 20:13:06 UTC
> pyqwt-4.2-r2.ebuild
Works now. Thanks!
Comment 7 Rob Cakebread (RETIRED) gentoo-dev 2007-03-13 19:20:30 UTC
Added to CVS. Thanks Troy, Vladimir.
Note: I named it pyqwt-4.2-r1.ebuild but used the latest attachment (r2).