KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
112500
:
Problem building kdebase with qt 3.3.5
P
roduct
:
khotkeys
Co
m
ponent
:
general
Status
:
RESOLVED
Resolution
:
WORKSFORME
Target
:
---
Version
:
unspecified
Pr
i
ority
:
NOR
Severity
:
normal
V
otes
:
0
Description
:
Opened:
2005-09-12 21:17
Last Changed:
2005-09-22 13:47:37
Version: 3.4.2 (using KDE KDE 3.4.2) Installed from: Compiled From Sources Compiler: GCC 3.3.6 OS: Linux When building kdebase I get: rm -rf windowdef_list_widget_ui.h; /usr/lib/qt3/bin/uic -L /opt/kde3/lib/kde3/plugins/designer -nounload ./windowdef_list_widget_ui.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> windowdef_list_widget_ui.h ; /usr/lib/qt3/bin/moc windowdef_list_widget_ui.h -o windowdef_list_widget_ui.moc rm -f windowdef_list_widget_ui.cpp echo '#include <kdialog.h>' > windowdef_list_widget_ui.cpp echo '#include <klocale.h>' >> windowdef_list_widget_ui.cpp /usr/lib/qt3/bin/uic -L /opt/kde3/lib/kde3/plugins/designer -nounload -tr tr2i18n -i windowdef_list_widget_ui.h ./windowdef_list_widget_ui.ui > windowdef_list_widget_ui.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" windowdef_list_widget_ui.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_windowdef_list_widget_ui,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> windowdef_list_widget_ui.cpp ;\ rm -f windowdef_list_widget_ui.cpp.temp ;\ if test "$ret" = 0; then echo '#include "windowdef_list_widget_ui.moc"' >> windowdef_list_widget_ui.cpp; else rm -f windowdef_list_widget_ui.cpp ; exit $ret ; fi if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./.. -I../../../khotkeys/shared -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -I/usr/local/samba/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -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 -O3 -march=i386 -fno-strength-reduce -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 -D_GNU_SOURCE -MT windowdef_list_widget_ui.lo -MD -MP -MF ".deps/windowdef_list_widget_ui.Tpo" -c -o windowdef_list_widget_ui.lo windowdef_list_widget_ui.cpp; \ then mv -f ".deps/windowdef_list_widget_ui.Tpo" ".deps/windowdef_list_widget_ui.Plo"; else rm -f ".deps/windowdef_list_widget_ui.Tpo"; exit 1; fi windowdef_list_widget_ui.cpp:23:34: khotkeys::khlistview.h: No such file or directory make[4]: *** [windowdef_list_widget_ui.lo] Error 1 make[4]: Leaving directory `/home/users/chris/rpm/BUILD/kdebase-3.4.2/khotkeys/kcontrol/ui' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/users/chris/rpm/BUILD/kdebase-3.4.2/khotkeys/kcontrol' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/users/chris/rpm/BUILD/kdebase-3.4.2/khotkeys' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/users/chris/rpm/BUILD/kdebase-3.4.2' make: *** [all] Error 2 Bad exit status from /home/users/chris/rpm/tmp/rpm-tmp.52327 (%build) I upgraded to qt 3.3.5 yesterday, so I guess that may be the problem rather that kdebase itself, but I have to start somewhere :)
Comment
#1
Thiago Macieira 2005-09-13 04:07:27
Does it build with Qt 3.3.4?
Comment
#2
Nicolas Goutte 2005-09-13 19:47:28
khotkeys::khlistview.h as include file in a .ui file is a little curious. (And as far as I understand Qt 3.3.5's changelog, uic now uses such includes.) Have a nice day!
Comment
#3
Aaron J Seigo 2005-09-13 20:02:08
Created an attachment (id=12552)
[details]
UIC <includehints> fix yes, this is a bug in Qt uic 3.3.5. trolltech is aware of it and working on a fix. until then, here's the patch i'm using locally.
Comment
#4
Aaron J Seigo 2005-09-13 20:11:56
Created an attachment (id=12554)
[details]
UIC <includehints> fix erg.. there are actually two colons there.
Comment
#5
Chris Clayton 2005-09-13 20:27:03
Yes, I finally found a mention of the bug in uic earlier today. The workaround from Trolltech is to delete the includehint, so I've added this script to the %prep section of my rpm spec file for kdebase. # hack to overcome problem with qt 3.3.5 build tools find . -name "*.ui" | while read f; do mv $f /tmp/`basename $f` cat /tmp/`basename $f` | grep -v includehint > $f rm /tmp/`basename $f` done That will be OK until qt 3.3.6 is released. As it's not actually a kde bug, I'll close this bug report too. Thanks everyone.
Comment
#6
Chris Clayton 2005-09-14 20:22:28
Just to complete the loop here, I've built and installed qt 3.3.5 with Aaron's patch, but building kdebase still fails thusly: rm -f actions_listview_widget_ui.cpp echo '#include <kdialog.h>' > actions_listview_widget_ui.cpp echo '#include <klocale.h>' >> actions_listview_widget_ui.cpp /usr/lib/qt3/bin/uic -L /opt/kde3/lib/kde3/plugins/designer -nounload -tr tr2i18n -i actions_listview_widget_ui.h ./actions_listview_widget_ui.ui > actions_listview_widget_ui.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" actions_listview_widget_ui.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_actions_listview_widget_ui,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> actions_listview_widget_ui.cpp ;\ rm -f actions_listview_widget_ui.cpp.temp ;\ if test "$ret" = 0; then echo '#include "actions_listview_widget_ui.moc"' >> actions_listview_widget_ui.cpp; else rm -f actions_listview_widget_ui.cpp ; exit $ret ; fi if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./.. -I../../../khotkeys/shared -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -I/usr/local/samba/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -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 -O3 -march=i386 -fno-strength-reduce -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 -D_GNU_SOURCE -MT actions_listview_widget_ui.lo -MD -MP -MF ".deps/actions_listview_widget_ui.Tpo" -c -o actions_listview_widget_ui.lo actions_listview_widget_ui.cpp; \ then mv -f ".deps/actions_listview_widget_ui.Tpo" ".deps/actions_listview_widget_ui.Plo"; else rm -f ".deps/actions_listview_widget_ui.Tpo"; exit 1; fi actions_listview_widget_ui.cpp:22:30: actions_listview.h: No such file or directory make[4]: *** [actions_listview_widget_ui.lo] Error 1
Comment
#7
hgg 2005-09-18 06:07:56
Created an attachment (id=12612)
[details]
removes all includehints from the khotkeys subdirectory this allowed compilation with the problematice uic on qt-3.3.5 with gcc-4.0.1
Comment
#8
Tommi Tervo 2005-09-22 13:47:37
***
Bug 113059
has been marked as a duplicate of this bug. ***
P
latform
:
Compiled Sources
O
S
:
Linux
K
eywords
:
People
Reporter
:
Chris Clayton
Assigned To
:
Lubos Lunak
CC
:
nickthompson agere com
nicolasg snafu de
pookey pookey co uk
rdieter math unl edu
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
UIC <includehints> fix
(707 bytes, patch)
2005-09-13 20:02
,
Aaron J. Seigo
Details
UIC <includehints> fix
(711 bytes, patch)
2005-09-13 20:11
,
Aaron J. Seigo
Details
removes all includehints from the khotkeys subdirectory
(4.06 KB, patch)
2005-09-18 06:07
,
hgg
Details
Hide Obsolete
(1) |
View All
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In