On Sun, 2014-05-11 at 21:37 +0200, Tino Mettler wrote: > On Sun, May 11, 2014 at 18:45:24 +0200, David Suárez wrote: > > Source: syncevolution > > Version: 1.4-1 > > Severity: serious > > Tags: jessie sid > > User: debian...@lists.debian.org > > Usertags: qa-ftbfs-20140510 qa-ftbfs > > Justification: FTBFS on amd64 > > > > Hi, > > > > During a rebuild of all packages in sid, your package failed to build on > > amd64. > > > > Relevant part (hopefully): > > > checking for rst2html... /usr/bin/rst2html > > > checking for SYNTHESIS... yes > > > checking for GNOMEBLUETOOTH... no > > > checking for qmake... qmake > > > checking Akonadi/Collection usability... no > > > configure: error: akonadi.pc not found. Install it to compile with the > > > Akonadi backend enabled. > > > checking Akonadi/Collection presence... no > > > checking for Akonadi/Collection... no > > The message about a missing akonadi.pc is misleading, upstream is aware > of this. > > The full build log revealed this: > > configure:21874: checking Akonadi/Collection usability > configure:21874: g++ -c -g -O2 -fPIE -fstack-protector > --param=ssp-buffer-size=4 -Wformat -Werror=format-security > ---D_FORTIFY_SOURCE=2 -I/usr/include/ -I/usr/include//KDE > ----I/usr/include/qt4 conftest.cpp >&5 > In file included from > /usr/include//KDE/Akonadi/../../akonadi/collection.h:25:0, > from /usr/include//KDE/Akonadi/Collection:1, > from conftest.cpp:80: > /usr/include/akonadi/entity.h:24:19: fatal error: QString: No such file > or directory > #include <QString> > ^ > compilation terminated. > > I'm not sure if this is a syncevolution bug
Akonadi seems to have changed some header file dependencies and SyncEvolution 1.4 was not adapted to that yet. I really wish Akonadi would provide .pc files. Anyway, the fix went into SyncEvoltution 1.4.1: commit 7aa9f6d87fc1bd511b86b06a434766fc6aaf3866 Author: Niels Ole Salscheider <niels_...@salscheider-online.de> Date: Sun Mar 2 12:59:32 2014 +0100 autotools: Add QtCore include path to KDEPIM_CFLAGS (FDO #75670) This fixes an issue where configure fails to find Akonadi when test programs do not compile because QString is not found: checking for Akonadi/Collection... no configure: error: akonadi.pc not found. Install it to compile with the Akonadi backend enabled. ... configure:21857: checking Akonadi/Collection presence configure:21857: g++ -E -I/usr/include/ -I/usr/include//KDE -I/usr/include/qt4 conftest.cpp In file included from /usr/include//KDE/Akonadi/../../akonadi/collection.h:25:0, from /usr/include//KDE/Akonadi/Collection:1, from conftest.cpp:44: /usr/include/akonadi/entity.h:24:19: fatal error: QString: No such file or directory #include <QString> diff --git a/src/backends/akonadi/configure-sub.in b/src/backends/akonadi/configure-sub.in index 064c2ed..ed05f1b 100644 --- a/src/backends/akonadi/configure-sub.in +++ b/src/backends/akonadi/configure-sub.in @@ -10,7 +10,7 @@ AKONADIFOUND=yes if ! test "$KDEPIM_CFLAGS"; then KDEPIM_CFLAGS="-I`kde4-config --path include` -I`kde4-config --path include`/KDE" if test "$QMAKE"; then - KDEPIM_CFLAGS="$KDEPIM_CFLAGS -I`$QMAKE -query QT_INSTALL_HEADERS`" + KDEPIM_CFLAGS="$KDEPIM_CFLAGS -I`$QMAKE -query QT_INSTALL_HEADERS` -I`$QMAKE -query QT_INSTALL_HEADERS`/QtCore" fi fi if ! test "$KDEPIM_LIBS"; then -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter. -- To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1399876510.1992.104.ca...@pohly-mobl1.fritz.box