Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump(main/{tcl,tk}): 9.0.0, revbump(revdeps) #21812

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

bump(main/{tcl,tk}): 9.0.0, revbump(revdeps) #21812

wants to merge 1 commit into from

Conversation

twaik
Copy link
Member

@twaik twaik commented Oct 14, 2024

Major version update, requires rebuilding reverse-dependencies (libsqlite-tcl, pidgin, sqawk, python3.11-tkinter, hping3, vera, tk, tcllib, python-tkinter, eltclsh, libsqlite-tcl, expect).

expect fails to be rebuilt with some weird errors.
Like it fails to import tcl.h and expect.h is misconfigured...

/data/data/com.termux/files/usr/include/tclInt.h:155:45: error: unknown type name 'Tcl_Interp'
  155 | typedef Tcl_Var (Tcl_ResolveRuntimeVarProc)(Tcl_Interp *interp,
      |                                             ^
/data/data/com.termux/files/usr/include/tclInt.h:155:9: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
  155 | typedef Tcl_Var (Tcl_ResolveRuntimeVarProc)(Tcl_Interp *interp,
      | ~~~~~~~ ^
      | int
/data/data/com.termux/files/usr/include/tclInt.h:155:17: error: function cannot return function type 'int (int *, struct Tcl_ResolvedVarInfo *)'
  155 | typedef Tcl_Var (Tcl_ResolveRuntimeVarProc)(Tcl_Interp *interp,

vera fails to find tcl and for some reason detects host's tclsh

-- Found Tclsh: /bin/tclsh (found version "8.6")
-- Could NOT find TCL (missing: TCL_LIBRARY) 
-- Could NOT find TCLTK (missing: TCL_LIBRARY TK_LIBRARY) 
-- Could NOT find TK (missing: TK_LIBRARY) 
CMake Error at src/CMakeLists.txt:5 (message):
  TCL was not found.

hping3 fails to be built too.

script.c:182:37: error: use of undeclared identifier 'objv'; did you mean 'objc'?
  182 |         packetdescr = Tcl_GetStringFromObj(objv[2], NULL);
      |                                            ^~~~
      |                                            objc
script.c:160:7: note: 'objc' declared here
  160 |                 int objc, Tcl_Obj *CONST objv[])
      |                     ^
script.c:182:41: error: subscripted value is not an array, pointer, or vector
  182 |         packetdescr = Tcl_GetStringFromObj(objv[2], NULL);
      |                                            ~~~~^~
script.c:218:28: error: expected ')'
  218 |                 int objc, ars.cT:c909l:_20O:b j *warning: CONvariable 'ip' set but not used [-Wunused-but-set-variable]ST
 objv  [909] | )        s
t      r| uc                                         ^t
 arscript.cs:_217i:p27h:d r *note: ipto match this '(';

      |   217                          ^ | 
static int HpingSendRawCmd(ClientData clientData, Tcl_Interp *interp,
      |                           ^
script.c:228:31: error: use of undeclared identifier 'objv'; did you mean 'objc'?
  228 |                 Tcl_WrongNumArgs(interp, 2, objv, "data");
      |                                             ^~~~
      |                                             objc
script.c:218:7: note: 'objc' declared here
  218 |                 int objc, Tcl_Obj *CONST objv[])
      |                     ^
script.c:233:29: error: use of undeclared identifier 'objv'; did you mean 'objc'?
  233 |         pkt = Tcl_GetStringFromObj(objv[2], &pktlen);
      |                                    ^~~~
      |                                    objc
script.c:218:7: note: 'objc' declared here
  218 |                 int objc, Tcl_Obj *CONST objv[])
      |                     ^
script.c:233:33: error: subscripted value is not an array, pointer, or vector
  233 |         pkt = Tcl_GetStringFromObj(objv[2], &pktlen);
      |                                    ~~~~^~
script.c:265:17: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  265 |         unsigned char *p = (char*)data;

Pidgin source download was very slow so I did not try to build it.

@twaik twaik added the help wanted Help is wanted in order to solve the issue label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Help is wanted in order to solve the issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant