* Package: dev-perl/Tk-TableMatrix-1.230.0-r2 * Repository: gentoo * Maintainer: perl@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking Tk-TableMatrix-1.23.tar.gz to /var/tmp/portage/dev-perl/Tk-TableMatrix-1.230.0-r2/work >>> Source unpacked in /var/tmp/portage/dev-perl/Tk-TableMatrix-1.230.0-r2/work >>> Preparing source in /var/tmp/portage/dev-perl/Tk-TableMatrix-1.230.0-r2/work/Tk-TableMatrix-1.23 ... * Applying Tk-TableMatrix-1.23-makemaker.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-perl/Tk-TableMatrix-1.230.0-r2/work/Tk-TableMatrix-1.23 ... * Using ExtUtils::MakeMaker * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Tk-TableMatrix-1.230.0-r2/image/ ### Note: 'Building Outside of Tk itself' Messages are Expected Here #### /usr/bin/perl is installed in /usr/lib64/perl5/5.32/x86_64-linux okay PPM for perl5.032001 Test Compiling config/signedchar.c Test Compile/Run config/unsigned.c Test Compiling config/Ksprintf.c Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c Test Compiling config/tod.c Test Compiling -DTIMEOFDAY_TZ config/tod.c Test Compiling -DTIMEOFDAY_NO_TZ config/tod.c Test Compiling -DTIMEOFDAY_DOTS config/tod.c Problem gettimeofday() Using -L/usr/lib64 to find /usr/lib64/libX11.so.6.4.0 Cannot find X include files via /include Using -I/usr/include to find /usr/include/X11/Xlib.h /var/tmp/portage/dev-perl/Tk-TableMatrix-1.230.0-r2/work/Tk-TableMatrix-1.23 does not start with /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux i.e. building outside Tk itself ### Your Tk version is less than 804. ### ### Ok, Using Tk800.0XX dir 'mTk/Tktable800' ### /var/tmp/portage/dev-perl/Tk-TableMatrix-1.230.0-r2/work/Tk-TableMatrix-1.23/pTk does not start with /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux i.e. building outside Tk itself Generating Dependencies for linux, win_arch=x Test Compiling config/Hstrtoul.c Test Compiling config/Hstrdup.c Test Compiling config/Hstrcasecmp.c Extracting mm.h Extracting tkTable.c Extracting tkTable.h Extracting tkTableCell.c Extracting tkTableCellSort.c Extracting tkTableCmds.c Extracting tkTableEdit.c Extracting tkTableTag.c Extracting tkTableUtil.c Extracting tkTableWin.c Extracting tkTableversion.h Extracting version.h Ignoring /usr/include/freetype2 Finding dependencies for tkTable.c Finding dependencies for tkTableCell.c Finding dependencies for tkTableCellSort.c Finding dependencies for tkTableCmds.c Finding dependencies for tkTableEdit.c Finding dependencies for tkTableTag.c Finding dependencies for tkTableUtil.c Finding dependencies for tkTableWin.c Writing MYMETA.yml and MYMETA.json Writing MYMETA.yml and MYMETA.json Ignoring /usr/include/freetype2 Finding dependencies for TableMatrix.xs Generating a Unix-style Makefile Writing Makefile for Tk::TableMatrix Writing MYMETA.yml and MYMETA.json >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-perl/Tk-TableMatrix-1.230.0-r2/work/Tk-TableMatrix-1.23 ... * emake OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 make -j 2 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' Running Mkbootstrap for TableMatrix () chmod 644 "TableMatrix.bs" "/usr/bin/perl" "/usr/lib64/perl5/5.32/ExtUtils/xsubpp" -typemap '/usr/lib64/perl5/5.32/ExtUtils/typemap' -typemap '/usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/typemap' TableMatrix.xs > TableMatrix.xsc cp TableMatrix/Spreadsheet.pm blib/lib/Tk/TableMatrix/Spreadsheet.pm cp TableMatrix.pm blib/lib/Tk/TableMatrix.pm AutoSplitting blib/lib/Tk/TableMatrix.pm (blib/lib/auto/Tk/TableMatrix) cp TableMatrix/SpreadsheetHideRows.pm blib/lib/Tk/TableMatrix/SpreadsheetHideRows.pm "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- TableMatrix.bs blib/arch/auto/Tk/TableMatrix/TableMatrix.bs 644 cd pTk && make make[1]: Entering directory '/var/tmp/portage/dev-perl/Tk-TableMatrix-1.230.0-r2/work/Tk-TableMatrix-1.23/pTk' mv TableMatrix.xsc TableMatrix.c x86_64-pc-linux-gnu-gcc -c -I/usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk -I/usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk -I/usr/include/freetype2 -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -DVERSION=\"1.23\" -DXS_VERSION=\"1.23\" -fPIC "-I/usr/lib64/perl5/5.32/x86_64-linux/CORE" -DTK800XSTK -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ TableMatrix.c cp tkTableversion.h ../blib/arch/Tk/pTk/tkTableversion.h cp tkTable.h ../blib/arch/Tk/pTk/tkTable.h cp mm.h ../blib/arch/Tk/pTk/mm.h cp version.h ../blib/arch/Tk/pTk/version.h x86_64-pc-linux-gnu-gcc -c -I/usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk -I/usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk -I. -Ibitmaps -I/usr/include/freetype2 -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -DVERSION=\"1.23\" -DXS_VERSION=\"0.9\" -fPIC "-I/usr/lib64/perl5/5.32/x86_64-linux/CORE" -DUSE_LANGWIDGETARG -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ tkTable.c In file included from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:19, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tkPort.h:24, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tk.h:87, from tkTable.h:22, from tkTable.c:25: tkTable.h:530:4: error: unknown type name ‘Arg’ 530 | Arg value, char *widgRec, int offset)); | ^~~ /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:248:27: note: in definition of macro ‘_ANSI_ARGS_’ 248 | # define _ANSI_ARGS_(x) x | ^ In file included from tkTable.c:25: tkTable.h:531:8: error: unknown type name ‘Arg’ 531 | extern Arg TableOptionBdGet _ANSI_ARGS_((ClientData clientData, | ^~~ In file included from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:19, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tkPort.h:24, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tk.h:87, from tkTable.h:22, from tkTable.c:25: tkTable.h:535:22: error: unknown type name ‘Arg’ 535 | TableTag *tagPtr, Arg oldValue, int nullOK)); | ^~~ /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:248:27: note: in definition of macro ‘_ANSI_ARGS_’ 248 | # define _ANSI_ARGS_(x) x | ^ tkTable.h:538:22: error: unknown type name ‘Arg’ 538 | Tk_Window unused, Arg value, | ^~~ /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:248:27: note: in definition of macro ‘_ANSI_ARGS_’ 248 | # define _ANSI_ARGS_(x) x | ^ In file included from tkTable.c:25: tkTable.h:540:8: error: unknown type name ‘Arg’ 540 | extern Arg Cmd_OptionGet _ANSI_ARGS_((ClientData clientData, | ^~~ tkTable.h:589:8: error: unknown type name ‘Arg’ 589 | extern Arg TableCellSort _ANSI_ARGS_((Table *tablePtr, char *str)); | ^~~ tkTable.c:171:37: error: ‘Cmd_OptionSet’ undeclared here (not in a function); did you mean ‘Cmd_OptionGet’? 171 | static Tk_CustomOption drawOpt = { Cmd_OptionSet, Cmd_OptionGet, | ^~~~~~~~~~~~~ | Cmd_OptionGet tkTable.c:171:52: warning: initialization of ‘Tcl_Obj * (*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))’ from incompatible pointer type ‘int (*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))’ [-Wincompatible-pointer-types] 171 | static Tk_CustomOption drawOpt = { Cmd_OptionSet, Cmd_OptionGet, | ^~~~~~~~~~~~~ tkTable.c:171:52: note: (near initialization for ‘drawOpt.printProc’) tkTable.c:173:57: warning: initialization of ‘Tcl_Obj * (*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))’ from incompatible pointer type ‘int (*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))’ [-Wincompatible-pointer-types] 173 | static Tk_CustomOption resizeTypeOpt = { Cmd_OptionSet, Cmd_OptionGet, | ^~~~~~~~~~~~~ tkTable.c:173:57: note: (near initialization for ‘resizeTypeOpt.printProc’) tkTable.c:175:54: warning: initialization of ‘Tcl_Obj * (*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))’ from incompatible pointer type ‘int (*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))’ [-Wincompatible-pointer-types] 175 | static Tk_CustomOption stretchOpt = { Cmd_OptionSet, Cmd_OptionGet, | ^~~~~~~~~~~~~ tkTable.c:175:54: note: (near initialization for ‘stretchOpt.printProc’) tkTable.c:177:54: warning: initialization of ‘Tcl_Obj * (*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))’ from incompatible pointer type ‘int (*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))’ [-Wincompatible-pointer-types] 177 | static Tk_CustomOption selTypeOpt = { Cmd_OptionSet, Cmd_OptionGet, | ^~~~~~~~~~~~~ tkTable.c:177:54: note: (near initialization for ‘selTypeOpt.printProc’) tkTable.c:179:56: warning: initialization of ‘Tcl_Obj * (*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))’ from incompatible pointer type ‘int (*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))’ [-Wincompatible-pointer-types] 179 | static Tk_CustomOption stateTypeOpt = { Cmd_OptionSet, Cmd_OptionGet, | ^~~~~~~~~~~~~ tkTable.c:179:56: note: (near initialization for ‘stateTypeOpt.printProc’) tkTable.c:181:35: error: ‘TableOptionBdSet’ undeclared here (not in a function); did you mean ‘TableOptionBdGet’? 181 | static Tk_CustomOption bdOpt = { TableOptionBdSet, TableOptionBdGet, | ^~~~~~~~~~~~~~~~ | TableOptionBdGet tkTable.c:181:53: warning: initialization of ‘Tcl_Obj * (*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))’ from incompatible pointer type ‘int (*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))’ [-Wincompatible-pointer-types] 181 | static Tk_CustomOption bdOpt = { TableOptionBdSet, TableOptionBdGet, | ^~~~~~~~~~~~~~~~ tkTable.c:181:53: note: (near initialization for ‘bdOpt.printProc’) tkTable.c: In function ‘Tk_TableObjCmd’: tkTable.c:513:23: warning: passing argument 3 of ‘TkVptr->V_Lang_CreateWidget’ from incompatible pointer type [-Wincompatible-pointer-types] 513 | tablePtr->tkwin, TableWidgetObjCmd, | ^~~~~~~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, Tcl_Obj **) tkTable.c:513:23: note: expected ‘int (*)(void *, Tcl_Interp *, int, Tcl_Obj * const*)’ but argument is of type ‘int (*)(void *, Tcl_Interp *, int, Tcl_Obj **)’ In file included from tkTable.h:22, from tkTable.c:25: /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tk.h:1812:35: warning: implicit declaration of function ‘LangObjArg’; did you mean ‘LangCmpArg’? [-Wimplicit-function-declaration] 1812 | #define LangWidgetArg(interp,win) LangObjArg(LangWidgetObj(interp,win),__FILE__,__LINE__) | ^~~~~~~~~~ tkTable.c:610:30: note: in expansion of macro ‘LangWidgetArg’ 610 | Tcl_SetObjResult(interp, LangWidgetArg(interp,tablePtr->tkwin)); | ^~~~~~~~~~~~~ /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tk.h:1812:35: warning: passing argument 2 of ‘TcldeclsVptr->V_Tcl_SetObjResult’ makes pointer from integer without a cast [-Wint-conversion] 1812 | #define LangWidgetArg(interp,win) LangObjArg(LangWidgetObj(interp,win),__FILE__,__LINE__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int tkTable.c:610:30: note: in expansion of macro ‘LangWidgetArg’ 610 | Tcl_SetObjResult(interp, LangWidgetArg(interp,tablePtr->tkwin)); | ^~~~~~~~~~~~~ /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tk.h:1812:35: note: expected ‘Tcl_Obj *’ but argument is of type ‘int’ 1812 | #define LangWidgetArg(interp,win) LangObjArg(LangWidgetObj(interp,win),__FILE__,__LINE__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tkTable.c:610:30: note: in expansion of macro ‘LangWidgetArg’ 610 | Tcl_SetObjResult(interp, LangWidgetArg(interp,tablePtr->tkwin)); | ^~~~~~~~~~~~~ tkTable.c: In function ‘TableWidgetObjCmd’: tkTable.c:650:51: warning: passing argument 3 of ‘TcldeclsVptr->V_Tcl_GetIndexFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 650 | result = Tcl_GetIndexFromObj(interp, objv[1], commandNames, | ^~~~~~~~~~~~ | | | char ** tkTable.c:650:51: note: expected ‘const char **’ but argument is of type ‘char **’ tkTable.c:819:47: warning: passing argument 3 of ‘TcldeclsVptr->V_Tcl_GetIndexFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 819 | if (Tcl_GetIndexFromObj(interp, objv[2], selCmdNames, | ^~~~~~~~~~~ | | | char ** tkTable.c:819:47: note: expected ‘const char **’ but argument is of type ‘char **’ tkTable.c: In function ‘TableDestroy’: tkTable.c:938:43: warning: passing argument 2 of ‘Tcl_UntraceVar’ from incompatible pointer type [-Wincompatible-pointer-types] 938 | Tcl_UntraceVar(tablePtr->interp, tablePtr->arrayVar, | ~~~~~~~~^~~~~~~~~~ | | | Tcl_Obj * In file included from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:19, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tkPort.h:24, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tk.h:87, from tkTable.h:22, from tkTable.c:25: /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tclDecls.h:836:18: note: expected ‘const char *’ but argument is of type ‘Tcl_Obj *’ 836 | CONST char * varName, int flags, /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:248:27: note: in definition of macro ‘_ANSI_ARGS_’ 248 | # define _ANSI_ARGS_(x) x | ^ tkTable.c: In function ‘TableConfigure’: tkTable.c:1048:5: error: unknown type name ‘Arg’ 1048 | Arg *objArray; | ^~~ tkTable.c:1063:24: warning: implicit declaration of function ‘LangString’; did you mean ‘LangSetString’? [-Wimplicit-function-declaration] 1063 | oldVarString = LangString(Tcl_GetVar(interp, oldVar, TCL_GLOBAL_ONLY)); | ^~~~~~~~~~ | LangSetString tkTable.c:1063:54: warning: passing argument 2 of ‘TcldeclsVptr->V_Tcl_GetVar’ from incompatible pointer type [-Wincompatible-pointer-types] 1063 | oldVarString = LangString(Tcl_GetVar(interp, oldVar, TCL_GLOBAL_ONLY)); | ^~~~~~ | | | Tcl_Obj * tkTable.c:1063:54: note: expected ‘const char *’ but argument is of type ‘Tcl_Obj *’ tkTable.c:1063:22: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1063 | oldVarString = LangString(Tcl_GetVar(interp, oldVar, TCL_GLOBAL_ONLY)); | ^ tkTable.c:1069:14: warning: assignment to ‘int *’ from incompatible pointer type ‘Tcl_Obj **’ [-Wincompatible-pointer-types] 1069 | objArray = (Tcl_Obj **) objv; /* Cast gets rid of warnings */ | ^ tkTable.c:1072:11: warning: passing argument 5 of ‘TkdeclsVptr->V_Tk_ConfigureWidget’ from incompatible pointer type [-Wincompatible-pointer-types] 1072 | objc, objArray, (char *) tablePtr, flags); | ^~~~~~~~ | | | int * tkTable.c:1072:11: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int *’ tkTable.c:1092:62: warning: passing argument 2 of ‘TcldeclsVptr->V_Tcl_GetVar’ from incompatible pointer type [-Wincompatible-pointer-types] 1092 | currentVarString = LangString(Tcl_GetVar(interp, tablePtr->arrayVar, TCL_GLOBAL_ONLY)); | ~~~~~~~~^~~~~~~~~~ | | | Tcl_Obj * tkTable.c:1092:62: note: expected ‘const char *’ but argument is of type ‘Tcl_Obj *’ tkTable.c:1092:22: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1092 | currentVarString = LangString(Tcl_GetVar(interp, tablePtr->arrayVar, TCL_GLOBAL_ONLY)); | ^ tkTable.c:1106:29: warning: passing argument 2 of ‘Tcl_UntraceVar’ from incompatible pointer type [-Wincompatible-pointer-types] 1106 | Tcl_UntraceVar(interp, oldVar, | ^~~~~~ | | | Tcl_Obj * In file included from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:19, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tkPort.h:24, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tk.h:87, from tkTable.h:22, from tkTable.c:25: /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tclDecls.h:836:18: note: expected ‘const char *’ but argument is of type ‘Tcl_Obj *’ 836 | CONST char * varName, int flags, /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:248:27: note: in definition of macro ‘_ANSI_ARGS_’ 248 | # define _ANSI_ARGS_(x) x | ^ tkTable.c:1112:38: warning: passing argument 2 of ‘Tcl_SetVar2’ from incompatible pointer type [-Wincompatible-pointer-types] 1112 | if (Tcl_SetVar2(interp, tablePtr->arrayVar, TEST_KEY, "", | ~~~~~~~~^~~~~~~~~~ | | | Tcl_Obj * In file included from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:19, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tkPort.h:24, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tk.h:87, from tkTable.h:22, from tkTable.c:25: /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tclDecls.h:779:18: note: expected ‘const char *’ but argument is of type ‘Tcl_Obj *’ 779 | CONST char * part1, CONST char * part2, /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:248:27: note: in definition of macro ‘_ANSI_ARGS_’ 248 | # define _ANSI_ARGS_(x) x | ^ tkTable.c:1129:32: warning: passing argument 2 of ‘Tcl_TraceVar’ from incompatible pointer type [-Wincompatible-pointer-types] 1129 | Tcl_TraceVar(interp, tablePtr->arrayVar, | ~~~~~~~~^~~~~~~~~~ | | | Tcl_Obj * In file included from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:19, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tkPort.h:24, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tk.h:87, from tkTable.h:22, from tkTable.c:25: /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tclDecls.h:806:18: note: expected ‘const char *’ but argument is of type ‘Tcl_Obj *’ 806 | CONST char * varName, int flags, /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:248:27: note: in definition of macro ‘_ANSI_ARGS_’ 248 | # define _ANSI_ARGS_(x) x | ^ tkTable.c:1244:45: warning: passing argument 3 of ‘TcldeclsVptr->V_Tcl_GetIndexFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1244 | if (Tcl_GetIndexFromObj(NULL, objv[i], updateOpts, "", 0, &dummy) | ^~~~~~~~~~ | | | char ** tkTable.c:1244:45: note: expected ‘const char **’ but argument is of type ‘char **’ In file included from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:19, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tkPort.h:24, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tk.h:87, from tkTable.h:22, from tkTable.c:25: tkTable.c: In function ‘TableDisplay’: tkTable.c:1912:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1912 | entryPtr = Tcl_CreateHashEntry(colTagsCache, (char *)ucol, &new); | ^ /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:1396:40: note: in definition of macro ‘Tcl_CreateHashEntry’ 1396 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ tkTable.c: In function ‘TableFlashEvent’: tkTable.c:2524:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2524 | count = (int) Tcl_GetHashValue(entryPtr); | ^ In file included from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:19, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tkPort.h:24, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tk.h:87, from tkTable.h:22, from tkTable.c:25: tkTable.c:2536:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2536 | Tcl_SetHashValue(entryPtr, (ClientData) count); | ^ /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:1373:69: note: in definition of macro ‘Tcl_SetHashValue’ 1373 | ine Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value)) | ^~~~~ tkTable.c: In function ‘TableAddFlash’: /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:1373:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1373 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value)) | ^ tkTable.c:2581:5: note: in expansion of macro ‘Tcl_SetHashValue’ 2581 | Tcl_SetHashValue(entryPtr, tablePtr->flashTime); | ^~~~~~~~~~~~~~~~ tkTable.c: In function ‘TableSetActiveIndex’: tkTable.c:2610:40: warning: passing argument 2 of ‘Tcl_SetVar2’ from incompatible pointer type [-Wincompatible-pointer-types] 2610 | Tcl_SetVar2(tablePtr->interp, tablePtr->arrayVar, "active", | ~~~~~~~~^~~~~~~~~~ | | | Tcl_Obj * In file included from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:19, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tkPort.h:24, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tk.h:87, from tkTable.h:22, from tkTable.c:25: /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tclDecls.h:779:18: note: expected ‘const char *’ but argument is of type ‘Tcl_Obj *’ 779 | CONST char * part1, CONST char * part2, /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:248:27: note: in definition of macro ‘_ANSI_ARGS_’ 248 | # define _ANSI_ARGS_(x) x | ^ tkTable.c: In function ‘TableVarProc’: tkTable.c:2692:26: warning: passing argument 2 of ‘Tcl_SetVar2’ from incompatible pointer type [-Wincompatible-pointer-types] 2692 | Tcl_SetVar2(interp, name, TEST_KEY, "", TCL_GLOBAL_ONLY); | ^~~~ | | | Tcl_Obj * In file included from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:19, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tkPort.h:24, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tk.h:87, from tkTable.h:22, from tkTable.c:25: /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tclDecls.h:779:18: note: expected ‘const char *’ but argument is of type ‘Tcl_Obj *’ 779 | CONST char * part1, CONST char * part2, /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:248:27: note: in definition of macro ‘_ANSI_ARGS_’ 248 | # define _ANSI_ARGS_(x) x | ^ tkTable.c:2698:27: warning: passing argument 2 of ‘Tcl_TraceVar’ from incompatible pointer type [-Wincompatible-pointer-types] 2698 | Tcl_TraceVar(interp, name, | ^~~~ | | | Tcl_Obj * In file included from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:19, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tkPort.h:24, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tk.h:87, from tkTable.h:22, from tkTable.c:25: /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tclDecls.h:806:18: note: expected ‘const char *’ but argument is of type ‘Tcl_Obj *’ 806 | CONST char * varName, int flags, /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:248:27: note: in definition of macro ‘_ANSI_ARGS_’ 248 | # define _ANSI_ARGS_(x) x | ^ tkTable.c:2733:41: warning: passing argument 2 of ‘TcldeclsVptr->V_Tcl_GetVar2’ from incompatible pointer type [-Wincompatible-pointer-types] 2733 | data = LangString(Tcl_GetVar2(interp, name, index, TCL_GLOBAL_ONLY)); | ^~~~ | | | Tcl_Obj * tkTable.c:2733:41: note: expected ‘const char *’ but argument is of type ‘Tcl_Obj *’ tkTable.c:2733:8: warning: assignment to ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2733 | data = LangString(Tcl_GetVar2(interp, name, index, TCL_GLOBAL_ONLY)); | ^ tkTable.c:2764:44: warning: passing argument 2 of ‘TcldeclsVptr->V_Tcl_GetVar2’ from incompatible pointer type [-Wincompatible-pointer-types] 2764 | data = LangString(Tcl_GetVar2(interp, name, index, TCL_GLOBAL_ONLY)); | ^~~~ | | | Tcl_Obj * tkTable.c:2764:44: note: expected ‘const char *’ but argument is of type ‘Tcl_Obj *’ tkTable.c:2764:11: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2764 | data = LangString(Tcl_GetVar2(interp, name, index, TCL_GLOBAL_ONLY)); | ^ In file included from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:19, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tkPort.h:24, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tk.h:87, from tkTable.h:22, from tkTable.c:25: tkTable.c: In function ‘TableAdjustParams’: tkTable.c:2978:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2978 | entryPtr = Tcl_FindHashEntry(tablePtr->colWidths, (char *) i); | ^ /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:1394:38: note: in definition of macro ‘Tcl_FindHashEntry’ 1394 | (*((tablePtr)->findProc))(tablePtr, key) | ^~~ tkTable.c:2984:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2984 | value = (int) Tcl_GetHashValue(entryPtr); | ^ In file included from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:19, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tkPort.h:24, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tk.h:87, from tkTable.h:22, from tkTable.c:25: tkTable.c:3072:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3072 | entryPtr = Tcl_FindHashEntry(tablePtr->rowHeights, (char *) i); | ^ /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:1394:38: note: in definition of macro ‘Tcl_FindHashEntry’ 1394 | (*((tablePtr)->findProc))(tablePtr, key) | ^~~ tkTable.c:3078:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3078 | value = (int) Tcl_GetHashValue(entryPtr); | ^ tkTable.c: In function ‘TableFetchSelection’: tkTable.c:3461:5: error: unknown type name ‘Arg’ 3461 | Arg *listArgv; | ^~~ tkTable.c:3462:5: error: unknown type name ‘Arg’ 3462 | Arg value; | ^~~ In file included from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tkVMacro.h:46, from tkTable.h:23, from tkTable.c:25: /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tclDecls.m:330:29: warning: passing argument 3 of ‘TkdeclsVptr->V_Tk_GetCursor’ from incompatible pointer type [-Wincompatible-pointer-types] 330 | # define Tcl_NewStringObj (*TcldeclsVptr->V_Tcl_NewStringObj) /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:60:26: note: in expansion of macro ‘Tcl_NewStringObj’ 60 | #define LangStringArg(x) Tcl_NewStringObj(x,-1) | ^~~~~~~~~~~~~~~~ tkTable.c:3480:84: note: in expansion of macro ‘LangStringArg’ 3480 | rsor(tablePtr->tkwin, Tk_GetCursor(interp, tablePtr->tkwin, LangStringArg("watch"))); | ^~~~~~~~~~~~~ /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tclDecls.m:330:29: note: expected ‘Tk_Uid’ {aka ‘const char *’} but argument is of type ‘Tcl_Obj *’ 330 | # define Tcl_NewStringObj (*TcldeclsVptr->V_Tcl_NewStringObj) /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:60:26: note: in expansion of macro ‘Tcl_NewStringObj’ 60 | #define LangStringArg(x) Tcl_NewStringObj(x,-1) | ^~~~~~~~~~~~~~~~ tkTable.c:3480:84: note: in expansion of macro ‘LangStringArg’ 3480 | rsor(tablePtr->tkwin, Tk_GetCursor(interp, tablePtr->tkwin, LangStringArg("watch"))); | ^~~~~~~~~~~~~ tkTable.c:3499:16: warning: comparison between pointer and integer 3499 | if (value == NULL || | ^~ tkTable.c:3500:34: warning: passing argument 2 of ‘TcldeclsVptr->V_Tcl_ListObjGetElements’ makes pointer from integer without a cast [-Wint-conversion] 3500 | Tcl_ListObjGetElements(interp, value, &listArgc, &listArgv) != TCL_OK) { | ^~~~~ | | | int tkTable.c:3500:34: note: expected ‘Tcl_Obj *’ but argument is of type ‘int’ tkTable.c:3500:52: warning: passing argument 4 of ‘TcldeclsVptr->V_Tcl_ListObjGetElements’ from incompatible pointer type [-Wincompatible-pointer-types] 3500 | Tcl_ListObjGetElements(interp, value, &listArgc, &listArgv) != TCL_OK) { | ^~~~~~~~~ | | | int ** tkTable.c:3500:52: note: expected ‘Tcl_Obj ***’ but argument is of type ‘int **’ In file included from tkTable.c:25: tkTable.c:3510:32: warning: passing argument 1 of ‘sscanf’ makes pointer from integer without a cast [-Wint-conversion] 3510 | TableParseArrayIndex(&r, &c, LangString(listArgv[count])); tkTable.h:642:47: note: in definition of macro ‘TableParseArrayIndex’ 642 | #define TableParseArrayIndex(r, c, i) sscanf((i), "%d,%d", (r), (c)) | ^ In file included from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:157, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:19, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tkPort.h:24, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tk.h:87, from tkTable.h:22, from tkTable.c:25: /usr/include/stdio.h:399:43: note: expected ‘const char * restrict’ but argument is of type ‘int’ 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ tkTable.c:3566:44: warning: implicit declaration of function ‘Tcl_GetResult’; did you mean ‘Tcl_SetResult’? [-Wimplicit-function-declaration] 3566 | Tcl_DStringAppendElement(&selection, Tcl_GetResult(interp)); | ^~~~~~~~~~~~~ | Tcl_SetResult tkTable.c:3566:44: warning: passing argument 2 of ‘TcldeclsVptr->V_Tcl_DStringAppendElement’ makes pointer from integer without a cast [-Wint-conversion] 3566 | Tcl_DStringAppendElement(&selection, Tcl_GetResult(interp)); | ^~~~~~~~~~~~~~~~~~~~~ | | | int tkTable.c:3566:44: note: expected ‘const char *’ but argument is of type ‘int’ tkTable.c: In function ‘TableRestrictProc’: tkTable.c:3659:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3659 | ((eventPtr->xany.serial-(unsigned int)serial) > 0)) { | ^ make[1]: *** [Makefile:356: tkTable.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-perl/Tk-TableMatrix-1.230.0-r2/work/Tk-TableMatrix-1.23/pTk' make: *** [Makefile:1157: pTk/libpTk.a] Error 2 make: *** Waiting for unfinished jobs.... In file included from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:19, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tkPort.h:24, from TableMatrix.xs:12: pTk/tkTable.h:530:4: error: unknown type name ‘Arg’ 530 | Arg value, char *widgRec, int offset)); | ^~~ /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:248:27: note: in definition of macro ‘_ANSI_ARGS_’ 248 | # define _ANSI_ARGS_(x) x | ^ In file included from TableMatrix.xs:13: pTk/tkTable.h:531:8: error: unknown type name ‘Arg’ 531 | extern Arg TableOptionBdGet _ANSI_ARGS_((ClientData clientData, | ^~~ In file included from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/Lang.h:19, from /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tkPort.h:24, from TableMatrix.xs:12: pTk/tkTable.h:535:22: error: unknown type name ‘Arg’ 535 | TableTag *tagPtr, Arg oldValue, int nullOK)); | ^~~ /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:248:27: note: in definition of macro ‘_ANSI_ARGS_’ 248 | # define _ANSI_ARGS_(x) x | ^ pTk/tkTable.h:538:22: error: unknown type name ‘Arg’ 538 | Tk_Window unused, Arg value, | ^~~ /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/pTk/tcl.h:248:27: note: in definition of macro ‘_ANSI_ARGS_’ 248 | # define _ANSI_ARGS_(x) x | ^ In file included from TableMatrix.xs:13: pTk/tkTable.h:540:8: error: unknown type name ‘Arg’ 540 | extern Arg Cmd_OptionGet _ANSI_ARGS_((ClientData clientData, | ^~~ pTk/tkTable.h:589:8: error: unknown type name ‘Arg’ 589 | extern Arg TableCellSort _ANSI_ARGS_((Table *tablePtr, char *str)); | ^~~ In file included from TableMatrix.xs:5: TableMatrix.xs: In function ‘XS_Tk_tablematrix’: TableMatrix.xs:44:27: warning: passing argument 2 of ‘TkglueVptr->V_XSTkCommand’ makes integer from pointer without a cast [-Wint-conversion] 44 | XSRETURN(XSTkCommand(cv,(Tcl_CmdProc *)Tk_TableObjCmd,items,&ST(0))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(void *, HV *, int, char **) {aka int (*)(void *, struct hv *, int, char **)} /usr/lib64/perl5/5.32/x86_64-linux/CORE/XSUB.h:316:23: note: in definition of macro ‘XSRETURN’ 316 | const IV tmpXSoff = (off); \ | ^~~ TableMatrix.xs:44:27: note: expected ‘int’ but argument is of type ‘int (*)(void *, HV *, int, char **)’ {aka ‘int (*)(void *, struct hv *, int, char **)’} 44 | XSRETURN(XSTkCommand(cv,(Tcl_CmdProc *)Tk_TableObjCmd,items,&ST(0))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/perl5/5.32/x86_64-linux/CORE/XSUB.h:316:23: note: in definition of macro ‘XSRETURN’ 316 | const IV tmpXSoff = (off); \ | ^~~ TableMatrix.xs:44:57: warning: passing argument 3 of ‘TkglueVptr->V_XSTkCommand’ makes pointer from integer without a cast [-Wint-conversion] 44 | XSRETURN(XSTkCommand(cv,(Tcl_CmdProc *)Tk_TableObjCmd,items,&ST(0))); | ^~~~~ | | | I32 {aka int} /usr/lib64/perl5/5.32/x86_64-linux/CORE/XSUB.h:316:23: note: in definition of macro ‘XSRETURN’ 316 | const IV tmpXSoff = (off); \ | ^~~ TableMatrix.xs:44:57: note: expected ‘int (*)(void *, HV *, int, SV * const*)’ {aka ‘int (*)(void *, struct hv *, int, struct sv * const*)’} but argument is of type ‘I32’ {aka ‘int’} 44 | XSRETURN(XSTkCommand(cv,(Tcl_CmdProc *)Tk_TableObjCmd,items,&ST(0))); | ^~~~~ /usr/lib64/perl5/5.32/x86_64-linux/CORE/XSUB.h:316:23: note: in definition of macro ‘XSRETURN’ 316 | const IV tmpXSoff = (off); \ | ^~~ TableMatrix.xs:44:63: warning: passing argument 4 of ‘TkglueVptr->V_XSTkCommand’ makes integer from pointer without a cast [-Wint-conversion] 44 | XSRETURN(XSTkCommand(cv,(Tcl_CmdProc *)Tk_TableObjCmd,items,&ST(0))); /usr/lib64/perl5/5.32/x86_64-linux/CORE/XSUB.h:316:23: note: in definition of macro ‘XSRETURN’ 316 | const IV tmpXSoff = (off); \ | ^~~ TableMatrix.xs:44:63: note: expected ‘int’ but argument is of type ‘SV **’ {aka ‘struct sv **’} 44 | XSRETURN(XSTkCommand(cv,(Tcl_CmdProc *)Tk_TableObjCmd,items,&ST(0))); /usr/lib64/perl5/5.32/x86_64-linux/CORE/XSUB.h:316:23: note: in definition of macro ‘XSRETURN’ 316 | const IV tmpXSoff = (off); \ | ^~~ /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux/Tk/tkGlue.m:66:24: error: too few arguments to function ‘TkglueVptr->V_XSTkCommand’ 66 | # define XSTkCommand (*TkglueVptr->V_XSTkCommand) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/perl5/5.32/x86_64-linux/CORE/XSUB.h:316:23: note: in definition of macro ‘XSRETURN’ 316 | const IV tmpXSoff = (off); \ | ^~~ TableMatrix.xs:44:12: note: in expansion of macro ‘XSTkCommand’ 44 | XSRETURN(XSTkCommand(cv,(Tcl_CmdProc *)Tk_TableObjCmd,items,&ST(0))); | ^~~~~~~~~~~ make: *** [Makefile:358: TableMatrix.o] Error 1 * ERROR: dev-perl/Tk-TableMatrix-1.230.0-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-perl/Tk-TableMatrix-1.230.0-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-perl/Tk-TableMatrix-1.230.0-r2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-perl:Tk-TableMatrix-1.230.0-r2:20210226-220818.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-perl/Tk-TableMatrix-1.230.0-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-perl/Tk-TableMatrix-1.230.0-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-perl/Tk-TableMatrix-1.230.0-r2/work/Tk-TableMatrix-1.23' * S: '/var/tmp/portage/dev-perl/Tk-TableMatrix-1.230.0-r2/work/Tk-TableMatrix-1.23'