Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57342 - kdevelop 3.1_beta1 won't compile
Summary: kdevelop 3.1_beta1 won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-16 17:54 UTC by Prismatic
Modified: 2004-07-19 03:24 UTC (History)
1 user (show)

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


Attachments
AMD64 Patch (kdevelop.patch,414 bytes, patch)
2004-07-16 19:23 UTC, Andrew Bevitt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Prismatic 2004-07-16 17:54:25 UTC
This is the output right before and during the errors in the compile:

/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/catalog -I../../lib/compat -I../../lib/cppparser -I../../lib/external_interfaces -I../../lib/interfaces -I../../lib/util -I../../bdb/build_unix -I../../bdb/include -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT -DAST_DEBUG -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O3 -pipe -Wformat-security -Wmissing-format-attribute -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 ast_utils.lo ast_utils.cpp
cppsupportpart.cpp: In member function `void CppSupportPart::contextMenu(QPopupMenu*, const Context*)':
cppsupportpart.cpp:517: error: no matching function for call to `KTextEditor::ViewCursorInterface::cursorPosition(size_t*, size_t*)'
/usr/kde/3.2/include/ktexteditor/viewcursorinterface.h:56: note: candidates are: virtual void KTextEditor::ViewCursorInterface::cursorPosition(unsigned int*, unsigned int*)
cppsupportpart.cpp:548: warning: comparison between signed and unsigned integer expressions
cppsupportpart.cpp:548: warning: comparison between signed and unsigned integer expressions
cppsupportpart.cpp:590: warning: comparison between signed and unsigned integer expressions
cppsupportpart.cpp:590: warning: comparison between signed and unsigned integer expressions
cppsupportpart.cpp: In member function `virtual KDevDesignerIntegration* CppSupportPart::designer(KInterfaceDesigner::DesignerType)':
cppsupportpart.cpp:1864: warning: enumeration value `Glade' not handled in switch
make[4]: *** [cppsupportpart.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/kdevelop-3.1_beta1/work/kdevelop-3.0.91/languages/cpp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.1_beta1/work/kdevelop-3.0.91/languages/cpp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.1_beta1/work/kdevelop-3.0.91/languages'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.1_beta1/work/kdevelop-3.0.91'
make: *** [all] Error 2

!!! ERROR: dev-util/kdevelop-3.1_beta1 failed.
!!! Function kde_src_compile, Line 129, Exitcode 2
!!! died running emake, kde_src_compile:make


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


Expected Results:  
It should have compiled and merged. I have/had no previous versions installed.

Portage 2.0.50-r9 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040619-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 4
Gentoo Base System version 1.5.1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm avi berkdb cdr crypt cups divx4linux dvdr encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mikmod
motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds
python quicktime readline sdl slang spell ssl tcpd truetype usb xml2 xmms xv zlib"
Comment 1 Prismatic 2004-07-16 17:55:14 UTC
oh yeah, I'm using gcc-3.4.1
Comment 2 Andrew Bevitt 2004-07-16 19:23:20 UTC
Created attachment 35615 [details, diff]
AMD64 Patch

Seems size_t is used to define something that shouldve been unsigned ints.

Problem being that size_t on amd64 is 8 bytes not 4 like unsigned ints, however

having said that im not overly sure that just changing to unsigned int like 
in the patch is the best solution ... perhaps kdelibs should use size_t in the
viewcursorinterface.h file.
Comment 3 Andrew Bevitt 2004-07-16 19:23:20 UTC
Created attachment 35615 [details, diff]
AMD64 Patch

Seems size_t is used to define something that shouldve been unsigned ints.

Problem being that size_t on amd64 is 8 bytes not 4 like unsigned ints, however

having said that im not overly sure that just changing to unsigned int like 
in the patch is the best solution ... perhaps kdelibs should use size_t in the
viewcursorinterface.h file.รจ
Comment 4 Daniel Ahlberg (RETIRED) gentoo-dev 2004-07-19 03:24:04 UTC
Fixed in CVS, thanks!