Summary: | dev-util/gcvs-1.0_beta3-r1 compilation error in TclGlue.cpp | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Dvorkovyy <dekanat> |
Component: | New packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | allanonjl, dietrich, karahd, Mark, me, openhs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 54694 |
Description
Alexander Dvorkovyy
2004-06-20 12:33:21 UTC
*** Bug 54694 has been marked as a duplicate of this bug. *** I too cannot compile the gcvs-1.0_beta3-r1 ebuild, except my compilation fails at a different point: UCvsFolders.cpp: In member function `void UCvsFolders::OnTreeSelecting(int, void*)': UCvsFolders.cpp:827: error: call of overloaded `ResetView(UStr&)' is ambiguous UCvsFiles.h:38: error: candidates are: void UCvsFiles::ResetView(const char*, bool) UCvsFiles.h:41: error: void UCvsFiles::ResetView(bool, bool) make[2]: *** [UCvsFolders.o] Error 1 make[2]: *** Waiting for unfinished jobs.... UCvsFiles.cpp: In member function `int UCvsFiles::OnCmdUpone()': UCvsFiles.cpp:1208: error: call of overloaded `ResetView(UStr&, bool)' is ambiguous UCvsFiles.cpp:417: error: candidates are: void UCvsFiles::ResetView(const char*, bool) UCvsFiles.cpp:475: error: void UCvsFiles::ResetView(bool, bool) UCvsFiles.cpp: In member function `void UCvsFiles::EditSel(EntnodeData*, bool) ': UCvsFiles.cpp:1889: error: call of overloaded `ResetView(UStr&, bool)' is ambiguous UCvsFiles.cpp:417: error: candidates are: void UCvsFiles::ResetView(const char*, bool) UCvsFiles.cpp:475: error: void UCvsFiles::ResetView(bool, bool) make[2]: *** [UCvsFiles.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcvs-1.0_beta3-r1/work/gcvs-1.0b3/common' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gcvs-1.0_beta3-r1/work/gcvs-1.0b3' make: *** [all-recursive-am] Error 2 !!! ERROR: dev-util/gcvs-1.0_beta3-r1 failed. !!! Function src_compile, Line 48, Exitcode 2 !!! (no error message) problems emerging gcvs with kbailey@skolthree kbailey $ cat /etc/make.conf # These settings were set by the catalyst build script that automatically built this stage # Please consult /etc/make.conf.example for a more detailed example CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" USE="alsa cdr dvd matrox opengl scanner usb" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mir.zyrianes.net/gentoo/ http://www.gigaload.org/gentoo.org/" LINGUAS="en_GB" PORT_LOGDIR=/var/log/portage i have had the following in my log file - hope it helps! MultiString.h:60: warning: `std::vector<T, std::allocator<_CharT> >::const_iterator' is implicitly a typename MultiString.h:60: warning: implicit typename is deprecated, please see the documentation for details MultiString.h: At global scope: MultiString.h:118: warning: `std::vector<T, std::allocator<_CharT> >::const_iterator' is implicitly a typename MultiString.h:118: warning: implicit typename is deprecated, please see the documentation for details MultiString.h:119: warning: `std::vector<T, std::allocator<_CharT> >::const_iterator' is implicitly a typename MultiString.h:119: warning: implicit typename is deprecated, please see the documentation for details g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../gcvs -I../gcvs/src -I/. -I../cvstree -I../rf -Wall -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DqUnix -DqGTK -I/usr/X11R6/include -DqCvsDebug=0 -O2 -march=pentium4 -fomit-frame-pointer -pipe -c TextBinary.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../gcvs -I../gcvs/src -I/. -I../cvstree -I../rf -Wall -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DqUnix -DqGTK -I/usr/X11R6/include -DqCvsDebug=0 -O2 -march=pentium4 -fomit-frame-pointer -pipe -I/usr/include -DUSE_TCL="1" -c TclGlue.cpp TclGlue.cpp: In function `int tclCvsBrowserProc(void*, Tcl_Interp*, int, char**)': TclGlue.cpp:444: error: invalid conversion from `const char*' to `char*' TclGlue.cpp:449: error: invalid conversion from `const char*' to `char*' TclGlue.cpp:453: error: invalid conversion from `const char*' to `char*' TclGlue.cpp:458: error: invalid conversion from `const char*' to `char*' TclGlue.cpp:463: error: invalid conversion from `const char*' to `char*' TclGlue.cpp:468: error: invalid conversion from `const char*' to `char*' TclGlue.cpp:473: error: invalid conversion from `const char*' to `char*' TclGlue.cpp:478: error: invalid conversion from `const char*' to `char*' TclGlue.cpp:483: error: invalid conversion from `const char*' to `char*' TclGlue.cpp:488: error: invalid conversion from `const char*' to `char*' TclGlue.cpp:495: error: invalid conversion from `const char*' to `char*' TclGlue.cpp:500: error: invalid conversion from `const char*' to `char*' TclGlue.cpp:505: error: invalid conversion from `const char*' to `char*' TclGlue.cpp:510: error: invalid conversion from `const char*' to `char*' TclGlue.cpp:515: error: invalid conversion from `const char*' to `char*' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../gcvs -I../gcvs/src -I/. -I../cvstree -I../rf -Wall -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DqUnix -DqGTK -I/usr/X11R6/include -DqCvsDebug=0 -O2 -march=pentium4 -fomit-frame-pointer -pipe -c UpdateDlg.cpp TclGlue.cpp: In function `int tclCvsEntriesProc(void*, Tcl_Interp*, int, char**)': TclGlue.cpp:647: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)' TclGlue.cpp: In constructor `CTcl_Interp::CTcl_Interp()': TclGlue.cpp:968: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)' TclGlue.cpp:971: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)' TclGlue.cpp:973: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)' TclGlue.cpp:975: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)' TclGlue.cpp:977: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)' TclGlue.cpp:979: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)' TclGlue.cpp:987: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)' TclGlue.cpp:990: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)' TclGlue.cpp:993: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)' TclGlue.cpp:1234:2: warning: no newline at end of file make[2]: *** [TclGlue.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from UpdateDlg.h:33, from UpdateDlg.cpp:48: MultiString.h: In member function `virtual const void* TMPersistent<T>::GetData() const': MultiString.h:60: warning: `std::vector<T, std::allocator<_CharT> >::const_iterator' is implicitly a typename MultiString.h:60: warning: implicit typename is deprecated, please see the documentation for details MultiString.h: At global scope: MultiString.h:118: warning: `std::vector<T, std::allocator<_CharT> >::const_iterator' is implicitly a typename MultiString.h:118: warning: implicit typename is deprecated, please see the documentation for details MultiString.h:119: warning: `std::vector<T, std::allocator<_CharT> >::const_iterator' is implicitly a typename MultiString.h:119: warning: implicit typename is deprecated, please see the documentation for details make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/gcvs-1.0_beta3-r1/work/gcvs-1.0b3/common' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gcvs-1.0_beta3-r1/work/gcvs-1.0b3' make: *** [all-recursive-am] Error 2 !!! ERROR: dev-util/gcvs-1.0_beta3-r1 failed. !!! Function src_compile, Line 48, Exitcode 2 !!! (no error message) Well, I must say, I haven't seen the sources, but a simple solution would be either installing a prior version of this package, comparing USE flags or modifying sources per hand starting with the top-most error: TclGlue.cpp:444: error: invalid conversion from `const char*' to `char*'. I'll take a guess and say there's a missing "const " in a function declaration or needless usage of "const " on variable inititalization. I'll try to figure out what's wrong there (though I never heard of that application before). can you please try gcvs-1.0 that is now in portage? @ #5: I can confirm the above bug and that using gcvs-1.0 solves the problem. ok, 1.0 works for me too ... closing? I don't see version 1.0 in Portage. I still only see 1.0 beta 3 minahd@lxsrv1 minahd $ sudo emerge -pv gcvs These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-util/gcvs-1.0_beta3-r1 0 kB Total size of downloads: 0 kB And I did a sync last night which is more than a month after this bug says that 1.0 is in Portage. try ACCEPT_KEYWORDS="~x86" emerge -a =dev-util/gcvs-1.0 package is unmaintained upstream, and has now been package masked. removed from the tree, try alternatives like lincvs. |