Tim, Darrell,
Here is a tdeadmin build failure involving error: 'TQListViewItem' has not been declared. I'll need help fixing the 'T'BlahBlah issue as that's not a strong point :( The full error was:
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h -I/opt/trinity/include/tde -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fpermissive -fpermissive -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -UQT_NO_COMPAT -MT knetworkconfdlg.lo -MD -MP -MF .deps/knetworkconfdlg.Tpo -c -o knetworkconfdlg.lo knetworkconfdlg.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h -I/opt/trinity/include/tde -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fpermissive -fpermissive -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -UQT_NO_COMPAT -MT knetworkconfdlg.lo -MD -MP -MF .deps/knetworkconfdlg.Tpo -c knetworkconfdlg.cpp -fPIC -DPIC -o .libs/knetworkconfdlg.o In file included from knetworkconfdlg.cpp:11:0: knetworkconfdlg.h:142:40: error: 'TQListViewItem' has not been declared In file included from knetworkconfdlg.cpp:31:0: ./knetworkconfdlg.ui.h:153:6: error: prototype for 'void KNetworkConfDlg::updateProfileNameSlot(TQListViewItem*)' does not match any in class 'KNetworkConfDlg' knetworkconfdlg.h:142:18: error: candidates are: virtual void KNetworkConfDlg::updateProfileNameSlot(int*) ./knetworkconfdlg.ui.h:147:6: error: virtual void KNetworkConfDlg::updateProfileNameSlot() In file included from knetworkconfdlg.cpp:688:0: knetworkconfdlg.moc: In member function 'virtual bool KNetworkConfDlg::tqt_invoke(int, TQUObject*)': knetworkconfdlg.moc:171:80: error: no matching function for call to 'KNetworkConfDlg::updateProfileNameSlot(TQListViewItem*)' knetworkconfdlg.moc:171:80: note: candidates are: ./knetworkconfdlg.ui.h:147:6: note: virtual void KNetworkConfDlg::updateProfileNameSlot() ./knetworkconfdlg.ui.h:147:6: note: candidate expects 0 arguments, 1 provided knetworkconfdlg.h:142:18: note: virtual void KNetworkConfDlg::updateProfileNameSlot(int*) knetworkconfdlg.h:142:18: note: no known conversion for argument 1 from 'TQListViewItem*' to 'int*' make[3]: *** [knetworkconfdlg.lo] Error 1 make[3]: Leaving directory `/build/src/tdeadmin/knetworkconf/knetworkconf' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/build/src/tdeadmin/knetworkconf' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/build/src/tdeadmin' make: *** [all] Error 2
On 03/24/2012 01:46 AM, David C. Rankin wrote:
In file included from knetworkconfdlg.cpp:11:0: knetworkconfdlg.h:142:40: error: 'TQListViewItem' has not been declared In file included from knetworkconfdlg.cpp:31:0: ./knetworkconfdlg.ui.h:153:6: error: prototype for 'void KNetworkConfDlg::updateProfileNameSlot(TQListViewItem*)' does not match any in class 'KNetworkConfDlg' knetworkconfdlg.h:142:18: error: candidates are: virtual void KNetworkConfDlg::updateProfileNameSlot(int*) ./knetworkconfdlg.ui.h:147:6: error: virtual void KNetworkConfDlg::updateProfileNameSlot() In file included from knetworkconfdlg.cpp:688:0: knetworkconfdlg.moc: In member function 'virtual bool KNetworkConfDlg::tqt_invoke(int, TQUObject*)': knetworkconfdlg.moc:171:80: error: no matching function for call to 'KNetworkConfDlg::updateProfileNameSlot(TQListViewItem*)' knetworkconfdlg.moc:171:80: note: candidates are: ./knetworkconfdlg.ui.h:147:6: note: virtual void KNetworkConfDlg::updateProfileNameSlot() ./knetworkconfdlg.ui.h:147:6: note: candidate expects 0 arguments, 1 provided knetworkconfdlg.h:142:18: note: virtual void KNetworkConfDlg::updateProfileNameSlot(int*) knetworkconfdlg.h:142:18: note: no known conversion for argument 1 from 'TQListViewItem*' to 'int*' make[3]: *** [knetworkconfdlg.lo] Error 1
What can I try declaring TQListViewItem as, and where would be the proper place to do it? knetworkconfdlg.h? TQListViewItem a string?, an int?
The weird thing is tdeadmin builds for several minutes before hitting this snag, so it looks limited to this bit of code.
Here is a tdeadmin build failure involving error: 'TQListViewItem' has not been declared. I'll need help fixing the 'T'BlahBlah issue as that's not a strong point :( The full error was:
Refer to bug report 871.
I have this in my tdeadmin build script:
# This is temporary. tdeadmin fails to build with TQt3. Bug report 871 filed. if [ -r ${PREFIX}/lib/pkgconfig/tqt-mt.pc ] || [ -r /usr/lib/pkgconfig/tqt-mt.pc ]; then export DO_NOT_COMPILE="knetworkconf" fi
Several weeks ago when I could still build packages against Qt3 (I no longer can build tdelibs against Qt3), tdeadmin built without failure against Qt3. The problem is building against TQt3.
Search the bug tracker for "FTBFS" and you'll find all the build failures I know about. Here are the build issues I am tracking:
920 blocker avahi-tqt FTBFS 872 blocker tdesdk FTBFS Against TQt3 871 blocker tdeadmin FTBFS Against TQt3 817 blocker tqca: No tqca package exists for the new tqt3 790 blocker kdemultimedia: audiofile.h configure errors 788 blocker Kdemultimedia: Kaudiocreator won't build unless configure finds the cdda headers 597 blocker kdebindings 3.5.13 will not build without numerous patches
873 critical Gwenview will not build libmng support 598 critical kdenetwork 3.5.13 will not build on Slackware with wifi support
877 major tdeutils: X11/extensions/extutil.h: present but cannot be compiled 818 major amarok: several build options missing with the cmake conversion
627 normal Kspell Sym Link Incorrect 626 normal Konversation Sym Links Incorrect 613 normal Kipi-plugins Sym Links Incorrect 347 normal Amarok Sym Links Incorrect
807 minor tdeaddons: unknown icon type 806 minor kipi-plugins: unknown icon type 805 minor tdeutils: unknown icon type 804 minor gwenview: unknown icon type 719 minor Koffice: unknown icon types
Regarding report 872, I can build tdesdk without error with autobuilds but not cmake.
Darrell
On 03/24/2012 03:30 PM, Darrell Anderson wrote:
# This is temporary. tdeadmin fails to build with TQt3. Bug report 871 filed. if [ -r ${PREFIX}/lib/pkgconfig/tqt-mt.pc ] || [ -r /usr/lib/pkgconfig/tqt-mt.pc ]; then export DO_NOT_COMPILE="knetworkconf" fi
Thanks Darrell,
That worked. I just used:
--without-knetworkconf \
Not as flexible, but when the bug gets resolved, I'll just delete it.