Bug 101950

Summary: buildrequires tcl-devel missing
Product: Red Hat Enterprise Linux 3 Reporter: Michael Redinger <michael.redinger>
Component: pythonAssignee: Mihai Ibanescu <mihai.ibanescu>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-08-08 17:31:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Redinger 2003-08-08 12:23:17 UTC
The python-2.2.3-4.src.rpm package is missing a buildrequires "tcl-devel" line
as it does not successfully if this package is not available:

gcc -fPIC -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC
-I/usr/kerberos/include   -I. -I./Include -DHAVE_CONFIG_H  -DWITH_APPINIT
-I/usr/X11R6/include -DWITH_TIX -c ./Modules/tkappinit.c -o Modules/tkappinit.o
Modules/tkappinit.c:15:17: tcl.h: No such file or directory
Modules/tkappinit.c:16:16: tk.h: No such file or directory
Modules/tkappinit.c:19: syntax error before '*' token
Modules/tkappinit.c: In function `Tcl_AppInit':
Modules/tkappinit.c:21: `Tk_Window' undeclared (first use in this function)
Modules/tkappinit.c:21: (Each undeclared identifier is reported only once
Modules/tkappinit.c:21: for each function it appears in.)
Modules/tkappinit.c:21: syntax error before "main_window"
Modules/tkappinit.c:46: `interp' undeclared (first use in this function)
Modules/tkappinit.c:46: `TCL_ERROR' undeclared (first use in this function)
Modules/tkappinit.c:74: `main_window' undeclared (first use in this function)
Modules/tkappinit.c:112: syntax error before '*' token
Modules/tkappinit.c:113: syntax error before '*' token
Modules/tkappinit.c:114: `NULL' undeclared (first use in this function)
...

Comment 1 Michael Redinger 2003-08-08 12:23:48 UTC
It also needs tk-devel

Comment 2 Mihai Ibanescu 2003-08-08 12:43:50 UTC
Funny you say that, I happened to find the bug myself and fix it in CVS, just
didn't have the packages rebuilt.

Should be fixed in 2.2.3-5.

Thanks for reporting this.

Comment 3 Jay Turner 2003-08-08 17:31:15 UTC
Fix confirmed with 2.2.3-5.