Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103853 - kde-base/kdepim-3.5_alpha1 doesn't compile
Summary: kde-base/kdepim-3.5_alpha1 doesn't compile
Status: RESOLVED UPSTREAM
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: 2005-08-26 14:07 UTC by Jeremias Mechler
Modified: 2005-08-26 18:33 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 Jeremias Mechler 2005-08-26 14:07:50 UTC
emerging kdepim-3.5_alpha1 fails with: 
make[2]: Entering directory 
`/var/tmp/portage/kdepim-3.5_alpha1/work/kdepim-3.4.90/indexlib' 
creating libindex_la.all_cpp.cpp ... 
/bin/sh ../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ 
-DHAVE_CONFIG_H -I. -I. -I..   -DQT_THREAD_SUPPORT  -D_REENTRANT 
-D_FILE_OFFSET_BITS=64  -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 -march=athlon-xp -O2 -pipe 
-fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -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 -fexceptions -c -o libindex_la.all_cpp.lo 
libindex_la.all_cpp.cpp 
In file included from libindex_la.all_cpp.cpp:7: 
leafdata.cpp: In member function `bool leaf_data::can_add(uint32_t) const': 
leafdata.cpp:53: warning: comparison between signed and unsigned integer 
expressions 
In file included from libindex_la.all_cpp.cpp:9: 
lockfile.cpp: In member function `bool indexlib::detail::lockfile::trylock()': 
create.cpp:79: error: too many arguments to function 
`std::auto_ptr<indexlib::index> indexlib::open(const char*, unsigned int)' 
lockfile.cpp:55: error: at this point in file 
lockfile.cpp:55: error: cannot convert `std::auto_ptr<indexlib::index>' to 
`int' in initialization 
make[2]: *** [libindex_la.all_cpp.lo] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/kdepim-3.5_alpha1/work/kdepim-3.4.90/indexlib' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/kdepim-3.5_alpha1/work/kdepim-3.4.90' 
make: *** [all] Error 2 
 
!!! ERROR: kde-base/kdepim-3.5_alpha1 failed. 
!!! Function kde_src_compile, Line 170, Exitcode 2 
!!! died running emake, kde_src_compile:make 
!!! If you need support, post the topmost build error, NOT this status 
message. 

Reproducible: Always
Steps to Reproduce:
1. emerge =kde-base/kdepim-3.5_alpha1 
2. 
3. 
 
Actual Results:  
I got the error message posted above. 

Expected Results:  
It should have compiled. 

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.13-rc4-mm1 i686) 
================================================================= 
System uname: 2.6.13-rc4-mm1 i686 AMD Athlon(TM) XP 3000+ 
Gentoo Base System version 1.12.0_pre6 
dev-lang/python:     2.3.5, 2.4.1-r1 
sys-apps/sandbox:    1.2.12 
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 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays 
-funroll-loops" 
CHOST="i686-pc-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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/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/texmf/web2c /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer 
-fprefetch-loop-arrays -funroll-loops" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="        ftp://ftp.gentoo.mesh-solutions.com/gentoo/     
ftp://ftp-stud.fht-esslingen.de/pub/.2/gentoo/          
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo      
ftp://ftp.heanet.ie/pub/gentoo/         ftp://mirror.switch.ch/mirror/gentoo/           
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/        " 
LINGUAS="de en" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage/own /usr/local/portage/bmg-main /usr/local/portage/portage-gentopia" 
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" 
USE="x86 3dnow 3dnowext X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups 
curl dvd dvdread eds emboss encode esd evo f77 fbcon flac foomaticdb fortran 
gd gdbm gif gnome gpm gstreamer gtk gtk+ gtk2 hal imagemagick imlib ipv6 java 
jpeg kde kdeenablefinal kdexdeltas kqemu libg++ libwww live mad matroska 
mikmod mmx mmxext motif mozilla mp3 mpeg mysql ncurses network nls nptl ogg 
oggvorbis opengl openssl oss pam pda pdflib perl pic png ppds python qt 
quicktime readline real samba scanner sdl slang softmmu spell sse ssl svg tcpd 
tetex theora tiff truetype truetype-fonts type1-fonts usb vorbis win32codecs 
xine xml2 xmms xv xvid zlib linguas_de linguas_en userland_GNU kernel_linux 
elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-08-26 16:20:57 UTC
It seems this error is caused by compiling with --enable-final, can you please  
report it at http://bugs.kde.org ?  
You can compile kdepim with USE="-kdeenablefinal" in the meantime.  
  
Comment 2 Jerry McBride 2005-08-26 18:33:17 UTC
Yup.... had the same exact error and fixed it by USE="-kdeenablefinal"....

Thanks for the pointer.