<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>148728</bug_id>
          
          <creation_ts>2006-09-22 19:48 0000</creation_ts>
          <short_desc>&gt;=media-libs/lcms-1.15 doesn&apos;t compile with python 2.5</short_desc>
          <delta_ts>2008-02-10 21:49:56 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>149064</dependson>
          <blocked>148333</blocked>
    
    <blocked>155554</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>chutzpah@gentoo.org</reporter>
          <assigned_to>printing@gentoo.org</assigned_to>
          <cc>chris@realcomputerguy.com</cc>
    
    <cc>chriswhite@gentoo.org</cc>
    
    <cc>dsdale24@gmail.com</cc>
    
    <cc>janjitse@a-eskwadraat.nl</cc>
    
    <cc>masterdriverz@gentoo.org</cc>
    
    <cc>nesl247@gmail.com</cc>
    
    <cc>python@gentoo.org</cc>
    
    <cc>ruckc@yahoo.com</cc>
    
    <cc>szabolcs.berecz@gmail.com</cc>
    
    <cc>teidakankan@gmail.com</cc>
    
    <cc>xake@rymdraket.net</cc>

      

      
          <long_desc isprivate="0">
            <who>chutzpah@gentoo.org</who>
            <bug_when>2006-09-22 19:48:15 0000</bug_when>
            <thetext>Dies with this error:

 i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\&quot;lcms\&quot; -DPACKAGE_TARNAME=\&quot;lcms\&quot; -DPACKAGE_VERSION=\&quot;1.15\&quot; &quot;-DPACKAGE_STRING=\&quot;lcms 1.15\&quot;&quot; -DPACKAGE_BUGREPORT=\&quot;\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_LONG=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_LONG_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHasJPEG=1 -DHasZLIB=1 -DHasTIFF=1 -DHAVE_TIFFCONF_H=1 -I. -I. -I/usr/include/python2.5 -I/usr/include/python2.5 -I/usr/local/include/python2.5 -I../include -I../include -march=pentium2 -O2 -fomit-frame-pointer -pipe -c lcms_wrap.cxx  -fPIC -DPIC -o .libs/_lcms_la-lcms_wrap.o
lcms_wrap.cxx: In function &apos;int SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)&apos;:
lcms_wrap.cxx:2051: error: invalid conversion from &apos;const char*&apos; to &apos;char*&apos;
lcms_wrap.cxx: In function &apos;void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)&apos;:
lcms_wrap.cxx:33665: error: invalid conversion from &apos;const char*&apos; to &apos;char*&apos;
make[2]: *** [_lcms_la-lcms_wrap.lo] Error 1
make[2]: Leaving directory `/tmp/portage/portage/lcms-1.15/work/lcms-1.15/python&apos;
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/portage/portage/lcms-1.15/work/lcms-1.15/python&apos;
make: *** [all-recursive] Error 1


Portage 2.1.2_pre1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 23 Sep 2006 02:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.29
dev-lang/python:     2.4.3-r3, 2.5-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=pentium2 -O2 -fomit-frame-pointer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /lib/rcscripts/addons /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/gnome /usr/share/hwdata&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/sound /etc/terminfo /etc/texmf/web2c /etc/udev /usr/kde /usr/share/gnome/apps /usr/share/gnome/bonobo /usr/share/gnome/capplets /usr/share/gnome/cursor-fonts /usr/share/gnome/fonts /usr/share/gnome/help /usr/share/gnome/html /usr/share/gnome/panel /usr/share/gnome/ui /usr/share/gnome/vfolders /usr/share/gnome/vino /usr/share/gnome/wm-properties /var/local&quot;
CXXFLAGS=&quot;-march=pentium2 -O2 -fomit-frame-pointer -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig collision-protect distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo&quot;
LINGUAS=&quot;en_CA en_GB en_US en fr zh_CN zh_TW&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/tmp/portage&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage /usr/local/diskless /usr/local/chutzpah&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X Xaw3d a52 aac accessibility acpi ada alsa amr aoss arts asf audiofile bash-completion berkdb bitmap-fonts bmpx bonobo boost branding bzip2 cairo caps cdparanoia cdr cli client-only colordiff cpudetection crypt css ctype cups curl custom-cflags dbus divx djvu dlloader doc dri dts dv dvd dvdr dvdread dvi eds effects elibc_glibc emacs emboss emf encode esd evo evolution examples exif expat fam fat ffmpeg fftw firefox flac foomaticdb fortran ftp gb gcc-libffi gcj gd gdbm gif gimp gimpprint glibc-omitfp glitz glut gmail gmedia gmp gnome gnomedb gnuplot gnustep gnutls gpgme gphoto2 gpm grammar gstreamer gtk gtkhtml guile gzip hal haskell hfs i8x0 icq icu idea idn ieee1394 ifp image imagemagick imap imlib imlib2 inkjar input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_vmmouse input_devices_void input_devices_wacom ipod ipv6 jabber java jfs jpeg jpeg2k junit kde kernel_linux largeterminal latex lcms ldap libg++ libgda libnotify libwww linguas_en linguas_en_CA linguas_en_GB linguas_en_US linguas_fr linguas_zh_CN linguas_zh_TW live lzo mad math matroska mikmod mjpeg mmap mmx mng mono motif mozdevelop mozilla mozsvg mp3 mp4 mpeg mule musepack mysql nautilus ncurses netboot network nfs nis nls no-old-linux no_wxgtk1 nonfsv4 nptl nptlonly objc odbc ogg openal opengl pam pam_console pascal patented pcre pda pdf perl php plugin png posix postgres povray ppds pppd print python qt3 qt4 quicktime quotas radeon rdesktop readline real realmedia reflection rtc ruby samba scanner sdk sdl session shorten silverxp sndfile sox speex spell spl sql sqlite ssl stream subversion svg tcltk tcpd tetex tga theora tiff totem transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales vcd video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_epson video_cards_fglrx video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_nvidia video_cards_r128 video_cards_radeon video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vidix vim-with-x vorbis win32codecs wmf wxwindows x264 xanim xemacs xine xml xml2 xorg xpm xprint xscreensaver xv xvid xvmc zlib&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>marienz@gentoo.org</who>
            <bug_when>2006-09-25 07:43:12 0000</bug_when>
            <thetext>Applying http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1552530&amp;group_id=1645&amp;atid=101645 to swig fixes this. ChrisWhite: could that be applied to swig-1.3.29 please?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>marienz@gentoo.org</who>
            <bug_when>2006-09-26 10:08:17 0000</bug_when>
            <thetext>swig-1.3.29-r1 fixes this. Printing herd: can you please add &gt;=dev-lang/swig-1.3.29-r1 to DEPEND if python is in USE? Without swig the bindings  are not built, and without at least that version of swig the build fails on python 2.5.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chris@realcomputerguy.com</who>
            <bug_when>2006-10-09 11:26:49 0000</bug_when>
            <thetext>I get this on x86-64:
=========================================================
make  all-am
make[2]: Entering directory `/var/tmp/portage/lcms-1.15/work/lcms-1.15/python&apos;
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\&quot;lcms\&quot; -DPACKAGE_TARNAME=\&quot;lcms\&quot; -DPACKAGE_VERSION=\&quot;1.15\&quot; -DPACKAGE_STRING=\&quot;lcms\ 1.15\&quot; -DPACKAGE_BUGREPORT=\&quot;\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_LONG=8 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_LONG_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHasJPEG=1 -DHasZLIB=1 -DHasTIFF=1 -DHAVE_TIFFCONF_H=1  -I. -I.  -I/usr/include/python2.5 -I/usr/include/python2.5 -I/usr/local/include/python2.5 -I../include -I../include   -march=nocona -O2 -fomit-frame-pointer -pipe -c -o _lcms_la-lcms_wrap.lo `test -f &apos;lcms_wrap.cxx&apos; || echo &apos;./&apos;`lcms_wrap.cxx
mkdir .libs
 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\&quot;lcms\&quot; -DPACKAGE_TARNAME=\&quot;lcms\&quot; -DPACKAGE_VERSION=\&quot;1.15\&quot; &quot;-DPACKAGE_STRING=\&quot;lcms 1.15\&quot;&quot; -DPACKAGE_BUGREPORT=\&quot;\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_LONG=8 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_LONG_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHasJPEG=1 -DHasZLIB=1 -DHasTIFF=1 -DHAVE_TIFFCONF_H=1 -I. -I. -I/usr/include/python2.5 -I/usr/include/python2.5 -I/usr/local/include/python2.5 -I../include -I../include -march=nocona -O2 -fomit-frame-pointer -pipe -c lcms_wrap.cxx  -fPIC -DPIC -o .libs/_lcms_la-lcms_wrap.o
lcms_wrap.cxx: In function &apos;int SWIG_AsCharPtrAndSize(PyObject*, char**, size_t*, int*)&apos;:
lcms_wrap.cxx:2919: error: cannot convert &apos;int*&apos; to &apos;Py_ssize_t*&apos; for argument &apos;3&apos; to &apos;int PyString_AsStringAndSize(PyObject*, char**, Py_ssize_t*)&apos;
make[2]: *** [_lcms_la-lcms_wrap.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/lcms-1.15/work/lcms-1.15/python&apos;
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/lcms-1.15/work/lcms-1.15/python&apos;
make: *** [all-recursive] Error 1
=========================================================

And I have dev-lang/swig-1.3.29-r1 installed (and remerged it with python 2.5).
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nesl247@gmail.com</who>
            <bug_when>2006-10-10 08:47:45 0000</bug_when>
            <thetext>Same error as chris smith.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mike@mikearthur.co.uk</who>
            <bug_when>2006-10-14 01:18:24 0000</bug_when>
            <thetext>Also getting same error as Chris Smith.
~amd64 also.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mike@mikearthur.co.uk</who>
            <bug_when>2006-11-01 15:40:34 0000</bug_when>
            <thetext>any news/ideas/confirmations?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chris@realcomputerguy.com</who>
            <bug_when>2006-11-17 09:45:25 0000</bug_when>
            <thetext>swig-1.3.30 is out and I created an ebuild for it to test lcms and the problem still remains:
 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\&quot;lcms\&quot; -DPACKAGE_TARNAME=\&quot;lcms\&quot; -DPACKAGE_VERSION=\&quot;1.16\&quot; &quot;-DPACKAGE_STRING=\&quot;lcms 1.16\&quot;&quot; -DPACKAGE_BUGREPORT=\&quot;\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_LONG=8 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_LONG_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHasJPEG=1 -DHasZLIB=1 -DHasTIFF=1 -DHAVE_TIFFCONF_H=1 -I. -I/usr/include/python2.5 -I/usr/include/python2.5 -I../include -I../include -march=nocona -O2 -fomit-frame-pointer -pipe -c lcms_wrap.cxx  -fPIC -DPIC -o .libs/_lcms_la-lcms_wrap.o
lcms_wrap.cxx: In function &apos;int SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)&apos;:
lcms_wrap.cxx:2051: error: invalid conversion from &apos;const char*&apos; to &apos;char*&apos;
lcms_wrap.cxx: In function &apos;int SWIG_AsCharPtrAndSize(PyObject*, char**, size_t*, int*)&apos;:
lcms_wrap.cxx:2920: error: cannot convert &apos;int*&apos; to &apos;Py_ssize_t*&apos; for argument &apos;3&apos; to &apos;int PyString_AsStringAndSize(PyObject*, char**, Py_ssize_t*)&apos;
lcms_wrap.cxx: In function &apos;void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)&apos;:
lcms_wrap.cxx:33907: error: invalid conversion from &apos;const char*&apos; to &apos;char*&apos;
make[1]: *** [_lcms_la-lcms_wrap.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/lcms-1.16/work/lcms-1.16/python&apos;
make: *** [all-recursive] Error 1
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genstef@gentoo.org</who>
            <bug_when>2006-11-18 01:47:35 0000</bug_when>
            <thetext>sorry, must have missed this. thanks, FIXED now</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mike@mikearthur.co.uk</who>
            <bug_when>2006-11-19 06:18:00 0000</bug_when>
            <thetext>This isn&apos;t fixed. It still fails on ~amd64, with reemerged swig.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genstef@gentoo.org</who>
            <bug_when>2006-11-19 09:20:08 0000</bug_when>
            <thetext>python herd: please advice</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>szabolcs.berecz@gmail.com</who>
            <bug_when>2007-01-04 10:16:46 0000</bug_when>
            <thetext>swig-1.3.31 fixes the problem</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kloeri@gentoo.org</who>
            <bug_when>2007-01-07 03:53:39 0000</bug_when>
            <thetext>Bumped swig to 1.3.31 and tested that it fixes the amd64 issue.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genstef@gentoo.org</who>
            <bug_when>2007-01-07 09:47:53 0000</bug_when>
            <thetext>thanks, I bumped the dep in lcms. It would be cool if you could have a look at bug 138647 for python too :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-03-16 09:59:46 0000</bug_when>
            <thetext>*** Bug 171126 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-03-16 10:00:57 0000</bug_when>
            <thetext>People complain that it still doesn&apos;t work w/ 1.16 and swig-1.3.31; reopen.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>david@watzke.cz</who>
            <bug_when>2007-03-17 13:19:44 0000</bug_when>
            <thetext>Created an attachment (id=113564)
Fix for invalid conversion.

Works for me on ~amd64.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>janjitse@a-eskwadraat.nl</who>
            <bug_when>2007-03-19 21:33:38 0000</bug_when>
            <thetext>I can confirm that the patch from #16 works for me on ~amd64.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ruckc@yahoo.com</who>
            <bug_when>2007-03-21 09:08:47 0000</bug_when>
            <thetext>i just resynced, and i came across this exact problem.  x86 side of things though swig-1.3.31, python-2.5-r1, trying to install lcms-1.16</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>neil@digimed.co.uk</who>
            <bug_when>2007-03-22 00:08:49 0000</bug_when>
            <thetext>The patch works with both ~amd64 and ~ppc here.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>teidakankan@gmail.com</who>
            <bug_when>2007-03-22 01:47:07 0000</bug_when>
            <thetext>The patch works here on ~x86.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ruckc@yahoo.com</who>
            <bug_when>2007-03-22 02:59:17 0000</bug_when>
            <thetext>so can we get this put into the ebuild/portage system so us little people can use it?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genstef@gentoo.org</who>
            <bug_when>2007-03-22 07:17:00 0000</bug_when>
            <thetext>I get a compile error here with this patch:

lcms_wrap.cxx: In function &apos;int SWIG_AsCharPtrAndSize(PyObject*, char**, size_t*, int*)&apos;:
lcms_wrap.cxx:2919: error: &apos;Py_ssize_t&apos; was not declared in this scope
lcms_wrap.cxx:2919: error: expected `;&apos; before &apos;len&apos;
lcms_wrap.cxx:2920: error: &apos;len&apos; was not declared in this scope
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lucass@gentoo.org</who>
            <bug_when>2007-03-22 09:06:02 0000</bug_when>
            <thetext>In 1.16, instead of patching lcms_wrap.cxx, put in src_unpack:
cd python &amp;&amp; ./swig_lcms</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sprockhoevel@web.de</who>
            <bug_when>2007-03-26 20:09:09 0000</bug_when>
            <thetext>jesus fscking christ!
could someone finally fix this?
i am tired of this:
emerge --remue --skipfirst
just infact of lcms

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>xake@rymdraket.net</who>
            <bug_when>2007-03-26 21:39:21 0000</bug_when>
            <thetext>..or you could &apos;echo =media-libs/lcms-1.16 -python &gt;&gt; /etc/portage/packages.use&apos; (if you do not need the python-bindings) or try one of the fixes in a overlay until this bug is fixed or just stop spamming the bugreport.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lucass@gentoo.org</who>
            <bug_when>2007-03-27 09:35:06 0000</bug_when>
            <thetext>Now it should be fixed. Sorry for the delay.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>113564</attachid>
            <date>2007-03-17 13:19 0000</date>
            <desc>Fix for invalid conversion.</desc>
            <filename>lcms-1.16-invalid-conversion.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHB5dGhvbi9sY21zX3dyYXAuY3h4fgkyMDA3LTAzLTE3IDEzOjQ4OjQ0LjAwMDAwMDAwMCAr
MDEwMAorKysgcHl0aG9uL2xjbXNfd3JhcC5jeHgJMjAwNy0wMy0xNyAxMzo1MjoyNi4wMDAwMDAw
MDAgKzAxMDAKQEAgLTIwNDgsNyArMjA0OCw3IEBACiAgICAgdm9pZCAqdnB0ciA9IDA7CiAgICAg
CiAgICAgLyogaGVyZSB3ZSBnZXQgdGhlIG1ldGhvZCBwb2ludGVyIGZvciBjYWxsYmFja3MgKi8K
LSAgICBjaGFyICpkb2MgPSAoKChQeUNGdW5jdGlvbk9iamVjdCAqKW9iaikgLT4gbV9tbCAtPiBt
bF9kb2MpOworICAgIGNvbnN0IGNoYXIgKmRvYyA9ICgoKFB5Q0Z1bmN0aW9uT2JqZWN0ICopb2Jq
KSAtPiBtX21sIC0+IG1sX2RvYyk7CiAgICAgY29uc3QgY2hhciAqZGVzYyA9IGRvYyA/IHN0cnN0
cihkb2MsICJzd2lnX3B0cjogIikgOiAwOwogICAgIGlmIChkZXNjKSB7CiAgICAgICBkZXNjID0g
dHkgPyBTV0lHX1VucGFja1ZvaWRQdHIoZGVzYyArIDEwLCAmdnB0ciwgdHktPm5hbWUpIDogMDsK
QEAgLTI5MTYsNyArMjkxNiw3IEBACiBTV0lHX0FzQ2hhclB0ckFuZFNpemUoUHlPYmplY3QgKm9i
aiwgY2hhcioqIGNwdHIsIHNpemVfdCogcHNpemUsIGludCAqYWxsb2MpCiB7CiAgIGlmIChQeVN0
cmluZ19DaGVjayhvYmopKSB7Ci0gICAgY2hhciAqY3N0cjsgaW50IGxlbjsKKyAgICBjaGFyICpj
c3RyOyBQeV9zc2l6ZV90IGxlbjsKICAgICBQeVN0cmluZ19Bc1N0cmluZ0FuZFNpemUob2JqLCAm
Y3N0ciwgJmxlbik7CiAgICAgaWYgKGNwdHIpICB7CiAgICAgICBpZiAoYWxsb2MpIHsKQEAgLTMz
OTA0LDExICszMzkwNCwxMSBAQAogICAgIHN3aWdfdHlwZV9pbmZvICoqdHlwZXNfaW5pdGlhbCkg
ewogICAgIHNpemVfdCBpOwogICAgIGZvciAoaSA9IDA7IG1ldGhvZHNbaV0ubWxfbmFtZTsgKytp
KSB7Ci0gICAgICBjaGFyICpjID0gbWV0aG9kc1tpXS5tbF9kb2M7CisgICAgICBjb25zdCBjaGFy
ICpjID0gbWV0aG9kc1tpXS5tbF9kb2M7CiAgICAgICBpZiAoYyAmJiAoYyA9IHN0cnN0cihjLCAi
c3dpZ19wdHI6ICIpKSkgewogICAgICAgICBpbnQgajsKICAgICAgICAgc3dpZ19jb25zdF9pbmZv
ICpjaSA9IDA7Ci0gICAgICAgIGNoYXIgKm5hbWUgPSBjICsgMTA7CisgICAgICAgIGNvbnN0IGNo
YXIgKm5hbWUgPSBjICsgMTA7CiAgICAgICAgIGZvciAoaiA9IDA7IGNvbnN0X3RhYmxlW2pdLnR5
cGU7ICsraikgewogICAgICAgICAgIGlmIChzdHJuY21wKGNvbnN0X3RhYmxlW2pdLm5hbWUsIG5h
bWUsIAogICAgICAgICAgICAgICBzdHJsZW4oY29uc3RfdGFibGVbal0ubmFtZSkpID09IDApIHsK
</data>        

          </attachment>
    </bug>

</bugzilla>