Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150712 - media-gfx/skencil-0.6.17 fails to emerge
Summary: media-gfx/skencil-0.6.17 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 223169 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-09 23:44 UTC by Ricardo
Modified: 2010-11-14 22:44 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info,7.69 KB, application/octet-stream)
2006-10-09 23:46 UTC, Ricardo
Details
build.log from skencil emerge (build.log,697 bytes, text/plain)
2007-02-14 23:50 UTC, William Keaney
Details
build log and emerge info (gentoo_bug150712_buildlog_emergeinfo_revdeprebuild.log,7.12 KB, text/plain)
2007-06-29 19:08 UTC, David Thorne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ricardo 2006-10-09 23:44:50 UTC
media-gfx/skencil is listed as a dependency for media-gfx/inkscape-0.44  When I first tried to emerge skencil, it said that I had to re-emerge python with USE="X tk".  I have tried the following steps without any success:

1) Re-emerge python-2.3.5-r2 with USE="X tk"
2) emerge python-2.4.3-r4 with USE="X tk"
3) emerge -e python-2.3.5-r2 && emerge python with USE="X tk"
4) emerge -e skencil with USE="X tk"
5) emerge -e inkscape with USE="X tk"

  None of these work.  Here's the error I get:

>>> Emerging (1 of 1) media-gfx/skencil-0.6.17 to /
 * skencil-0.6.17.tar.gz MD5 ;-) ...                                      [ ok ]
 * skencil-0.6.17.tar.gz RMD160 ;-) ...                                   [ ok ]
 * skencil-0.6.17.tar.gz SHA1 ;-) ...                                     [ ok ]
 * skencil-0.6.17.tar.gz SHA256 ;-) ...                                   [ ok ]
 * skencil-0.6.17.tar.gz size ;-) ...                                     [ ok ]
>>> Creating Manifest for /usr/portage/media-gfx/skencil
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking skencil-0.6.17.tar.gz ;-) ...                                 [ ok ]
 * You need to recompile python with Tkinter support.
 * Try adding: 'dev-lang/python X tk'
 * in to /etc/portage/package.use


!!! ERROR: media-gfx/skencil-0.6.17 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  skencil-0.6.17.ebuild, line 22:   Called python_tkinter_exists
  python.eclass, line 109:   Called die

!!! missing tkinter support with installed python
!!! If you need support, post the topmost build error, and the call stack if rel          
evant.

  emerge --info is attached...at least I hope it is.
Comment 1 Ricardo 2006-10-09 23:46:14 UTC
Created attachment 99256 [details]
emerge --info
Comment 2 Ricardo 2006-11-02 11:25:50 UTC
Is anyone working on this, or does anyone have any suggestions?

-Ricardo-
Comment 3 William Keaney 2007-02-14 23:50:37 UTC
Created attachment 110212 [details]
build.log from skencil emerge

It's been 4 months with not so much as an acknowledgement of this bug.  What's going on?
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-04-07 01:34:08 UTC
(In reply to comment #3)
> Created an attachment (id=110212) [edit]
> build.log from skencil emerge
> 
> It's been 4 months with not so much as an acknowledgement of this bug.  What's
> going on?
> 

I just tested skencil and it emerged just fine for me with python build with USE="tk".
Comment 5 Peter Gantner (a.k.a. nephros) 2007-05-05 09:41:21 UTC
(WORKSFOR)Me too!

I also just got the "you need tkinter" message from skencil, re-emerged python and skencil compiles fine afterwards.

dev-lang/python-2.4.4  USE="berkdb gdbm ncurses readline ssl tk -bootstrap -build -doc -ipv6 -nocxx -ucs2" 0 kB 
media-gfx/skencil-0.6.18_pre20070421  USE="-nls*" 0 kB 
Comment 6 David Thorne 2007-06-29 19:08:55 UTC
Created attachment 123414 [details]
build log and emerge info

I am also suffering from this - although re emerging python for me does not help.  This also occurs under skencil-0.6.18_pre20070421 which is available under ~x86
Comment 7 David Thorne 2007-07-28 08:34:31 UTC
Found a work around:

# USE="-debug - threads" emerge -av tk tcl
# USE="-doc" emerge -av python
# emerge skencil 

I've added the necessary flags to package.use .  It appears something in either the debug flag (in the case of TK) or the docs flag in python prevents Python from detecting if TK support is enabled.  I don't know whether this is now a bug in the ebuild for Python or for TK.  Could someone assign this appropriately? 
Comment 8 David Cato 2007-12-12 22:13:09 UTC
I had the same problem and was able to track it down to a failure to build the tkinter extension due to a link error with libBLT.a (no surprise since it should be linking against libBLT.so).

x86_64-pc-linux-gnu-gcc -pthread -shared -fno-strict-aliasing -DNDEBUG -march=k8 -mtune=k8 -O2 -pipe -I. -I./Include build/temp.linux-x86_64-2.4/_tkinter.o build/temp.linux-x86_64-2.4/tkappinit.o -L/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/local/lib -lBLT -ltk8.4 -ltcl8.4 -lX11 -o build/lib.linux-x86_64-2.4/_tkinter.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/X11R6/lib/libBLT.a(bltInit.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/X11R6/lib/libBLT.a: could not read symbols: Bad value
collect2: ld returned 1 exit status

The link error did not cause the python ebuild to fail.

The problem was that I had dev-tcltk/blt installed and its ebuild does not create a symlink for its shared library, although it does create one for its static library.  Manually creating the libBLT.so symlink (to libBLT24.so) in /usr/lib and re-emerging python results in a successful python build with _tkinter.so and a subsequent successful build of skencil.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-30 06:08:59 UTC
*** Bug 223169 has been marked as a duplicate of this bug. ***
Comment 10 Jesus Rivero (RETIRED) gentoo-dev 2008-09-04 15:50:21 UTC
Adding tcltk@gentoo.org to see if matsuu can help with this. 

Regards, 
Comment 11 Johannes Rauh 2010-01-05 10:42:56 UTC
As already reported in bug #223169 (duplicate to this bug) nowadays media-gfx/skencil-0.6.18_pre20080519 may fail if python is emerged without the tk use-flag.  Shouldn't skencil depend on the +tk-useflag in python in this case?
Comment 12 Christian Faulhammer (RETIRED) gentoo-dev 2010-11-14 22:44:00 UTC
skencil nowadays asks for the tk USE flag in Python, so closing.  Reopen if you disagree.