Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94596 - 'emerge rapidsvn' fails with uncompilable code error.
Summary: 'emerge rapidsvn' fails with uncompilable code error.
Status: RESOLVED DUPLICATE of bug 55569
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-31 02:52 UTC by D King
Modified: 2005-05-31 10:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description D King 2005-05-31 02:52:09 UTC
Any attempts to emerge 'rapidsvn' fail with a error. In this error 'make' states
the application code is calling functions that do not exist clearly or not
defined as such, and thus it fails to compile.

See below for full error output.

Reproducible: Always
Steps to Reproduce:
1. Open a terminal and su root.
2. emerge --sync
3. emerge rapidsvn


Actual Results:  
I was given the following error from 'make' as it seconded on the emerges seppuku:

make[2]: Entering directory
`/var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0/src'
if i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"rapidsvn\" -DVERSION=\"0.6.0\" -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/var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0/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/gtk2u-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -O2
-march=pentium4 -fomit-frame-pointer -pipe -Wall -g -fexceptions
-I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -MT about_dlg.o -MD -MP -MF
".deps/about_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_dlg.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"rapidsvn\" -DVERSION=\"0.6.0\" -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/var/tmp/portage/rapidsvn-0.6.0/work/rapidsvn-0.6.0/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/gtk2u-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -O2
-march=pentium4 -fomit-frame-pointer -pipe -Wall -g -fexceptions
-I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -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[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]: *** Waiting for unfinished jobs....
action.cpp:52: error: cannot convert `const wxChar*' to `const char*' in
   initialization
action.cpp: In member function `virtual bool Action::Prepare()':
action.cpp:278: 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:293: error: cannot convert `const wxChar*' to `const char*' in
   return
action.cpp: In member function `void Action::SetName(const char*)':
action.cpp:299: 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:339: 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*, ...)
/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 28, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
It should have compiled and installed correctly as per a fully working emerge.
<strike>Duh.</strike> 

hanah:~/todo# emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Celeron(R) CPU 2.53GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  3 2005, 02:14:28)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
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.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -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/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="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.gentoo.ru/pub/mirror/gentoo/
http://mirror.tucdemonic.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X accessibility acpi aim alsa apache2 apm arts avi berkdb bitmap-fonts
bonobo bzlib cdparanoia cdr crypt cups curl divx4linux dts dvb dvd dvdread
emboss encode esd fam flac flash foomaticdb fortran gd gd-external gdbm gif gmp
gnome gphoto2 gpm gtk gtk2 gtkhtml guile icq imagemagick imap imlib ipv6 jabber
jack jpeg kde ldap libg++ libwww mad mcal mikmod mmx motif mp3 mpeg mysql
ncurses nls odbc offensive ogg oggvorbis opengl oscar oss pam pdflib perl png
python qt quicktime quotes readline ruby sdl slang snmp spell sqlite sse sse2
ssl svga tcltk tcpd tetex tiff truetype truetype-fontstype1-fonts unicode vorbis
xine xinerama xml xml2 xmms xv xvid yahoo zlib userland_GNU kernel_linuxelibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-31 02:54:38 UTC

*** This bug has been marked as a duplicate of 55569 ***
Comment 2 D King 2005-05-31 03:26:07 UTC
(In reply to comment #1)
> 
> *** This bug has been marked as a duplicate of 55569 ***

And yet that bug say its closed, there there still clearly exists the original
problem. If the bug was really fixed, I personaly don't think that it would
continue to pop up.

I ask that at least one of the numbered bugs in question stay open until this is
actualy fixed. 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-05-31 03:38:08 UTC
Plea(In reply to comment #2)
> I ask that at least one of the numbered bugs in question stay open until this is
> actualy fixed. 

From Bug 55569, Comment #18:

>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...

So would you emerge sync and try 0.6.0-r1 (not 0.6.0) and post to Bug 55569 if
it still does not work? Thanks.

*** This bug has been marked as a duplicate of 55569 ***
Comment 4 D King 2005-05-31 09:54:05 UTC
(In reply to comment #3)
> Plea(In reply to comment #2)
> > I ask that at least one of the numbered bugs in question stay open until this is
> > actualy fixed. 
> 
> From Bug 55569, Comment #18:
> 
> >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...
> 
> So would you emerge sync and try 0.6.0-r1 (not 0.6.0) and post to Bug 55569 if
> it still does not work? Thanks.
> 
> *** This bug has been marked as a duplicate of 55569 ***

I emerge syced and emerged the 8.0 that was just released after unmasking it. It
fixed the problem. I highly suggest the new release is marked stable so people
can actualy emerge it.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-05-31 10:51:39 UTC
(In reply to comment #4)
> I highly suggest the new release is marked stable so people
> can actualy emerge it.

I highly suggest that you read the ChangeLog. Cheers! ;-)