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

Bug 310635

Summary: media-gfx/skencil-0.6.18_pre20080519 gives out deprecation warning regarding python_tkinter_exists() while compiling
Product: Gentoo Linux Reporter: Vitor <vitor.dominor>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vitor 2010-03-22 00:34:07 UTC
I was trying to install inkscape with postscript use flag enabled and, when it arrived at the package media-gfx/skencil-0.6.18_pre20080519, it gave the following output:

 * Deprecation Warning: python_tkinter_exists() is deprecated and will be banned on 2010-07-01.
 * Use PYTHON_USE_WITH="xml" and python_pkg_setup() instead of python_tkinter_exists().
 * The ebuild needs to be fixed. Please report a bug, if it has not been already reported.
 *
 * Python needs to be rebuilt with tkinter support enabled.
 * Add the following line to '/etc/portage/package.use' and rebuild Python
 * dev-lang/python tk
 * ERROR: media-gfx/skencil-0.6.18_pre20080519 failed:
 *   Python installed without support for tkinter
 *
 * Call stack:
 *                           ebuild.sh, line  54:  Called pkg_setup
 *   skencil-0.6.18_pre20080519.ebuild, line  23:  Called python_tkinter_exists
 *                       python.eclass, line 2143:  Called die
 * The specific snippet of code:
 *              die "Python installed without support for tkinter"
 *
 * If you need support, post the output of 'emerge --info =media-gfx/skencil-0.6.18_pre20080519',
 * the complete build log and the output of 'emerge -pqv =media-gfx/skencil-0.6.18_pre20080519'.
 * The complete build log is located at '/var/tmp/portage/media-gfx/skencil-0.6.18_pre20080519/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/skencil-0.6.18_pre20080519/temp/die.env'.
 * S: '/var/tmp/portage/media-gfx/skencil-0.6.18_pre20080519/work/skencil-0.6'

The deprecation warning asks to file a bug report in case the function python_tkinter_exists() isn't replaced in this ebuild. Seeing as I haven't found any other bug reporting concerning this issue, I have filed this one.

Reproducible: Always

Steps to Reproduce:
1. Add postscript use flag to media-gfx/inkscape
2. Emerge it.

Actual Results:  
>>> Emerging (1 of 2) media-gfx/skencil-0.6.18_pre20080519
 * skencil-0.6.18_pre20080519.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                 [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                [ ok ]
 * CPV:  media-gfx/skencil-0.6.18_pre20080519
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux multilib nls userland_GNU
 *
 * Deprecation Warning: python_tkinter_exists() is deprecated and will be banned on 2010-07-01.
 * Use PYTHON_USE_WITH="xml" and python_pkg_setup() instead of python_tkinter_exists().
 * The ebuild needs to be fixed. Please report a bug, if it has not been already reported.
 *
 * Python needs to be rebuilt with tkinter support enabled.
 * Add the following line to '/etc/portage/package.use' and rebuild Python
 * dev-lang/python tk
 * ERROR: media-gfx/skencil-0.6.18_pre20080519 failed:
 *   Python installed without support for tkinter
 *
 * Call stack:
 *                           ebuild.sh, line  54:  Called pkg_setup
 *   skencil-0.6.18_pre20080519.ebuild, line  23:  Called python_tkinter_exists
 *                       python.eclass, line 2143:  Called die
 * The specific snippet of code:
 *              die "Python installed without support for tkinter"
 *
 * If you need support, post the output of 'emerge --info =media-gfx/skencil-0.6.18_pre20080519',
 * the complete build log and the output of 'emerge -pqv =media-gfx/skencil-0.6.18_pre20080519'.
 * The complete build log is located at '/var/tmp/portage/media-gfx/skencil-0.6.18_pre20080519/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/skencil-0.6.18_pre20080519/temp/die.env'.
 * S: '/var/tmp/portage/media-gfx/skencil-0.6.18_pre20080519/work/skencil-0.6'

>>> Failed to emerge media-gfx/skencil-0.6.18_pre20080519, Log file:

>>>  '/var/tmp/portage/media-gfx/skencil-0.6.18_pre20080519/temp/build.log'
Comment 1 Pacho Ramos gentoo-dev 2010-03-23 20:23:21 UTC

*** This bug has been marked as a duplicate of bug 310637 ***