Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106763 - unable to emerge rapidsvn error accured during compilation
Summary: unable to emerge rapidsvn error accured during compilation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 01:02 UTC by Sergey Belyashov
Modified: 2005-10-09 19:56 UTC (History)
1 user (show)

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 Sergey Belyashov 2005-09-21 01:02:58 UTC
Calculating dependencies  >>> Unpacking source...
>>> Unpacking rapidsvn-0.7.1.tar.gz to /var/tmp/portage/rapidsvn-0.7.1/work
 Applying svncpp_0.6.1_link.patch ...

>>> Source unpacked.
 wxgtk2-2.4-config not found. Compiling with default wxGTK.
 Running elibtoolize in: rapidsvn-0.7.1
   Applying portage-1.4.1.patch ...
   Applying max_cmd_len-1.5.0.patch ...
   Applying sed-1.5.6.patch ...
 * econf: updating rapidsvn-0.7.1/config.guess with /usr/share/gnuconfig/config.
guess
 * econf: updating rapidsvn-0.7.1/config.sub with /usr/share/gnuconfig/config.
sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --
infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/
var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu --with-svn-lib=/usr/lib 
--with-svn-include=/usr/include --with-neon-config=/usr/bin/neon-config --with-
docbook-xsl=/usr/share/sgml/docbook/xsl-stylesheets-1.66.1
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.
4/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtbeginS.o  .
libs/apr.o .libs/client.o .libs/client_annotate.o .libs/client_cat.o .libs/
client_diff.o .libs/client_ls.o .libs/client_modify.o .libs/client_property.o .
libs/client_status.o .libs/context.o .libs/datetime.o .libs/dirent.o .libs/
exception.o .libs/entry.o .libs/log_entry.o .libs/path.o .libs/pool.o .libs/
property.o .libs/revision.o .libs/status.o .libs/targets.o .libs/url.o .libs/wc.
o  -L/usr/lib /usr/lib64/libsvn_client-1.so /usr/lib64/libsvn_wc-1.so /usr/
lib64/libsvn_ra-1.so /usr/lib64/libsvn_delta-1.so /usr/lib64/libsvn_subr-1.so -
L/usr/lib64 /usr/lib64/libneon.so -lssl -lcrypto /usr/lib64/libxml2.so -lz /usr/
lib64/libapr-0.so -lrt -lcrypt -lnsl -lpthread -ldl /usr/lib64/libaprutil-0.so /
usr/lib64/libgdbm.so /usr/lib64/libdb-4.2.so /usr/lib64/libexpat.so -L/usr/lib/
gcc/x86_64-pc-linux-gnu/3.4.4 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../..
/../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../
../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../.. -L/lib/../lib64 -L/
usr/lib/../lib64 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/libstdc++.so -lm -lc -
lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtendS.o /usr/lib/gcc/x86_64-pc-
linux-gnu/3.4.4/../../../../lib64/crtn.o  -march=k8 -Wl,-soname -Wl,libsvncpp.
so.0 -o .libs/libsvncpp.so.0.0.0
(cd .libs && rm -f libsvncpp.so.0 && ln -s libsvncpp.so.0.0.0 libsvncpp.so.0)
(cd .libs && rm -f libsvncpp.so && ln -s libsvncpp.so.0.0.0 libsvncpp.so)
x86_64-pc-linux-gnu-ar cru .libs/libsvncpp.a  apr.o client.o client_annotate.o 
client_cat.o client_diff.o client_ls.o client_modify.o client_property.o 
client_status.o context.o datetime.o dirent.o exception.o entry.o log_entry.o 
path.o pool.o property.o revision.o status.o targets.o url.o wc.o
x86_64-pc-linux-gnu-ranlib .libs/libsvncpp.a
creating libsvncpp.la
(cd .libs && rm -f libsvncpp.la && ln -s ../libsvncpp.la libsvncpp.la)
Making all in res
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-2.6/wx/string.h:643: note: candidates are: wxString::
wxString(wxChar, size_t) <near match>
/usr/include/wx-2.6/wx/string.h:632: note:                 wxString::
wxString(int) <near match>
about_dlg.cpp:38: error: call of overloaded `wxString(const char[1])' is 
ambiguous
/usr/include/wx-2.6/wx/string.h:670: note: candidates are: wxString::
wxString(const wxWCharBuffer&) <near match>
/usr/include/wx-2.6/wx/string.h:643: note:                 wxString::
wxString(wxChar, size_t) <near match>
/usr/include/wx-2.6/wx/string.h:640: note:                 wxString::
wxString(const wxString&) <near match>
/usr/include/wx-2.6/wx/string.h:632: note:                 wxString::
wxString(int) <near match>
about_dlg.cpp:46: error: ambiguous overload for 'operator+=' in 'schemasStr += 
"\n"'
/usr/include/wx-2.6/wx/string.h:902: note: candidates are: void wxString::
operator+=(const wxWCharBuffer&) <near match>
/usr/include/wx-2.6/wx/string.h:1268: note:                 wxString& wxString::
operator+=(const wxString&) <near match>
/usr/include/wx-2.6/wx/string.h:1274: note:                 wxString& wxString::
operator+=(wxChar) <near match>
about_dlg.cpp:48: error: ambiguous overload for 'operator+=' in 'schemasStr += 
"- "'
/usr/include/wx-2.6/wx/string.h:902: note: candidates are: void wxString::
operator+=(const wxWCharBuffer&) <near match>
/usr/include/wx-2.6/wx/string.h:1268: note:                 wxString& wxString::
operator+=(const wxString&) <near match>
/usr/include/wx-2.6/wx/string.h:1274: note:                 wxString& wxString::
operator+=(wxChar) <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-2.6/wx/string.h:902: note: candidates are: void wxString::
operator+=(const wxWCharBuffer&) <near match>
/usr/include/wx-2.6/wx/string.h:1268: note:                 wxString& wxString::
operator+=(const wxString&) <near match>
/usr/include/wx-2.6/wx/string.h:1274: note:                 wxString& wxString::
operator+=(wxChar) <near match>
about_dlg.cpp:75: error: no matching function for call to `wxString::
Printf(const char[19], int, int, int)'
/usr/include/wx-2.6/wx/string.h:1063: note: 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-2.6/wx/string.h:1063: note: 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-2.6/wx/string.h:1063: note: 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-2.6/wx/string.h:1063: note: candidates are: int wxString::
Printf(const wxChar*, ...)
make[2]: *** [about_dlg.o] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
make[2]: *** &#1054;&#1078;&#1080;&#1076;&#1072;&#1085;&#1080;&#1077; &#1079;&#1072;&#1074;&#1077;&#1088;&#1096;&#1077;&#1085;&#1080;&#1103; &#1079;&#1072;&#1076;&#1072;&#1085;&#1080;&#1081;...
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: conversion from `const char*' to `const wxString' is 
ambiguous
/usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::
wxString(wxChar, size_t) <near match>
/usr/include/wx-2.6/wx/string.h:632: note:                 wxString::
wxString(int) <near match>
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 '((Action*)this)-
>Action::m->Action::Data::name = name'
/usr/include/wx-2.6/wx/string.h:626: note: candidates are: wxString& wxString::
operator=(int) <near match>
/usr/include/wx-2.6/wx/string.h:846: note:                 wxString& wxString::
operator=(wxChar) <near match>
/usr/include/wx-2.6/wx/string.h:860: note:                 wxString& wxString::
operator=(const wxWCharBuffer&) <near match>
/usr/include/wx-2.6/wx/string.h:915: note:                 wxString& wxString::
operator=(const wxString&) <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-2.6/wx/string.h:1063: note: candidates are: int wxString::
Printf(const wxChar*, ...)
action.cpp: At global scope:
action.cpp:31: warning: 'ACTION_NAMES' defined but not used
make[2]: *** [action.o] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
make[1]: *** [all-recursive] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
make: *** [all-recursive] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1

!!! ERROR: dev-util/rapidsvn-0.7.1 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. # emerge rapidsvn

Actual Results:  
Error during compilation

Expected Results:  
Successful compilation

Gentoo Base System version 1.6.13
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.
6.12-gentoo-r10 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 3000+
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/
share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /
usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://is-server/gentoo.mirror ftp://192.168.14.25/pub/gentoo"
LANG="ru_RU.UTF-8"
LINGUAS="en ru"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://is-server/gentoo-portage"
USE="X a52 acpi alsa amd64 arts avi bash-completion berkdb bitmap-fonts cdr 
crypt cups dga doc dts dvd dvdr dvdread emboss encode esd fam ffmpeg flac 
foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6 java 
jpeg kde kdeenablefinal lm_sensors lzw lzw-tiff mad mbox mikmod mp3 mpeg ncurses 
nls nvidia ogg oggvorbis opengl oss pam pam_console pdflib perl png python qt 
quicktime readline rtc samba sdl slang ssl tcpd tiff truetype truetype-fonts 
type1-fonts unicode usb userlocales v4l2 vorbis xinerama xml2 xmms xpm xv xvid 
xvmc zlib linguas_en linguas_ru userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Comment 1 Steve Arnold archtester gentoo-dev 2005-09-23 17:54:28 UTC
I haven't seen this with any of the rapidsvn versions (yet) but it looks like an 
in your x11-libs/wxGTK install.  Can you try unmerging and/or updating your wxGTK 
install (then try rapidsvn again) and let me know the results?  Thanks...
Comment 2 Steve Arnold archtester gentoo-dev 2005-09-23 17:56:13 UTC
I still have wxGTK-2.4.2-r3; let me try 2.6 and see what happens...
Comment 3 Sergey Belyashov 2005-09-24 08:21:43 UTC
I try to install on 2 machines (both amd64). Result is same as reported.
$ emerge -pv gtk+ wxGTK rapidsvn
[ebuild   R   ] x11-libs/gtk+-2.6.8  +doc +jpeg -static +tiff 0 kB
[ebuild   R   ] x11-libs/wxGTK-2.6.1  -debug +doc +gnome +gtk2 -joystick -odbc 
+opengl +sdl +unicode -wxgtk1 0 kB
[ebuild  N    ] dev-util/rapidsvn-0.8.0  +doc +gtk2 -static 557 kB

May be problem with:
 * wxgtk2-2.4-config not found. Compiling with default wxGTK?
Comment 4 Steve Arnold archtester gentoo-dev 2005-09-24 10:53:48 UTC
Yeah, it compiles fine against wxGTK-2.4...  I haven't checked yet, but I suspect 
the API changed in 2.6 and we'll have to restrict the DEPEND version for the 
rapidsvn ebuild.  I'm kinda swamped with stuff right now, so if you'd like to 
check the wxGTK web site for a changelog, maybe you could answer that question...

I'll see what I can find out tonight after I get back.
Comment 5 Sergey Belyashov 2005-09-25 04:28:18 UTC
I try emerge wxGTK-2.4.2-r2 and rapidsvn-0.7.1 after it. Both compiles and work.
Comment 6 Steve Arnold archtester gentoo-dev 2005-10-09 19:56:34 UTC
restricted wxGTK dep to 2.4.2