Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 85988
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 55569
Assigned To: Daniel Black <dragonheart@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Bernd Waibel <waebbl@gmx.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 85988 depends on: Show dependency tree
Bug 85988 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-03-20 02:46 0000
The error is as follows:

if i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"rapidsvn\" -DVERSION=\"0.7.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1  -I. -I.   -Wall -g -fexceptions -I/mnt/tmp/portage/rapidsvn-0.7.1/work/rapidsvn-0.7.1/include   -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE  -I/usr/include/apache2   -I/usr/include/apache2  -I/usr/include/neon -DNEON_ZLIB -DNEON_SSL -I/usr/include/subversion-1 -I/usr/lib/wx/include/gtk2ud-2.4 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -march=pentium4 -O2 -fforce-addr -mfpmath=sse -mmmx -msse -msse2 -pipe -Wall -g -fexceptions -I/usr/lib/wx/include/gtk2ud-2.4 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -MT action.o -MD -MP -MF ".deps/action.Tpo" -c -o action.o action.cpp; \
then mv -f ".deps/action.Tpo" ".deps/action.Po"; else rm -f ".deps/action.Tpo"; exit 1; fi
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[55], 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]: *** Waiting for unfinished jobs....
action.cpp:53: error: cannot convert `const wxChar*' to `const char*' in
   initialization
action.cpp: In member function `virtual bool Action::Prepare()':
action.cpp:290: error: invalid initialization of reference of type 'const
   wxString&' from expression of type 'const char*'
/usr/include/wx/filefn.h:237: error: in passing argument 1 of `bool
   wxSetWorkingDirectory(const wxString&)'
action.cpp: In member function `const char* Action::GetName() const':
action.cpp:305: error: cannot convert `const wxChar*' to `const char*' in
   return
action.cpp: In member function `void Action::SetName(const char*)':
action.cpp:311: error: ambiguous overload for 'operator=' in '
   this->Action::m->Action::Data::name = name'
/usr/include/wx/string.h:278: error: candidates are: wxString&
   wxString::operator=(int) <near match>
/usr/include/wx/string.h:519: error:                 wxString&
   wxString::operator=(const wxString&) <near match>
/usr/include/wx/string.h:521: error:                 wxString&
   wxString::operator=(wchar_t) <near match>
/usr/include/wx/string.h:527: error:                 wxString&
   wxString::operator=(const wxWCharBuffer&) <near match>
action.cpp: In member function `svn::Path Action::GetPathAsTempFile(const
   svn::Path&, const svn::Revision&)':
action.cpp:351: error: no matching function for call to `wxString::Printf(const
   char[4], const svn_revnum_t)'
/usr/include/wx/string.h:733: error: candidates are: int wxString::Printf(const
   wxChar*, ...)
/mnt/tmp/portage/rapidsvn-0.7.1/work/rapidsvn-0.7.1/include/svncpp/targets.hpp: At
   top level:
action.cpp:31: warning: `const char*ACTION_NAMES[20]' defined but not used
make[2]: *** [action.o] Error 1
make[2]: Leaving directory `/mnt/tmp/portage/rapidsvn-0.7.1/work/rapidsvn-0.7.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/tmp/portage/rapidsvn-0.7.1/work/rapidsvn-0.7.1/src'
make: *** [all-recursive] Error 1

I have this same error for several (at least 4-6) weeks now, whenever I try to emerge rapidsvn. First version I noticed it was IMO release 0.7.0. I remerged wxGTK last at 10th of March as a part of a revdep-rebuild, but this error was definitely there before.

I use wxGTK-2.4.2-r2, using those USE flags:
[ Found these USE variables for x11-libs/wxGTK-2.4.2-r2 ]
 U I
 + + debug     : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
 - - no_wxgtk1 : <unknown>
 + + gtk2      : Use gtk+-2.0.0 over gtk+-1.2 in cases where a program supports both.
 + + odbc      : Adds ODBC Support (Open DataBase Connectivity)
 + + opengl    : Adds support for OpenGL
 + + unicode   : Adds support for Unicode
 + + debug     : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too


Reproducible: Always
Steps to Reproduce:
1. emerge rapidsvn
2.
3.

Actual Results:  
Compilation breaks at the above target with an ambiguity error.

Expected Results:  
rapidsvn should have compiled and installed.

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.11-ck2-ipv6m i686)
=================================================================
System uname: 2.6.11-ck2-ipv6m i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 26 2005, 02:29:05)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -fforce-addr -mfpmath=sse -mmmx -msse -msse2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /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=pentium4 -O2 -fforce-addr -mfpmath=sse -mmmx -msse -msse2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildsyspkg candy ccache collision-protect
distlocks fixpackages nostrip sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-de"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aalib accessibility acl acpi aim alsa apache2 arts avi
bash-completion berkdb bitmap-fonts crypt cscope cups curl dedicated doc dvd
emboss encode esd exif fam flac font-server foomaticdb fortran freetds gdbm ggi
gif gnome gpm gstreamer gtk2 hal icq jabber jack java joystick jpeg junit
kdeenablefinal libwww linguas_de mad maildir mikmod mmx mmx2 motif mp3 mpeg mpi
msn ncurses nls nptl odbc offensive oggvorbis openal opengl oscar pam pic pie
png ppds pwdb python qt quicktime readline samba sdl shared slang spell sqlite
sse ssl svg svga sysvipc tcpd tetex tiff truetype truetype-fonts type1-fonts
unicode usb videos xml2 xmms xprint yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

------- Comment #1 From David Holm (RETIRED) 2005-03-20 04:18:28 0000 -------

*** This bug has been marked as a duplicate of 55569 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug