Bug 21013 - Python Imaging Library fails to compile against Tk 8.4.2
Bug#: 21013 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: liquidx@gentoo.org Reported By: hyriand@thegraveyard.org
Component: Development
URL: 
Summary: Python Imaging Library fails to compile against Tk 8.4.2
Keywords:  
Status Whiteboard: 
Opened: 2003-05-14 11:12 0000
Description:   Opened: 2003-05-14 11:12 0000
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 From Hyriand 2003-05-14 11:14:11 0000 -------
Created an attachment (id=11978) [details]
fixed ebuild.. defines TK_PHOTOPUTBLOCK_NO_COMPOSITE

------- Comment #2 From Hyriand 2003-05-14 11:14:31 0000 -------
Created an attachment (id=11979) [details]
fixed ebuild.. defines TK_PHOTOPUTBLOCK_NO_COMPOSITE

------- Comment #3 From Hyriand 2003-05-14 11:16:14 0000 -------
Created an attachment (id=11980) [details]
digest for the updated ebuild

------- Comment #4 From Alastair Tse (RETIRED) 2003-05-16 16:38:20 0000 -------
thanks for your ebuild. i've committed the changes to a new revision.