Bug 123719 - dev-util/kprof-1.4.3 fails (gcc4)
Bug#: 123719 Product:  Gentoo Linux Version: 2005.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: kde@gentoo.org Reported By: hetfield666@gmail.com
Component: GCC Porting
URL: 
Summary: dev-util/kprof-1.4.3 fails (gcc4)
Keywords:  
Status Whiteboard: 
Opened: 2006-02-22 08:42 0000
Description:   Opened: 2006-02-22 08:42 0000
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.
 -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG
-O2 -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse
-ffast-math -fno-exceptions -fno-check-new  -c cprofileinfo.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.
 -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG
-O2 -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse
-ffast-math -fno-exceptions -fno-check-new  -c parseprofile_pose.cpp
parseprofile_pose.h:30: error: expected `)' before ‘&’ token
parseprofile_pose.cpp:29: error: prototype for
‘CParseProfile_pose::CParseProfile_pose(QTextStream&,
QPtrVector<CProfileInfo>&)&#8217; does not match any in class
&#8216;CParseProfile_pose&#8217;
parseprofile_pose.h:28: error: candidates are:
CParseProfile_pose::CParseProfile_pose(const CParseProfile_pose&)
parseprofile_pose.h:36: error:                
CParseProfile_pose::CParseProfile_pose()
make[2]: *** [parseprofile_pose.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/kprof-1.4.3/work/kprof/kprof'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kprof-1.4.3/work/kprof'
make: *** [all-recursive-am] Error 2

!!! ERROR: dev-util/kprof-1.4.3 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  ebuild.sh, line 1609:   Called kde_src_compile
  kde.eclass, line 104:   Called kde_src_compile 'compile'
  kde.eclass, line 221:   Called kde_src_compile 'all' 'myconf' 'configure'

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if
relevant.

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2006-03-06 04:01:23 0000 -------
Patched in portage, builds fine now.