KDElibs build error? Or system-setup error? gcc -v says " [... lots of Gentoo specifications] gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8" I guess kdelibs build fine on almost any other system. I cannot find out what includefiles or c-system libraries which fail here. This report is submitted ONLY to inform you that some build inconsistencies MIGHT exist depending on build tools. I guess QT-version-3.3.4-r8 has been working with kdelibs-build specification. When I do: # cd /var/tmp/portage/kdelibs-3.4.1-r1/work/kdelibs-3.4.1;make then the build passes the error point above. It went so fast that I could not copy the commandline to see the compile-options. Should I try build kdelibs without Gentoo-tools? It might be easier to debug then. Gentoo is simply the best which could happen to x86 Linux. Thank you for the niceties which make out the vast majority of Gentoo! Reproducible: Didn't try Steps to Reproduce: 1. emerge -a -v qt # version qt-3.3.4-r8 2. emerge -a -v kdelibs # version kdelibs-3.4.1-r1 Actual Results: KDElibs-3.4.1, error when emerging: /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kdecore -I../../kio/kssl -I../.. -I./.. -I./../kssl -I../kssl -I./../../interfaces -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile-I../.. -I/usr/qt/3/include -I. -I/usr/kde/3.4/include -D_LARGEFILE64_SOURCE -DQT_THREAD_SUPPORT -D_REENTRANT -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 -O2 -march=i686 -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -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 observer_skel.lo `test -f 'observer_skel.cpp' || echo './'`observer_skel.cpp In file included from /usr/qt/3/include/qstringlist.h:44, from ../kio/jobclasses.h:28, from ../kio/job.h:25, from observer.h:28, from observer_skel.cpp:9: /usr/qt/3/include/qstrlist.h: In member function `virtual int QStrList::compareItems(void*, void*)': /usr/qt/3/include/qstrlist.h:185: error: syntax error before `;' token /usr/qt/3/include/qstrlist.h:185: warning: no return statement in function returning non-void /usr/qt/3/include/qstrlist.h: At global scope: /usr/qt/3/include/qstrlist.h:185: error: parse error at end of saved function text make[3]: *** [observer_skel.lo] Error 1 Expected Results: -- pluto:/usr/portage/distfiles #emerge info Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.4.312tun i686) ================================================================= System uname: 2.4.312tun i686 AMD Duron(tm) Gentoo Base System version 1.4.16 dev-lang/python: 2.3.3-r1 sys-apps/sandbox: 1.2.11 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.4 sys-devel/binutils: 2.14.90.0.8-r1 sys-devel/libtool: 1.4.3-r4 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo" LC_ALL="" LINGUAS="en" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.skumleren.net/gentoo-portage" USE="x86 3dnow 3dnowex X Xaw3d alsa apm avi berkdb bitmap-fonts bonobo cdr crypt cups curl doc eds emboss encode esd fam flac font-server fontconfig foomaticdb fortran freetype gd gdbm gif gphoto2 gpm gstreamer gtk2 gtkhtml guile imagemagick imlib ipv6 jpeg kde ldap libg++ libgda libwww mad mikmod mmx mmx2 mmxext mng motif mozplaintext mp3 mpeg mplayer ncurses network nls odbc ogg oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline real rtc samba sdl slang snmp spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts v4l v4l2 vorbis xine xinerama xml xml2 xmms xv xvid xvmc zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS pluto:/usr/portage/distfiles #
There's something wrong with your qstrlist.h. It has only 106 lines.
(In reply to comment #1) > There's something wrong with your qstrlist.h. It has only 106 lines. Aha! The new qstrlist.h actually has 106 lines so the compilation process goes wrong. Could be machine/RAM error or some GCC-preprocessor error or file-system error. After restarting manually the system finished the build process. Thank you for your interest and for demonstrating another way to find out what is wrong. I really appreciate! regards/Donald Axel