During the build, the first error generated is.... generic/itcl_util.c:505: warning: unused variable 'listPtr' Reproducible: Always Steps to Reproduce: 1. emerge -av itcl Actual Results: >>> Failed to emerge dev-tcltk/itcl-3.3-r1, Log file: Expected Results: Program compiles. user@host$ gcc --version gcc (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 4.3.2 user@host$ uname -r 2.6.29-gentoo-r5 x86_64-pc-linux-gnu-gcc -pipe -DPACKAGE_NAME=\"itcl\" -DPACKAGE_TARNAME=\"itcl\" -DPACKAGE_VERSION=\"3.3\" -DPACKAGE_STRING=\"itcl\ 3.3\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DITCL_LIBRARY=\"/usr/lib64/itcl3.3\" -DUSE_NON_CONST -I"./generic" -I/usr/lib64/tcl8.5/include/generic -I/usr/lib64/tcl8.5/include/unix -march=core2 -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -O2 -pipe -march=core2 -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -O2 -pipe -Wall -Wno-implicit-int -fPIC -c `echo ./generic/itcl_parse.c` -o itcl_parse.o x86_64-pc-linux-gnu-gcc -pipe -DPACKAGE_NAME=\"itcl\" -DPACKAGE_TARNAME=\"itcl\" -DPACKAGE_VERSION=\"3.3\" -DPACKAGE_STRING=\"itcl\ 3.3\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DITCL_LIBRARY=\"/usr/lib64/itcl3.3\" -DUSE_NON_CONST -I"./generic" -I/usr/lib64/tcl8.5/include/generic -I/usr/lib64/tcl8.5/include/unix -march=core2 -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -O2 -pipe -march=core2 -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -O2 -pipe -Wall -Wno-implicit-int -fPIC -c `echo ./generic/itcl_util.c` -o itcl_util.o x86_64-pc-linux-gnu-gcc -pipe -DPACKAGE_NAME=\"itcl\" -DPACKAGE_TARNAME=\"itcl\" -DPACKAGE_VERSION=\"3.3\" -DPACKAGE_STRING=\"itcl\ 3.3\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DITCL_LIBRARY=\"/usr/lib64/itcl3.3\" -DUSE_NON_CONST -I"./generic" -I/usr/lib64/tcl8.5/include/generic -I/usr/lib64/tcl8.5/include/unix -march=core2 -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -O2 -pipe -march=core2 -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -O2 -pipe -Wall -Wno-implicit-int -fPIC -c `echo ./generic/itclStubLib.c` -o itclStubLib.o ./generic/itcl_util.c: In function 'Itcl_SetListValue': ./generic/itcl_util.c:505: warning: unused variable 'listPtr' ./generic/itcl_class.c: In function 'Itcl_CreateClass': ./generic/itcl_class.c:216: warning: passing argument 2 of 'tclIntStubsPtr->tcl_SetNamespaceResolvers' from incompatible pointer type ./generic/itcl_class.c:216: warning: passing argument 3 of 'tclIntStubsPtr->tcl_SetNamespaceResolvers' from incompatible pointer type ./generic/itcl_class.c:216: warning: passing argument 4 of 'tclIntStubsPtr->tcl_SetNamespaceResolvers' from incompatible pointer type ./generic/itcl_class.c: In function 'ItclFreeClass': ./generic/itcl_class.c:528: error: 'Var' has no member named 'refCount' ./generic/itcl_class.c:539: warning: passing argument 2 of 'tclIntStubsPtr->tclDeleteVars' from incompatible pointer type ./generic/itcl_class.c: In function 'Itcl_ClassVarResolver': ./generic/itcl_class.c:1111: error: 'Var' has no member named 'name' ./generic/itcl_class.c:1130: error: 'TclVarHashTable' has no member named 'findProc' ./generic/itcl_class.c: In function 'Itcl_BuildVirtualTables': ./generic/itcl_class.c:1430: error: 'TclVarHashTable' has no member named 'findProc' ./generic/itcl_class.c: In function 'Itcl_CreateVarDefn': ./generic/itcl_class.c:1616: warning: passing argument 2 of 'Itcl_EventuallyFree' from incompatible pointer type make: *** [itcl_class.o] Error 1 make: *** Waiting for unfinished jobs.... ./generic/itcl_objects.c: In function 'Itcl_CreateObject': ./generic/itcl_objects.c:197: warning: passing argument 5 of 'tclStubsPtr->tcl_TraceVar2' from incompatible pointer type ./generic/itcl_objects.c: In function 'ItclCreateObjVar': ./generic/itcl_objects.c:1075: error: 'Var' has no member named 'name' ./generic/itcl_objects.c:1076: error: 'Var' has no member named 'nsPtr' ./generic/itcl_objects.c:1089: error: 'Var' has no member named 'hPtr' ./generic/itcl_objects.c:1090: error: 'Var' has no member named 'refCount' make: *** [itcl_objects.o] Error 1 ./generic/itcl_parse.c: In function 'Itcl_ParseInit': ./generic/itcl_parse.c:149: warning: passing argument 3 of 'tclIntStubsPtr->tcl_SetNamespaceResolvers' from incompatible pointer type ./generic/itcl_parse.c: In function 'Itcl_ClassCommonCmd': ./generic/itcl_parse.c:938: error: 'TclVarHashTable' has no member named 'createProc' ./generic/itcl_parse.c:942: error: 'Var' has no member named 'hPtr' ./generic/itcl_parse.c:943: error: 'Var' has no member named 'nsPtr' ./generic/itcl_parse.c:945: error: 'Var' has no member named 'refCount' ./generic/itcl_parse.c:946: error: 'Var' has no member named 'refCount' make: *** [itcl_parse.o] Error 1 ./generic/itcl_methods.c: In function 'Itcl_ConfigBodyCmd': ./generic/itcl_methods.c:268: warning: passing argument 2 of 'Itcl_EventuallyFree' from incompatible pointer type ./generic/itcl_methods.c: In function 'Itcl_CreateMemberFunc': ./generic/itcl_methods.c:461: warning: passing argument 2 of 'Itcl_EventuallyFree' from incompatible pointer type ./generic/itcl_methods.c:494: warning: passing argument 2 of 'Itcl_EventuallyFree' from incompatible pointer type ./generic/itcl_methods.c: In function 'Itcl_ChangeMemberFunc': ./generic/itcl_methods.c:563: warning: passing argument 2 of 'Itcl_EventuallyFree' from incompatible pointer type ./generic/itcl_methods.c: In function 'Itcl_CreateArg': ./generic/itcl_methods.c:1167: error: 'VAR_SCALAR' undeclared (first use in this function) ./generic/itcl_methods.c:1167: error: (Each undeclared identifier is reported only once ./generic/itcl_methods.c:1167: error: for each function it appears in.) ./generic/itcl_methods.c: In function 'Itcl_AssignArgs': ./generic/itcl_methods.c:1894: error: 'VAR_UNDEFINED' undeclared (first use in this function) make: *** [itcl_methods.o] Error 1 ./generic/itcl_migrate.c: In function '_TclNewVar': ./generic/itcl_migrate.c:131: error: 'Var' has no member named 'name' ./generic/itcl_migrate.c:132: error: 'Var' has no member named 'nsPtr' ./generic/itcl_migrate.c:133: error: 'Var' has no member named 'hPtr' ./generic/itcl_migrate.c:134: error: 'Var' has no member named 'refCount' ./generic/itcl_migrate.c:135: error: 'Var' has no member named 'tracePtr' ./generic/itcl_migrate.c:136: error: 'Var' has no member named 'searchPtr' ./generic/itcl_migrate.c:137: error: 'VAR_SCALAR' undeclared (first use in this function) ./generic/itcl_migrate.c:137: error: (Each undeclared identifier is reported only once ./generic/itcl_migrate.c:137: error: for each function it appears in.) ./generic/itcl_migrate.c:137: error: 'VAR_UNDEFINED' undeclared (first use in this function) make: *** [itcl_migrate.o] Error 1
Created attachment 194307 [details] Build Log Build log attached.
Created attachment 194310 [details] itcl build environment Build environment attached.
Seems it won't build against 8.5. Try dev-tcltk/itcl-3.3.1_pre20090417. (it seems there's no updated upstream version, as 4.0 is still a beta)
can this bug be closed?