Being new to Gentoo, and Linix in general, this is my first bug report so I hope that I'm doing it right. I get this error everytime I try to emerge Tk-TableMatrix-1.01, I am running on a new install of the 2004.0 stage 3 CD using the AthlonXP arch. I have updated portage as well as having ran "emerge sync", "emerge regen" and "emerge info". The only other bug I could find that was similar is at the following address: http://bugs.gentoo.org/show_bug.cgi?id=34940 I haven't installed very much software yet, but one that may make a difference is the GUI I installed is an unmasked version of Gnome 2.6 The ebuild output is listed below. Reproducible: Always Steps to Reproduce: 1. emerge dev-perl/Tk-TableMatrix 2. 3. Actual Results: root # emerge Tk-TableMatrix Calculating dependencies ...done! >>> emerge (1 of 1) dev-perl/Tk-TableMatrix-1.01 to / >>> md5 src_uri ;-) Tk-TableMatrix-1.01.tar.gz >>> Unpacking source... >>> Unpacking Tk-TableMatrix-1.01.tar.gz to /var/tmp/portage/Tk-TableMatrix-1.01/work * Applying patch.diff... [ ok ]>>> Source unpacked. ### Note: 'Building Outside of Tk itself' Messages are Expected Here #### /usr/bin/perl is installed in /usr/lib/perl5/5.8.2/i686-linux okay PPM for perl5.008002 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/X11R6/lib to find /usr/X11R6/lib/libX11.so.6.2 Using -I/usr/X11R6/include to find /usr/X11R6/include/X11/Xlib.h /var/tmp/portage/Tk-TableMatrix-1.01/work/Tk-TableMatrix-1.01 does not start with /usr/lib/perl5/vendor_perl/5.8.2/i686-linux i.e. building outside Tk itself Note (probably harmless): No library found for -lpt /var/tmp/portage/Tk-TableMatrix-1.01/work/Tk-TableMatrix-1.01/pTk does not start with /usr/lib/perl5/vendor_perl/5.8.2/i686-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 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 Makefile for Tk::pTk Writing Makefile for Tk::pod Finding dependencies for TableMatrix.xs Writing Makefile for Tk::TableMatrix cp TableMatrix.pm blib/lib/Tk/TableMatrix.pm AutoSplitting blib/lib/Tk/TableMatrix.pm (blib/lib/auto/Tk/TableMatrix) cp TableMatrix/Spreadsheet.pm blib/lib/Tk/TableMatrix/Spreadsheet.pm cp TableMatrix/SpreadsheetHideRows.pm blib/lib/Tk/TableMatrix/SpreadsheetHideRows.pm cd pTk && make make[1]: Entering directory `/var/tmp/portage/Tk-TableMatrix-1.01/work/Tk-TableMatrix-1.01/pTk' cp mm.h ../blib/arch/Tk/pTk/mm.h cp tkTable.h ../blib/arch/Tk/pTk/tkTable.h cp tkTableversion.h ../blib/arch/Tk/pTk/tkTableversion.h cp version.h ../blib/arch/Tk/pTk/version.h gcc -c -I/usr/lib/perl5/vendor_perl/5.8.2/i686-linux/Tk -I/usr/X11R6/include -I/usr/lib/perl5/vendor_perl/5.8.2/i686-linux/Tk/pTk -I. -Ibitmaps -I/usr/X11R6/include -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=athlon-xp -fomit-frame-pointer -DVERSION=\"1.01\" -DXS_VERSION=\"0.9\" -fPIC "-I/usr/lib/perl5/5.8.2/i686-linux/CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ tkTable.c In file included from tkTable.c:25: tkTable.h:528: error: syntax error before "Arg" tkTable.h:531: error: syntax error before "TableOptionBdGet" tkTable.h:531: warning: data definition has no type or storage class tkTable.h:534: error: syntax error before "Arg" tkTable.h:536: error: syntax error before "Arg" tkTable.h:540: error: syntax error before "Cmd_OptionGet" tkTable.h:540: warning: data definition has no type or storage class tkTable.h:589: error: syntax error before "TableCellSort" tkTable.h:589: warning: data definition has no type or storage class tkTable.c:171: warning: initialization from incompatible pointer type tkTable.c:173: warning: initialization from incompatible pointer type tkTable.c:175: warning: initialization from incompatible pointer type tkTable.c:177: warning: initialization from incompatible pointer type tkTable.c:179: warning: initialization from incompatible pointer type tkTable.c:181: warning: initialization from incompatible pointer type tkTable.c: In function `Tk_TableObjCmd': tkTable.c:514: warning: passing arg 3 of pointer to function from incompatible pointer type tkTable.c: In function `TableWidgetObjCmd': tkTable.c:651: warning: passing arg 3 of pointer to function from incompatible pointer type tkTable.c:820: warning: passing arg 3 of pointer to function from incompatible pointer type tkTable.c: In function `TableDestroy': tkTable.c:940: warning: passing arg 2 of `Tcl_UntraceVar' from incompatible pointer type tkTable.c: In function `TableConfigure': tkTable.c:1048: error: `Arg' undeclared (first use in this function) tkTable.c:1048: error: (Each undeclared identifier is reported only once tkTable.c:1048: error: for each function it appears in.) tkTable.c:1048: error: `objArray' undeclared (first use in this function) tkTable.c:1063: warning: implicit declaration of function `LangString' tkTable.c:1063: warning: passing arg 2 of pointer to function from incompatible pointer type tkTable.c:1063: warning: assignment makes pointer from integer without a cast tkTable.c:1092: warning: passing arg 2 of pointer to function from incompatible pointer type tkTable.c:1092: warning: assignment makes pointer from integer without a cast tkTable.c:1108: warning: passing arg 2 of `Tcl_UntraceVar' from incompatible pointer type tkTable.c:1113: warning: passing arg 2 of `Tcl_SetVar2' from incompatible pointer type tkTable.c:1132: warning: passing arg 2 of `Tcl_TraceVar' from incompatible pointer type tkTable.c:1244: warning: passing arg 3 of pointer to function from incompatible pointer type tkTable.c: In function `TableSetActiveIndex': tkTable.c:2611: warning: passing arg 2 of `Tcl_SetVar2' from incompatible pointer type tkTable.c: In function `TableVarProc': tkTable.c:2692: warning: passing arg 2 of `Tcl_SetVar2' from incompatible pointer type tkTable.c:2700: warning: passing arg 2 of `Tcl_TraceVar' from incompatible pointer type tkTable.c:2733: warning: passing arg 2 of pointer to function from incompatible pointer type tkTable.c:2733: warning: assignment makes pointer from integer without a cast tkTable.c:2764: warning: passing arg 2 of pointer to function from incompatible pointer type tkTable.c:2764: warning: assignment makes pointer from integer without a cast tkTable.c: In function `TableFetchSelection': tkTable.c:3461: error: `Arg' undeclared (first use in this function) tkTable.c:3461: error: `listArgv' undeclared (first use in this function) tkTable.c:3462: error: syntax error before "value" tkTable.c:3480: warning: passing arg 3 of pointer to function from incompatible pointer type tkTable.c:3497: error: `value' undeclared (first use in this function) tkTable.c:3510: warning: passing arg 1 of `sscanf' makes pointer from integer without a cast tkTable.c:3567: warning: implicit declaration of function `Tcl_GetResult' tkTable.c:3567: warning: passing arg 2 of pointer to function makes pointer from integer without a cast make[1]: *** [tkTable.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/Tk-TableMatrix-1.01/work/Tk-TableMatrix-1.01/pTk' make: *** [pTk/libpTk.a] Error 2 !!! ERROR: dev-perl/Tk-TableMatrix-1.01 failed. !!! Function perl-module_src_compile, Line 53, Exitcode 2 !!! compilation failed
I had problems building Tk-TableMatrix-1.01 with perl-5.8.4 (updated unstable profile) I bumped it to Tk-TableMatrix-1.1 and things went in just fine. Time for a version bump?
Happens here too... ran into this while trying to emerge xmltv.
Created attachment 31235 [details] Tk-TableMatrix-1.1.ebuild bumping version to 1.l works for me also, can we get this committed?
same problem here...1.1 fixes it
1.1 went into the tree about a week ago now. Sorry for the delay, Mike