make[2]: Entering directory `/var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0 if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H-g -fexceptions -I/var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0/include /usr/include/apr-0 -I/usr/include/neon -DNEON_ZLIB -DNEON_SSL -I/usr/include/suS -march=pentium3 -O3 -pipe -Wall -g -fexceptions -I/usr/lib/wx/include/gtk2u-2ut_dlg.Tpo" -c -o about_dlg.o about_dlg.cpp; \ then mv -f ".deps/about_dlg.Tpo" ".deps/about_dlg.Po"; else rm -f ".deps/about_d about_dlg.cpp: In constructor `AboutDlg::AboutDlg(wxWindow*)': about_dlg.cpp:31: error: conversion from `const char[1]' to `const wxString' is ambiguous /usr/include/wx/string.h:306: error: candidates are: wxString::wxString(wchar_t, unsigned int) <near match> /usr/include/wx/string.h:284: error: wxString::wxString(int) <near match> about_dlg.cpp:38: error: call of overloaded `wxString(const char[1])' is ambiguous /usr/include/wx/string.h:323: error: candidates are: wxString::wxString(const wxWCharBuffer&) <near match> /usr/include/wx/string.h:306: error: wxString::wxString(wchar_t, unsigned int) <near match> /usr/include/wx/string.h:291: error: wxString::wxString(const wxString&) <near match> /usr/include/wx/string.h:284: error: wxString::wxString(int) <near match> about_dlg.cpp:46: error: ambiguous overload for 'operator+=' in 'schemasStr += "\n"' /usr/include/wx/string.h:563: error: candidates are: void wxString::operator+=(const wxString&) <near match> /usr/include/wx/string.h:567: error: void wxString::operator+=(wchar_t) <near match> /usr/include/wx/string.h:574: error: void wxString::operator+=(const wxWCharBuffer&) <near match> about_dlg.cpp:48: error: ambiguous overload for 'operator+=' in 'schemasStr += "- "' /usr/include/wx/string.h:563: error: candidates are: void wxString::operator+=(const wxString&) <near match> /usr/include/wx/string.h:567: error: void wxString::operator+=(wchar_t) <near match> /usr/include/wx/string.h:574: error: void wxString::operator+=(const wxWCharBuffer&) <near match> about_dlg.cpp:49: error: ambiguous overload for 'operator+=' in 'schemasStr += (&schema)->std::basic_string<_CharT, _Traits, _Alloc>::c_str [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]()' /usr/include/wx/string.h:563: error: candidates are: void wxString::operator+=(const wxString&) <near match> /usr/include/wx/string.h:567: error: void wxString::operator+=(wchar_t) <near match> /usr/include/wx/string.h:574: error: void wxString::operator+=(const wxWCharBuffer&) <near match> about_dlg.cpp:75: error: no matching function for call to `wxString::Printf( const char[19], int, int, int)' /usr/include/wx/string.h:733: error: candidates are: int wxString::Printf(const wxChar*, ...) about_dlg.cpp:86: error: no matching function for call to `wxString::Printf( const char[42], const wxChar*, const wxChar*, const char[56], const wxChar*) ' /usr/include/wx/string.h:733: error: candidates are: int wxString::Printf(const wxChar*, ...) about_dlg.cpp:95: error: no matching function for call to `wxString::Printf( const char[10], const wxChar*, const wxChar*, const wxChar*)' /usr/include/wx/string.h:733: error: candidates are: int wxString::Printf(const wxChar*, ...) about_dlg.cpp:101: error: no matching function for call to `wxString::Printf( const char[6], const wxChar*, const wxChar*)' /usr/include/wx/string.h:733: error: candidates are: int wxString::Printf(const wxChar*, ...) make[2]: *** [about_dlg.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0/ make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0/ make: *** [all-recursive] Error 1 !!! ERROR: dev-util/rapidsvn-0.6.0 failed. !!! Function src_compile, Line 30, Exitcode 2 !!! (no error message) Installed versions: gtk+-1.2.10-r11 gtk+-2.4.3 wxGTK-2.4.2 subversion-1.0.4-r1 emerge info: Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7) ================================================================= System uname: 2.6.7 i686 Pentium III (Coppermine) Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sanbox sandbox userpriv usersandbox" GENTOO_MIRRORS="http://ftp.freenet.de/pub/ftp.snt.utwente.nl/pub/os/linux/gentoo http://gyroscope.acm.cs.rpi.edu/gentoo/" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync5.de.gentoo.org/gentoo-portage/" USE="X aalib alsa apm avi berkdb bonobo crypt cups dga dvd encode esd exif foomaticdb gdbm ggi gif gimp gimpprint gnome gphoto2 gpm gtk gtk2 guile imap imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls objc oggvorbis opengl oss pam pdflib perl png postgres python quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype unicode usb x86 xml2 xmms xv zlib" I can't really tell if this is a duplicate/relative of bug #45161
I get different error on emerging namely: /var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0/include/svncpp/targets.hpp: At top level: action.cpp:30: warning: `const char*ACTION_NAMES[20]' defined but not used make[2]: *** [action.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0/src' make: *** [all-recursive] Error 1 !!! ERROR: dev-util/rapidsvn-0.6.0 failed. !!! Function src_compile, Line 30, Exitcode 2 !!! (no error message) My emerge info is Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/lib/jboss /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.is.co.za/linux/distributions/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acl acpi aim alsa apache2 apm arts audiofile avi berkdb bonobo cdr crypt cups curl dga directfb doc dvd encode esd ethereal evo fam fbcon fdftk flash foomaticdb freetds gb gd gdbm gif ginac gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib innodb jabber java jikes jpeg junit lcms libg++ libgda libwww mad mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi msn mssql mysql ncurses nls oci8 odbc oggvorbis opengl oscar oss pam pcmcia pcre pda pdflib perl plotutils png pnp postgres ppds prelude python quicktime readline samba scanner sdl slang slp spell sse ssl svg svga szip tcpd tiff truetype trusted unicode usb vhosts wmf wxwindows x86 xinerama xml xml2 xmms xosd xv xvid yahoo zeo zlib"
PROPOSED RESOLUTION : The original error viz. the about_dlg.cpp: In constructor `AboutDlg::AboutDlg(wxWindow*)': about_dlg.cpp:31: error: conversion from `const char[1]' to `const wxString' is ambiguous is resolved by compiling the wxGTK with unicode turned off i.e USE="-unicode" emerge wxGTK Not the best way of doing things but till rapidsvn guys check the unicode strings problem, this one works.
The -unicde fix works for me. Thanks.
Created attachment 37234 [details, diff] (BROKEN) Patch to make rapidsvn compile on unicode wxGTK systems (only tested on a unicode system, and while it compiles, the program becomes unstable!) This patch fixes the rapidsvn sourcecode to correctly use unicode strings when interacting with wxGTK. This fixes the compile errors one gets if one has a unicode wxGTK library. I have not tested this patch on non-unicode systems so I advice applying it in the ebuild only to the unicode case.
I created a patch that fixes the rapidsvn sourcecode to compile ok on unicode wxGTK systems. It makes the rapidsvn sources correctly use unicode strings when interacting with wxGTK. This fixes the compile errors one gets if one has a unicode wxGTK library. I have not tested this patch on non-unicode systems so I advice applying it in the ebuild only to the unicode case. Can someone add this patch to the ebuild? It works and is better than the currently broken state of rapidsvn on unicode wxGTK systems...
Argh! Please ignore my patch. It leads to a broken rapidsvn that quickly crashes. :(
Created attachment 38428 [details, diff] rapidsvn-0.6.0_ebuild.patch - adds documentation - fixes this bug #55569 - fixes libsvncpp.so containing unresolved symbols (together with following patch in ${PORTDIR}/dev-util/rapidsvn/files
Created attachment 38429 [details, diff] svncpp_0.6.1_link.patch - links libsvncpp.so against missing libraries Patch is against rapidsvn 0.6.1 draft (revision 7100), but works with 0.6.0, too. Could post rapidsvn 0.6.1 ebuild (building from repository), too, if anyone interested.
Created attachment 38430 [details, diff] rapidsvn-0.6.0_ebuild.patch sorry, this replaces the wrong file which did not contain the line ./autogen.sh
The same error happens with rapidsvn 0.70.0, both with gcc 3.3.4 and 3.4.3 When I tried to emerge wxGTK 2.5 to try with it, it failed too, with both gcc versions.
A different bug: I get this on an x86, using KDE, and gtk+ 2.6.2. mkdir .libs i386-pc-linux-gnu-g++ -O2 -mcpu=pentium3 -fomit-frame-pointer -Wall -g -fexceptions -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -o .libs/rapidsvn about_dlg.o action.o add_action.o auth_dlg.o bookmarks.o cert_dlg.o checkout_action.o checkout_dlg.o cleanup_action.o commit_action.o commit_dlg.o delete_action.o delete_dlg.o destination_dlg.o diff_action.o diff_dlg.o exceptions.o external_program_action.o filelist_ctrl.o file_info.o folder_browser.o folder_item_data.o get_action.o import_action.o import_dlg.o listed_dlg.o listener.o log_action.o log_dlg.o merge_action.o merge_dlg.o mkdir_action.o move_action.o preferences.o preferences_dlg.o property_action.o property_dlg.o proportional_splitter.o rapidsvn_app.o rapidsvn_frame.oreport_dlg.o resolve_action.o revert_action.o simple_worker.o switch_action.o tracer.o trace_update.o tviewer.o update_action.o update_dlg.o utils.o verblist.o view_action.o -Wl,-rpath -Wl,/usr/lib -O2 -mcpu=pentium3 -fomit-frame-pointer -L/var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0/src/svncpp /var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0/src/svncpp/.libs/libsvncpp.so -L/usr/lib /usr/lib/libsvn_client-1.so /usr/lib/libsvn_wc-1.so /usr/lib/libsvn_ra-1.so /usr/lib/libsvn_delta-1.so /usr/lib/libsvn_subr-1.so /usr/lib/libneon.so -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv /usr/lib/libxml2.so -lz /usr/lib/libapr-0.so -lrt -lm -lcrypt -lnsl -lpthread -ldl /usr/lib/libaprutil-0.so /usr/lib/libgdbm.so /usr/lib/libdb-4.1.so /usr/lib/libexpat.so -pthread-lwx_gtk2-2.4 /usr/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_detach' /usr/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_attach' /usr/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_rc_context_get_default_font_name' collect2: ld returned 1 exit status make[2]: *** [rapidsvn] Error 1 make[2]: Leaving directory `/var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0/src' make: *** [all-recursive] Error 1
I get this on an x86, using KDE 3.3.2 and gtk+ 2.6.2 mkdir .libs i386-pc-linux-gnu-g++ -O2 -mcpu=pentium3 -fomit-frame-pointer -Wall -g -fexceptions -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -o .libs/rapidsvn about_dlg.o action.o add_action.o auth_dlg.o bookmarks.o cert_dlg.o checkout_action.o checkout_dlg.o cleanup_action.o commit_action.o commit_dlg.o delete_action.o delete_dlg.o destination_dlg.o diff_action.o diff_dlg.o exceptions.o external_program_action.o filelist_ctrl.o file_info.o folder_browser.o folder_item_data.o get_action.o import_action.o import_dlg.o listed_dlg.o listener.o log_action.o log_dlg.o merge_action.o merge_dlg.o mkdir_action.o move_action.o preferences.o preferences_dlg.o property_action.o property_dlg.o proportional_splitter.o rapidsvn_app.o rapidsvn_frame.oreport_dlg.o resolve_action.o revert_action.o simple_worker.o switch_action.o tracer.o trace_update.o tviewer.o update_action.o update_dlg.o utils.o verblist.o view_action.o -Wl,-rpath -Wl,/usr/lib -O2 -mcpu=pentium3 -fomit-frame-pointer -L/var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0/src/svncpp /var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0/src/svncpp/.libs/libsvncpp.so -L/usr/lib /usr/lib/libsvn_client-1.so /usr/lib/libsvn_wc-1.so /usr/lib/libsvn_ra-1.so /usr/lib/libsvn_delta-1.so /usr/lib/libsvn_subr-1.so /usr/lib/libneon.so -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv /usr/lib/libxml2.so -lz /usr/lib/libapr-0.so -lrt -lm -lcrypt -lnsl -lpthread -ldl /usr/lib/libaprutil-0.so /usr/lib/libgdbm.so /usr/lib/libdb-4.1.so /usr/lib/libexpat.so -pthread-lwx_gtk2-2.4 /usr/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_detach' /usr/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_attach' /usr/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_rc_context_get_default_font_name' collect2: ld returned 1 exit status make[2]: *** [rapidsvn] Error 1 make[2]: Leaving directory `/var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0/src' make: *** [all-recursive] Error 1
*** Bug 85988 has been marked as a duplicate of this bug. ***
What happens if you recompile wxGTK without the "unicode" flag?
Thanks, when recompiling without unicode USE flag, compilation succeeds and the program seems to work at a first attempt, i.e. it won't crash immediately. I tried an update of my local libgdiplus svn repository and it worked. I was using rel. 0.7.1. It it safe to remerge wxGTK with unicode enabled again? Or will I get into runtime troubles?
I get the same : /usr/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_detach' /usr/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_attach' /usr/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_rc_context_get_default_font_name' collect2: ld returned 1 exit status make[2]: *** [rapidsvn] Error 1 make[2]: Leaving directory `/var/tmp/portage/rapidsvn-0.7.1/work/rapidsvn-0.7.1/src' make[1]: *** [all-recursive] Error 1 [...] On rapidsvn 0.7.1 *without* the global unicode flag. At some point, the binary (already compiled) rapidsvn stoped working complaining about missing symbols : rapidsvn: symbol lookup error: /usr/lib/libwx_gtk2-2.4.so: undefined symbol: _gtk_accel_group_attach I dont use rapidsvn often so I guess it must have started when I re-compiled wxGTK, but I dont see why. This is my current gtk use flag settings : [ebuild R ] x11-libs/wxGTK-2.4.2-r2 -debug +gtk2 -no_wxgtk1 -odbc +opengl -unicode 5,255 kB
Charle, the problem you have isn't the same as the original bug (unicode). Recent gtk+ versions have dropped some private functions wxGTK used. Re-emerging wxGTK will fix it. As for the unicode problem see bug# 62724 for a patch
The link patch and a re-implemented 0.6.0-r1 is now in CVS. It was broken for me and now it's fixed...
*** Bug 94596 has been marked as a duplicate of this bug. ***
(In reply to comment #19) > *** Bug 94596 has been marked as a duplicate of this bug. *** Then that would mean that this bug is not fixed or resolved as that bug status says it is. If your getting it on systems still, then you still have a problem and this bug should not be closed, correct?
(In reply to comment #20) > Then that would mean that this bug is not fixed or resolved as that bug status > says it is. If your getting it on systems still, then you still have a problem > and this bug should not be closed, correct? It
(In reply to comment #20) > Then that would mean that this bug is not fixed or resolved as that bug status > says it is. If your getting it on systems still, then you still have a problem > and this bug should not be closed, correct? It´s fixed in 0.6.0-r1 (not 0.6.0) - as clearly stated in Comment #18.