Tim, Darrell,
I was doing a complete rebuild tonight and I ran into a tdelib build failure I can't explain.
NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/opt/tqt3/include -I/usr/include/tqt -I/build/src/build/tdecore -I/build/src/build -I/build/src/tdelibs/tdecore -I/build/src/tdelibs/tdecore/network -I/build/src/tdelibs/dcop -I/build/src/tdelibs/libltdl -I/build/src/tdelibs/tdefx -I/build/src/tdelibs/tdeui -I/build/src/tdelibs/kio/kio -I/usr/include/libart-2.0 -o CMakeFiles/tdecore-shared.dir/libintl.cpp.o -c /build/src/tdelibs/tdecore/libintl.cpp /usr/bin/cmake -E cmake_progress_report /build/src/build/CMakeFiles [ 8%] Building CXX object tdecore/CMakeFiles/tdecore-shared.dir/kapplication.cpp.o cd /build/src/build/tdecore && /usr/bin/c++ -Dtdecore_shared_EXPORTS -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/opt/tqt3/include -I/usr/include/tqt -I/build/src/build/tdecore -I/build/src/build -I/build/src/tdelibs/tdecore -I/build/src/tdelibs/tdecore/network -I/build/src/tdelibs/dcop -I/build/src/tdelibs/libltdl -I/build/src/tdelibs/tdefx -I/build/src/tdelibs/tdeui -I/build/src/tdelibs/kio/kio -I/usr/include/libart-2.0 -o CMakeFiles/tdecore-shared.dir/kapplication.cpp.o -c /build/src/tdelibs/tdecore/kapplication.cpp /build/src/tdelibs/tdecore/kapplication.cpp:2039:2: warning: #warning This should be already in Qt, check. [-Wcpp] /build/src/tdelibs/tdecore/kapplication.cpp: In static member function 'static bool KApplication::isCompositionManagerAvailable()': /build/src/tdelibs/tdecore/kapplication.cpp:1791:47: error: cannot convert 'TQString' to 'const char*' in assignment /build/src/tdelibs/tdecore/kapplication.cpp: In member function 'TQt::HANDLE KApplication::getX11RGBAVisual(Display*)': /build/src/tdelibs/tdecore/kapplication.cpp:1911:10: warning: converting to non-pointer type 'TQt::HANDLE {aka long unsigned int}' from NULL [-Wconversion-null] /build/src/tdelibs/tdecore/kapplication.cpp: In member function 'TQt::HANDLE KApplication::getX11RGBAColormap(Display*)': /build/src/tdelibs/tdecore/kapplication.cpp:1921:10: warning: converting to non-pointer type 'TQt::HANDLE {aka long unsigned int}' from NULL [-Wconversion-null] /build/src/tdelibs/tdecore/kapplication.cpp: In static member function 'static void KApplication::sigpipeHandler(int)': /build/src/tdelibs/tdecore/kapplication.cpp:3595:31: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] /build/src/tdelibs/tdecore/kapplication.cpp: In member function 'bool KApplication::detectCompositionManagerAvailable(bool, bool)': /build/src/tdelibs/tdecore/kapplication.cpp:1876:42: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] make[2]: *** [tdecore/CMakeFiles/tdecore-shared.dir/kapplication.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [tdecore/CMakeFiles/tdecore-shared.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
This looks like another one of the TQString errors. Why haven't we seen this guy before? What do I need to do to fix it?
On 04/04/2012 08:53 PM, David C. Rankin wrote:
Tim, Darrell,
I was doing a complete rebuild tonight and I ran into a tdelib build failure I can't explain.
NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/opt/tqt3/include -I/usr/include/tqt -I/build/src/build/tdecore -I/build/src/build -I/build/src/tdelibs/tdecore -I/build/src/tdelibs/tdecore/network -I/build/src/tdelibs/dcop -I/build/src/tdelibs/libltdl -I/build/src/tdelibs/tdefx -I/build/src/tdelibs/tdeui -I/build/src/tdelibs/kio/kio -I/usr/include/libart-2.0 -o CMakeFiles/tdecore-shared.dir/libintl.cpp.o -c /build/src/tdelibs/tdecore/libintl.cpp /usr/bin/cmake -E cmake_progress_report /build/src/build/CMakeFiles [ 8%] Building CXX object tdecore/CMakeFiles/tdecore-shared.dir/kapplication.cpp.o cd /build/src/build/tdecore && /usr/bin/c++ -Dtdecore_shared_EXPORTS -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/opt/tqt3/include -I/usr/include/tqt -I/build/src/build/tdecore -I/build/src/build -I/build/src/tdelibs/tdecore -I/build/src/tdelibs/tdecore/network -I/build/src/tdelibs/dcop -I/build/src/tdelibs/libltdl -I/build/src/tdelibs/tdefx -I/build/src/tdelibs/tdeui -I/build/src/tdelibs/kio/kio -I/usr/include/libart-2.0 -o CMakeFiles/tdecore-shared.dir/kapplication.cpp.o -c /build/src/tdelibs/tdecore/kapplication.cpp /build/src/tdelibs/tdecore/kapplication.cpp:2039:2: warning: #warning This should be already in Qt, check. [-Wcpp] /build/src/tdelibs/tdecore/kapplication.cpp: In static member function 'static bool KApplication::isCompositionManagerAvailable()': /build/src/tdelibs/tdecore/kapplication.cpp:1791:47: error: cannot convert 'TQString' to 'const char*' in assignment /build/src/tdelibs/tdecore/kapplication.cpp: In member function 'TQt::HANDLE KApplication::getX11RGBAVisual(Display*)': /build/src/tdelibs/tdecore/kapplication.cpp:1911:10: warning: converting to non-pointer type 'TQt::HANDLE {aka long unsigned int}' from NULL [-Wconversion-null] /build/src/tdelibs/tdecore/kapplication.cpp: In member function 'TQt::HANDLE KApplication::getX11RGBAColormap(Display*)': /build/src/tdelibs/tdecore/kapplication.cpp:1921:10: warning: converting to non-pointer type 'TQt::HANDLE {aka long unsigned int}' from NULL [-Wconversion-null] /build/src/tdelibs/tdecore/kapplication.cpp: In static member function 'static void KApplication::sigpipeHandler(int)': /build/src/tdelibs/tdecore/kapplication.cpp:3595:31: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] /build/src/tdelibs/tdecore/kapplication.cpp: In member function 'bool KApplication::detectCompositionManagerAvailable(bool, bool)': /build/src/tdelibs/tdecore/kapplication.cpp:1876:42: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] make[2]: *** [tdecore/CMakeFiles/tdecore-shared.dir/kapplication.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [tdecore/CMakeFiles/tdecore-shared.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
This looks like another one of the TQString errors. Why haven't we seen this guy before? What do I need to do to fix it?
Seems to be one of Darrell's patches ;-)
'tdelibs-helpdir.diff' 'tdelibs-KDE4-detect.diff' 'tdelibs-kdetcompmgr.diff' 'tdelibs-komp-pid.diff' 'tdelibs-recentdocs.diff' 'tdelibs-XDG-KDE-TDE.diff')
I'll check into this further ...
Seems to be one of Darrell's patches ;-)
'tdelibs-helpdir.diff' 'tdelibs-KDE4-detect.diff' 'tdelibs-kdetcompmgr.diff' 'tdelibs-komp-pid.diff' 'tdelibs-recentdocs.diff' 'tdelibs-XDG-KDE-TDE.diff')
I'll check into this further ...
Copying and pasting -- uh-hu.... :)
These three patches are experimental. I'm still toying with them but I stopped because I can't get the TDE compositor to work for me.
tdelibs-kdetcompmgr.diff tdelibs-komp-pid.diff tdelibs-recentdocs.diff
This one likely is your culprit:
'tdelibs-komp-pid.diff
Darrell
On 04/04/2012 09:10 PM, Darrell Anderson wrote:
Copying and pasting -- uh-hu.... :)
verifying :)
I hadn't patched tdelibs before, so I tested all the patches to make sure they applied fine and then kicked off the run. I've run into a kdebase failure (no patches) that looks like one of the recent updates broke. I'll post under another thread.
I hadn't patched tdelibs before, so I tested all the patches to make sure they applied fine and then kicked off the run. I've run into a kdebase failure (no patches) that looks like one of the recent updates broke. I'll post under another thread.
I built tdebase okay here this evening. My build run is crunching away and my master script is nicely generating patches on-the-fly for fixing the html installation bug. I'll need to test the patches with another run or two before pushing.
Darrell
On 04/04/2012 10:17 PM, Darrell Anderson wrote:
I built tdebase okay here this evening. My build run is crunching away and my master script is nicely generating patches on-the-fly for fixing the html installation bug. I'll need to test the patches with another run or two before pushing.
Darrell
That's a job well done. I'll have to work that into my setup once I quit stumbling over my own two feet with the builds themselves :)