/bin/sh ../../libtool --silent --mode=compile --tag=CXX powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kdecore -I../../kio/kssl -I./../client -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 -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7400 -maltivec -mabi=altivec -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -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 sha1.lo `test -f 'sha1.cc' || echo './'`sha1.cc sha1.cc: In member function `virtual const unsigned char* SHA1::hash()': sha1.cc:322: error: `uint32_t' undeclared (first use this function) sha1.cc:322: error: (Each undeclared identifier is reported only once for each function it appears in.) sha1.cc:322: error: expected primary-expression before ')' token sha1.cc:322: error: expected `;' before "p" sha1.cc:323: error: expected primary-expression before ')' token sha1.cc:323: error: expected `;' before "p" sha1.cc:324: error: expected primary-expression before ')' token sha1.cc:324: error: expected `;' before "p" sha1.cc:325: error: expected primary-expression before ')' token sha1.cc:325: error: expected `;' before "p" sha1.cc:326: error: expected primary-expression before ')' token sha1.cc:326: error: expected `;' before "p" make[3]: *** [sha1.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.4.3/work/kdelibs-3.4.3/kwallet/backend' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.4.3/work/kdelibs-3.4.3/kwallet' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.4.3/work/kdelibs-3.4.3' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.4.3 failed. !!! Function kde_src_compile, Line 168, Exitcode 2 Reproducible: Always Steps to Reproduce: 1. emerge =kde-base/kdelibs-3.4.3 2. 3. Actual Results: kdelibs not build Expected Results: kdelibs build emerge info Portage 2.0.53_rc5 (default-linux/ppc/2004.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.7-gentoo-r7 ppc) ================================================================= System uname: 2.6.7-gentoo-r7 ppc 7455, altivec supported Gentoo Base System version 1.12.0_pre9 ccache version 2.4 [disabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://www.gigaload.org/gentoo.org/ http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://195.56.77.10/" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X alsa apache2 arts berkdb bidi bitmap-fonts bonobo cdr chipcard crypt cups curl dvd emboss encode esd faad fam flac font-server foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile gvlc hbci imagemagick imlib ipv6 java jpeg kde kvlc ldap libwww mad matroska motif mozilla mp3 mpeg mysql nas ncurses nls odbc ogg oggvorbis opengl oss pam pdflib perl php php_mod png ppds python qt quotes readline ruby samba scanner sdl slang spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis wxwindows xine xml xml2 xprint xv zlib video_cards_ati128 linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
The error occurs on SPARC as well. Portage 2.0.53_rc5 (default-linux/sparc/sparc64/2005.0, gcc-3.3.6, glibc-2.3.3. 20040420-r2, 2.6.11-gentoo-r8sunsu sparc64) ================================================================= System uname: 2.6.11-gentoo-r8sunsu sparc64 sun4u Gentoo Base System version 1.12.0_pre8 distcc 2.18.3 sparc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="sparc ~sparc" AUTOCLEAN="yes" CBUILD="sparc-unknown-linux-gnu" CFLAGS="-mcpu=ultrasparc -O2 -pipe" CHOST="sparc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/ share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb / usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-mcpu=ultrasparc -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distcc distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://mirror.gentoo.se http://distfiles.gentoo.org http://www. ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j7" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="sparc X avi bash-completion berkdb bitmap-fonts cjk crypt cups curl dlloader emacs encode fam fbcon foomaticdb gcc64 gd gdbm gif gnome gtk gtk2 imagemagick imlib ipv6 jpeg kde kerberos libwww mad maildir mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl pam pcre pdflib perl png python qt readline sasl sdl spell ssl tcpd tetex tex tiff truetype truetype-fonts type1- fonts unicode vorbis wmf xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Created attachment 70822 [details, diff] Fix for the uint32_t compilation error The attached patch fixes this, but I'm not sure wether it's the correct way. kde herd, feel free to use the patch if you think it's useful.
This affects sparc too.
Fixed upstream in SVN according to http://bugs.kde.org/show_bug.cgi?id=114628
Fixed by eradicator in cvs, removing us.
Works now, closing this bug.