From: SourceForge.net <no...@so...> - 2009-11-20 00:28:36
|
Bugs item #2883850, was opened at 2009-10-22 13:39 Message generated for change (Comment added) made by nijtmans You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2883850&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 53. Configuration and Build Tools Group: development: 8.6b1.1 Status: Open Resolution: Fixed Priority: 5 Private: No Submitted By: Jan Nijtmans (nijtmans) Assigned to: Jan Nijtmans (nijtmans) Summary: pkgIndex.tcl doesn't get created with static Tcl build Initial Comment: In [Tk Bug #2875562] Andres Garcia Garcia (fandom) added the following comment: > But, could please check whether 'package require registry' works for you? > In my case, pkgIndex.tcl doesn't get created for the extension while it is > when compiling with shared libraries. ---------------------------------------------------------------------- Comment By: Jan Nijtmans (nijtmans) Date: 2009-11-20 01:28 Message: Well, safe-10.1 and safe-10.4 fixed now, Everything should be fine. ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2009-11-19 23:28 Message: Aha! I didn't catch on to what you were doing. [load]able Tcltest? Very nice.... ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2009-11-19 17:37 Message: With the ability to build restored, we can find the failing tests created by this change: ==== safe-10.1 testing statics loading FAILED ==== Contents of test case: set i [safe::interpCreate] list [catch {interp eval $i {load {} Tcltest}} msg] $msg [safe::interpDelete $i]; ---- Result was: 1 {can't read "msg": no such variable} {} ---- Result should have been (exact matching): 1 {can't use package in a safe interpreter: no Tcltest_SafeInit procedure} {} ==== safe-10.1 FAILED ==== safe-10.4 testing nested statics loading / -nestedloadok FAILED ==== Contents of test case: set i [safe::interpCreate -nestedloadok] list [catch {interp eval $i {interp create x; load {} Tcltest x}} msg] $msg [safe::interpDelete $i]; ---- Result was: 1 {can't read "msg": no such variable} {} ---- Result should have been (exact matching): 1 {can't use package in a safe interpreter: no Tcltest_SafeInit procedure} {} ==== safe-10.4 FAILED ---------------------------------------------------------------------- Comment By: Jan Nijtmans (nijtmans) Date: 2009-11-19 11:40 Message: Remark: The advantage of this change is that the Tcltest package now contains all (binary) code needed to run the test suite. There is no need to split it up in "procbodytest"/"objtest"/"threadtest" or whatever. ---------------------------------------------------------------------- Comment By: Jan Nijtmans (nijtmans) Date: 2009-11-19 11:36 Message: Yes, I forgot to update my files before synchronising, as a result unix/tclAppInit.c and win/tclAppInit.c are screwed up now. Unfortunately, I'm behind a firewall now, which doesn't let me check in the fix, but I attached the fix to this Issue. Please, someone who can do it, fix it (trivially), otherwise I will do it tohight. See attached patch. Regards, Jan Nijtmans ;-( ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2009-11-19 04:49 Message: The unix/tcltest executable now fails to compile: /home/dgp/cvs/tcl/unix/tclAppInit.c: In function ‘Tcl_AppInit’: /home/dgp/cvs/tcl/unix/tclAppInit.c:126: error: ‘Tcltest_SafeInit’ undeclared (first use in this function) /home/dgp/cvs/tcl/unix/tclAppInit.c:126: error: (Each undeclared identifier is reported only once /home/dgp/cvs/tcl/unix/tclAppInit.c:126: error: for each function it appears in.) make: *** [tclTestInit.o] Error 1 ---------------------------------------------------------------------- Comment By: Jan Nijtmans (nijtmans) Date: 2009-11-19 01:05 Message: Fixed in HEAD ---------------------------------------------------------------------- Comment By: Andres Garcia Garcia (fandom) Date: 2009-10-27 10:44 Message: The same problem happens with dde. Since I don't use the extension myself, I only noticed it when trying to compile an 8.6 TclKitLite ---------------------------------------------------------------------- Comment By: Jan Nijtmans (nijtmans) Date: 2009-10-22 13:40 Message: Confirmed. Probably a problem in Tcl 8.5 as well. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2883850&group_id=10894 |