Darrell,
On my build tonight (today's source) I have the following build failures:
libraries/libksquirrel tdebindings tdegraphics applications/amarok applications/gtk-qt-engine applications/kchmviewer applications/kdmtheme applications/kbfx applications/kima applications/kstreamripper applications/krusader applications/kmplayer applications/kuickshow applications/digikam
Could you check to see which you are currently successfully building (post TQt name change). I'll dig into the logs tomorrow, but if it "builds for you", that gives me a reference... :)
I'll also look at the graphics issues tomorrow.
On my build tonight (today's source) I have the following build failures:
libraries/libksquirrel tdebindings tdegraphics applications/amarok applications/gtk-qt-engine applications/kchmviewer applications/kdmtheme applications/kbfx applications/kima applications/kstreamripper applications/krusader applications/kmplayer applications/kuickshow applications/digikam
Could you check to see which you are currently successfully building (post TQt name change). I'll dig into the logs tomorrow, but if it "builds for you", that gives me a reference... :)
I am going to start a new run today, but as of two days ago I had no problems with those packages. Remember that I have not yet dived in gcc 4.7.1 because that version is not yet available in Slackware (but should be soon).
I'll also look at the graphics issues tomorrow.
Thanks!
Darrell
On 06/22/2012 11:04 AM, Darrell Anderson wrote:
On my build tonight (today's source) I have the following build failures:
libraries/libksquirrel tdebindings tdegraphics applications/amarok applications/gtk-qt-engine applications/kchmviewer applications/kdmtheme applications/kbfx applications/kima applications/kstreamripper applications/krusader applications/kmplayer applications/kuickshow applications/digikam
Could you check to see which you are currently successfully building (post TQt name change). I'll dig into the logs tomorrow, but if it "builds for you", that gives me a reference... :)
I am going to start a new run today, but as of two days ago I had no problems with those packages. Remember that I have not yet dived in gcc 4.7.1 because that version is not yet available in Slackware (but should be soon).
I'll also look at the graphics issues tomorrow.
Thanks!
Darrell
Darrell,
Here is a summary of the failures.
avahi-tqt:
make[2]: Entering directory `/build/src/avahi-tqt/avahi-tqt' GEN qt-watch.moc3 /usr/bin/moc-tqt: line 8: tqmoc: command not found make all-am make[3]: Entering directory `/build/src/avahi-tqt/avahi-tqt' CXX libavahi_tqt_la-qt-watch.lo qt-watch.cpp:183:25: fatal error: qt-watch.moc3: No such file or directory compilation terminated.
What happened here? It says 'GEN qt-watch.moc3', but then fatal error: qt-watch.moc3: No such file or directory?
digikam:
make[3]: Entering directory `/build/src/digikam/digikam/kioslave' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../digikam/libs/jpegutils -I../../digikam/libs/dimg -I../../digikam/libs/dmetadata -I../../digikam/digikam -I../../digikam/libs/sqlite3 -I/opt/trinity/include -I/opt/trinity/include -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT -fno-tree-pre -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -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 -DQT_CLEAN_NAMESPACE -MT digikamthumbnail.lo -MD -MP -MF .deps/digikamthumbnail.Tpo -c -o digikamthumbnail.lo digikamthumbnail.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../digikam/libs/jpegutils -I../../digikam/libs/dimg -I../../digikam/libs/dmetadata -I../../digikam/digikam -I../../digikam/libs/sqlite3 -I/opt/trinity/include -I/opt/trinity/include -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT -fno-tree-pre -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -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 -DQT_CLEAN_NAMESPACE -MT digikamthumbnail.lo -MD -MP -MF .deps/digikamthumbnail.Tpo -c digikamthumbnail.cpp -fPIC -DPIC -o .libs/digikamthumbnail.o In file included from digikamthumbnail.cpp:67:0: /opt/trinity/include/kfilemetainfo.h:1237:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] digikamthumbnail.cpp: In member function 'TQImage kio_digikamthumbnailProtocol::loadPNG(const TQString&)': digikamthumbnail.cpp:416:17: error: invalid use of incomplete type 'png_info {aka struct png_info_def}' In file included from digikamthumbnail.cpp:96:0: /usr/include/png.h:741:16: error: forward declaration of 'png_info {aka struct png_info_def}' digikamthumbnail.cpp:419:17: error: invalid use of incomplete type 'png_info {aka struct png_info_def}' In file included from digikamthumbnail.cpp:96:0: /usr/include/png.h:741:16: error: forward declaration of 'png_info {aka struct png_info_def}' digikamthumbnail.cpp:425:17: error: invalid use of incomplete type 'png_info {aka struct png_info_def}' In file included from digikamthumbnail.cpp:96:0: /usr/include/png.h:741:16: error: forward declaration of 'png_info {aka struct png_info_def}' digikamthumbnail.cpp:372:41: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
Looks like libpng issue still plagues build. Wasn't this fixed? Regression?
gtk-qt-engine:
In file included from /build/src/gtk-qt-engine/src/qt_theme_draw.c:6:0: /usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
Looks like upstream gtk3 problem. Looks like we have to learn how to force building on gtk2.
kbfx:
-- Will use 'kmenuedit'! CMake Error at po/CMakeLists.txt:1 (ADD_POFILES): Unknown CMake command "ADD_POFILES".
Looks like a 'borked' CMakeLists. Never seen this before??
kchmviewer:
Please remember to use GNU make, often installed as gmake.
Install prefix : /opt/trinity KDE support : disabled. Qt includes : Qt libraries : chmlib to link : system checking if lib should be compiled... yes checking if po should be compiled... yes checking if src should be compiled... yes checking that generated files are newer than configure... done configure: error: conditional "include_x11" was never defined. Usually this means the macro was only invoked conditionally. ==> ERROR: A failure occurred in build(). Aborting...
huh? No KDE and No Qt? Looks like TQt3 renaming issue - how to fix??
kdmtheme:
make[2]: Entering directory `/build/src/kdmtheme/src' /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 -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=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -MT tdmtheme.lo -MD -MP -MF .deps/tdmtheme.Tpo -c -o tdmtheme.lo tdmtheme.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h -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=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -MT tdmtheme.lo -MD -MP -MF .deps/tdmtheme.Tpo -c tdmtheme.cpp -fPIC -DPIC -o .libs/tdmtheme.o tdmtheme.cpp:344:24: fatal error: tdmtheme.moc: No such file or directory compilation terminated.
Another .moc problem?
kima:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src/cpufreqd -I../src/sources -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -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=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -MT kima.moc.lo -MD -MP -MF .deps/kima.moc.Tpo -c kima.moc.cpp -fPIC -DPIC -o .libs/kima.moc.o In file included from kima.moc.cpp:9:0: ./kima.h:177:24: error: 'list' in namespace 'std' does not name a type ./kima.h:177:29: error: ISO C++ forbids declaration of 'parameter' with no type [-fpermissive] ./kima.h:177:33: error: expected ',' or '...' before '<' token
This looks moc related. TQt renaming stuff??
kipi-plugins:
checking for perl... /usr/bin/perl checking for Qt... libraries /opt/tqt3/lib, headers /opt/tqt3/include using -mt checking for tqmoc... not found configure: error: No TQt meta object compiler (tqmoc) found! Please check whether you installed Qt correctly. You need to have a running tqmoc binary. configure tried to run and the test didn't succeed. If configure shouldn't have tried this one, set the environment variable MOC to the right one before running configure.
More moc failures? TQt3 files are there:
12:00 providence:~/bld47> l david/opt/tqt3/bin/ total 39656 drwxr-xr-x 2 root root 4096 Jun 21 15:46 . drwxr-xr-x 11 root root 4096 Jun 21 15:46 .. -rwxr-xr-x 1 root root 98184 Jun 21 15:46 createcw -rwxr-xr-x 1 root root 192630 Jun 21 15:46 makeqpf -rwxr-xr-x 1 root root 73157 Jun 21 15:46 mergetr -rwxr-xr-x 1 root root 57780 Jun 21 15:46 msg2qm -rwxr-xr-x 1 root root 282844 Jun 21 15:46 qm2ts -rwxr-xr-x 1 root root 2879690 Jun 21 15:46 tqassistant -rwxr-xr-x 1 root root 20476840 Jun 21 15:46 tqdesigner -rwxr-xr-x 1 root root 134511 Jun 21 15:46 tqembed -rwxr-xr-x 1 root root 2334322 Jun 21 15:46 tqlinguist -rwxr-xr-x 1 root root 381896 Jun 21 15:46 tqlrelease -rwxr-xr-x 1 root root 745423 Jun 21 15:46 tqlupdate -rwxr-xr-x 1 root root 6925891 Jun 21 15:46 tqmake -rwxr-xr-x 1 root root 2801719 Jun 21 15:46 tqmoc -rwxr-xr-x 1 root root 1428644 Jun 21 15:46 tqtconfig -rwxr-xr-x 1 root root 1754144 Jun 21 15:46 tquic
koffice:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I../../../lib/kofficeui -I../../../lib/kofficeui -I../../../lib/kofficecore -I../../../lib/kofficecore -I../../../lib/store -I../../../lib/store -I../../../lib/kwmf -I../../../lib/kwmf -I../../../lib/kopalette -I../../../lib/kopalette -I/usr/include -I/usr/include -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -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=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -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 -DHAVE_KNEWSTUFF -MT graphicshandler.lo -MD -MP -MF .deps/graphicshandler.Tpo -c graphicshandler.cpp -fPIC -DPIC -o .libs/graphicshandler.o In file included from /usr/include/wv2/olestream.h:26:0, from graphicshandler.cpp:23: /usr/include/glib-2.0/glib/giochannel.h:28:2: error: #error "Only <glib.h> can be included directly."
I still don't understand the gtk 2/3 issue, but this looks like a problem.
krusader:
g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT -D_LARGEFILE64_SOURCE -DKDE_NO_COMPAT -DQT_NO_ASCII_CAST -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=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fpermissive -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -MT expander.o -MD -MP -MF .deps/expander.Tpo -c -o expander.o expander.cpp In file included from /opt/trinity/include/kfileitem.h:31:0, from ../Panel/listpanel.h:37, from expander.cpp:20: /opt/trinity/include/kfilemetainfo.h:1237:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../include/c++/4.7.1/bits/stl_algobase.h:66:0, from /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../include/c++/4.7.1/algorithm:62, from expander.cpp:13: /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../include/c++/4.7.1/bits/stl_iterator_base_types.h: In instantiation of 'struct std::iterator_traits<TQValueListConstIterator<KURL> >': /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../include/c++/4.7.1/bits/stl_iterator_base_types.h:202:5: required by substitution of 'template<class _Iter> typename std::iterator_traits::iterator_category std::__iterator_category(const _Iter&) [with _Iter = TQValueListConstIterator<KURL>]' /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../include/c++/4.7.1/bits/stl_algo.h:4490:41: required from '_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = TQValueListConstIterator<KURL>; _Predicate = std::unary_negate<std::const_mem_fun_ref_t<bool, KURL> >]' expander.cpp:674:102: required from here /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../include/c++/4.7.1/bits/stl_iterator_base_types.h:166:53: error: no type named 'iterator_category' in 'class TQValueListConstIterator<KURL>' In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../include/c++/4.7.1/algorithm:63:0, from expander.cpp:13: /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../include/c++/4.7.1/bits/stl_algo.h: In instantiation of '_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = TQValueListConstIterator<KURL>; _Predicate = std::unary_negate<std::const_mem_fun_ref_t<bool, KURL> >]': expander.cpp:674:102: required from here /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../include/c++/4.7.1/bits/stl_algo.h:4490:41: error: no matching function for call to '__iterator_category(TQValueListConstIterator<KURL>&)' /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../include/c++/4.7.1/bits/stl_algo.h:4490:41: note: candidate is: In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../include/c++/4.7.1/bits/stl_algobase.h:66:0, from /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../include/c++/4.7.1/algorithm:62, from expander.cpp:13: /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../include/c++/4.7.1/bits/stl_iterator_base_types.h:202:5: note: template<class _Iter> typename std::iterator_traits::iterator_category std::__iterator_category(const _Iter&) /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../include/c++/4.7.1/bits/stl_iterator_base_types.h:202:5: note: substitution of deduced template arguments resulted in errors seen above
Iterator? Template Error? Is this gcc 4.7.1?
kstreamripper:
==> Setting PATH, Trinity Environment variables ==> Configuring - tde-kstreamripper... [?1034hscons: Reading SConscript files ...
scons: warning: The Options class is deprecated; use the Variables class instead. File "/build/src/kstreamripper/admin/generic.py", line 61, in generate [96m** set the installation prefix for the project : /opt/trinity **[0m Checking for tde-config : [92mtde-config was found as /opt/trinity/bin/tde-config[0m Checking for tde version : [92mR14.0.0[0m Checking for the qt library : [92mqt is in /opt/tqt3[0m Checking for uic-tqt : [1muic-tqt was found as /usr/bin/uic-tqt[0m Checking for moc : [92mmoc was found as /opt/tqt3/bin/tqmoc[0m Checking for the tqt includes : [1mthe qt headers were found in /usr/include/tqt/ [0m Checking for the qt includes : [92mok /opt/tqt3/include[0m Checking for the tde includes : [92mok /opt/trinity/include/[0m ==> Building - tde-kstreamripper...
scons: warning: The Options class is deprecated; use the Variables class instead. File "/build/src/kstreamripper/admin/generic.py", line 61, in generate KeyError: 'TQTINCLUDEPATH': File "/build/src/kstreamripper/SConstruct", line 70: env = Environment(TARGS=COMMAND_LINE_TARGETS, ARGS=ARGUMENTS, tools=['default', 'generic', 'kde'], toolpath=['./', './admin']) File "/usr/lib/python2.7/site-packages/SCons/Environment.py", line 999: apply_tools(self, tools, toolpath) File "/usr/lib/python2.7/site-packages/SCons/Environment.py", line 105: env.Tool(tool) File "/usr/lib/python2.7/site-packages/SCons/Environment.py", line 1783: tool(self) File "/usr/lib/python2.7/site-packages/SCons/Tool/__init__.py", line 180: self.generate(env, *args, **kw) File "/build/src/kstreamripper/kde.py", line 458: env.Append(CXXFLAGS = ['-I'+env['KDEINCLUDEPATH'], '-I'+env['QTINCLUDEPATH'], '-I'+env['TQTINCLUDEPATH'], '-include', 'tqt.h' ]) File "/usr/lib/python2.7/site-packages/SCons/Environment.py", line 409: return self._dict[key] [?1034hmake: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
Looks like more TQt include/name errors?
tqscintilla:
g++ -c -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fno-exceptions -I/usr/include/tqt -I/opt/trinity/include -I/opt/tqt3/include -I/opt/tqt3/mkspecs/default -I. -I. -I../include -I../src -I/usr/include/tqt -I/opt/tqt3/include -o ExternalLexer.o ../src/ExternalLexer.cpp In file included from ../src/ExternalLexer.cpp:22:0: ../src/ExternalLexer.h:25:30: error: expected ')' before '*' token ../src/ExternalLexer.h:27:30: error: expected ')' before '*' token ../src/ExternalLexer.h:29:31: error: expected ')' before '*' token ../src/ExternalLexer.h:29:31: error: expected initializer before '*' token ../src/ExternalLexer.h:30:29: error: expected ')' before '*' token ../src/ExternalLexer.h:31:30: error: expected ')' before '*' token ../src/ExternalLexer.h:38:2: error: 'ExtLexerFunction' does not name a type ../src/ExternalLexer.h:39:2: error: 'ExtFoldFunction' does not name a type ../src/ExternalLexer.h:52:27: error: 'ExtLexerFunction' has not been declared ../src/ExternalLexer.h:52:52: error: 'ExtFoldFunction' has not been declared ../src/ExternalLexer.cpp: In member function 'virtual void ExternalLexerModule::Lex(unsigned int, int, int, WordList**, Accessor&) const': ../src/ExternalLexer.cpp:63:7: error: 'fneLexer' was not declared in this scope ../src/ExternalLexer.cpp:74:74: error: 'fneLexer' was not declared in this scope ../src/ExternalLexer.cpp: In member function 'virtual void ExternalLexerModule::Fold(unsigned int, int, int, WordList**, Accessor&) const': ../src/ExternalLexer.cpp:82:7: error: 'fneFolder' was not declared in this scope ../src/ExternalLexer.cpp:93:75: error: 'fneFolder' was not declared in this scope ../src/ExternalLexer.cpp: At global scope: ../src/ExternalLexer.cpp:99:39: error: variable or field 'SetExternal' declared void ../src/ExternalLexer.cpp:99:39: error: 'ExtLexerFunction' was not declared in this scope ../src/ExternalLexer.cpp:99:64: error: 'ExtFoldFunction' was not declared in this scope ../src/ExternalLexer.cpp:99:89: error: expected primary-expression before 'int' ../src/ExternalLexer.cpp: In constructor 'LexerLibrary::LexerLibrary(const char*)': ../src/ExternalLexer.cpp:121:3: error: 'GetLexerCountFn' was not declared in this scope ../src/ExternalLexer.cpp:121:19: error: expected ';' before 'GetLexerCount' ../src/ExternalLexer.cpp:123:7: error: 'GetLexerCount' was not declared in this scope ../src/ExternalLexer.cpp:128:4: error: 'GetLexerNameFn' was not declared in this scope ../src/ExternalLexer.cpp:128:19: error: expected ';' before 'GetLexerName' ../src/ExternalLexer.cpp:129:4: error: 'ExtLexerFunction' was not declared in this scope ../src/ExternalLexer.cpp:129:21: error: expected ';' before 'Lexer' ../src/ExternalLexer.cpp:130:4: error: 'ExtFoldFunction' was not declared in this scope ../src/ExternalLexer.cpp:130:20: error: expected ';' before 'Folder' ../src/ExternalLexer.cpp:139:33: error: 'GetLexerName' was not declared in this scope ../src/ExternalLexer.cpp:156:22: error: 'Lexer' was not declared in this scope ../src/ExternalLexer.cpp:156:29: error: 'Folder' was not declared in this scope make: *** [ExternalLexer.o] Error 1
I have no idea??
None of these look like huge errors, but they all represent build failures that need to be addressed. At first blush, they look like they fall into 2 categories TQt3 lingering namechange issues and then potential gtk upstream change causing problems. Let me know if we want to open bugs on these or if we want to work them and then decide which need to be bugs.
Darrell,
Here is a summary of the failures.
avahi-tqt:
make[2]: Entering directory `/build/src/avahi-tqt/avahi-tqt' GEN qt-watch.moc3 /usr/bin/moc-tqt: line 8: tqmoc: command not found make all-am make[3]: Entering directory `/build/src/avahi-tqt/avahi-tqt' CXX libavahi_tqt_la-qt-watch.lo qt-watch.cpp:183:25: fatal error: qt-watch.moc3: No such file or directory compilation terminated.
What happened here? It says 'GEN qt-watch.moc3', but then fatal error: qt-watch.moc3: No such file or directory?
See "tqmoc: command not found" in your log above. Where is your tqmoc executable located?
kbfx:
-- Will use 'kmenuedit'! CMake Error at po/CMakeLists.txt:1 (ADD_POFILES): Unknown CMake command "ADD_POFILES".
Looks like a 'borked' CMakeLists. Never seen this before??
ADD_POFILES could be valid, but the CMake file that defines that command may not be included correctly.
Tim
On 06/22/2012 12:38 PM, Timothy Pearson wrote:
Darrell,
Here is a summary of the failures.
avahi-tqt:
make[2]: Entering directory `/build/src/avahi-tqt/avahi-tqt' GEN qt-watch.moc3 /usr/bin/moc-tqt: line 8: tqmoc: command not found make all-am make[3]: Entering directory `/build/src/avahi-tqt/avahi-tqt' CXX libavahi_tqt_la-qt-watch.lo qt-watch.cpp:183:25: fatal error: qt-watch.moc3: No such file or directory compilation terminated.
What happened here? It says 'GEN qt-watch.moc3', but then fatal error: qt-watch.moc3: No such file or directory?
See "tqmoc: command not found" in your log above. Where is your tqmoc executable located?
Thanks Tim,
That's the confusing part, it's right where it should be.
/opt/tqt3/bin/tqmoc -rwxr-xr-x 1 root root 2801719 Jun 21 15:46 david/opt/tqt3/bin/tqmoc
Is there some other environment variable other that QTDIR that needs setting with the new TQt names? What's confusing to me is it is right where it is supposed to be :(
kbfx:
-- Will use 'kmenuedit'! CMake Error at po/CMakeLists.txt:1 (ADD_POFILES): Unknown CMake command "ADD_POFILES".
Looks like a 'borked' CMakeLists. Never seen this before??
ADD_POFILES could be valid, but the CMake file that defines that command may not be included correctly.
Tim
kbfx CMakeList.txt isn't a Serghehi CMakeList, so I suspect that one will just need to be re-written.
On 06/22/2012 01:14 PM, David C. Rankin wrote:
On 06/22/2012 12:38 PM, Timothy Pearson wrote:
Darrell,
Here is a summary of the failures.
avahi-tqt:
make[2]: Entering directory `/build/src/avahi-tqt/avahi-tqt' GEN qt-watch.moc3 /usr/bin/moc-tqt: line 8: tqmoc: command not found make all-am make[3]: Entering directory `/build/src/avahi-tqt/avahi-tqt' CXX libavahi_tqt_la-qt-watch.lo qt-watch.cpp:183:25: fatal error: qt-watch.moc3: No such file or directory compilation terminated.
What happened here? It says 'GEN qt-watch.moc3', but then fatal error: qt-watch.moc3: No such file or directory?
See "tqmoc: command not found" in your log above. Where is your tqmoc executable located?
Thanks Tim,
That's the confusing part, it's right where it should be.
/opt/tqt3/bin/tqmoc -rwxr-xr-x 1 root root 2801719 Jun 21 15:46 david/opt/tqt3/bin/tqmoc
Is there some other environment variable other that QTDIR that needs setting with the new TQt names? What's confusing to me is it is right where it is supposed to be :(
I don't know what the deal was here. I hacked /usr/bin/moc-tqt to see what it was doing, then kicked off the build again and it worked:
==> Building - tde-avahi-tqt... make all-recursive make[1]: Entering directory `/build/src/avahi-tqt' Making all in avahi-tqt make[2]: Entering directory `/build/src/avahi-tqt/avahi-tqt' GEN qt-watch.moc3
********************************** * moc-tqt execution * *********************************
'cp -Rp qt-watch.cpp qt-watch.cpp.bkp' 'tqt-replace qt-watch.cpp' 'tqmoc qt-watch.cpp -o qt-watch.moc3' 'cp -Rp qt-watch.cpp.bkp qt-watch.cpp' 'rm -f qt-watch.cpp.bkp'
********************************** make all-am
<snip>
==> Finished making: tde-avahi-tqt 14.0.0_dev-2 (Fri Jun 22 18:37:28 UTC 2012)
gremlins....
On 06/22/2012 01:40 PM, David C. Rankin wrote:
I don't know what the deal was here. I hacked /usr/bin/moc-tqt to see what it was doing, then kicked off the build again and it worked:
<snip>
==> Finished making: tde-avahi-tqt 14.0.0_dev-2 (Fri Jun 22 18:37:28 UTC 2012)
gremlins....
I think I found the issue for some of the TQt/moc issues. Arch updated to 'filesystem 2012.6-2' and for some reason that (or another package update) prevents the /etc/profile.d/tqt3.sh from being install with the executable bit set as it has in the past. It was installed 0644 instead of 0755. For those apps that source it, there was no change, but for those that require it to be executable, it may have caused path problems. I'm still investigating. In the past it was installed by the TQt3 build with:
pkgname=tde-tqt3 _prefix="/opt/tqt3" <snip>
# Build and install qt.profile install -d -m755 "${pkgdir}/etc/profile.d/" echo "export QTDIR=${_prefix}" > "${pkgdir}/etc/profile.d/${pkgname#*-}.sh" echo "export QT_XFT=true" >> "${pkgdir}/etc/profile.d/${pkgname#*-}.sh" echo "export PATH+=:${_prefix}/bin" >> "${pkgdir}/etc/profile.d/${pkgname#*-}.sh" echo "export PKG_CONFIG_PATH+=:${_prefix}/pkgconfig" >> "${pkgdir}/etc/profile.d/${pkgname#*-}.sh"
That created it with 0755. Now I'll just add the following to the end:
chmod 0755 "${pkgdir}/etc/profile.d/${pkgname#*-}.sh"
Here is a summary of the failures.
With anything (tq)moc or (t)qmake related, grep your local source tree to ensure you are updated. Some of those errors you posted have been patched. Look at the commit web page to find those patches.
Check that you are not hard-coding anything in your build scripts. At one time or another some of us were hacking our build scripts to force successful builds. We no longer need those build script hacks as various problems are resolved.
The gtk3 thing is new to all of us. Slackware Current has not added gtk3. Therefore I won't be able to test that. :-(
I started my build runs, but I have to attend to some chores and errands this afternoon. I'll be away for a while. :-)
Darrell
On 06/22/2012 01:20 PM, Darrell Anderson wrote:
The gtk3 thing is new to all of us. Slackware Current has not added gtk3. Therefore I won't be able to test that. :-(
Crapola!
It looks like we will have to redo all the affected headers and remove reference to individual headers and just reference glib.h. Example:
-#include <glib/gmessages.h> +#include <glib.h>
I'll go back over the files that failed and see if I can find the affected files. Maybe a global 'sed' will do it (fingers crossed....)