Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9599 - kdelibs 3.0.4 / kate
Summary: kdelibs 3.0.4 / kate
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-24 03:55 UTC by Patrik Kullman
Modified: 2003-02-04 19:42 UTC (History)
0 users

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 Patrik Kullman 2002-10-24 03:55:39 UTC
/kde/3/lib -Wl,--rpath -Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2 -Wl,--rpath -
Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1 -Wl,--rpath -Wl,/usr/qt/3/lib -Wl,--
rpath -Wl,/usr/X11R6/lib
.libs/libkatepart_la.all_cpp.o: In function `AttribEditor::AttribEditor[not-in-
charge](QWidget*)':
.libs/libkatepart_la.all_cpp.o(.text+0x58938): undefined reference to 
`AttribEditor_skel::AttribEditor_skel[not-in-charge](QWidget*, char const*, 
unsigned)'
.libs/libkatepart_la.all_cpp.o: In function `AttribEditor::AttribEditor[in-
charge](QWidget*)':
.libs/libkatepart_la.all_cpp.o(.text+0x58ed8): undefined reference to 
`AttribEditor_skel::AttribEditor_skel[not-in-charge](QWidget*, char const*, 
unsigned)'
.libs/libkatepart_la.all_cpp.o: In function `AttribEditor::~AttribEditor [not-
in-charge]()':
.libs/libkatepart_la.all_cpp.o(.text+0x59475): undefined reference to 
`AttribEditor_skel::~AttribEditor_skel [not-in-charge]()'
.libs/libkatepart_la.all_cpp.o: In function `AttribEditor::~AttribEditor [in-
charge]()':
.libs/libkatepart_la.all_cpp.o(.text+0x594b5): undefined reference to 
`AttribEditor_skel::~AttribEditor_skel [not-in-charge]()'
.libs/libkatepart_la.all_cpp.o: In function `AttribEditor::~AttribEditor [in-
charge deleting]()':
.libs/libkatepart_la.all_cpp.o(.text+0x594f7): undefined reference to 
`AttribEditor_skel::~AttribEditor_skel [not-in-charge]()'
.libs/libkatepart_la.all_cpp.o(.gnu.linkonce.d._ZTV17AttribEditor_skel+0x20): 
undefined reference to `AttribEditor_skel::~AttribEditor_skel [in-charge]()'
.libs/libkatepart_la.all_cpp.o(.gnu.linkonce.d._ZTV17AttribEditor_skel+0x24): 
undefined reference to `AttribEditor_skel::~AttribEditor_skel [in-charge 
deleting]()'
.libs/libkatepart_la.all_cpp.o(.gnu.linkonce.d._ZTV17AttribEditor_skel+0x1c8): 
undefined reference to `non-virtual thunk [nv:-40] to 
AttribEditor_skel::~AttribEditor_skel [in-charge]()'
.libs/libkatepart_la.all_cpp.o(.gnu.linkonce.d._ZTV17AttribEditor_skel+0x1cc): 
undefined reference to `non-virtual thunk [nv:-40] to 
AttribEditor_skel::~AttribEditor_skel [in-charge deleting]()'
collect2: ld returned 1 exit status
make[3]: *** [libkatepart.la.closure] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.0.4/work/kdelibs-
3.0.4/kate/part'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.0.4/work/kdelibs-
3.0.4/kate'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.0.4/work/kdelibs-3.0.4'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function kde_src_compile, Line -6648, Exitcode 2
!!! died running emake, kde_src_compile:make



That was as long as my screen allowed me to scroll... ;)

Will post more info if needed.
Comment 1 Patrik Kullman 2002-10-24 03:56:01 UTC
Uh.. forgot..

GCC 3.2-ish
Comment 2 Hannes Mehnert (RETIRED) gentoo-dev 2002-10-24 10:41:37 UTC
is your gcc-3.2 from scratch or an updated from gcc-2.95.3? 
what are your c/cxxflags? 
Comment 3 Patrik Kullman 2002-10-24 12:17:35 UTC
I installed with gcc 2.95, then I just switched to gcc 3.1, then I used some
scripts to switch to gcc 3.2.

CFLAGS="-march=athlon-tbird -O2 -pipe"
CXXFLAGS="-march=athlon-tbird  -O2 -pipe"
Comment 4 Hannes Mehnert (RETIRED) gentoo-dev 2002-10-24 13:17:00 UTC
looks like another gcc-upgrade problem (like #8200).   
your compiler includes   /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2 and  
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1, which can't work, did you unmerge gcc-3.1.1? 
did you recompile all stuff with gcc-3.2? 
Comment 5 Patrik Kullman 2002-10-25 00:49:35 UTC
So what is the proposed solution?
My artsd links against /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/libstdc++.so.5.
Should I symlink /usr/lib/libstdc++.so.5 ->
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/libstdc++.so.5 ?


Comment 6 Patrik Kullman 2002-10-28 04:03:06 UTC
Tried to compile again, with possibilities to scroll.. ;)

/usr/qt/3/bin/moc ./katecodecompletion_arghint.h -o katecodecompletion_arghint.moc
/usr/qt/3/bin/moc ./katecodecompletion_iface_impl.h -o
katecodecompletion_iface_impl.moc
/usr/qt/3/bin/moc ./hlparamedit.h -o hlparamedit.moc
/usr/qt/3/bin/moc ./kateexportaction.h -o kateexportaction.moc
/usr/qt/3/bin/moc ./attribeditor.h -o attribeditor.moc
/usr/qt/3/bin/moc katehledit_attrib_skel.h -o katehledit_attrib_skel.moc
rm -f katehledit_attrib_skel.cpp
echo '#include <klocale.h>' > katehledit_attrib_skel.cpp
/usr/qt/3/bin/uic -L /usr/kde/3/lib/kde3/plugins/designer -nounload -tr tr2i18n
-i katehledit_attrib_skel.h ./katehledit_attrib_skel.ui | sed -e "s,tr2i18n(
\"\" ),QString::null,g" | sed -e "s,tr2i18n( \"\"\, \"\" ),QString::null,g" |
sed -e "s,image\([0-9][0-9]*\)_data,img\1_katehledit_attrib_skel,g" >>
katehledit_attrib_skel.cpp || rm -f katehledit_attrib_skel.cpp
creating libkatepart_la_meta_unload.cpp
fcntl: Bad file descriptor
fcntl: Bad file descriptor
fcntl: Bad file descriptor
QSettings::sync: failed to open '/root/.qt/qt_plugins_3.0rc' for writing
Conflict in /usr/qt/3/plugins/designer/kdewidgets.so:
 Plugin cannot be queried successfully!
fcntl: Bad file descriptor
fcntl: Bad file descriptor
fcntl: Bad file descriptor
QSettings::sync: failed to open '/root/.qt/qt_plugins_3.0rc' for writing
fcntl: Bad file descriptor
fcntl: Bad file descriptor
fcntl: Bad file descriptor
QSettings::sync: failed to open '/root/.qt/qt_plugins_3.0rc' for writing
fcntl: Bad file descriptor
fcntl: Bad file descriptor
fcntl: Bad file descriptor
QSettings::sync: failed to open '/root/.qt/qt_plugins_3.0rc' for writing
fcntl: Bad file descriptor
fcntl: Bad file descriptor
fcntl: Bad file descriptor
QSettings::sync: failed to open '/root/.qt/qt_plugins_3.0rc' for writing
fcntl: Bad file descriptor
fcntl: Bad file descriptor
fcntl: Bad file descriptor
QSettings::sync: failed to open '/root/.qt/qt_plugins_3.0rc' for writing
echo '#include "katehledit_attrib_skel.moc"' >> katehledit_attrib_skel.cpp
creating libkatepart_la.all_cpp.cpp ...
/bin/sh ../../libtool --mode=compile --tag=CXX i686-pc-linux-gnu-g++
-DHAVE_CONFIG_H -I. -I. -I../.. -I../interfaces -I../.. -I../../kspell
-I../../kdeprint -I../../interfaces  -I../../interfaces/kregexpeditor
-I../../kdefx -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui
-I../../kio -I../../kio/kio -I../../kio/kfile -I/usr/qt/3/include
-I/usr/X11R6/include -I/usr/kde/3/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  
-DNDEBUG -DNO_DEBUG -O2 -march=athlon-tbird -O2 -pipe -fno-exceptions
-fno-check-new  -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_COMPAT  -c -o libkatepart_la.all_cpp.lo `test -f
libkatepart_la.all_cpp.cpp || echo './'`libkatepart_la.all_cpp.cpp
mkdir .libs
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../interfaces -I../..
-I../../kspell -I../../kdeprint -I../../interfaces
-I../../interfaces/kregexpeditor -I../../kdefx -I../../dcop -I../../libltdl
-I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile
-I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3/include
-DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=athlon-tbird -O2
-pipe -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c libkatepart_la.all_cpp.cpp  -fPIC -DPIC -o
.libs/libkatepart_la.all_cpp.o
In file included from /usr/include/g++-v32/backward/iostream.h:31,
                 from katecodecompletion_iface_impl.cpp:14,
                 from libkatepart_la.all_cpp.cpp:18:
/usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This
file includes at least one deprecated or antiquated header. Please consider
using one of the 32 headers found in section 17.4.1.2 of the C++ standard.
Examples include substituting the <X> header for the <X.h> header for C++
includes, or <sstream> instead of the deprecated header <strstream.h>. To
disable this warning use -Wno-deprecated.
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../interfaces -I../..
-I../../kspell -I../../kdeprint -I../../interfaces
-I../../interfaces/kregexpeditor -I../../kdefx -I../../dcop -I../../libltdl
-I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile
-I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3/include
-DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=athlon-tbird -O2
-pipe -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c libkatepart_la_closure.cpp  -fPIC -DPIC -o
.libs/libkatepart_la_closure.o
/bin/sh ../../libtool --mode=link --tag=CXX i686-pc-linux-gnu-g++  -DNDEBUG
-DNO_DEBUG -O2 -march=athlon-tbird -O2 -pipe -fno-exceptions -fno-check-new 
-DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT    -o
libkatepart.la.closure libkatepart_la_closure.lo -L/usr/X11R6/lib
-L/usr/qt/3/lib -L/usr/kde/3/lib  -R /usr/kde/3/lib -R /usr/qt/3/lib -R
/usr/X11R6/lib -avoid-version -module -no-undefined -R /usr/kde/3/lib -R
/usr/qt/3/lib -R /usr/X11R6/lib  -module -avoid-version
libkatepart_la.all_cpp.lo  ../interfaces/libkatepartinterfaces.la
../../kspell/libkspell.la ../../kdeprint/libkdeprint.la
i686-pc-linux-gnu-g++ -DNDEBUG -DNO_DEBUG -O2 -march=athlon-tbird -O2 -pipe
-fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_COMPAT -o .libs/libkatepart.la.closure
.libs/libkatepart_la_closure.o .libs/libkatepart_la.all_cpp.o  -L/usr/X11R6/lib
-L/usr/qt/3/lib -L/usr/kde/3/lib ../interfaces/.libs/libkatepartinterfaces.so
-L/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/lib
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../.. -L/usr/i686-pc-linux-gnu/bin
-L/usr/i686-pc-linux-gnu/lib
-L/var/tmp/portage/gcc-3.1-r7/work/build/i686-pc-linux-gnu/libstdc++-v3/src
-L/var/tmp/portage/gcc-3.1-r7/work/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-L/var/tmp/portage/gcc-3.1-r7/work/build/gcc
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/gcc-lib/i686-pc-linux-gnu/3.1
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/../../../../i686-pc-linux-gnu/lib
/var/tmp/portage/kdelibs-3.0.4/work/kdelibs-3.0.4/interfaces/ktexteditor/.libs/libktexteditor.so
../../kspell/.libs/libkspell.so ../../kdeprint/.libs/libkdeprint.so
/var/tmp/portage/kdelibs-3.0.4/work/kdelibs-3.0.4/kparts/.libs/libkparts.so
/var/tmp/portage/kdelibs-3.0.4/work/kdelibs-3.0.4/kio/.libs/libkio.so
/var/tmp/portage/kdelibs-3.0.4/work/kdelibs-3.0.4/kdeui/.libs/libkdeui.so
/var/tmp/portage/kdelibs-3.0.4/work/kdelibs-3.0.4/kdefx/.libs/libkdefx.so
-lXrender
/var/tmp/portage/kdelibs-3.0.4/work/kdelibs-3.0.4/kdesu/.libs/libkdesu.so
/var/tmp/portage/kdelibs-3.0.4/work/kdelibs-3.0.4/kdecore/.libs/libkdecore.so
/var/tmp/portage/kdelibs-3.0.4/work/kdelibs-3.0.4/dcop/.libs/libDCOP.so -lqt-mt
-lpng -lX11 -lSM -lICE -lpthread -ldl -lXext -lresolv -lXinerama -lutil -lz
/usr/lib/libfam.so /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/libstdc++.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/libstdc++.so -lm -lc -lgcc_s -Wl,--rpath
-Wl,/usr/kde/3/lib -Wl,--rpath -Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2
-Wl,--rpath -Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1 -Wl,--rpath
-Wl,/usr/qt/3/lib -Wl,--rpath -Wl,/usr/X11R6/lib
.libs/libkatepart_la.all_cpp.o: In function
`AttribEditor::AttribEditor[not-in-charge](QWidget*)':
.libs/libkatepart_la.all_cpp.o(.text+0x58938): undefined reference to
`AttribEditor_skel::AttribEditor_skel[not-in-charge](QWidget*, char const*,
unsigned)'
.libs/libkatepart_la.all_cpp.o: In function
`AttribEditor::AttribEditor[in-charge](QWidget*)':
.libs/libkatepart_la.all_cpp.o(.text+0x58ed8): undefined reference to
`AttribEditor_skel::AttribEditor_skel[not-in-charge](QWidget*, char const*,
unsigned)'
.libs/libkatepart_la.all_cpp.o: In function `AttribEditor::~AttribEditor
[not-in-charge]()':
.libs/libkatepart_la.all_cpp.o(.text+0x59475): undefined reference to
`AttribEditor_skel::~AttribEditor_skel [not-in-charge]()'
.libs/libkatepart_la.all_cpp.o: In function `AttribEditor::~AttribEditor
[in-charge]()':
.libs/libkatepart_la.all_cpp.o(.text+0x594b5): undefined reference to
`AttribEditor_skel::~AttribEditor_skel [not-in-charge]()'
.libs/libkatepart_la.all_cpp.o: In function `AttribEditor::~AttribEditor
[in-charge deleting]()':
.libs/libkatepart_la.all_cpp.o(.text+0x594f7): undefined reference to
`AttribEditor_skel::~AttribEditor_skel [not-in-charge]()'
.libs/libkatepart_la.all_cpp.o(.gnu.linkonce.d._ZTV17AttribEditor_skel+0x20):
undefined reference to `AttribEditor_skel::~AttribEditor_skel [in-charge]()'
.libs/libkatepart_la.all_cpp.o(.gnu.linkonce.d._ZTV17AttribEditor_skel+0x24):
undefined reference to `AttribEditor_skel::~AttribEditor_skel [in-charge
deleting]()'
.libs/libkatepart_la.all_cpp.o(.gnu.linkonce.d._ZTV17AttribEditor_skel+0x1c8):
undefined reference to `non-virtual thunk [nv:-40] to
AttribEditor_skel::~AttribEditor_skel [in-charge]()'
.libs/libkatepart_la.all_cpp.o(.gnu.linkonce.d._ZTV17AttribEditor_skel+0x1cc):
undefined reference to `non-virtual thunk [nv:-40] to
AttribEditor_skel::~AttribEditor_skel [in-charge deleting]()'
collect2: ld returned 1 exit status
make[3]: *** [libkatepart.la.closure] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdelibs-3.0.4/work/kdelibs-3.0.4/kate/part'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.0.4/work/kdelibs-3.0.4/kate'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.0.4/work/kdelibs-3.0.4'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function kde_src_compile, Line -6672, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 7 Hannes Mehnert (RETIRED) gentoo-dev 2002-11-04 08:16:59 UTC
do you have multiple gcc installed?  
kdelibs includes  /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/libstdc++.so, which is 
wrong (because you have gcc-3.2 installed). 
maybe it will work if you move this lib away (but i dunno if it will break anything on 
your system) 
Comment 8 Patrik Kullman 2002-11-04 10:59:25 UTC
I somehow fixed it.
I removed all /var/tmp/portage/gcc-3.1* and I renamed all
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1* and
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95*.


Comment 9 Hannes Mehnert (RETIRED) gentoo-dev 2002-11-05 05:57:53 UTC
great, was also an "upgrade to gcc-3.2"-problem