Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145307 - net-misc/knutclient 0.9 fails to emerge
Summary: net-misc/knutclient 0.9 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-27 22:32 UTC by devsk
Modified: 2006-08-30 12:18 UTC (History)
0 users

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


Attachments
patch for the bug (knutclient-4.1.1.patch,641 bytes, patch)
2006-08-29 18:37 UTC, devsk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description devsk 2006-08-27 22:32:21 UTC
I get these compile errors with both gcc 3.4.6-r1 and 4.1.1.

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O3 -fforce-addr -finline-functions -march=k8 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o knutprefdlg.o `test -f 'knutprefdlg.cpp' || echo './'`knutprefdlg.cpp
knutnet.cpp: In member function `int KNutNet::getUpsData(QCString, QString&, QCString)':
knutnet.cpp:895: 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]
knutnet.cpp:895: note: candidate 2: operator[](const char*, Q_LONG) <built-in>
make[2]: *** [knutnet.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/knutclient-0.9/work/knutclient-0.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/knutclient-0.9/work/knutclient-0.9'
make: *** [all] Error 2

!!! ERROR: net-misc/knutclient-0.9 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  ebuild.sh, line 1252:   Called kde_src_compile
  kde.eclass, line 166:   Called kde_src_compile 'all'
  kde.eclass, line 325:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 321:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-27 23:57:46 UTC
emerge --info, please.
Comment 2 devsk 2006-08-28 09:20:00 UTC
$ emerge --info
Portage 2.1.1_pre5-r3 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend2-r4 x86_64)
=================================================================
System uname: 2.6.17-suspend2-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.4
Last Sync: Mon, 28 Aug 2006 05:30:07 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.15.92.0.2-r10, 2.16.1-r2, 2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -fforce-addr -finline-functions -march=k8 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -fforce-addr -finline-functions -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer nodoc parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="/amd-pc-shares/distfiles2/ http://gentoo.ccccom.com http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo ftp://gentoo.mirrors.pair.com/"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi aim alsa arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli composite crypt cscope css cups curl dbus dga directfb djbfft dlloader dri dv dvb dvd dvdr dvdread eds elibc_glibc emboss encode erandom esd evo exif ext-png ext-zlib faac faad fam fame fbcon fbsplash ffmpeg firefox flac foomaticdb freetype fuse gb gd gif gimp gimpprint glut gnome gnutls gphoto2 gpm gstreamer gtk gtk+ gtk2 hal hpn ieee1394 imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_vmmouse ipv6 isdnlog java javascript jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kernel_linux kqemu lcms ldap leim libcaca linguas_en lm_sensors logitech-mouse lzo lzw lzw-tiff mad matroska mjpeg mmap mmx2 mng mozsvg mp3 mp4 mpeg mplayer msn multislot musicbrainz nautilus ncurses nocd nodrm nomalloccheck nopie nossp nptl nptlonly nsplugin nut nvidia ogg openexr opengl pam pcre pda pdf pdflib perl pic png povray ppds pppd pwdb python qt qt3 qt4 quicktime rdesktop readline reflection rplay rtc samba sdl sensord server session slp smp sndfile spell spl sse3 ssl stencil-buffer stroke svg sysfs tcpd theora tiff truetype truetype-fonts type1-fonts urandom usb userland_GNU userlocales v41 video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga video_cards_vmware vim vim-with-x vnc vorbis wmf x264 xanim xcomposite xft xine xinerama xml2 xmms xorg xpm xprint xv xvid xvmc zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 devsk 2006-08-29 18:37:27 UTC
Created attachment 95429 [details, diff]
patch for the bug

It actually belongs upstream but I will post it here anyway. Please do -r1 if you like.
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-30 12:18:22 UTC
Thanks Sunil, in cvs.