Opened 19 years ago

Closed 19 years ago

#6810 closed defect (fixed)

sqlite3: 'port test sqlite3' fails due to --disable-tcl

Reported by: blair (Blair Zajac) Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: markd@…
Port:

Description

Since the Portfile has this line in it:

configure.args-append --disable-tcl

the test suite fails to build, since it relies upon the Tcl code:

/usr/bin/ld: Undefined symbols: _TclFreeObj _Tcl_AppendElement _Tcl_AppendResult _Tcl_CreateCommand _Tcl_CreateObjCommand _Tcl_DStringAppendElement _Tcl_DStringFree _Tcl_DStringInit _Tcl_EvalObjEx _Tcl_GetBooleanFromObj _Tcl_GetByteArrayFromObj _Tcl_GetDouble _Tcl_GetDoubleFromObj _Tcl_GetInt _Tcl_GetIntFromObj _Tcl_GetObjResult _Tcl_GetString _Tcl_GetStringFromObj _Tcl_GetStringResult _Tcl_GetVar2Ex _Tcl_GetWideIntFromObj _Tcl_LinkVar _Tcl_ListObjAppendElement _Tcl_NewBooleanObj _Tcl_NewByteArrayObj _Tcl_NewDoubleObj _Tcl_NewIntObj _Tcl_NewStringObj _Tcl_NewWideIntObj _Tcl_ObjSetVar2 _Tcl_ResetResult _Tcl_SetObjResult _Tcl_SetResult _Tcl_SetVar2 _Tcl_WrongNumArgs _Tcl_GetBoolean _Tcl_GetCommandInfo _Tcl_Alloc _Tcl_CreateInterp _Tcl_DStringAppend _Tcl_DeleteCommand _Tcl_DuplicateObj _Tcl_Eval _Tcl_EvalFile _Tcl_FindExecutable _Tcl_Free _Tcl_GetIndexFromObj _Tcl_GetVar _Tcl_GlobalEval _Tcl_ListObjGetElements _Tcl_NewListObj _Tcl_NewObj _Tcl_PkgProvide _Tcl_SetBooleanObj _Tcl_SetIntObj _Tcl_SetVar _Tcl_VarEval collect2: ld returned 1 exit status gnumake: * [testfixture] Error 1 Error: Target com.apple.test returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_databases_sqlite3/work/sqlite-3.2.8" && gnumake test" returned error 2

So can we have the --disable-tcl removed?

The only remaining issue is that then the install creates the tree

/System /System/Library /System/Library/Frameworks /System/Library/Frameworks/Tcl.framework /System/Library/Frameworks/Tcl.framework/Versions /System/Library/Frameworks/Tcl.framework/Versions/8.4 /System/Library/Frameworks/Tcl.framework/Versions/8.4/Resources /System/Library/Frameworks/Tcl.framework/Versions/8.4/Resources/Scripts /System/Library/Frameworks/Tcl.framework/Versions/8.4/Resources/Scripts/sqlite3 /System/Library/Frameworks/Tcl.framework/Versions/8.4/Resources/Scripts/sqlite3/libtclsqlite3.dylib /System/Library/Frameworks/Tcl.framework/Versions/8.4/Resources/Scripts/sqlite3/pkgIndex.tcl

and should sqlite3 should install this? I don't have any strong feelings on this particular point :)

Regards, Blair

Change History (3)

comment:1 Changed 19 years ago by blair (Blair Zajac)

Owner: changed from darwinports-bugs@… to mww@…

Reassign to port maintainer.

comment:2 Changed 19 years ago by markd@…

Cc: markd@… added

Is this still unresolved? I installed it with no problems. Then I installed Tcl to see if having Tcl installed and using --disable-tcl might be a problem but it installed fine that way also. Removing --disable-tcl would require adding the tcl port as a dependency. Then again the tcl port was recently updated so please test with the latest of everything.

comment:3 Changed 19 years ago by markd@…

Resolution: fixed
Status: newclosed

Can't duplicate the problem. The port has been updated since the bug was filed so it appears to be fixed.

Note: See TracTickets for help on using tickets.