When reemerging clearsilver, the python bindings are not installed. After looking around, it seems that configure can't find the python include files. It worked fine before, atleast with python 2.4. I'm now using python 2.4.1, but can not say for sure if the version change there has anything to do with it. Either way, the ebuild should have caught it? Reproducible: Always Steps to Reproduce: 1. set USE="python" 2. emerge clearsilver Actual Results: Clearsilver was installed, but without the python bindings. Expected Results: It should have installed the python bindings. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4. 20041102-r1, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 Pentium III (Katmai) Gentoo Base System version 1.6.12 Python: dev-lang/python-2.4.1-r1 [2.4.1 (#1, Jun 23 2005, 18:10:10 )] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.4.1-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /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/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/ pub/os/linux/gentoo http://gentoo.tiscali.nl/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3ds aac aalib acpi acpi4linux aim alsa amd apache2 apm audiofile avi bash-completion berkdb bitmap-fonts calendar cddb chroot codecs crypt cups curl curlwrappers dba dbase dbm dbx dedicated dio directfb divx4linux doc dv emboss encode exif faac faad fbcon ffmpeg filepro flac flatfile flood foomaticdb fortran ftp gcj gd gdbm ggi gif glep gnuplot gpm gstreamer hardened hardenedphp icecast iconv icq imagemagick imap imlib inifile jabber java javascript jikes jpeg junit jython ladcca largeterminal libcaca libg++ libgda libwww live mad matroska mbox mikmod mmx motif mozsvg mp3 mpeg mpeg4 mpi msn music ncurses nls nocd nowin nptl offensive ogg oggvorbis openssh operanom2 optional-tasks oscar oss pam pam_console parse-clocks pdf pdfkit pdflib pear-db perl pg-hier pg- intdatetime pg-vacuumdelay php pic pie plotutils png postgres postgresql ppds python quicktime rage128 readline regexp rhino ruby samba sasl serial sftplogging skey slang slp sndfile snmp soap speex spell spl sqlite src sse ssl svg tcpd tetex theora tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vcdimager vhosts videos vorbis wmf wsconvert xchatnogtk xchattext xgetdefault xml xml2 xpm xvid yahoo zeo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Please, always put the ebuild name and version into summary...
oops.. sorry about that.. the ebuild in question is: dev-libs/clearsilver-0.9.7
Python folks, please advise.
can you try 0.9.14 in unstable? i can't reproduce this on either 0.9.7 or 0.9.14? what is the output of the compile error? -- we need the whole compile log
Created attachment 63966 [details] Portage-log of last attempt to emerge clearsilver with python bindings This is the log from last time. As you can see, configure can't find the python includes. I'm trying to emerge 0.9.14 now, will come back with a report later today or tomorrow.
Created attachment 63970 [details] Portage-log using dev-libs\clearsilver-0.9.14 ebuild Tried 0.9.14, and the same thing happens. Configure can't find the python include files and no python bindings are installed.
Created attachment 64543 [details, diff] clearsilver-0.9.14-python24.patch The problem is their configure script uses a function that is obsolete in python 2.4. This patch fixes it, but needs testing to make sure 2.3 still works.
Created attachment 64550 [details, diff] clearsilver-0.9.7-python24.patch
Created attachment 64551 [details, diff] 0.9.7 ebuild diff
Created attachment 64552 [details, diff] 0.9.14 ebuild diff Ok web-apps, I tested both clearsilver versions on python 2.3 and 2.4
In CVS, thanks pythonhead