Performing C++ SOURCE FILE Test COMPLEX_TAGLIB_FILENAME failed with the following output: Change Dir: /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec4208445247/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec4208445247.dir/build.make CMakeFiles/cmTryCompileExec4208445247.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec4208445247.dir/src.cxx.o /usr/lib/ccache/c++ -DCOMPLEX_TAGLIB_FILENAME -I/usr/include/taglib -I/usr/include/taglib -o CMakeFiles/cmTryCompileExec4208445247.dir/src.cxx.o -c /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/src.cxx /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/src.cxx:5:38: error: cannot convert 'const wchar_t*' to 'TagLib::FileName {aka const char*}' in initialization TagLib::FileName fileName2(L"wchar"); ^ make[1]: Leaving directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' make[1]: *** [CMakeFiles/cmTryCompileExec4208445247.dir/src.cxx.o] Error 1 make: *** [cmTryCompileExec4208445247/fast] Error 2 Source file was: #include int main() { TagLib::FileName fileName1("char"); TagLib::FileName fileName2(L"wchar"); return 0; } Determining if the Q_WS_WIN exist failed with the following output: Change Dir: /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec766446150/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec766446150.dir/build.make CMakeFiles/cmTryCompileExec766446150.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec766446150.dir/CheckSymbolExists.cxx.o /usr/lib/ccache/c++ -fmessage-length=0 -Wl,--as-needed -I/usr/include/taglib -I/usr/include/taglib -I/usr/lib/qt4/include -o CMakeFiles/cmTryCompileExec766446150.dir/CheckSymbolExists.cxx.o -c /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)': /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: 'Q_WS_WIN' was not declared in this scope return ((int*)(&Q_WS_WIN))[argc]; ^ make[1]: *** [CMakeFiles/cmTryCompileExec766446150.dir/CheckSymbolExists.cxx.o] Error 1 make[1]: Leaving directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' make: *** [cmTryCompileExec766446150/fast] Error 2 File /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_WIN return ((int*)(&Q_WS_WIN))[argc]; #else (void)argc; return 0; #endif } Determining if the Q_WS_QWS exist failed with the following output: Change Dir: /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec1139384777/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec1139384777.dir/build.make CMakeFiles/cmTryCompileExec1139384777.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec1139384777.dir/CheckSymbolExists.cxx.o /usr/lib/ccache/c++ -fmessage-length=0 -Wl,--as-needed -I/usr/include/taglib -I/usr/include/taglib -I/usr/lib/qt4/include -o CMakeFiles/cmTryCompileExec1139384777.dir/CheckSymbolExists.cxx.o -c /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)': /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: 'Q_WS_QWS' was not declared in this scope return ((int*)(&Q_WS_QWS))[argc]; ^ make[1]: Leaving directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' make[1]: *** [CMakeFiles/cmTryCompileExec1139384777.dir/CheckSymbolExists.cxx.o] Error 1 make: *** [cmTryCompileExec1139384777/fast] Error 2 File /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_QWS return ((int*)(&Q_WS_QWS))[argc]; #else (void)argc; return 0; #endif } Determining if the Q_WS_MAC exist failed with the following output: Change Dir: /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec919789145/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec919789145.dir/build.make CMakeFiles/cmTryCompileExec919789145.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec919789145.dir/CheckSymbolExists.cxx.o /usr/lib/ccache/c++ -fmessage-length=0 -Wl,--as-needed -I/usr/include/taglib -I/usr/include/taglib -I/usr/lib/qt4/include -o CMakeFiles/cmTryCompileExec919789145.dir/CheckSymbolExists.cxx.o -c /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)': /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: 'Q_WS_MAC' was not declared in this scope return ((int*)(&Q_WS_MAC))[argc]; ^ make[1]: Leaving directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' make[1]: *** [CMakeFiles/cmTryCompileExec919789145.dir/CheckSymbolExists.cxx.o] Error 1 make: *** [cmTryCompileExec919789145/fast] Error 2 File /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_MAC return ((int*)(&Q_WS_MAC))[argc]; #else (void)argc; return 0; #endif } Determining if the pthread_create exist failed with the following output: Change Dir: /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec548705982/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec548705982.dir/build.make CMakeFiles/cmTryCompileExec548705982.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec548705982.dir/CheckSymbolExists.c.o /usr/lib/ccache/cc -fmessage-length=0 -I/usr/include/taglib -I/usr/include/taglib -o CMakeFiles/cmTryCompileExec548705982.dir/CheckSymbolExists.c.o -c /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec548705982 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec548705982.dir/link.txt --verbose=1 /usr/lib/ccache/cc -fmessage-length=0 -I/usr/include/taglib CMakeFiles/cmTryCompileExec548705982.dir/CheckSymbolExists.c.o -o cmTryCompileExec548705982 -rdynamic -L/usr/lib -ltag CMakeFiles/cmTryCompileExec548705982.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0xa): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status make[1]: Leaving directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' make[1]: *** [cmTryCompileExec548705982] Error 1 make: *** [cmTryCompileExec548705982/fast] Error 2 File /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec3891614285/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec3891614285.dir/build.make CMakeFiles/cmTryCompileExec3891614285.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3891614285.dir/CheckFunctionExists.c.o /usr/lib/ccache/cc -fmessage-length=0 -DCHECK_FUNCTION_EXISTS=pthread_create -I/usr/include/taglib -o CMakeFiles/cmTryCompileExec3891614285.dir/CheckFunctionExists.c.o -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3891614285 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3891614285.dir/link.txt --verbose=1 /usr/lib/ccache/cc -fmessage-length=0 -DCHECK_FUNCTION_EXISTS=pthread_create -I/usr/include/taglib CMakeFiles/cmTryCompileExec3891614285.dir/CheckFunctionExists.c.o -o cmTryCompileExec3891614285 -rdynamic -lpthreads -L/usr/lib -ltag /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status make[1]: Leaving directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' make[1]: *** [cmTryCompileExec3891614285] Error 1 make: *** [cmTryCompileExec3891614285/fast] Error 2 Performing C++ SOURCE FILE Test _OFFT_IS_64BIT failed with the following output: Change Dir: /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec1206507980/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec1206507980.dir/build.make CMakeFiles/cmTryCompileExec1206507980.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec1206507980.dir/src.cxx.o /usr/lib/ccache/c++ -fmessage-length=0 -Wl,--as-needed -D_OFFT_IS_64BIT -I/usr/include/taglib -I/usr/include/taglib -o CMakeFiles/cmTryCompileExec1206507980.dir/src.cxx.o -c /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/src.cxx /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/src.cxx:9:38: warning: left shift count >= width of type [enabled by default] int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; ^ /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/src.cxx:9:62: warning: left shift count >= width of type [enabled by default] int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; ^ /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/src.cxx:9:161: error: size of array 'off_t_is_large' is negative int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; ^ make[1]: Leaving directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' make[1]: *** [CMakeFiles/cmTryCompileExec1206507980.dir/src.cxx.o] Error 1 make: *** [cmTryCompileExec1206507980/fast] Error 2 Source file was: #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main() { return 0; } Performing C++ SOURCE FILE Test BINDINGS_RUN_RESULT failed with the following output: Change Dir: /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec3549191047/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec3549191047.dir/build.make CMakeFiles/cmTryCompileExec3549191047.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec3549191047.dir/src.cxx.o /usr/lib/ccache/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SCRIPT_LIB -fmessage-length=0 -Wl,--as-needed -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -DBINDINGS_RUN_RESULT -I/usr/include/taglib -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtScript -I/usr/include/KDE -I/usr/lib/qt4/include/phonon -I/usr/lib/qt4/include/QtXmlPatterns -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include/QtWebKit -I/usr/lib/qt4/include/QtUiTools -I/usr/lib/qt4/include/QtTest -I/usr/lib/qt4/include/QtSvg -I/usr/lib/qt4/include/QtSql -I/usr/lib/qt4/include/QtScriptTools -I/usr/lib/qt4/include/QtOpenGL -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtMultimedia -I/usr/lib/qt4/include/QtHelp -I/usr/lib/qt4/include/QtDesigner -I/usr/lib/qt4/include/QtDeclarative -I/usr/lib/qt4/include/QtDBus -I/usr/lib/qt4/include/Qt3Support -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/Qt -I/usr/lib/qt4/mkspecs/default -I/usr/lib/qt4/include -o CMakeFiles/cmTryCompileExec3549191047.dir/src.cxx.o -c /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTryCompileExec3549191047 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3549191047.dir/link.txt --verbose=1 /usr/lib/ccache/c++ -fmessage-length=0 -Wl,--as-needed -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -DBINDINGS_RUN_RESULT -I/usr/include/taglib CMakeFiles/cmTryCompileExec3549191047.dir/src.cxx.o -o cmTryCompileExec3549191047 -rdynamic /usr/lib/qt4/lib/libQtScript.so /usr/lib/qt4/lib/libQtCore.so -lpthread /usr/lib/qt4/lib/libQtGui.so -L/usr/lib -lkdecore -lkdeui /usr/lib/qt4/lib/libQtCore.so -Wl,-rpath,/usr/lib/qt4/lib make[1]: Leaving directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' Return value: 10 Source file was: /* * Copyright (C) 2009 Ian Monroe * released under public domain or: * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #include #include #include #include #define FAIL 0xA int main(int argc, char **argv) { QApplication app( argc, argv, false ); QStringList allowedBindings; allowedBindings << "qt.core" << "qt.gui" << "qt.sql" << "qt.xml" << "qt.network"; QScriptEngine engine; foreach( QString binding, allowedBindings ) { QScriptValue error = engine.importExtension( binding ); if( error.isUndefined() ) { // undefined indiciates success continue; } qDebug() << "Extension" << binding << "not found:" << error.toString(); qDebug() << "Available extensions:" << engine.availableExtensions(); return FAIL; } return 0; }