Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40404 - KDevelop 3.0.0 errors on compile
Summary: KDevelop 3.0.0 errors on compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-04 12:58 UTC by Vermyndax
Modified: 2004-02-18 09:49 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 Vermyndax 2004-02-04 12:58:32 UTC
Tried updating KDevelop via emerge -u and got a failure (3.0.0, non-beta, non-RC).

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge -u world
3. (emerges kdevelop-3.0.0)

Actual Results:  
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-
v3/backward/strstream:51,
                 from backgroundparser.cpp:12:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-
v3/backward/backward_warning.h:32:2: warning: #warning This file includes at 
least one deprecated or antiquated header. Please consider using one of the 32 
headers found in section 17.4.1.2 of the C++ standard. Examples include 
substituting the <X> header for the <X.h> header for C++ includes, or 
<sstream> instead of the deprecated header <strstream.h>. To disable this 
warning use -Wno-deprecated.
backgroundparser.cpp: In member function `virtual void BackgroundParser::run()
   ':
backgroundparser.cpp:77: warning: unused variable `int errors'
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -
I. -I. -I../.. -I../../lib/antlr -I../../lib/catalog -I../../lib/interfaces -
I../../lib/util -I/usr/kde/3.2/include -I/usr/qt/3/include -
I/usr/X11R6/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 -march=pentium4 -funroll-loops -fprefetch-loop-
arrays -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 -fexceptions -c -o problemreporter.lo `test -
f 'problemreporter.cpp' || echo './'`problemreporter.cpp
The bug is not reproduceable, so it is likely a hardware or OS problem
make[4]: *** [PascalParser.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/kdevelop-3.0.0/work/kdevelop-
3.0.0/languages/pascal'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.0.0/work/kdevelop-
3.0.0/languages/pascal'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.0.0/work/kdevelop-
3.0.0/languages'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.0.0/work/kdevelop-
3.0.0'
make: *** [all] Error 2

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

Expected Results:  
Emerged successfully

Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 
2.6.1-gentoo-r1)
=================================================================
System uname: 2.6.1-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/con
fig /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo ftp://gentoo.noved.org/ 
http://adelie.polymtl.ca/ 
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups dvd encode esd 
fbcon foomaticdb gdbm gif gimpprint glade gpm gtk gtk2 gtkhtml guile imlib 
java jpeg kde ldap libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls 
nvidia offensive oggvorbis opengl oss pam pdflib perl png python qt qtmt 
quicktime readline samba scanner sdl slang spell sse ssl svga tcltk tcpd tiff 
truetype x86 xine xml2 xmms xv zlib"
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2004-02-07 13:14:50 UTC
Could you try with just CFLAGS="-O2 -march=pentium4 -pipe"?
Comment 2 Vermyndax 2004-02-07 13:19:03 UTC
My apologies.  I neglected to mention later...

I got KDevelop to compile successfully *after* installing KDE 3.2 (release version).  Before KDE 3.2 was installed, KDevelop 3.0.0 would not compile at all.
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2004-02-18 09:49:02 UTC
should be fixed now with 3.0.1