Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
When trying to compile (gcc 3.2.1) kbear 2.0_beta2 against qt 3.1.0 and kde 3.1_rc5 I get the following compile error: g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include - I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -mc pu=athlon-xp -O3 -pipe -fno-exceptions -fno-check-new -c kbearwizardbase.cpp -f PIC -DPIC -o .libs/kbearwizardbase.o kbearquickconnectbase.cpp: In constructor `KBearQuickConnectBase::KBearQuickConnectBase(QWidget*, const char*, bool, unsigned int)': kbearquickconnectbase.cpp:127: `languageChange' undeclared (first use this function) kbearquickconnectbase.cpp:127: (Each undeclared identifier is reported only once for each function it appears in.) kbearquickconnectbase.cpp: At global scope: kbearquickconnectbase.cpp:160: no `void KBearQuickConnectBase::languageChange() ' member function declared in class `KBearQuickConnectBase' kbearwizardbase.cpp: In constructor `KBearWizardBase::KBearWizardBase(QWidget*, const char*, bool, unsigned int)': kbearwizardbase.cpp:59: `languageChange' undeclared (first use this function) kbearwizardbase.cpp:59: (Each undeclared identifier is reported only once for each function it appears in.) kbearwizardbase.cpp: At global scope: kbearwizardbase.cpp:79: no `void KBearWizardBase::languageChange()' member function declared in class `KBearWizardBase' make[3]: *** [kbearquickconnectbase.lo] Fehler 1 make[3]: *** Warte auf noch nicht beendete Prozesse... make[3]: *** [kbearwizardbase.lo] Fehler 1 make[3]: Leaving directory `/var/tmp/portage/kbear-2.0_beta2/work/kbear-2.0beta2 /kbear/base' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/kbear-2.0_beta2/work/kbear-2.0beta2 /kbear' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/kbear-2.0_beta2/work/kbear-2.0beta2 ' make: *** [all] Fehler 2 !!! ERROR: net-ftp/kbear-2.0_beta2 failed. !!! Function kde_src_compile, Line 88, Exitcode 2 !!! died running emake, kde_src_compile:make Normally I wouldn't post a bug involving beta software but this looks so fundamental to me that I tought I'd let you know.
Add on: With kbear 2.1 this problem does not occur, but this is masked with keyword ~x86.
I've got the same problem. May it have something to do with the language setting?! Just a guess.
this error occurs if an application uses ui-files and the tarball also contains .cpp and .h files for the ui-files (the .cpp and .h file should be generated by uic in compile time). removing the .cpp and .h files which are generated for a specific qt-version from the tarball (or in the ebuild before compiling) should fix this.
add me to the list too. i'm running into the same problem. this one bugs me (pun intended) as i like the kbear layout. it's one of the best if not the best ftp gui i've ever used.
Created an attachment (id=7756) [details] Bash script which remove such ui-files. I wrote this bash scripts which after being revised should be merged inside a qt-eclass a like scripts. This way all qt/kde would execute this and we will never see this error again in the gentoo distro. The scripts does the following, from the initial path it is run in, it check for all directory and files. If it founds a directory it will change to it and re-scan. For each files found, it will check if it ends up with .ui, if so it will strip the .ui and replace it with a .h and .cpp and check if those files exists and remove them if they do. Simple and effective.
Created an attachment (id=7757) [details] Safier version This scripts does the same as previous except for the removal of the files. Only touching the .ui is enough to have uic executed on them. So no need to delete/remove and get people afraid
*** Bug 10953 has been marked as a duplicate of this bug. ***
*** Bug 12668 has been marked as a duplicate of this bug. ***
I'm now testing a modification to kde.eclass that will automatically touch all .ui files of all qt/kde apps after unpacking them. This should eliminate these bugs for good :-)
I committed this modification yesterday. All these problems should be fixed now. If noone adds comments (or opens new bugs) about this in the next few days, I'll close this bug.
Ok then