Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 106336

Summary: kdegraphics won't compile: missing ksnapshotpreview.h from ksnapshotwidget.cpp
Product: Gentoo Linux Reporter: Eric Herot <genteric>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Eric Herot 2005-09-17 21:55:02 UTC
creating ksnapshot.all_cpp.cpp ...
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DKSNAPVERSION="\"0.7.1\""
-I/usr/kde/3.4/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT 
-D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts
-Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2
-march=athlon-xp -O3 -pipe -Wformat-security -Wmissing-format-attribute
-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
ksnapshot.all_cpp.o `test -f 'ksnapshot.all_cpp.cpp' || echo
'./'`ksnapshot.all_cpp.cpp
In file included from ksnapshot.all_cpp.cpp:3:
ksnapshot.cpp: In member function `void KSnapshot::performGrab()':
ksnapshot.cpp:513: warning: comparison between signed and unsigned integer
expressions
ksnapshot.cpp:517: warning: comparison between signed and unsigned integer
expressions
In file included from ksnapshot.all_cpp.cpp:6:
ksnapshotwidget.cpp:30:30: ksnapshotpreview.h: No such file or directory
ksnapshot.cpp: At global scope:
ksnapshot.cpp:156: warning: unused parameter 'event'
make[2]: *** [ksnapshot.all_cpp.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdegraphics-3.4.2-r2/work/kdegraphics-3.4.2/ksnapshot'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdegraphics-3.4.2-r2/work/kdegraphics-3.4.2'
make: *** [all] Error 2

!!! ERROR: kde-base/kdegraphics-3.4.2-r2 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 -u kdegraphics
2.
3.

Actual Results:  
Package failed to merge with above results

Expected Results:  
Should have built like it usually does!

I went into
/var/tmp/portage/kdegraphics-3.4.2-r2/work/kdegraphics-3.4.2/ksnapshot and
commented out the include line for ksnapshotpreview.h from the file
ksnapshotwidget.cpp, then ran make.  This seemed to fix the problem.  Presumably
this is an include left over from a previous version which is no longer needed
to compile this object.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-11 02:52:17 UTC

*** This bug has been marked as a duplicate of 106402 ***