Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 21013

Summary: Python Imaging Library fails to compile against Tk 8.4.2
Product: Gentoo Linux Reporter: Hyriand <hyriand>
Component: [OLD] DevelopmentAssignee: Alastair Tse (RETIRED) <liquidx>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fixed ebuild.. defines TK_PHOTOPUTBLOCK_NO_COMPOSITE
fixed ebuild.. defines TK_PHOTOPUTBLOCK_NO_COMPOSITE
digest for the updated ebuild

Description Hyriand 2003-05-14 11:12:30 UTC
When I tried to recompile the Python Imaging Library (1.1.3-r1) because it
errored out when I used it (Tk got updated, PIL didn't), it couldn't compile.
Calls to Tk_PhotoPutBlock had too few arguments. After poking around a bit, I
found out there was a backwards-compatibility define available.

Reproducible: Always
Steps to Reproduce:
1. emerge -u world
2. emerge Imaging


Actual Results:  
I got an error that Tk_PhotoPutBlock was given too few arguments

Expected Results:  
A freshly built dev-python/Imaging

CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 libg++ libwww pdflib spell gtkhtml gdbm berkdb slang bonobo svga ggi
java guile gpm tcpd esd motif X gtk alsa 3dnow apache2 avi apm cdr crypt dga
encode gd gif jpeg imlib mikmod mmx mozilla mpeg mysql ncurses nls opengl pam
oss perl png pic python quicktime readline samba sdl sse ssl tcltk tiff truetype
xml xml2 xmms xv zlib -gnome -arts -kde oggvorbis -qt -cups"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Hyriand 2003-05-14 11:14:11 UTC
Created attachment 11978 [details]
fixed ebuild.. defines TK_PHOTOPUTBLOCK_NO_COMPOSITE
Comment 2 Hyriand 2003-05-14 11:14:31 UTC
Created attachment 11979 [details]
fixed ebuild.. defines TK_PHOTOPUTBLOCK_NO_COMPOSITE
Comment 3 Hyriand 2003-05-14 11:16:14 UTC
Created attachment 11980 [details]
digest for the updated ebuild
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-05-16 16:38:20 UTC
thanks for your ebuild. i've committed the changes to a new revision.