Turning off logging for arbitrary contacts
Marcin Ziemiński
brentprey at gmail.com
Fri Jun 27 20:03:42 UTC 2014
I added some methods to disable logging for some contacts both to
telepathy-logger-qt and to the appropriate plugin in KTp/Logger.
Unfortunately I have some strange problems with building
ktp-common-internals. If I have an official telepathy-logger-qt package
installed in my system and a local installation of telepathy-logger-qt in
~/ktp/install build starts, but since there may be differences in headers
related to found include dirs it crashes with error. Nothing strange at all.
However, when I remove the official package cmake configuration crashes
with an error attached to this message.
If I install my modified telepathy-logger-qt in the system everything
compiles with no problems.
How can I help it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20140627/8a5fc4c7/attachment.html>
-------------- next part --------------
Determining if the Q_WS_WIN exist failed with the following output:
Change Dir: /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec2885959345/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2885959345.dir/build.make CMakeFiles/cmTryCompileExec2885959345.dir/build
make[1]: Wejście do katalogu '/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2885959345.dir/CheckSymbolExists.c.o
/usr/bin/cc -I/usr/include/qt4 -o CMakeFiles/cmTryCompileExec2885959345.dir/CheckSymbolExists.c.o -c /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘Q_WS_WIN’ undeclared (first use in this function)
return ((int*)(&Q_WS_WIN))[argc];
^
/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
CMakeFiles/cmTryCompileExec2885959345.dir/build.make:60: polecenia dla obiektu 'CMakeFiles/cmTryCompileExec2885959345.dir/CheckSymbolExists.c.o' nie powiodły się
make[1]: Opuszczenie katalogu '/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec2885959345.dir/CheckSymbolExists.c.o] Błąd 1
Makefile:117: polecenia dla obiektu 'cmTryCompileExec2885959345/fast' nie powiodły się
make: *** [cmTryCompileExec2885959345/fast] Błąd 2
File /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>
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: /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec2184224667/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2184224667.dir/build.make CMakeFiles/cmTryCompileExec2184224667.dir/build
make[1]: Wejście do katalogu '/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2184224667.dir/CheckSymbolExists.c.o
/usr/bin/cc -I/usr/include/qt4 -o CMakeFiles/cmTryCompileExec2184224667.dir/CheckSymbolExists.c.o -c /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘Q_WS_QWS’ undeclared (first use in this function)
return ((int*)(&Q_WS_QWS))[argc];
^
/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
CMakeFiles/cmTryCompileExec2184224667.dir/build.make:60: polecenia dla obiektu 'CMakeFiles/cmTryCompileExec2184224667.dir/CheckSymbolExists.c.o' nie powiodły się
make[1]: Opuszczenie katalogu '/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec2184224667.dir/CheckSymbolExists.c.o] Błąd 1
Makefile:117: polecenia dla obiektu 'cmTryCompileExec2184224667/fast' nie powiodły się
make: *** [cmTryCompileExec2184224667/fast] Błąd 2
File /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>
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: /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec3933861901/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec3933861901.dir/build.make CMakeFiles/cmTryCompileExec3933861901.dir/build
make[1]: Wejście do katalogu '/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3933861901.dir/CheckSymbolExists.c.o
/usr/bin/cc -I/usr/include/qt4 -o CMakeFiles/cmTryCompileExec3933861901.dir/CheckSymbolExists.c.o -c /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘Q_WS_MAC’ undeclared (first use in this function)
return ((int*)(&Q_WS_MAC))[argc];
^
/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
CMakeFiles/cmTryCompileExec3933861901.dir/build.make:60: polecenia dla obiektu 'CMakeFiles/cmTryCompileExec3933861901.dir/CheckSymbolExists.c.o' nie powiodły się
make[1]: Opuszczenie katalogu '/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec3933861901.dir/CheckSymbolExists.c.o] Błąd 1
Makefile:117: polecenia dla obiektu 'cmTryCompileExec3933861901/fast' nie powiodły się
make: *** [cmTryCompileExec3933861901/fast] Błąd 2
File /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>
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: /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec3958973254/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec3958973254.dir/build.make CMakeFiles/cmTryCompileExec3958973254.dir/build
make[1]: Wejście do katalogu '/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3958973254.dir/CheckSymbolExists.c.o
/usr/bin/cc -o CMakeFiles/cmTryCompileExec3958973254.dir/CheckSymbolExists.c.o -c /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTryCompileExec3958973254
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3958973254.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTryCompileExec3958973254.dir/CheckSymbolExists.c.o -o cmTryCompileExec3958973254 -rdynamic
CMakeFiles/cmTryCompileExec3958973254.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec3958973254.dir/build.make:91: polecenia dla obiektu 'cmTryCompileExec3958973254' nie powiodły się
make[1]: Opuszczenie katalogu '/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp'
make[1]: *** [cmTryCompileExec3958973254] Błąd 1
Makefile:117: polecenia dla obiektu 'cmTryCompileExec3958973254/fast' nie powiodły się
make: *** [cmTryCompileExec3958973254/fast] Błąd 2
File /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>
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: /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec1848427504/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1848427504.dir/build.make CMakeFiles/cmTryCompileExec1848427504.dir/build
make[1]: Wejście do katalogu '/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1848427504.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec1848427504.dir/CheckFunctionExists.c.o -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec1848427504
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1848427504.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec1848427504.dir/CheckFunctionExists.c.o -o cmTryCompileExec1848427504 -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec1848427504.dir/build.make:91: polecenia dla obiektu 'cmTryCompileExec1848427504' nie powiodły się
make[1]: *** [cmTryCompileExec1848427504] Błąd 1
make[1]: Opuszczenie katalogu '/home/ziemin/ktp/build/ktp-common-internals/CMakeFiles/CMakeTmp'
Makefile:117: polecenia dla obiektu 'cmTryCompileExec1848427504/fast' nie powiodły się
make: *** [cmTryCompileExec1848427504/fast] Błąd 2
More information about the KDE-Telepathy
mailing list