Bug 12648

Summary: python won't build package without Tk
Product: Ports & Packages Reporter: gsutter <gsutter>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description gsutter 1999-07-15 11:40:00 UTC
One of the options to the lang/python port is to build without Tk,              
which is specified by means of the WITH_TK variable.  However, if              
python is built without Tk, the package creation is unsuccessful,               
as it looks for files that are only in the list when Tk support is
compiled in.  Here's the make error, but there may be others
following this that it hasn't gotten to yet.  I don't know enough              
about the ports/packages structure to fix this myself.                          
 
======                                                                          
 
foobox root /usr/ports/lang/python $make package WITH_TK=0                     
===>  Building package for python-1.5.2                                      
Creating package /usr/ports/lang/python/python-1.5.2.tgz                        
Registering depends:.                                                           
Creating gzip'd tar ball in '/usr/ports/lang/python/python-1.5.2.tgz'           
tar: can't add file lib/python1.5/lib-dynload/_tkinter.so : No such file or     
+directory                                                                      
pkg_create: tar command failed with code 256                                    
*** Error code 1                                                                
 
Stop.                                                                           
======

How-To-Repeat: cd /usr/ports/lang/python
make package WITH_TK=0
Comment 1 Thomas Gellekum freebsd_committer freebsd_triage 1999-07-15 13:00:27 UTC
State Changed
From-To: open->closed

Fixed. Please try an updated port.