whem I try to emerge kdebase (i'm tryed the 3.3.1 and 3.3.0) i get a error on the kdebase-3.3.1/kioslave/fish . Code: make[3]: Entering directory `/var/tmp/portage/kdebase-3.3.1/work/kdebase-3.3.1/kioslave/fish' SUM=`/usr/bin/md5sum ./fish.pl | cut -d ' ' -f 1`; \ echo '#define CHECKSUM "'$SUM'"' > fishcode.h; \ echo 'static const char *fishCode(' >> fishcode.h; \ sed -e 's/\\/\\\\/g;s/"/\\"/g;s/^[ ]*/"/;/^"# /d;s/[ ]*$/\\n"/;/^"\\n"$/d;s/{CHECKSUM}/'$SUM'/;' ./fish.pl >> fishcode.h; \ echo ');' >> fishcode.h; /bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -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 -O3 -march=pentium4 -msse2 -mmmx -pipe -fomit-frame-pointer -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 -D_GNU_SOURCE -c -o fish.lo fish.cpp In file included from /usr/qt/3/include/qwidget.h:49, from /usr/qt/3/include/qdialog.h:42, from /usr/qt/3/include/qmessagebox.h:42, from /usr/kde/3.3/include/kmessagebox.h:26, from fish.cpp:64: /usr/qt/3/include/qsizepolicy.h: In member function `void QSizePolicy::setHorStretch(unsigned char)': /usr/qt/3/include/qsizepolicy.h:104: error: expected primary-expression before "unsigned" /usr/qt/3/include/qsizepolicy.h:104: error: expected `)' before "unsigned" /usr/qt/3/include/qsizepolicy.h: In member function `void QSizePolicy::setVerStretch(unsigned char)': /usr/qt/3/include/qsizepolicy.h:105: error: expected primary-expression before "unsigned" /usr/qt/3/include/qsizepolicy.h:105: error: expected `)' before "unsigned" make[3]: *** [fish.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdebase-3.3.1/work/kdebase-3.3.1/kioslave/fish' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdebase-3.3.1/work/kdebase-3.3.1/kioslave' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebase-3.3.1/work/kdebase-3.3.1' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r8 i686) ================================================================= System uname: 2.6.8-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 1700MHz Gentoo Base System version 1.5.3 distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -msse2 -mmmx -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref /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="-O3 -march=pentium4 -msse2 -mmmx -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg candy ccache distlocks moon sandbox" GENTOO_MIRRORS="ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage" USE="X aalib acpi alsa apm avi berkdb bitmap-fonts bonobo cairo canna cdparanoia cdr cjk crypt cups dga directfb divx4linux encode esd f77 fbcon fla flac foomaticdb gdbm ggi gif gimpprint gnome gnomedb gnutls gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal howl imagemagick imlib jack jack-tmpfs java jikes jpeg justify ldap libg++ libgda libwww live lua mad mikmod mmx mmx2 mng motif mozilla moznomail mozxmlterm mpeg mysql ncurses nls nptl nvidia oggvorbis opengl oss pam pdflib perl pg-vacuumdelay pic png portaudio postgres python qt quicktime readline scanner sdk sdl slang slp snmp soundtouch spell sse sse2 svg svga tcltk tcpd tetex tiff truetype unicode userlocales v4l v4l2 wmf wxwindows x86 xml xml2 xmms xprint xv xvid zlib"
What qt version? Can you post line 104 and 105 of /usr/qt/3/include/qsizepolicy.h ? Thanks.
the qt version are 3.3.3-r1 Sorry I can't locate exactly the 104 and 105 lines .But them are in this place. Code: inline QSizePolicy::QSizePolicy( SizeType hor, SizeType ver, uchar hors, uchar vers, bool hfw ) : data( hor | (ver<<HSize) | (hfw ? (Q_UINT32)(1<<2*HSize) : 0) ) { setHorStretch( hors ); setVerStretch( vers ); } inline void QSizePolicy::transpose() { *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), hasHeightForWidth() ); } Tanks and sorry for my poor english.
The 104 and 105 lines were just some lines before the ones you posted. But I'm sorry, I can't reproduce your problem. That error is strange and I can't find a reason of it. You can try disabling distcc and ccache (you need to put in FEATURES="-ccache" ) and see if it happens again.
Tanks. I'm try.:)
I tried to emerge without the ccache and distccd but have the same result. Tried to reemerge the qt and the kdelibs too but no resolve the problem. It's a problem in a dependence? Tanks.
Are you still having this problem?
No reply from reporter.
Sorry for the long time without response. I'm reinstalled the full system and the KDE come's worked. But I'm don't know what's the problem. Thanks. Luiz