Bug 41571 - kprof doesn't emerge
|
Bug#:
41571
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: kde@gentoo.org
|
Reported By: alexeyp@tts-sf.com
|
|
Component: KDE
|
|
|
URL:
|
|
Summary: kprof doesn't emerge
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-02-14 10:54 0000
|
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include
-I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG
-O2 -mcpu=athlon-mp -O3 -pipe -fno-exceptions -fno-check-new -c -o
call-graph.o `test -f 'call-graph.cpp' || echo './'`call-graph.cpp
kprofwidget.cpp: In member function `void KProfWidget::selectListFont()':
kprofwidget.cpp:300: error: `assert' undeclared (first use this function)
kprofwidget.cpp:300: error: (Each undeclared identifier is reported only once
for each function it appears in.)
kprofwidget.cpp: In member function `void KProfWidget::applySettings()':
kprofwidget.cpp:458: error: `assert' undeclared (first use this function)
kprofwidget.cpp: In member function `void KProfWidget::loadSettings()':
kprofwidget.cpp:475: error: `assert' undeclared (first use this function)
make[2]: *** [kprofwidget.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kprof-1.4.2/work/kprof-1.4.2/kprof'make[1]: ***
[all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kprof-1.4.2/work/kprof-1.4.2'
make: *** [all] Error 2
!!! ERROR: dev-util/kprof-1.4.2 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make
Thanks for the patch. Should it be <cassert> rather than <assert.h> ?
Merc: Use emake instead of make. When overriding a inherited function, call it.
In this case it would be "kde_src_compile all". Patches should be applied in
src_unpack. The ebuild header is invalid >>
http://www.gentoo.org/doc/en/ebuild-mistakes.xml