Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 112354
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Watzke <david@watzke.cz>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
kirc.patch patch from bugs.kde.org patch Jan Hendrik Grahl (RETIRED) 2005-11-14 09:41 0000 709 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 112354 depends on: Show dependency tree
Bug 112354 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-11-12 17:55 0000
Emerge kde-base/kopete-3.5.0_rc1 fails: 
/bin/sh ../../../../libtool --silent --mode=compile --tag=CXX 
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../..  
-I../../../../kopete/protocols/irc -I../../../../kopete/libkopete 
-I../../../../kopete/libkopete -I../../../../kopete/libkopete/avdevice 
-I../../../../kopete/libkopete/ui -I../../../../kopete/libkopete/ui 
-I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -DQT_THREAD_SUPPORT  
-D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG 
-DNO_DEBUG -O2 -O2 -march=k8 -fomit-frame-pointer -pipe -Wformat-security 
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions 
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL 
-DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o kircmessageredirector.lo `test -f 
'kircmessageredirector.cpp' || echo './'`kircmessageredirector.cpp 
kircmessage.cpp: In static member function `static KIRC::Message 
KIRC::Message::parse(KIRC::Engine*, const QTextCodec*, bool*)': 
kircmessage.cpp:171: error: ISO C++ says that these are ambiguous, even though 
the worst conversion for the first is better than the worst conversion for the 
second: 
/usr/qt/3/include/qmemarray.h:100: note: candidate 1: type& 
QMemArray<type>::operator[](int) const [with type = char] 
kircmessage.cpp:171: note: candidate 2: operator[](const char*, long int) 
<built-in> 
kircmessage.cpp:172: error: ISO C++ says that these are ambiguous, even though 
the worst conversion for the first is better than the worst conversion for the 
second: 
/usr/qt/3/include/qmemarray.h:100: note: candidate 1: type& 
QMemArray<type>::operator[](int) const [with type = char] 
kircmessage.cpp:172: note: candidate 2: operator[](const char*, long int) 
<built-in> 
kircmessage.cpp:174: error: ISO C++ says that these are ambiguous, even though 
the worst conversion for the first is better than the worst conversion for the 
second: 
/usr/qt/3/include/qmemarray.h:100: note: candidate 1: type& 
QMemArray<type>::operator[](int) const [with type = char] 
kircmessage.cpp:174: note: candidate 2: operator[](const char*, long int) 
<built-in> 
kircmessage.cpp:175: error: ISO C++ says that these are ambiguous, even though 
the worst conversion for the first is better than the worst conversion for the 
second: 
/usr/qt/3/include/qmemarray.h:100: note: candidate 1: type& 
QMemArray<type>::operator[](int) const [with type = char] 
kircmessage.cpp:175: note: candidate 2: operator[](const char*, long int) 
<built-in> 
make[5]: *** [kircmessage.lo] Error 1 
make[5]: *** Waiting for unfinished jobs.... 

Reproducible: Always
Steps to Reproduce:
1. emerge =kde-base/kopete-3.5.0_rc1 
 
Actual Results:  
This error... 

Expected Results:  
Emerge it successfully... 

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 
2.6.14-gentoo-r2-david x86_64) 
================================================================= 
System uname: 2.6.14-gentoo-r2-david x86_64 AMD Athlon(tm) 64 Processor 3000+ 
Gentoo Base System version 1.6.13 
dev-lang/python:     2.3.5-r2, 2.4.2 
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-r1 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict" 
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub http://ftp.easynet.nl/mirror/gentoo/ 
http://ftp.du.se/pub/os/gentoo http://gentoo.osuosl.org/" 
LANG="cs_CZ.UTF-8" 
LC_ALL="cs_CZ.UTF-8" 
LINGUAS="cs" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X aac aalib acpi adns alsa apache2 apm audiofile avi 
bash-completion berkdb bitmap-fonts bonobo bzip2 caps cdparanoia cdr crypt 
crzpt cups curl curlwrappers dbus dga dio directfb divx4linux dts dvd dvdr 
dvdread emboss emul-linux-86 encode exif fam fbcon ffmpeg flac flash 
foomaticdb fortran ftp gd gdbm ggi gif gpm gstreamer gtk gtk2 hal icq id3 
id3v2 imagemagick imlib innodb ipv6 jabber javascript jpeg kde kdeenablefinal 
lcms ldap libcaca libwww lm_sensors lzw lzw-tiff mad matroska mbox mhash 
mikmod mime ming mng mp3 mpeg mplayer mysql mysqli ncurses nis nls nptl 
nptlonly nvidia ogg oggvorbis openal opengl osc oscar pam pcntl pcre pdflib 
perl php pic png posix ppds python qt quicktime readline real recode sdl 
session skey slang sockets socks5 sox speex sqlite ssl svg symlink tcpd theora 
threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales 
v4l vcd vorbis wmf xine xml xml2 xpm xv xvid zlib linguas_cs userland_GNU 
kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LDFLAGS

------- Comment #1 From Matthew Rothman 2005-11-13 03:08:52 0000 -------
I also get this same error when compiling kopete-3.5.0_rc1 on amd64.

------- Comment #2 From Jan Hendrik Grahl (RETIRED) 2005-11-14 09:38:22 0000 -------
Took the patch from http://bugs.kde.org/show_bug.cgi?id=116339, changed the 
header location of the file and added an epatch line to the ebuild. 
Result: compiled fine! 

------- Comment #3 From Jan Hendrik Grahl (RETIRED) 2005-11-14 09:41:50 0000 -------
Created an attachment (id=72883) [details]
patch from bugs.kde.org

------- Comment #4 From Marcus D. Hanwell 2005-11-15 05:25:06 0000 -------
The patch works fine here, added to CVS. Thanks. 

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