Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 313255 - dev-tcltk/tclpython-4.1-r2 fails to operate
Summary: dev-tcltk/tclpython-4.1-r2 fails to operate
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-05 16:44 UTC by Ai Locke Shinseiko (Wizzleby)
Modified: 2010-04-05 20:15 UTC (History)
0 users

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


Attachments
tclpython-4.1-r2.ebuild.patch (tclpython-4.1-r2.ebuild.patch,1.15 KB, patch)
2010-04-05 19:33 UTC, Ai Locke Shinseiko (Wizzleby)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ai Locke Shinseiko (Wizzleby) 2010-04-05 16:44:47 UTC
upon inspection, it seems that the ebuild leaves out linking to python, and does not build tclthreads.c.

to examine: launch tclsh:
% package require tclpython
couldn't load file "/usr/lib64/tclpython/tclpython.so.4.1": /usr/lib64/tclpython/tclpython.so.4.1: undefined symbol: Py_NoSiteFlag

if -lpython$(python_get_version) is passed, then this undefined symbol is not encountered. However in my build of tcl (which is USE=threads), I get further undefined symbols unless I build tclthreads.c in also.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2010-04-05 18:33:05 UTC
Which version of tclpython? emerge --info?
Comment 2 Ai Locke Shinseiko (Wizzleby) 2010-04-05 19:24:59 UTC
4.1-r2.

Sorry, I got distracted from the bug. I had meant to also attach a diff that fixes it for me (and also should fix bug 312217)
Comment 3 Ai Locke Shinseiko (Wizzleby) 2010-04-05 19:33:02 UTC
Created attachment 226669 [details, diff]
tclpython-4.1-r2.ebuild.patch
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2010-04-05 20:15:41 UTC
Thanks for the patch, fixed in the tree.