Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130558 - kde-base/kdepim-3.4.3 fails to build using gcc-4.1
Summary: kde-base/kdepim-3.4.3 fails to build using gcc-4.1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-20 00:16 UTC by Conway S. Smith
Modified: 2006-04-22 16:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to build kdepim-3.4.3 using gcc-4.1 (kdepim-3.4.3-gcc41.patch,773 bytes, patch)
2006-04-20 00:17 UTC, Conway S. Smith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Conway S. Smith 2006-04-20 00:16:51 UTC
When attempting to emerge kde-base/kdepim-3.4.3 using gcc-4.1, I get the error below.  The attached patch allows kde-base/kdepim-3.4.3 to compile with gcc-4.1.

/bin/sh ../libtool --silent --mode=compile --tag=CXX x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./libical/src/libical -I./libical/src/libicalss -I./libical/src/libical -I./libical/src/libicalss -I./versit -I../ -I../ktnef -I../libemailfunctions -I../libkdepim -I/usr/kde/3.4/include -I/usr/qt/3/include -I.   -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 -march=athlon64 -O2 -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 kcal_kabc_la.all_cpp.lo `test -f 'kcal_kabc_la.all_cpp.cpp' || echo './'`kcal_kabc_la.all_cpp.cpp
listbase.h: In member function 'bool KCal::ListBase<T>::removeRef(T*) [with T = KCal::Incidence]':
incidence.cpp:316:   instantiated from here
listbase.h:75: error: cannot convert 'QValueListIterator<KCal::Incidence*>' to 'const char*' for argument '1' to 'int remove(const char*)'
listbase.h: In member function 'bool KCal::ListBase<T>::removeRef(T*) [with T = KCal::Attachment]':
incidence.cpp:404:   instantiated from here
listbase.h:75: error: cannot convert 'QValueListIterator<KCal::Attachment*>' to 'const char*' for argument '1' to 'int remove(const char*)'
listbase.h: In member function 'bool KCal::ListBase<T>::removeRef(T*) [with T = KCal::Alarm]':
incidence.cpp:570:   instantiated from here
listbase.h:75: error: cannot convert 'QValueListIterator<KCal::Alarm*>' to 'const char*' for argument '1' to 'int remove(const char*)'
listbase.h: In member function 'bool KCal::ListBase<T>::removeRef(T*) [with T = KCal::Todo]':
calendarlocal.cpp:168:   instantiated from here
listbase.h:75: error: cannot convert 'QValueListIterator<KCal::Todo*>' to 'const char*' for argument '1' to 'int remove(const char*)'
listbase.h: In member function 'bool KCal::ListBase<T>::removeRef(T*) [with T = KCal::Journal]':
calendarlocal.cpp:504:   instantiated from here
listbase.h:75: error: cannot convert 'QValueListIterator<KCal::Journal*>' to 'const char*' for argument '1' to 'int remove(const char*)'
make[3]: *** [libkcal_la.all_cpp.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdepim-3.4.3/work/kdepim-3.4.3/libkcal'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdepim-3.4.3/work/kdepim-3.4.3/libkcal'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdepim-3.4.3/work/kdepim-3.4.3'
make: *** [all] Error 2

!!! ERROR: kde-base/kdepim-3.4.3 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  kdepim-3.4.3.ebuild, line 31:   Called kde_src_compile
  kde.eclass, line 113:   Called kde_src_compile 'all'
  kde.eclass, line 230:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 226:   Called die
Comment 1 Conway S. Smith 2006-04-20 00:17:58 UTC
Created attachment 85000 [details, diff]
Patch to build kdepim-3.4.3 using gcc-4.1
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2006-04-22 16:12:17 UTC
The latest arch version seems to compile just fine.