Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 13248
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Steffen Lassahn <lassahn@yahoo.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
removeautogeneratedfiles.sh Bash script which remove such ui-files. text/plain Yannick Koehler 2003-01-30 09:29 0000 466 bytes Details
removeautogeneratedfiles.sh Safier version text/plain Yannick Koehler 2003-01-30 09:47 0000 310 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 13248 depends on: Show dependency tree
Bug 13248 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: 2003-01-04 12:36 0000
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.

------- Comment #1 From Steffen Lassahn 2003-01-05 11:38:55 0000 -------
Add on: With kbear 2.1 this problem does not occur, but this is masked with
keyword ~x86.

------- Comment #2 From Konrad Miller 2003-01-07 11:54:41 0000 -------
I've got the same problem. May it have something to do with the language
setting?! Just a guess.

------- Comment #3 From Hannes Mehnert (RETIRED) 2003-01-09 02:17:01 0000 -------
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. 

------- Comment #4 From Chris Arndt 2003-01-11 23:55:25 0000 -------
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.

------- Comment #5 From Yannick Koehler 2003-01-30 09:29:19 0000 -------
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.

------- Comment #6 From Yannick Koehler 2003-01-30 09:47:09 0000 -------
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

------- Comment #7 From Yannick Koehler 2003-01-30 09:53:50 0000 -------
*** Bug 10953 has been marked as a duplicate of this bug. ***

------- Comment #8 From Yannick Koehler 2003-01-30 09:55:23 0000 -------
*** Bug 12668 has been marked as a duplicate of this bug. ***

------- Comment #9 From Dan Armak (RETIRED) 2003-01-30 12:43:24 0000 -------
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 :-) 

------- Comment #10 From Dan Armak (RETIRED) 2003-01-31 16:31:05 0000 -------
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. 

------- Comment #11 From Dan Armak (RETIRED) 2003-02-03 10:28:04 0000 -------
Ok then 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug