First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 41571
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexey Parshin <alexeyp@tts-sf.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
assert.patch patches kprofwidget.cpp patch Thomas Veith (RETIRED) 2004-04-11 11:21 0000 474 bytes Details | Diff
kprof-1.4.2.ebuild new ebuild which applies patch text/x-ebuild Thomas Veith (RETIRED) 2004-04-11 11:22 0000 681 bytes Details
include_cassert.patch Alternate patch to provide assert by including <cassert> patch Merc 2004-05-06 15:28 0000 268 bytes Details | Diff
kprof-1.4.2.ebuild Alternate ebuild to use the "include_cassert.patch" text/plain Merc 2004-05-06 15:29 0000 1.48 KB Details
kprof-1.4.2.ebuild Alternate ebuild to use the "include_cassert.patch" (with some cleanups) text/plain Merc 2004-05-06 15:33 0000 781 bytes Details
kprof-1.4.2.ebuild kprof-1.4.2.ebuild text/plain Carsten Lohrke 2004-05-07 14:50 0000 600 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 41571 depends on: Show dependency tree
Bug 41571 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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

------- Comment #1 From Thomas Veith (RETIRED) 2004-04-11 11:21:17 0000 -------
Created an attachment (id=29095) [details]
patches kprofwidget.cpp

This patch adds an #include <assert.h> statement to kprofwidget.cpp so that
kprof compiles without errors

------- Comment #2 From Thomas Veith (RETIRED) 2004-04-11 11:22:41 0000 -------
Created an attachment (id=29097) [details]
new ebuild which applies patch

The original ebuild plus a line to apply the assert-patch

------- Comment #3 From Martin von Gagern 2004-04-29 15:09:32 0000 -------
Thanks for the patch. Should it be <cassert> rather than <assert.h> ?

------- Comment #4 From Merc 2004-05-06 15:28:14 0000 -------
Created an attachment (id=30878) [details]
Alternate patch to provide assert by including <cassert>

------- Comment #5 From Merc 2004-05-06 15:29:23 0000 -------
Created an attachment (id=30879) [details]
Alternate ebuild to use the "include_cassert.patch"

------- Comment #6 From Merc 2004-05-06 15:33:49 0000 -------
Created an attachment (id=30880) [details]
Alternate ebuild to use the "include_cassert.patch" (with some cleanups)

------- Comment #7 From Carsten Lohrke 2004-05-07 14:49:11 0000 -------
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

------- Comment #8 From Carsten Lohrke 2004-05-07 14:50:06 0000 -------
Created an attachment (id=30965) [details]
kprof-1.4.2.ebuild

------- Comment #9 From Carsten Lohrke 2004-07-25 09:07:04 0000 -------
committed :)

First Last Prev Next    No search results available      Search page      Enter new bug