Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12686 - net-im/kopete-0.5 failed to emerge
Summary: net-im/kopete-0.5 failed to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-25 03:42 UTC by Patrick Hsieh
Modified: 2003-02-04 19:42 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Hsieh 2002-12-25 03:42:54 UTC
error starts here:

<snip>
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
-I. -I. -I../../.. -I../../../kopete/libkopete -I/usr/kde/3/include
-I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT 
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O3 -pipe
-fno-exceptions -fno-check-new  -c -o kopetecontactviewitem.lo `test -f
kopetecontactviewitem.cpp || echo './'`kopetecontactviewitem.cpp
kopetechatwindow.cpp:45:23: ktextedit.h: No such file or directory
kopetechatwindow.cpp: In member function `virtual void 
   KopeteEditor::setEditingMode(KopeteChatWindow::EditingMode)':
kopetechatwindow.cpp:328: parse error before `(' token
make[4]: *** [kopetechatwindow.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
`/var/tmp/portage/kopete-0.5/work/kopete-0.5-1/kopete/libkopete/ui'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kopete-0.5/work/kopete-0.5-1/kopete/libkopete'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kopete-0.5/work/kopete-0.5-1/kopete'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kopete-0.5/work/kopete-0.5-1'
make: *** [all] Error 2

!!! ERROR: net-im/kopete-0.5 failed.
!!! Function kde_src_compile, Line -8779, Exitcode 2
!!! died running emake, kde_src_compile:make
<snip>

system info:
-------------
http://www.linux.org.tw/~pahud/gentoo/pahud/info
Comment 1 Patrick Hsieh 2002-12-25 03:49:47 UTC
looks like a dependency problem, ktextedit.h is missing.

How do I know which ebuild contains ktextedit.h?

Comment 2 Charles N. Burns 2002-12-26 15:11:07 UTC
I have the same problem. I've run qtconfig and added    "/usr/kde/3/lib/kde3/plugins" to my library paths as recommended in the    forums. Unless the ebuild deletes it after the failed emerge, ktextedit.h does not exist on this system. This occurs as of the latest rsync on 26 DEC 2002, and earlier. 
Comment 3 Pascal Labit 2002-12-30 21:58:16 UTC
Same problem here on a fresh new 1.4rc1 installation (kde-3.0.5a ans 
qt-3.1.0-r1). 
Comment 4 Angel Chiang 2002-12-31 13:01:49 UTC
Same thing happens with fresh Gentoo installation and the older kopete-0.4.1:  
  
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H  
-I. -I. -I../../.. -I../../../kopete/libkopete -I/usr/kde/3/include  
-I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT   
-Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic  
-W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi  
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG  
-DNO_DEBUG -O2 -march=pentium3 -O3 -pipe -fno-exceptions -fno-check-new  -c -o  
kopetecontactviewitem.lo `test -f kopetecontactviewitem.cpp || echo  
'./'`kopetecontactviewitem.cpp  
kopetechatwindow.cpp:42:23: ktextedit.h: No such file or directory  
kopetechatwindow.cpp: In member function `virtual void  
   KopeteEditor::setEditingMode(KopeteEditor::EditingMode)':  
kopetechatwindow.cpp:223: parse error before `(' token  
make[4]: *** [kopetechatwindow.lo] Error 1  
make[4]: *** Waiting for unfinished jobs....  
kopetecontactviewitem.cpp: In member function `virtual QString  
   KopeteContactViewItem::key(int, bool) const':  
kopetecontactviewitem.cpp:98: warning: unused parameter `int column'  
kopetecontactviewitem.cpp:98: warning: unused parameter `bool ascending'  
make[4]: Leaving directory  
`/var/tmp/portage/kopete-0.4.1/work/kopete-0.4.1/kopete/libkopete/ui'  
make[3]: *** [all-recursive] Error 1  
make[3]: Leaving directory  
`/var/tmp/portage/kopete-0.4.1/work/kopete-0.4.1/kopete/libkopete'  
make[2]: *** [all-recursive] Error 1  
make[2]: Leaving directory  
`/var/tmp/portage/kopete-0.4.1/work/kopete-0.4.1/kopete'  
make[1]: *** [all-recursive] Error 1  
make[1]: Leaving directory `/var/tmp/portage/kopete-0.4.1/work/kopete-0.4.1'  
make: *** [all] Error 2  
  
!!! ERROR: net-im/kopete-0.4.1 failed.  
!!! Function kde_src_compile, Line -8823, Exitcode 2  
!!! died running emake, kde_src_compile:make 
Comment 5 naanyaar2000 2003-01-01 13:02:30 UTC
I use this workaround (http://forums.gentoo.org/viewtopic.php?p=160576#160576):

ebuild /usr/portage/net-im/kopete/kopete-0.5.ebuild unpack
cd /var/tmp/portage/kopete-0.5/
for x in `find . \( -exec grep -q 'KDE_VERSION.*305' {} \; \) -print`;  do cat
$x | sed -e 's/KDE_VERSION >= 305/KDE_VERSION > 305/g' -e 's/KDE_VERSION <
305/KDE_VERSION <= 305/g' > $x.new; mv -f $x.new $x; done
cd
ebuild /usr/portage/net-im/kopete/kopete-0.5.ebuild compile
ebuild /usr/portage/net-im/kopete/kopete-0.5.ebuild install
ebuild /usr/portage/net-im/kopete/kopete-0.5.ebuild qmerge 
Comment 6 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-03 05:09:38 UTC
committed kopete-0.5-kde-3.0.5a.patch which is used by kopete-0.5.ebuild and 
solves this bug. 
thanks.